Table of Contents

Class SignerInformation

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

Constructors

SignerInformation(SignerInformation)

protected SignerInformation(SignerInformation baseInfo)

Parameters

baseInfo SignerInformation

Properties

ContentType

public DerObjectIdentifier ContentType { get; }

Property Value

DerObjectIdentifier

DigestAlgOid

public string DigestAlgOid { get; }

Property Value

string

DigestAlgParams

public Asn1Object DigestAlgParams { get; }

Property Value

Asn1Object

DigestAlgorithmID

public AlgorithmIdentifier DigestAlgorithmID { get; }

Property Value

AlgorithmIdentifier

EncryptionAlgOid

public string EncryptionAlgOid { get; }

Property Value

string

EncryptionAlgParams

public Asn1Object EncryptionAlgParams { get; }

Property Value

Asn1Object

EncryptionAlgorithmID

public AlgorithmIdentifier EncryptionAlgorithmID { get; }

Property Value

AlgorithmIdentifier

IsCounterSignature

public bool IsCounterSignature { get; }

Property Value

bool

SignedAttributes

public AttributeTable SignedAttributes { get; }

Property Value

AttributeTable

SignerID

public SignerID SignerID { get; }

Property Value

SignerID

UnsignedAttributes

public AttributeTable UnsignedAttributes { get; }

Property Value

AttributeTable

Version

public int Version { get; }

Property Value

int

Methods

AddCounterSigners(SignerInformation, SignerInformationStore)

public static SignerInformation AddCounterSigners(SignerInformation signerInformation, SignerInformationStore counterSigners)

Parameters

signerInformation SignerInformation
counterSigners SignerInformationStore

Returns

SignerInformation

GetContentDigest()

public byte[] GetContentDigest()

Returns

byte[]

GetCounterSignatures()

public SignerInformationStore GetCounterSignatures()

Returns

SignerInformationStore

GetEncodedSignedAttributes()

public byte[] GetEncodedSignedAttributes()

Returns

byte[]

GetSignature()

public byte[] GetSignature()

Returns

byte[]

ReplaceUnsignedAttributes(SignerInformation, AttributeTable)

public static SignerInformation ReplaceUnsignedAttributes(SignerInformation signerInformation, AttributeTable unsignedAttributes)

Parameters

signerInformation SignerInformation
unsignedAttributes AttributeTable

Returns

SignerInformation

ToSignerInfo()

public SignerInfo ToSignerInfo()

Returns

SignerInfo

Verify(AsymmetricKeyParameter)

public bool Verify(AsymmetricKeyParameter pubKey)

Parameters

pubKey AsymmetricKeyParameter

Returns

bool

Verify(X509Certificate)

public bool Verify(X509Certificate cert)

Parameters

cert X509Certificate

Returns

bool