C# Класс Org.BouncyCastle.Cms.SignerInformation

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
AddCounterSigners ( SignerInformation signerInformation, SignerInformationStore counterSigners ) : SignerInformation
GetContentDigest ( ) : byte[]
GetCounterSignatures ( ) : SignerInformationStore
GetEncodedSignedAttributes ( ) : byte[]
GetSignature ( ) : byte[]
ReplaceUnsignedAttributes ( SignerInformation signerInformation, Asn1 unsignedAttributes ) : SignerInformation
ToSignerInfo ( ) : SignerInfo
Verify ( AsymmetricKeyParameter pubKey ) : bool
Verify ( X509Certificate cert ) : bool

Приватные методы

Метод Описание
DerDecode ( byte encoding ) : Org.BouncyCastle.Asn1.X509.DigestInfo
DoVerify ( AsymmetricKeyParameter key ) : bool
GetSigningTime ( ) : Asn1.Cms.Time
GetSingleValuedSignedAttribute ( DerObjectIdentifier attrOID, string printableName ) : Asn1Object
IsNull ( Asn1Encodable o ) : bool
SignerInformation ( SignerInfo info, DerObjectIdentifier contentType, CmsProcessable content, IDigestCalculator digestCalculator ) : System
VerifyDigest ( byte digest, AsymmetricKeyParameter key, byte signature ) : bool

Описание методов

AddCounterSigners() публичный статический Метод

public static AddCounterSigners ( SignerInformation signerInformation, SignerInformationStore counterSigners ) : SignerInformation
signerInformation SignerInformation
counterSigners SignerInformationStore
Результат SignerInformation

GetContentDigest() публичный Метод

public GetContentDigest ( ) : byte[]
Результат byte[]

GetCounterSignatures() публичный Метод

public GetCounterSignatures ( ) : SignerInformationStore
Результат SignerInformationStore

GetEncodedSignedAttributes() публичный Метод

public GetEncodedSignedAttributes ( ) : byte[]
Результат byte[]

GetSignature() публичный Метод

public GetSignature ( ) : byte[]
Результат byte[]

ReplaceUnsignedAttributes() публичный статический Метод

public static ReplaceUnsignedAttributes ( SignerInformation signerInformation, Asn1 unsignedAttributes ) : SignerInformation
signerInformation SignerInformation
unsignedAttributes Asn1
Результат SignerInformation

ToSignerInfo() публичный Метод

public ToSignerInfo ( ) : SignerInfo
Результат SignerInfo

Verify() публичный Метод

public Verify ( AsymmetricKeyParameter pubKey ) : bool
pubKey AsymmetricKeyParameter
Результат bool

Verify() публичный Метод

public Verify ( X509Certificate cert ) : bool
cert X509Certificate
Результат bool