Org.BouncyCastle.Cms.CmsEnvelopedDataStreamGenerator
Streaming generator for CMS EnvelopedData (PKCS#7 enveloped-data) messages. Add recipients via the base
CmsEnvelopedGenerator methods, then call Open to obtain a
Stream to which the content to be encrypted is written; closing that stream finalizes the
CMS structure.
public CmsEnvelopedDataStreamGenerator()
Creates a generator using the default randomness source.
Creates a generator with an explicit randomness source for key and encryption operations.
Opens a stream for generating a CMS EnvelopedData object, deriving a content-encryption key of the
algorithm's default strength.
Opens a stream for generating a CMS EnvelopedData object, deriving a content-encryption key of the
given size.
Controls whether recipient information is stored using a BER (indefinite-length) SET.
Set the underlying string size for encapsulated data.