Class CMSAuthEnvelopedDataGenerator


public class CMSAuthEnvelopedDataGenerator extends CMSAuthEnvelopedGenerator
  • Constructor Details

    • CMSAuthEnvelopedDataGenerator

      public CMSAuthEnvelopedDataGenerator()
      base constructor
  • Method Details

    • generate

      public CMSAuthEnvelopedData generate(CMSTypedData content, 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