<PackageReference Include="BouncyCastle.Cryptography" Version="2.8.0-beta.349" />

Org.BouncyCastle.Cms.CmsEnvelopedDataParser

Streaming parser for CMS EnvelopedData messages, the counterpart to CmsEnvelopedData. In streaming mode only one recipient can be tried and parser methods must be called in order.
namespace Org.BouncyCastle.Cms { public class CmsEnvelopedDataParser : CmsContentInfoParser { public AlgorithmIdentifier EncryptionAlgorithmID { get; } public string EncryptionAlgOid { get; } public Asn1Object EncryptionAlgParams { get; } public OriginatorInformation OriginatorInformation { get; } public CmsEnvelopedDataParser(byte[] envelopedData); public CmsEnvelopedDataParser(Stream envelopedData); public RecipientInformationStore GetRecipientInfos(); public Org.BouncyCastle.Asn1.Cms.AttributeTable GetUnprotectedAttributes(); } }