public class CMSEncryptedDataGenerator extends CMSEncryptedGenerator
unprotectedAttributeGenerator| Constructor and Description |
|---|
CMSEncryptedDataGenerator()
base constructor
|
| Modifier and Type | Method and Description |
|---|---|
CMSEncryptedData |
generate(CMSTypedData content,
OutputEncryptor contentEncryptor)
generate an encrypted object that contains an CMS Encrypted Data structure.
|
setUnprotectedAttributeGeneratorpublic CMSEncryptedData generate(CMSTypedData content, OutputEncryptor contentEncryptor) throws CMSException
content - the content to be encryptedcontentEncryptor - the symmetric key based encryptor to encrypt the content with.CMSException