C# 클래스 iTextSharp.text.pdf.security.X509Certificate2Signature

Creates a signature using a X509Certificate2. It supports smartcards without exportable private keys.
상속: IExternalSignature
파일 보기 프로젝트 열기: nonorganic/dssnet 1 사용 예제들

공개 메소드들

메소드 설명
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