GetSignerCount

security and signatures

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

Description

Returns how many CMS signers the selected signature field's /Contents blob carries.

The zero-based SignerIndex accepted by the verification and certificate methods selects among these signers; counter-signing layouts appear as multiple signers of one field.

Syntax

Delphi

Function TPDFlibSignatureVerifier.GetSignerCount(SignatureIndex: Integer): Integer;

Parameters

SignatureIndexZero-based signature field index

Return values

PositiveNumber of CMS signers in the selected signature
0No document is open, the field index is invalid, or the field has no decodable /Contents CMS

See also

TPDFlibSignatureVerifier, EnumSignatures