Bouncy Castle Cryptography Library 1.59

org.bouncycastle.cms
Class KeyTransRecipientInfoGenerator

java.lang.Object
  extended byorg.bouncycastle.cms.KeyTransRecipientInfoGenerator
All Implemented Interfaces:
RecipientInfoGenerator
Direct Known Subclasses:
BcKeyTransRecipientInfoGenerator, JceKeyTransRecipientInfoGenerator, JceKTSKeyTransRecipientInfoGenerator

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


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

KeyTransRecipientInfoGenerator

protected KeyTransRecipientInfoGenerator(org.bouncycastle.asn1.cms.IssuerAndSerialNumber issuerAndSerial,
                                         AsymmetricKeyWrapper wrapper)

KeyTransRecipientInfoGenerator

protected KeyTransRecipientInfoGenerator(byte[] subjectKeyIdentifier,
                                         AsymmetricKeyWrapper wrapper)
Method Detail

generate

public final org.bouncycastle.asn1.cms.RecipientInfo generate(GenericKey contentEncryptionKey)
                                                       throws CMSException
Specified by:
generate in interface RecipientInfoGenerator
Throws:
CMSException

Bouncy Castle Cryptography Library 1.59