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

CmsSignedGenerator

public abstract class CmsSignedGenerator
public static readonly string Data

public static readonly string DigestGost3411

public static readonly string DigestMD5

public static readonly string DigestRipeMD128

public static readonly string DigestRipeMD160

public static readonly string DigestRipeMD256

public static readonly string DigestSha1

public static readonly string DigestSha224

public static readonly string DigestSha256

public static readonly string DigestSha384

public static readonly string DigestSha512

public static readonly string DigestSha512_224

public static readonly string DigestSha512_256

public static readonly string EncryptionDsa

public static readonly string EncryptionECDsa

public static readonly string EncryptionECGost3410

public static readonly string EncryptionECGost3410_2012_256

public static readonly string EncryptionECGost3410_2012_512

public static readonly string EncryptionGost3410

public static readonly string EncryptionRsa

public static readonly string EncryptionRsaPss

protected readonly SecureRandom m_random

public bool UseDerForCerts { get; set; }

public bool UseDerForCrls { get; set; }

protected CmsSignedGenerator()

protected CmsSignedGenerator(SecureRandom random)

Constructor allowing specific source of randomness

public void AddCertificate(X509Certificate cert)

public void AddCertificates(IStore<X509Certificate> certStore)

public void AddCrl(X509Crl crl)

public void AddCrls(IStore<X509Crl> crlStore)

public void AddOtherRevocationInfo(OtherRevocationInfoFormat otherRevocationInfo)

public void AddOtherRevocationInfo(DerObjectIdentifier otherRevInfoFormat, Asn1Encodable otherRevInfo)

public void AddOtherRevocationInfos(IStore<OtherRevocationInfoFormat> otherRevocationInfoStore)

public void AddOtherRevocationInfos(DerObjectIdentifier otherRevInfoFormat, IStore<Asn1Encodable> otherRevInfoStore)

public void AddSigners(SignerInformationStore signerStore)

public IDictionary<string, byte[]> GetGeneratedDigests()