C# 클래스 wSigner.DocumentSigner

A document signer
파일 보기 프로젝트 열기: wpq0/Document-Signer

공개 메소드들

메소드 설명
For ( string type ) : DocumentSigner

Initialize a signer for the specified file name.

Sign ( Stream input, Stream output, X509Certificate2 certificate ) : void

Sign

Sign ( string input, string output, X509Certificate2 certificate ) : void

Signs the file.

Verify ( Stream input, string serial = null ) : bool

Verifies

보호된 메소드들

메소드 설명
CheckInputOutputAndCertificate ( Stream input, Stream output, X509Certificate2 certificate ) : void

Checks the input output and certificate.

비공개 메소드들

메소드 설명
NormalizeExtension ( string input ) : string

Normalizes the extension.

메소드 상세

CheckInputOutputAndCertificate() 보호된 정적인 메소드

Checks the input output and certificate.
protected static CheckInputOutputAndCertificate ( Stream input, Stream output, X509Certificate2 certificate ) : void
input Stream The input.
output Stream The output.
certificate System.Security.Cryptography.X509Certificates.X509Certificate2 The certificate.
리턴 void

For() 공개 정적인 메소드

Initialize a signer for the specified file name.
public static For ( string type ) : DocumentSigner
type string The type.
리턴 DocumentSigner

Sign() 공개 추상적인 메소드

Sign
public abstract Sign ( Stream input, Stream output, X509Certificate2 certificate ) : void
input Stream The input.
output Stream The output.
certificate System.Security.Cryptography.X509Certificates.X509Certificate2 The certificate.
리턴 void

Sign() 공개 메소드

Signs the file.
public Sign ( string input, string output, X509Certificate2 certificate ) : void
input string The input.
output string The output.
certificate System.Security.Cryptography.X509Certificates.X509Certificate2 The certificate.
리턴 void

Verify() 공개 추상적인 메소드

Verifies
public abstract Verify ( Stream input, string serial = null ) : bool
input Stream The input.
serial string The serial.
리턴 bool