Bouncy Castle Cryptography Library 1.81

org.bouncycastle.jcajce.spec
Class KTSParameterSpec

java.lang.Object
  extended byorg.bouncycastle.jcajce.spec.KEMKDFSpec
      extended byorg.bouncycastle.jcajce.spec.KTSParameterSpec
All Implemented Interfaces:
java.security.spec.AlgorithmParameterSpec
Direct Known Subclasses:
KEMParameterSpec

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

Parameter spec for doing KTS based wrapping via the Cipher API.


Nested Class Summary
static class KTSParameterSpec.Builder
          Builder class for creating a KTSParameterSpec.
 
Constructor Summary
protected KTSParameterSpec(java.lang.String wrappingKeyAlgorithm, int keySizeInBits, java.security.spec.AlgorithmParameterSpec parameterSpec, AlgorithmIdentifier kdfAlgorithm, byte[] otherInfo)
           
 
Method Summary
 java.security.spec.AlgorithmParameterSpec getParameterSpec()
          Return 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KTSParameterSpec

protected KTSParameterSpec(java.lang.String wrappingKeyAlgorithm,
                           int keySizeInBits,
                           java.security.spec.AlgorithmParameterSpec parameterSpec,
                           AlgorithmIdentifier kdfAlgorithm,
                           byte[] otherInfo)
Method Detail

getParameterSpec

public java.security.spec.AlgorithmParameterSpec 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.

Bouncy Castle Cryptography Library 1.81