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

CmsSignedData

public class CmsSignedData
public ContentInfo ContentInfo { get; }

public CmsProcessable SignedContent { get; }

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

public int Version { get; }

Return the version number for this object.

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 static CmsSignedData ReplaceSigners(CmsSignedData signedData, SignerInformationStore signerInformationStore)

public byte[] GetEncoded()

public byte[] GetEncoded(string encoding)