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

org.bouncycastle.cms

## Class KEKRecipientInfoGenerator

- java.lang.Object
- - org.bouncycastle.cms.KEKRecipientInfoGenerator

- All Implemented Interfaces:
    RecipientInfoGenerator
  Direct Known Subclasses:
    BcKEKRecipientInfoGenerator, JceKEKRecipientInfoGenerator

      public abstract class KEKRecipientInfoGenerator
      extends java.lang.Object
      implements RecipientInfoGenerator

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected SymmetricKeyWrapper` | `wrapper`

  - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `protected` | `KEKRecipientInfoGenerator(org.bouncycastle.asn1.cms.KEKIdentifier kekIdentifier, SymmetricKeyWrapper wrapper)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `org.bouncycastle.asn1.cms.RecipientInfo` | `generate(GenericKey contentEncryptionKey)`

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

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

- - ### Field Detail

    - #### wrapper

          protected final SymmetricKeyWrapper wrapper

  - ### Constructor Detail

    - #### KEKRecipientInfoGenerator

          protected KEKRecipientInfoGenerator(org.bouncycastle.asn1.cms.KEKIdentifier kekIdentifier,
                                   SymmetricKeyWrapper wrapper)

  - ### Method Detail

    - #### generate

          public final org.bouncycastle.asn1.cms.RecipientInfo generate(GenericKey contentEncryptionKey)
                                                                 throws CMSException

      Specified by:
        `generate` in interface `RecipientInfoGenerator`
      Throws:
        `CMSException`