GetPubSecStatus
Security and signatures
Description
Returns the latest Adobe.PubSec recipient-envelope authentication status for the selected document
Syntax
Delphi
Function TPDFlib.GetPubSecStatus: Integer;
ActiveX
Function PDFlib::GetPubSecStatus() As Long
DLL
int DLGetPubSecStatus(int InstanceID);
Return values
| 0 | No public-key authentication was attempted |
|---|---|
| 1 | A recipient envelope was authenticated |
| 2 | A decryption credential is required |
| 3 | The supplied credential is invalid |
| 4 | No matching recipient was found |
| 5 | The CMS envelope is malformed |
| 6 | Matching envelopes disagree about the seed or permissions |
| 7 | The security handler or encryption algorithm is unsupported |
Remarks
Load failures are also reported through LastErrorCode values 419 through 423