public final class KDFCounterParameters extends java.lang.Object implements DerivationParameters
Constructor and Description |
---|
KDFCounterParameters(byte[] ki,
byte[] fixedInputDataCounterPrefix,
byte[] fixedInputDataCounterSuffix,
int r)
Base constructor - prefix and suffix fixed input data.
|
KDFCounterParameters(byte[] ki,
byte[] fixedInputDataCounterSuffix,
int r)
Base constructor - suffix fixed input data only.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getFixedInputData() |
byte[] |
getFixedInputDataCounterPrefix() |
byte[] |
getFixedInputDataCounterSuffix() |
byte[] |
getKI() |
int |
getR() |
public KDFCounterParameters(byte[] ki, byte[] fixedInputDataCounterSuffix, int r)
ki
- the KDF seedfixedInputDataCounterSuffix
- fixed input data to follow counter.r
- length of the counter in bits.public KDFCounterParameters(byte[] ki, byte[] fixedInputDataCounterPrefix, byte[] fixedInputDataCounterSuffix, int r)
ki
- the KDF seedfixedInputDataCounterPrefix
- fixed input data to precede counterfixedInputDataCounterSuffix
- fixed input data to follow counter.r
- length of the counter in bits.