Table of Contents

Class CmsSignedGenerator

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

Constructors

CmsSignedGenerator()

protected CmsSignedGenerator()

CmsSignedGenerator(SecureRandom)

protected CmsSignedGenerator(SecureRandom rand)

Parameters

rand SecureRandom

Fields

Data

public static readonly string Data

Field Value

string

DigestGost3411

public static readonly string DigestGost3411

Field Value

string

DigestMD5

public static readonly string DigestMD5

Field Value

string

DigestRipeMD128

public static readonly string DigestRipeMD128

Field Value

string

DigestRipeMD160

public static readonly string DigestRipeMD160

Field Value

string

DigestRipeMD256

public static readonly string DigestRipeMD256

Field Value

string

DigestSha1

public static readonly string DigestSha1

Field Value

string

DigestSha224

public static readonly string DigestSha224

Field Value

string

DigestSha256

public static readonly string DigestSha256

Field Value

string

DigestSha384

public static readonly string DigestSha384

Field Value

string

DigestSha512

public static readonly string DigestSha512

Field Value

string

EncryptionDsa

public static readonly string EncryptionDsa

Field Value

string

EncryptionECDsa

public static readonly string EncryptionECDsa

Field Value

string

EncryptionECGost3410

public static readonly string EncryptionECGost3410

Field Value

string

EncryptionGost3410

public static readonly string EncryptionGost3410

Field Value

string

EncryptionRsa

public static readonly string EncryptionRsa

Field Value

string

EncryptionRsaPss

public static readonly string EncryptionRsaPss

Field Value

string

rand

protected readonly SecureRandom rand

Field Value

SecureRandom

Properties

UseDerForCerts

public bool UseDerForCerts { get; set; }

Property Value

bool

UseDerForCrls

public bool UseDerForCrls { get; set; }

Property Value

bool

Methods

AddAttributeCertificates(IX509Store)

public void AddAttributeCertificates(IX509Store store)

Parameters

store IX509Store

AddCertificates(IX509Store)

public void AddCertificates(IX509Store certStore)

Parameters

certStore IX509Store

AddCrls(IX509Store)

public void AddCrls(IX509Store crlStore)

Parameters

crlStore IX509Store

AddSigners(SignerInformationStore)

public void AddSigners(SignerInformationStore signerStore)

Parameters

signerStore SignerInformationStore

GetAttributeSet(AttributeTable)

protected virtual Asn1Set GetAttributeSet(AttributeTable attr)

Parameters

attr AttributeTable

Returns

Asn1Set

GetBaseParameters(DerObjectIdentifier, AlgorithmIdentifier, byte[])

protected virtual IDictionary GetBaseParameters(DerObjectIdentifier contentType, AlgorithmIdentifier digAlgId, byte[] hash)

Parameters

contentType DerObjectIdentifier
digAlgId AlgorithmIdentifier
hash byte[]

Returns

IDictionary

GetGeneratedDigests()

public IDictionary GetGeneratedDigests()

Returns

IDictionary