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

0No public-key authentication was attempted
1A recipient envelope was authenticated
2A decryption credential is required
3The supplied credential is invalid
4No matching recipient was found
5The CMS envelope is malformed
6Matching envelopes disagree about the seed or permissions
7The security handler or encryption algorithm is unsupported

Remarks

Load failures are also reported through LastErrorCode values 419 through 423

See also

SetPublicKeyDecryptionPFX, SetPublicKeyDecryptionStore