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

CmsSignedDataParser

public ISet<string> DigestOids { get; }

Return the DerObjectIdentifier associated with the encapsulated content info structure carried in the signed data.

public int Version { get; }

public CmsSignedDataParser(byte[] sigBlock)

public CmsSignedDataParser(CmsTypedStream signedContent, byte[] sigBlock)

public CmsSignedDataParser(Stream sigData)

public CmsSignedDataParser(CmsTypedStream signedContent, Stream sigData)

public static Stream ReplaceCertificatesAndCrls(Stream original, IStore<X509Certificate> x509Certs, IStore<X509Crl> x509Crls, IStore<X509V2AttributeCertificate> x509AttrCerts, Stream outStr)

public static Stream ReplaceSigners(Stream original, SignerInformationStore signerInformationStore, Stream outStr)