public interface KeyDerivationParameterSpec
extends java.security.spec.AlgorithmParameterSpec
Modifier and Type | Method and Description |
---|---|
AlgorithmID |
getAlgorithmId()
Returns the AlgorithmID of the KDF associated with this class.
|
java.lang.String |
getKdf()
Returns the name of the KDF associated with this class.
|
int |
getKeyLength()
Returns the desired key length.
|
byte[] |
getOtherInfo()
Returns the additional information used for key derivation.
|
byte[] |
getSecretValue()
Returns the secret value used for key derivation.
|
void |
setKeyLength(int keyLength)
Sets the desired key length.
|
void |
setOtherInfo(byte[] otherInfo)
Sets the additional information used for key derivation.
|
void |
setSecretValue(byte[] secretValue)
Sets the secret value used for key derivation.
|
byte[] getSecretValue()
void setSecretValue(byte[] secretValue)
secretValue
- the secret valuebyte[] getOtherInfo()
void setOtherInfo(byte[] otherInfo)
otherInfo
- the additional informationvoid setKeyLength(int keyLength)
keyLength
- the key lengthint getKeyLength()
java.lang.String getKdf()
AlgorithmID getAlgorithmId()