Bouncy Castle Cryptography Library 1.81

org.bouncycastle.jcajce.spec
Class KEMExtractSpec

java.lang.Object
  extended byorg.bouncycastle.jcajce.spec.KEMKDFSpec
      extended byorg.bouncycastle.jcajce.spec.KEMExtractSpec
All Implemented Interfaces:
java.security.spec.AlgorithmParameterSpec

public class KEMExtractSpec
extends KEMKDFSpec
implements java.security.spec.AlgorithmParameterSpec


Nested Class Summary
static class KEMExtractSpec.Builder
          Builder class for creating a KEMExtractSpec.
 
Constructor Summary
KEMExtractSpec(java.security.PrivateKey privateKey, byte[] encapsulation, java.lang.String keyAlgorithmName)
           
KEMExtractSpec(java.security.PrivateKey privateKey, byte[] encapsulation, java.lang.String keyAlgorithmName, int keySizeInBits)
           
 
Method Summary
 byte[] getEncapsulation()
           
 java.security.PrivateKey getPrivateKey()
           
 
Methods inherited from class org.bouncycastle.jcajce.spec.KEMKDFSpec
getKdfAlgorithm, getKeyAlgorithmName, getKeySize, getOtherInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KEMExtractSpec

public KEMExtractSpec(java.security.PrivateKey privateKey,
                      byte[] encapsulation,
                      java.lang.String keyAlgorithmName)

KEMExtractSpec

public KEMExtractSpec(java.security.PrivateKey privateKey,
                      byte[] encapsulation,
                      java.lang.String keyAlgorithmName,
                      int keySizeInBits)
Method Detail

getEncapsulation

public byte[] getEncapsulation()

getPrivateKey

public java.security.PrivateKey getPrivateKey()

Bouncy Castle Cryptography Library 1.81