Package javacardx.security.derivation
Interface KDFIeee1363Spec
-
- All Superinterfaces:
AlgorithmParameterSpec
public interface KDFIeee1363Spec extends AlgorithmParameterSpec
This interface specifies the set of parameters used to instantiate aDerivationFunction
implementing the the KDF1 Key Derivation Function defined in the standard IEEE 1363-2000.This interface is bound to the constant
DerivationFunction.ALG_KDF_IEEE_1363
.Computation of the KDF function refers to hash(Z || P) where hash is a digest algorithm, Z is a shared secret and P key derivation parameters.
- Since:
- 3.1
- See Also:
DerivationFunction
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte
getAlgorithm()
Returns the Digest Algorithm associated with the derivation function.byte[]
getParameters()
Gets the key derivation parameters.byte[]
getSecret()
Gets the shared secret value for the key derivation function.
-
-
-
Method Detail
-
getAlgorithm
byte getAlgorithm()
Returns the Digest Algorithm associated with the derivation function.- Returns:
- the Digest algorithm associated with the derivation function
- See Also:
MessageDigest.ALG_SHA
,MessageDigest.ALG_RIPEMD160
-
getSecret
byte[] getSecret()
Gets the shared secret value for the key derivation function.It may be an array view.
- Returns:
- the shared secret
-
getParameters
byte[] getParameters()
Gets the key derivation parameters.It may be an array view. It may be null.
- Returns:
- the parameters.
-
-