Package 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
Fields Modifier and Type Field Description protected SymmetricKeyWrapper
wrapper
-
Constructor Summary
Constructors Modifier Constructor Description protected
KEKRecipientInfoGenerator(org.bouncycastle.asn1.cms.KEKIdentifier kekIdentifier, SymmetricKeyWrapper wrapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.bouncycastle.asn1.cms.RecipientInfo
generate(GenericKey contentEncryptionKey)
-
-
-
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 interfaceRecipientInfoGenerator
- Throws:
CMSException
-
-