Package 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
Fields Modifier and Type Field Description protected KEMKeyWrapperwrapper
-
Constructor Summary
Constructors Modifier Constructor Description protectedKEMRecipientInfoGenerator(byte[] subjectKeyIdentifier, KEMKeyWrapper wrapper)protectedKEMRecipientInfoGenerator(org.bouncycastle.asn1.cms.IssuerAndSerialNumber issuerAndSerial, KEMKeyWrapper wrapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.bouncycastle.asn1.cms.RecipientInfogenerate(org.bouncycastle.operator.GenericKey contentEncryptionKey)
-
-
-
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(org.bouncycastle.operator.GenericKey contentEncryptionKey) throws CMSException- Specified by:
generatein interfaceRecipientInfoGenerator- Throws:
CMSException
-
-