Bouncy Castle Cryptography Library 1.79

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
protected  SymmetricKeyWrapper wrapper
           
 
Constructor Summary
protected KEKRecipientInfoGenerator(org.bouncycastle.asn1.cms.KEKIdentifier kekIdentifier, SymmetricKeyWrapper wrapper)
           
 
Method Summary
 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

Bouncy Castle Cryptography Library 1.79