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

Org.BouncyCastle.Cms.CmsAuthenticatedData

public class CmsAuthenticatedData
namespace Org.BouncyCastle.Cms { public class CmsAuthenticatedData { public AlgorithmIdentifier MacAlgorithmID { get; } public string MacAlgOid { get; } public ContentInfo ContentInfo { get; } public CmsAuthenticatedData(byte[] authData); public CmsAuthenticatedData(Stream authData); public CmsAuthenticatedData(ContentInfo contentInfo); public byte[] GetMac(); public RecipientInformationStore GetRecipientInfos(); public Org.BouncyCastle.Asn1.Cms.AttributeTable GetAuthAttrs(); public Org.BouncyCastle.Asn1.Cms.AttributeTable GetUnauthAttrs(); public byte[] GetEncoded(); } } namespace Org.BouncyCastle.Crypto.Operators { public class Asn1SignatureFactory : ISignatureFactory { public object AlgorithmDetails { get; } public static IEnumerable<string> SignatureAlgNames { get; } public Asn1SignatureFactory(string algorithm, AsymmetricKeyParameter privateKey); public Asn1SignatureFactory(string algorithm, AsymmetricKeyParameter privateKey, SecureRandom random); public IStreamCalculator<IBlockResult> CreateCalculator(); } }