Bouncy Castle Cryptography Library 1.79

org.bouncycastle.cms
Class KEMRecipientInfoGenerator

java.lang.Object
  |
  +--org.bouncycastle.cms.KEMRecipientInfoGenerator
All Implemented Interfaces:
RecipientInfoGenerator
Direct Known Subclasses:
JceKEMRecipientInfoGenerator

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


Field Summary
protected  KEMKeyWrapper wrapper
           
 
Constructor Summary
protected KEMRecipientInfoGenerator(byte[] subjectKeyIdentifier, KEMKeyWrapper wrapper)
           
protected KEMRecipientInfoGenerator(org.bouncycastle.asn1.cms.IssuerAndSerialNumber issuerAndSerial, KEMKeyWrapper 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 KEMKeyWrapper wrapper
Constructor Detail

KEMRecipientInfoGenerator

protected KEMRecipientInfoGenerator(org.bouncycastle.asn1.cms.IssuerAndSerialNumber issuerAndSerial,
                                    KEMKeyWrapper wrapper)

KEMRecipientInfoGenerator

protected KEMRecipientInfoGenerator(byte[] subjectKeyIdentifier,
                                    KEMKeyWrapper 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