BcKeyTransRecipient (Bouncy Castle Library 1.54 API Specification)
Date: 2015-12-29

org.bouncycastle.cms.bc

## Class BcKeyTransRecipient

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

- All Implemented Interfaces:
    KeyTransRecipient, Recipient
  Direct Known Subclasses:
    BcRSAKeyTransEnvelopedRecipient

      public abstract class BcKeyTransRecipient
      extends java.lang.Object
      implements KeyTransRecipient

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `BcKeyTransRecipient(org.bouncycastle.crypto.params.AsymmetricKeyParameter recipientKey)`

  - ### 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 encryptedKeyAlgorithm, byte[] encryptedEncryptionKey)`

    - ### 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.KeyTransRecipient

      `getRecipientOperator`

- - ### Constructor Detail

    - #### BcKeyTransRecipient

          public BcKeyTransRecipient(org.bouncycastle.crypto.params.AsymmetricKeyParameter recipientKey)

  - ### Method Detail

    - #### extractSecretKey

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

      Throws:
        `CMSException`