Class CMSAuthEnvelopedDataGenerator

    • Constructor Detail

      • CMSAuthEnvelopedDataGenerator

        public CMSAuthEnvelopedDataGenerator()
        base constructor
    • Method Detail

      • generate

        public CMSAuthEnvelopedData generate​(CMSTypedData content,
                                             org.bouncycastle.operator.OutputAEADEncryptor contentEncryptor)
                                      throws CMSException
        generate an auth-enveloped object that contains an CMS Enveloped Data object using the given provider.
        Parameters:
        content - the content to be encrypted
        contentEncryptor - the symmetric key based encryptor to encrypt the content with.
        Throws:
        CMSException