GetSignatureEffectiveMDPLevel

Digital signatures

Requires the Small Business edition — in Delphi, C++Builder and Lazarus code create the library as TPDFlibSmallBusiness (unit PDFlibSmallBusiness) or TPDFlibEnterprise; the Small Business and Enterprise DLL and ActiveX builds provide it unchanged; the Single edition keeps the method, which returns 0 and sets LastErrorCode to 901 (PDFLIB_ERROR_SMALLBUSINESS_REQUIRED)

Description

Returns the certification permission level applied by the last modification verdict

Syntax

Delphi

Function TPDFlib.GetSignatureEffectiveMDPLevel: Integer; Virtual;

ActiveX

Function PDFlib::GetSignatureEffectiveMDPLevel() As Long

DLL

int DLGetSignatureEffectiveMDPLevel(int InstanceID);

Return values

1No later change is permitted
2Filling form fields and signing are additionally permitted
3Annotations are additionally permitted, and the same value is reported when nothing certified the document

Remarks

Valid until the next GetSignatureModificationVerdict call. A value of 3 does not by itself mean the document is uncertified; when a certification was found but its structure could not be verified, the verdict reports 4 and this value should not be read as the level in force

See also

GetSignatureModificationVerdict, GetSignatureModificationDetail