RasterCachedMultipageImage.IsDigitalSigned

RasterCachedMultipageImage.IsDigitalSigned method

Performs a fast check to determine if the image is digitally signed, using the provided password and threshold.

public override bool IsDigitalSigned(string password, int percentageThreshold = -1)
ParameterTypeDescription
passwordStringThe password to check the signing.
percentageThresholdInt32The threshold (in percentage)[0-100] that determines if the image is considered signed. If not specified, a default threshold (75) will be applied.

Return Value

True if the image is signed, otherwise false.

Remarks

This method provides the fastest detection by leveraging !:GetSignPercentage. Once the extracted data meets the specified threshold, further extraction steps aimed at improving detection accuracy are skipped.

The result is true only if all pages in the multi-page image are recognized as signed; otherwise, the image is considered unsigned.

See Also