Click or drag to resize

IContentBuilderBuildContent Method

Build content for signing from document stored in this instance

Namespace:  ASDSoft.WebSigner.Server.Content
Assembly:  ASDSoft.WebSigner.Server (in ASDSoft.WebSigner.Server.dll) Version: 2.5.0
Syntax
C#
Object BuildContent(
	HashAlgorithmName signatureHashAlgorithm,
	X509Certificate2 certificate
)

Parameters

signatureHashAlgorithm
Type: ASDSoft.WebSignerHashAlgorithmName
Hash algorithm for compute digest of document.
certificate
Type: System.Security.Cryptography.X509CertificatesX509Certificate2
Public part of signing X509 certificate.

Return Value

Type: Object
Content for signing, usually byte[] with hash or digest of document.
Remarks
Implementation must be thread safe, when sign more than one content per session.
See Also