GetSignatureTimeStampCount

Security and signatures

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

Description

Returns how many RFC 3161 timestamp tokens are attached to the selected CMS signer as id-aa-signatureTimeStampToken unsigned attributes.

The count bounds the valid TimeStampIndex values accepted by the VerifySignatureTimeStamp family.

Syntax

Delphi

Function TPDFlibSignatureVerifier.GetSignatureTimeStampCount(SignatureIndex, SignerIndex: Integer): Integer;

Parameters

SignatureIndexZero-based signature field index
SignerIndexZero-based CMS signer index within the signature

Return values

PositiveNumber of signature timestamp tokens on the selected signer
0The field cannot be resolved, the signer carries no timestamp attributes, or the CMS cannot be decoded

See also

TPDFlibSignatureVerifier, SetPAdESSignatureTimeStampToken, NativeTimeStampRevocation