Click or drag to resize

PdfSignerHashAlgorithm Property

Gets or sets the hash algorithm that hashes the bytes of the document indicated by the ByteRange and the ByteRange shall specify the complete PDF file contents (excepting the Content value).

Default value: SHA256.


Namespace: SautinSoft.Pdf.Forms
Assembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2025.4.23
Syntax
public PdfHashAlgorithm HashAlgorithm { get; set; }

Property Value

PdfHashAlgorithm
The hash algorithm that hashes the bytes of the document indicated by the ByteRange.
Exceptions
ExceptionCondition
ArgumentExceptionThe specified hash algorithm value is not supported for creating a digital signature or signer's certificate has a 'DSA' public key and the specified value is not SHA1.
See Also