Click or drag to resize

IContentBuilderSaveSignatureToDocument Method

Save signature to document prepared by BuildContent(HashAlgorithmName, X509Certificate2).

Namespace:  ASDSoft.WebSigner.Server.Content
Assembly:  ASDSoft.WebSigner.Server (in ASDSoft.WebSigner.Server.dll) Version: 2.5.0
Syntax
C#
void SaveSignatureToDocument(
	X509Certificate2 certificate,
	byte[] signature
)

Parameters

certificate
Type: System.Security.Cryptography.X509CertificatesX509Certificate2
Public part of signing X509 certificate.
signature
Type: SystemByte
Created RSA signature.
Remarks
Implementation must be thread safe, when sign more than one content per session.
See Also