Package org.bouncycastle.jcajce.spec
Class KEMParameterSpec
java.lang.Object
org.bouncycastle.jcajce.spec.KEMParameterSpec
- All Implemented Interfaces:
AlgorithmParameterSpec
-
Constructor Summary
ConstructorsConstructorDescriptionKEMParameterSpec
(String keyAlgorithmName) KEMParameterSpec
(String keyAlgorithmName, int keySizeInBits) -
Method Summary
Modifier and TypeMethodDescriptionReturn the name of the symmetric key algorithm for the key returned by this KEM.int
Return the key size in bits if specified, -1 indicates no preference.
-
Constructor Details
-
KEMParameterSpec
-
KEMParameterSpec
-
-
Method Details
-
getKeyAlgorithmName
Return the name of the symmetric key algorithm for the key returned by this KEM.- Returns:
- key algorithm name.
-
getKeySizeInBits
public int getKeySizeInBits()Return the key size in bits if specified, -1 indicates no preference.- Returns:
- key size, or -1.
-