Package org.bouncycastle.jcajce.spec
Class KEMParameterSpec
- java.lang.Object
-
- org.bouncycastle.jcajce.spec.KEMParameterSpec
-
- All Implemented Interfaces:
java.security.spec.AlgorithmParameterSpec
public class KEMParameterSpec extends java.lang.Object implements java.security.spec.AlgorithmParameterSpec
-
-
Constructor Summary
Constructors Constructor Description KEMParameterSpec(java.lang.String keyAlgorithmName)
KEMParameterSpec(java.lang.String keyAlgorithmName, int keySizeInBits)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getKeyAlgorithmName()
Return the name of the symmetric key algorithm for the key returned by this KEM.int
getKeySizeInBits()
Return the key size in bits if specified, -1 indicates no preference.
-
-
-
Method Detail
-
getKeyAlgorithmName
public java.lang.String 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.
-
-