Click or drag to resize

SignerBaseGetContent Method

Callback for obtaining all contents for signing, if not provide during creating of signature context.

Namespace:  ASDSoft.WebSigner.Server
Assembly:  ASDSoft.WebSigner.Server (in ASDSoft.WebSigner.Server.dll) Version: 2.5.0
Syntax
C#
protected abstract Task<Object> GetContent(
	ContentBase content,
	X509Certificate2 certificate
)

Parameters

content
Type: ASDSoft.WebSigner.ContentContentBase
Content without data.
certificate
Type: System.Security.Cryptography.X509CertificatesX509Certificate2
Client certificate for signing.

Return Value

Type: TaskObject
The task for async calling with data content for signing.
Remarks
This method is called by the infrastructure for example when a signed document requires certificate included in signing content. Othervise can implement only NotSupportedException. Implementation must be thread safe, when sign more than one content per session.
See Also