C# Class wSigner.XmlSigner

Inheritance: DocumentSigner
Exibir arquivo Open project: wpq0/Document-Signer Class Usage Examples

Public Methods

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

Sign

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

Verify

Method Details

Sign() public method

Sign
public Sign ( Stream input, Stream output, X509Certificate2 certificate ) : void
input System.IO.Stream The input.
output System.IO.Stream The output.
certificate System.Security.Cryptography.X509Certificates.X509Certificate2 The certificate.
return void

Verify() public method

Verify
public Verify ( Stream input, string serial = null ) : bool
input System.IO.Stream The input.
serial string The serial.
return bool