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

Org.BouncyCastle.Cms.CmsSignedDataParser

namespace Org.BouncyCastle.Cms { public class CmsSignedDataParser : CmsContentInfoParser { public int Version { get; } public ISet<string> DigestOids { get; } public DerObjectIdentifier SignedContentType { get; } public CmsSignedDataParser(byte[] sigBlock); public CmsSignedDataParser(CmsTypedStream signedContent, byte[] sigBlock); public CmsSignedDataParser(Stream sigData); public CmsSignedDataParser(CmsTypedStream signedContent, Stream sigData); public SignerInformationStore GetSignerInfos(); public IStore<X509V2AttributeCertificate> GetAttributeCertificates(); public IStore<X509Certificate> GetCertificates(); public IStore<X509Crl> GetCrls(); public IStore<Asn1Encodable> GetOtherRevInfos(DerObjectIdentifier otherRevInfoFormat); public CmsTypedStream GetSignedContent(); public static Stream ReplaceSigners(Stream original, SignerInformationStore signerInformationStore, Stream outStr); public static Stream ReplaceCertificatesAndCrls(Stream original, IStore<X509Certificate> x509Certs, IStore<X509Crl> x509Crls, IStore<X509V2AttributeCertificate> x509AttrCerts, Stream outStr); } }