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

Org.BouncyCastle.Cms.CmsAuthenticatedDataParser

Streaming parser for CMS AuthenticatedData messages, the counterpart to CmsAuthenticatedData. In streaming mode only one recipient can be tried and parser methods must be called in order.
namespace Org.BouncyCastle.Cms { public class CmsAuthenticatedDataParser : CmsContentInfoParser { public OriginatorInformation OriginatorInformation { get; } public AlgorithmIdentifier MacAlgorithmID { get; } public string MacAlgOid { get; } public Asn1Object MacAlgParams { get; } public CmsAuthenticatedDataParser(byte[] envelopedData); public CmsAuthenticatedDataParser(Stream envelopedData); public RecipientInformationStore GetRecipientInfos(); public byte[] GetMac(); public Org.BouncyCastle.Asn1.Cms.AttributeTable GetAuthAttrs(); public Org.BouncyCastle.Asn1.Cms.AttributeTable GetUnauthAttrs(); } }