DigitalSignatureFieldCalculateDigest Method (DigestAlgorithm) |
Calculates the digest of the relevant bytes of the document for this signature field, in order to allow
the caller to perform custom signing/processing. Signature field must first be prepared using one of the
non-sign overloads (CreateSigDictForCustomSigning/Certification), and then the document must be saved; after that, this function can be called.
The ByteRanges that the most recent save has entered into the signature dictionary within this signature field
will be used to calculate the digest.
Namespace:
pdftron.PDF
Assembly:
pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax public byte[] CalculateDigest(
DigestAlgorithm in_digest_algorithm_type
)
Public Function CalculateDigest (
in_digest_algorithm_type As DigestAlgorithm
) As Byte()
public:
virtual array<unsigned char>^ CalculateDigest(
[InAttribute] DigestAlgorithm in_digest_algorithm_type
) sealed
function CalculateDigest(in_digest_algorithm_type);
Parameters
- in_digest_algorithm_type
- Type: pdftron.CryptoDigestAlgorithm
the enumerated type of digest algorithm to use for the calculation.
Return Value
Type:
Bytean array of bytes containing the digest value
See Also