<PackageReference Include="BouncyCastle.Cryptography" Version="2.7.0" />

Org.BouncyCastle.Cms.CmsAuthenticatedData

public class CmsAuthenticatedData
Containing class for a CMS AuthenticatedData object.

Return a table of the authenticated attributes - indexed by the OID of the attribute.

public ContentInfo ContentInfo { get; }

public string MacAlgOid { get; }

Return a table of the unauthenticated attributes - indexed by the OID of the attribute.

public CmsAuthenticatedData(byte[] authData)

public CmsAuthenticatedData(Stream authData)

public CmsAuthenticatedData(ContentInfo contentInfo)

Return a table of the digested attributes indexed by the OID of the attribute.

public byte[] GetContentDigest()

public byte[] GetEncoded()

Return the ASN.1 encoded representation of this object.

public byte[] GetMac()

Return a table of the undigested attributes indexed by the OID of the attribute.