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
| SignatureIndex | Zero-based signature field index |
|---|---|
| SignerIndex | Zero-based CMS signer index within the signature |
Return values
| Positive | Number of signature timestamp tokens on the selected signer |
|---|---|
| 0 | The field cannot be resolved, the signer carries no timestamp attributes, or the CMS cannot be decoded |
See also
TPDFlibSignatureVerifier, SetPAdESSignatureTimeStampToken, NativeTimeStampRevocation