public final class KDFCounterParameters extends java.lang.Object implements DerivationParameters
This function must be called with the following KDFCounterParameters():
- KI
- The part of the fixedInputData that comes BEFORE the counter OR null
- the part of the fixedInputData that comes AFTER the counter OR null
- the length of the counter in bits (not bytes)
| 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.