DigitalSignatureFieldSetPreferredDigestAlgorithm Method (DigestAlgorithm, Boolean) |
Sets the preferred digest algorithm to use when signing this field. This is done by setting DigestMethod
in the Seed Value dictionary. This function can be called before a signature field is even prepared for signing.
Namespace:
pdftron.PDF
Assembly:
pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax public void SetPreferredDigestAlgorithm(
DigestAlgorithm in_digest_algorithm_type,
bool in_make_mandatory
)
Public Sub SetPreferredDigestAlgorithm (
in_digest_algorithm_type As DigestAlgorithm,
in_make_mandatory As Boolean
)
public:
virtual void SetPreferredDigestAlgorithm(
[InAttribute] DigestAlgorithm in_digest_algorithm_type,
[InAttribute] bool in_make_mandatory
) sealed
function SetPreferredDigestAlgorithm(in_digest_algorithm_type, in_make_mandatory);
Parameters
- in_digest_algorithm_type
- Type: pdftron.CryptoDigestAlgorithm
the digest algorithm to use - in_make_mandatory
- Type: SystemBoolean
whether to tell signing software to give up if the preferred algorithm is unsupported.
See Also