ASDSoft.WebSigner API Reference Documentation
ASDSoft.WebSigner API Reference Documentation
ASDSoft.WebSigner.Server.Content
IContentBuilder Interface
IContentBuilder Methods
BuildContent Method
OpenSignedDocumentRead Method
SaveSignatureToDocument Method
IContentBuilder
BuildContent 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#
Copy
Object
BuildContent
(
HashAlgorithmName
signatureHashAlgorithm
,
X509Certificate2
certificate
)
Parameters
signatureHashAlgorithm
Type:
ASDSoft.WebSigner
HashAlgorithmName
Hash algorithm for compute digest of document.
certificate
Type:
System.Security.Cryptography.X509Certificates
X509Certificate2
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
Reference
IContentBuilder Interface
ASDSoft.WebSigner.Server.Content Namespace