Class KTSExtractKeySpec

java.lang.Object
org.bouncycastle.jcajce.spec.KTSKeySpec
org.bouncycastle.jcajce.spec.KTSExtractKeySpec
All Implemented Interfaces:
KeySpec

public class KTSExtractKeySpec extends KTSKeySpec
KeySpec for use with secret key extraction with a SecretKeyFactory supporting KTS.
  • Method Details

    • getEncapsulation

      public byte[] getEncapsulation()
      Return the encapsulation of the secret associated with this key spec.
      Returns:
      the secret encapsulation.
    • getPrivateKey

      public PrivateKey getPrivateKey()
      Return the decryption private key to be used by the SecretKeyFactory used with this key spec.
      Returns:
      the private key to be used to decrypt the encapsulation.