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

CmsAlgorithmProtection

public static readonly int Mac

public static readonly int Signature

public CmsAlgorithmProtection(AlgorithmIdentifier digestAlgorithm, int type, AlgorithmIdentifier algorithmIdentifier)

public static CmsAlgorithmProtection GetInstance(object obj)

public static CmsAlgorithmProtection GetInstance(Asn1TaggedObject taggedObject, bool declaredExplicit)