C# Класс iTextSharp.text.pdf.security.X509Certificate2Signature

Creates a signature using a X509Certificate2. It supports smartcards without exportable private keys.
Наследование: IExternalSignature
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
GetEncryptionAlgorithm ( ) : String
GetHashAlgorithm ( ) : String
Sign ( byte message ) : byte[]
X509Certificate2Signature ( X509Certificate2 certificate, String hashAlgorithm ) : System

Creates a signature using a X509Certificate2. It supports smartcards without exportable private keys.

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

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

public GetEncryptionAlgorithm ( ) : String
Результат String

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

public GetHashAlgorithm ( ) : String
Результат String

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

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

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

Creates a signature using a X509Certificate2. It supports smartcards without exportable private keys.
public X509Certificate2Signature ( X509Certificate2 certificate, String hashAlgorithm ) : System
certificate System.Security.Cryptography.X509Certificates.X509Certificate2 The certificate with the private key
hashAlgorithm String The hash algorithm for the signature. As the Windows CAPI is used /// to do the signature the only hash guaranteed to exist is SHA-1
Результат System