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

Org.BouncyCastle.Cms.CmsSignedData

public class CmsSignedData
public ContentInfo ContentInfo { get; }

public bool IsCertificateManagementMessage { get; }

public bool IsDetachedSignature { get; }

public CmsProcessable SignedContent { get; }

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

public SignedData SignedData { get; }

public int Version { get; }

Return the version number for this object.

public CmsSignedData(byte[] sigBlock)

public CmsSignedData(CmsProcessable signedContent, byte[] sigBlock)

public CmsSignedData(CmsTypedData signedContent, byte[] sigBlock)

public CmsSignedData(IDictionary<string, byte[]> hashes, byte[] sigBlock)

public CmsSignedData(CmsProcessable signedContent, Stream sigData)

public CmsSignedData(CmsTypedData signedContent, Stream sigData)

public CmsSignedData(Stream sigData)

public CmsSignedData(CmsProcessable signedContent, ContentInfo sigData)

public CmsSignedData(CmsTypedData signedContent, ContentInfo sigData)

public CmsSignedData(IDictionary<string, byte[]> hashes, ContentInfo sigData)

public CmsSignedData(ContentInfo sigData)

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 CmsSignedData AsVersion(int version)

Return a copy of this CmsSignedData with the SignedData version field forced to the given value, leaving every other field unchanged.

public byte[] GetEncoded()

public byte[] GetEncoded(string encoding)