Package org.bouncycastle.jcajce.spec
Class KTSParameterSpec
java.lang.Object
org.bouncycastle.jcajce.spec.KEMKDFSpec
org.bouncycastle.jcajce.spec.KTSParameterSpec
- All Implemented Interfaces:
AlgorithmParameterSpec
- Direct Known Subclasses:
KEMParameterSpec
Parameter spec for doing KTS based wrapping via the Cipher API.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Builder class for creating a KTSParameterSpec. -
Constructor Summary
ModifierConstructorDescriptionprotected
KTSParameterSpec
(String wrappingKeyAlgorithm, int keySizeInBits, AlgorithmParameterSpec parameterSpec, AlgorithmIdentifier kdfAlgorithm, byte[] otherInfo) -
Method Summary
Modifier and TypeMethodDescriptionReturn the algorithm parameter spec to be applied with the private key when the encapsulation is decrypted.Methods inherited from class org.bouncycastle.jcajce.spec.KEMKDFSpec
getKdfAlgorithm, getKeyAlgorithmName, getKeySize, getOtherInfo
-
Constructor Details
-
KTSParameterSpec
protected KTSParameterSpec(String wrappingKeyAlgorithm, int keySizeInBits, AlgorithmParameterSpec parameterSpec, AlgorithmIdentifier kdfAlgorithm, byte[] otherInfo)
-
-
Method Details
-
getParameterSpec
Return the algorithm parameter spec to be applied with the private key when the encapsulation is decrypted.- Returns:
- the algorithm parameter spec to be used with the private key.
-