Bouncy Castle Cryptography Library 1.71

org.bouncycastle.jcajce.spec
Class KEMParameterSpec

java.lang.Object
  extended byorg.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
KEMParameterSpec(java.lang.String keyAlgorithmName)
           
KEMParameterSpec(java.lang.String keyAlgorithmName, int keySizeInBits)
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KEMParameterSpec

public KEMParameterSpec(java.lang.String keyAlgorithmName)

KEMParameterSpec

public KEMParameterSpec(java.lang.String keyAlgorithmName,
                        int keySizeInBits)
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.

Bouncy Castle Cryptography Library 1.71