Delegate SignHash

SignHash delegate

Delegate for custom sign the document hash.

public delegate byte[] SignHash(byte[] hash, DigestHashAlgorithm digestHashAlgorithm);
ParameterTypeDescription
hashByte[]Input hash of the document.
digestHashAlgorithmDigestHashAlgorithmThe digest algorithm used to create the hash. The value will never be equal to Auto.

Return Value

Output signature.

Remarks

Note that whether the digital signature is detached or not, the hash argument will always be the final hash to be signed.

See Also