![](../icons/Help.png) | BuildableDocumentLinkContentBaseTConfigurationPrepareForExternalSign Method |
Compute hash or digest of document and prepare document for external sign.
Namespace:
ASDSoft.WebSigner.Server.Content
Assembly:
ASDSoft.WebSigner.Server (in ASDSoft.WebSigner.Server.dll) Version: 2.5.0
Syntaxprotected abstract void PrepareForExternalSign(
Stream documentSourceStream,
Stream preparedDocumentTargetStream,
HashAlgorithmName signatureHashAlgorithm,
X509Certificate2 certificate,
out byte[] content
)
Parameters
- documentSourceStream
- Type: System.IOStream
Stream with document data for signing - preparedDocumentTargetStream
- Type: System.IOStream
Traget stream for write prepared document for signing. - signatureHashAlgorithm
- Type: ASDSoft.WebSignerHashAlgorithmName
Hash algorithm for compute digest of document. - certificate
- Type: System.Security.Cryptography.X509CertificatesX509Certificate2
Public part of signing X509 certificate. - content
- Type: SystemByte
Computed hash or digest for signing. Will be filled to Content by infrastructure.
See Also