Interface KDFAnsiX963Spec
- All Superinterfaces:
AlgorithmParameterSpec
This interface specifies the set of parameters used to instantiate a
DerivationFunction implementing the KDF Key Derivation Function defined in
in the standard ANSI X9.63.
This interface is bound to the constant DerivationFunction.ALG_KDF_ANSI_X9_63.
- Since:
- 3.1
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbyteReturns the Digest Algorithm associated with the derivation function.shortReturns the KDF output length in bytes.byte[]Gets the shared secret value for the key derivation function.byte[]Gets the shared info data.
-
Method Details
-
getAlgorithm
byte getAlgorithm()Returns the Digest Algorithm associated with the derivation function.- Returns:
- the Digest algorithm associated with the derivation function
- See Also:
-
getSecret
byte[] getSecret()Gets the shared secret value for the key derivation function.- Returns:
- the shared secret. It may be an array view.
-
getOutputLength
short getOutputLength()Returns the KDF output length in bytes. It specifies the total length of data that can be generated using subsequent calls toDerivationFunction.nextBytes(byte[], short, short)orDerivationFunction.nextBytes(javacard.security.SecretKey).- Returns:
- the output length
-