Signs digest asynchronously, for a signer that waits on a device or a remote service.
ValueTask<byte[]> SignDigestAsync(ReadOnlyMemory<byte> digest, HashAlgorithmName digestAlgorithm, CancellationToken cancellationToken)
The digest to sign.
The algorithm digest was computed with.
Cancels the signing.
ISO 32000-2 §12.8.3.3. SignAsync(Stream, IPdfSigner, PdfSignatureOptions?, CancellationToken) calls this, Sign(Stream, IPdfSigner, PdfSignatureOptions?) calls SignDigest(ReadOnlySpan<Byte>, HashAlgorithmName). The default implementation calls SignDigest(ReadOnlySpan<Byte>, HashAlgorithmName).