Delegate SignHash
SignHash delegate
Delegate for custom sign the document hash.
public delegate byte[] SignHash(byte[] hash, DigestHashAlgorithm digestHashAlgorithm);
| Parameter | Type | Description |
|---|---|---|
| hash | Byte[] | Input hash of the document. |
| digestHashAlgorithm | DigestHashAlgorithm | The 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
- enum DigestHashAlgorithm
- namespace Aspose.Pdf.Forms
- assembly Aspose.PDF