public class KTSKeySpec
extends java.lang.Object
implements java.security.spec.KeySpec
Modifier and Type | Field and Description |
---|---|
static FipsKDF.AgreementKDFParametersBuilder |
KDF2 |
static FipsKDF.AgreementKDFParametersBuilder |
KDF3 |
Modifier and Type | Method and Description |
---|---|
AlgorithmIdentifier |
getKdfAlgorithmId()
Return the AlgorithmIdentifier for the KDF to do key derivation after extracting the secret.
|
java.lang.String |
getKeyAlgorithmName()
Return the name of the algorithm for the secret key this key spec should produce.
|
int |
getKeySize()
Return the size of the key (in bits) to be calculated by the SecretKeyFactory used with this key spec.
|
java.lang.String |
getMacAlgorithmName()
Return the name of the MAC algorithm for the MAC key this key spec should recover (if any).
|
int |
getMacKeySize()
Return the size of the key (in bits) to be taken from the extracted secret.
|
byte[] |
getOtherInfo()
Return the otherInfo data for initialising the KDF.
|
java.security.spec.AlgorithmParameterSpec |
getParameterSpec()
Return the algorithm parameter spec to be applied with the private key when the encapsulation is decrypted.
|
public static final FipsKDF.AgreementKDFParametersBuilder KDF2
public static final FipsKDF.AgreementKDFParametersBuilder KDF3
public java.lang.String getKeyAlgorithmName()
public int getKeySize()
public java.lang.String getMacAlgorithmName()
public int getMacKeySize()
public java.security.spec.AlgorithmParameterSpec getParameterSpec()
public AlgorithmIdentifier getKdfAlgorithmId()
public byte[] getOtherInfo()