Package org.bouncycastle.cms
Class KeyTransRecipientInfoGenerator
- java.lang.Object
-
- org.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
Fields Modifier and Type Field Description protected org.bouncycastle.operator.AsymmetricKeyWrapper
wrapper
-
Constructor Summary
Constructors Modifier Constructor Description protected
KeyTransRecipientInfoGenerator(byte[] subjectKeyIdentifier, org.bouncycastle.operator.AsymmetricKeyWrapper wrapper)
protected
KeyTransRecipientInfoGenerator(org.bouncycastle.asn1.cms.IssuerAndSerialNumber issuerAndSerial, org.bouncycastle.operator.AsymmetricKeyWrapper wrapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.bouncycastle.asn1.cms.RecipientInfo
generate(org.bouncycastle.operator.GenericKey contentEncryptionKey)
-
-
-
Constructor Detail
-
KeyTransRecipientInfoGenerator
protected KeyTransRecipientInfoGenerator(org.bouncycastle.asn1.cms.IssuerAndSerialNumber issuerAndSerial, org.bouncycastle.operator.AsymmetricKeyWrapper wrapper)
-
KeyTransRecipientInfoGenerator
protected KeyTransRecipientInfoGenerator(byte[] subjectKeyIdentifier, org.bouncycastle.operator.AsymmetricKeyWrapper wrapper)
-
-
Method Detail
-
generate
public final org.bouncycastle.asn1.cms.RecipientInfo generate(org.bouncycastle.operator.GenericKey contentEncryptionKey) throws CMSException
- Specified by:
generate
in interfaceRecipientInfoGenerator
- Throws:
CMSException
-
-