Package javacardx.security.derivation
Interface TLSPseudoRandomFunctionSpec
-
- All Superinterfaces:
AlgorithmParameterSpec
public interface TLSPseudoRandomFunctionSpec extends AlgorithmParameterSpec
This interface specifies the set of parameters used to instantiate aDerivationFunction
implementing TLS pseudo random function for TLS version 1.1 defined in IETF RFC 4346 or version 1.2 defined in IETF RFC 5246.This interface is bound to the constants
DerivationFunction.ALG_PRF_TLS11
andDerivationFunction.ALG_PRF_TLS12
.- Since:
- 3.1
- See Also:
DerivationFunction
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SecretKey
getSecret()
Gets the secret value for the key derivation function.byte[]
getSeed()
Gets the seed value for the key derivation function.
-
-
-
Method Detail
-
getSecret
SecretKey getSecret()
Gets the secret value for the key derivation function. For TLS 1.1 and TLS 1.2 it must be an instance ofHMACKey
- Returns:
- the secret value
-
getSeed
byte[] getSeed()
Gets the seed value for the key derivation function.It may be an array view.
- Returns:
- the seed value
-
-