TPDFlibSignerResult

Data types, security and signatures

Description

TPDFlibSignerResult is returned by the identity-binding and document-opening methods of TPDFlibPFXFile, TPDFlibSigner and TPDFlibSignatureVerifier

The SignatureValidator demo checks OpenPDF against srOkay before reading any verification data

Syntax

Delphi

TPDFlibSignerResult = (srOkay, srFileNotFound, srCannotRead, srWrongPassword, srBadFormat, srNoPrivateKey);

Values

srOkayThe identity or document was opened successfully
srFileNotFoundThe requested file does not exist
srCannotReadThe file or stream could not be read
srWrongPasswordThe supplied password did not unlock the identity or document
srBadFormatThe certificate or PDF data is malformed
srNoPrivateKeyThe certificate carries no usable private key

See also

TPDFlibPFXFile, TPDFlibSigner, TPDFlibSignatureVerifier, TPDFlibSignatureVerifierResult