BcKEKRecipient (Bouncy Castle Library 1.52 API Specification)
Date: 2015-03-01

org.bouncycastle.cms.bc

## Class BcKEKRecipient

- java.lang.Object
- - org.bouncycastle.cms.bc.BcKEKRecipient

- All Implemented Interfaces:
    KEKRecipient, Recipient
  Direct Known Subclasses:
    BcKEKEnvelopedRecipient

      public abstract class BcKEKRecipient
      extends java.lang.Object
      implements KEKRecipient

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `BcKEKRecipient(BcSymmetricKeyUnwrapper unwrapper)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected org.bouncycastle.crypto.CipherParameters` | `extractSecretKey(org.bouncycastle.asn1.x509.AlgorithmIdentifier keyEncryptionAlgorithm, org.bouncycastle.asn1.x509.AlgorithmIdentifier contentEncryptionAlgorithm, byte[] encryptedContentEncryptionKey)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface org.bouncycastle.cms.KEKRecipient

      `getRecipientOperator`

- - ### Constructor Detail

    - #### BcKEKRecipient

          public BcKEKRecipient(BcSymmetricKeyUnwrapper unwrapper)

  - ### Method Detail

    - #### extractSecretKey

          protected org.bouncycastle.crypto.CipherParameters extractSecretKey(org.bouncycastle.asn1.x509.AlgorithmIdentifier keyEncryptionAlgorithm,
                                                                  org.bouncycastle.asn1.x509.AlgorithmIdentifier contentEncryptionAlgorithm,
                                                                  byte[] encryptedContentEncryptionKey)
                                                                       throws CMSException

      Throws:
        `CMSException`