public interface SoftDcvOathSettings
Modifier and Type | Method and Description |
---|---|
void |
setDcvHashAlgorithm(SoftOathSettings.OathHashAlgorithm hashAlgorithm)
Set the DCV hash algorithm.
|
void |
setDcvLength(int dcvLength)
Set the DCV length.
|
void |
setDcvStartTime(long startTime)
Set the T0 value for DCV computation.
|
void |
setDcvTimeSetting(int dcvTimestepSize,
SoftOathSettings.OathTimestepType dcvTimestepType)
Set the DCV time step size.
|
void setDcvLength(int dcvLength)
dcvLength
- the DCV length. Allowed range is 3-4 digits.IllegalArgumentException
- when DCV Length is not in allowed range.void setDcvHashAlgorithm(SoftOathSettings.OathHashAlgorithm hashAlgorithm)
hashAlgorithm
- the hmac algorithm.void setDcvStartTime(long startTime)
startTime
- value to start counting time steps. Default value is 0.IllegalArgumentException
- when startTime is negative.void setDcvTimeSetting(int dcvTimestepSize, SoftOathSettings.OathTimestepType dcvTimestepType)
dcvTimestepSize
- the time step size. Default value is 20dcvTimestepType
- the time step Type. Default value is minutesIllegalArgumentException
- when timestepSize is less than or equal to 0.