DigitalSignatureFieldCalculateDigest Method |
Name | Description | |
---|---|---|
CalculateDigest | 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. This overload uses a default algorithm -- SHA-256. | |
CalculateDigest(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. |