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

Org.BouncyCastle.Cms.CmsSignedData

public class CmsSignedData
namespace Org.BouncyCastle.Cms { public class CmsSignedData { public ContentInfo ContentInfo { get; } public CmsProcessable SignedContent { get; } public DerObjectIdentifier SignedContentType { get; } public SignedData SignedData { get; } public int Version { get; } public CmsSignedData(byte[] sigBlock); public CmsSignedData(CmsProcessable signedContent, byte[] sigBlock); public CmsSignedData(IDictionary<string, byte[]> hashes, byte[] sigBlock); public CmsSignedData(CmsProcessable signedContent, Stream sigData); public CmsSignedData(Stream sigData); public CmsSignedData(CmsProcessable signedContent, ContentInfo sigData); public CmsSignedData(IDictionary<string, byte[]> hashes, ContentInfo sigData); public CmsSignedData(ContentInfo sigData); public IStore<X509V2AttributeCertificate> GetAttributeCertificates(); public IStore<X509Certificate> GetCertificates(); public IStore<X509Crl> GetCrls(); public ISet<AlgorithmIdentifier> GetDigestAlgorithmIDs(); public IEnumerable<AlgorithmIdentifier> GetDigestAlgorithms(); public byte[] GetEncoded(); public byte[] GetEncoded(string encoding); public IStore<Asn1Encodable> GetOtherRevInfos(DerObjectIdentifier otherRevInfoFormat); public SignerInformationStore GetSignerInfos(); public static CmsSignedData AddDigestAlgorithm(CmsSignedData signedData, AlgorithmIdentifier digestAlgorithm); public static CmsSignedData AddDigestAlgorithm(CmsSignedData signedData, AlgorithmIdentifier digestAlgorithm, IDigestAlgorithmFinder digestAlgorithmFinder); public static CmsSignedData ReplaceSigners(CmsSignedData signedData, SignerInformationStore signerInformationStore); public static CmsSignedData ReplaceSigners(CmsSignedData signedData, SignerInformationStore signerInformationStore, IDigestAlgorithmFinder digestAlgorithmFinder); public static CmsSignedData ReplaceCertificatesAndCrls(CmsSignedData signedData, IStore<X509Certificate> x509Certs, IStore<X509Crl> x509Crls); public static CmsSignedData ReplaceCertificatesAndCrls(CmsSignedData signedData, IStore<X509Certificate> x509Certs, IStore<X509Crl> x509Crls, IStore<X509V2AttributeCertificate> x509AttrCerts); public static CmsSignedData ReplaceCertificatesAndRevocations(CmsSignedData signedData, IStore<X509Certificate> x509Certs, IStore<X509Crl> x509Crls, IStore<X509V2AttributeCertificate> x509AttrCerts, IStore<OtherRevocationInfoFormat> otherRevocationInfos); } }