Table of Contents

Class CmsSignedData

Namespace
Enterprises.Org.BouncyCastle.Cms
Assembly
Enterprises.BouncyCastle.Crypto.dll
public class CmsSignedData
Inheritance
CmsSignedData
Inherited Members

Constructors

CmsSignedData(ContentInfo)

public CmsSignedData(ContentInfo sigData)

Parameters

sigData ContentInfo

CmsSignedData(ICmsProcessable, ContentInfo)

public CmsSignedData(ICmsProcessable signedContent, ContentInfo sigData)

Parameters

signedContent ICmsProcessable
sigData ContentInfo

CmsSignedData(ICmsProcessable, byte[])

public CmsSignedData(ICmsProcessable signedContent, byte[] sigBlock)

Parameters

signedContent ICmsProcessable
sigBlock byte[]

CmsSignedData(ICmsProcessable, Stream)

public CmsSignedData(ICmsProcessable signedContent, Stream sigData)

Parameters

signedContent ICmsProcessable
sigData Stream

CmsSignedData(byte[])

public CmsSignedData(byte[] sigBlock)

Parameters

sigBlock byte[]

CmsSignedData(IDictionary, ContentInfo)

public CmsSignedData(IDictionary hashes, ContentInfo sigData)

Parameters

hashes IDictionary
sigData ContentInfo

CmsSignedData(IDictionary, byte[])

public CmsSignedData(IDictionary hashes, byte[] sigBlock)

Parameters

hashes IDictionary
sigBlock byte[]

CmsSignedData(Stream)

public CmsSignedData(Stream sigData)

Parameters

sigData Stream

Properties

ContentInfo

public ContentInfo ContentInfo { get; }

Property Value

ContentInfo

SignedContent

public ICmsProcessable SignedContent { get; }

Property Value

ICmsProcessable

SignedContentType

public DerObjectIdentifier SignedContentType { get; }

Property Value

DerObjectIdentifier

SignedContentTypeOid

[Obsolete("Use 'SignedContentType' property instead.")]
public string SignedContentTypeOid { get; }

Property Value

string

Version

public int Version { get; }

Property Value

int

Methods

GetAttributeCertificates(string)

public IX509Store GetAttributeCertificates(string type)

Parameters

type string

Returns

IX509Store

GetCertificates(string)

public IX509Store GetCertificates(string type)

Parameters

type string

Returns

IX509Store

GetCrls(string)

public IX509Store GetCrls(string type)

Parameters

type string

Returns

IX509Store

GetEncoded()

public byte[] GetEncoded()

Returns

byte[]

GetSignerInfos()

public SignerInformationStore GetSignerInfos()

Returns

SignerInformationStore

ReplaceCertificatesAndCrls(CmsSignedData, IX509Store, IX509Store, IX509Store)

public static CmsSignedData ReplaceCertificatesAndCrls(CmsSignedData signedData, IX509Store x509Certs, IX509Store x509Crls, IX509Store x509AttrCerts)

Parameters

signedData CmsSignedData
x509Certs IX509Store
x509Crls IX509Store
x509AttrCerts IX509Store

Returns

CmsSignedData

ReplaceSigners(CmsSignedData, SignerInformationStore)

public static CmsSignedData ReplaceSigners(CmsSignedData signedData, SignerInformationStore signerInformationStore)

Parameters

signedData CmsSignedData
signerInformationStore SignerInformationStore

Returns

CmsSignedData