public class KTSWithKEMKWSKeySpec
extends java.lang.Object
implements java.security.spec.KeySpec
Constructor and Description |
---|
KTSWithKEMKWSKeySpec(KTSKeySpec ktsKeySpec,
java.lang.String transportedKeyAlgorithm,
int transportedKeySizeInBits)
Base constructor.
|
Modifier and Type | Method and Description |
---|---|
KTSKeySpec |
getKTSKeySpec()
Return the base spec for the KTS step.
|
java.lang.String |
getTransportedKeyAlgorithm()
Return the algorithm name for the transported key.
|
int |
getTransportedKeySize()
Return the key size (in bits) of the transported key.
|
public KTSWithKEMKWSKeySpec(KTSKeySpec ktsKeySpec, java.lang.String transportedKeyAlgorithm, int transportedKeySizeInBits)
ktsKeySpec
- the spec for the KTS step which generates the wrapping key and the optional MAC key.transportedKeyAlgorithm
- secret key algorithm for created secret keytransportedKeySizeInBits
- secret key key size in bits for transported key.public KTSKeySpec getKTSKeySpec()
public java.lang.String getTransportedKeyAlgorithm()
public int getTransportedKeySize()