VerifyDocumentTimeStampByName

Security and signatures

Requires the Enterprise edition — part of the Enterprise signature verification surface in TPDFlibSignatureVerifier (unit PDFlibEntSignVerify)

Description

Validates the document timestamp in the named signature field, using cached revocation material only.

It is a shortcut for VerifyDocumentTimeStampExByName with srmCacheOnly and no expected policy or nonce.

Syntax

Delphi

Function TPDFlibSignatureVerifier.VerifyDocumentTimeStampByName(Const FieldName: WideString;
  SignerIndex: Integer; Out Report: TPDFlibTimeStampVerificationReport): TPDFlibSignatureVerifierResult;

Parameters

FieldNameFully qualified name of the signature field carrying the timestamp
SignerIndexZero-based signer index of the timestamp token
ReportReceives the timestamp verification report

Return values

vsValidToken signature, message imprint, TSA checks, and chain all passed
vsInvalidThe ByteRange is invalid or one of the timestamp checks failed
vsUnknownThe document is not open, the field does not exist, or its SubFilter is not ETSI.RFC3161

See also

TPDFlibSignatureVerifier, TPDFlibSignatureVerifierResult, NativeTimeStampRevocation