Native CMS archival revocation

Security and signatures

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

Description

The native verifier reads the selected CMS signer's signed adbe-revocationInfoArchival attribute, decodes its CRL, OCSP and custom entries under bounded syntax rules, and feeds that evidence into the same pool as DSS and VRI material under the usual trust, freshness and time checks. Read it when a signature carries archival revocation data, or when a malformed attribute must be distinguished from absent evidence.

Consumption

Native non-Windows signer-chain and timestamp revocation verification reads the selected CMS signer's signed adbe-revocationInfoArchival attribute, OID 1.2.840.113583.1.1.8

CRLs and OCSP responses join the same supplied evidence pools as DSS/VRI material before online retrieval; every non-anchor certificate still requires applicable independently authenticated evidence

Only the selected SignerInfo contributes archival material; attributes belonging to another signer or placed in unsignedAttrs are not used

The existing AddSignProcessRevocationCRL and AddSignProcessRevocationOCSP APIs can produce the ordinary detached signature attribute that this backend consumes

Embedding or extracting evidence does not establish its validity, document integrity, a signing time or a historical proof of existence

Encoding

The attribute requires one SEQUENCE value with optional explicit fields in order: [0] CRLs, [1] OCSP responses and [2] custom OtherRevInfo values

CRLs are retained as complete DER values; OCSP accepts complete OCSPResponse values and interoperable BasicOCSPResponse values, wrapping the latter in a successful basic response container before cryptographic validation

OtherRevInfo entries require an OBJECT IDENTIFIER and OCTET STRING and are counted separately; custom payloads do not contribute certificate coverage

Empty optional sequences are syntactically accepted and contribute no evidence; duplicate attributes, multiple values, repeated or out-of-order fields and malformed custom entries are rejected

Trust and time

Explicit anchors establish base trust before archival extraction; embedded evidence cannot turn an untrusted certificate into an anchor

Archival CRLs and OCSP retain the signature, issuer or responder authorization, exact certificate identity, freshness and mandatory nextUpdate checks of the shared native revocation route

The requested signer verification time remains authoritative; timestamp verification uses its fixed UTC GenerationTime

Authenticated revocation retains priority over conflicting good evidence in either DSS or archival material

A malformed archival attribute returns unknown revocation status and does not start online retrieval, but independently authenticated revoked DSS evidence still produces stsRevoked

Good DSS evidence does not silently override malformed archival syntax

srmNone skips archival inspection; srmCacheOnly consumes supplied material without retrieval, and srmOnline uses supplied coverage before the existing bounded HTTP(S) OCSP/CRL retrieval

Signer-chain report fields

ArchivalRevocationPresentThe selected signer's signed archival attribute was found during revocation checking
ArchivalCRLCountCRL inventory extracted from the complete valid attribute
ArchivalOCSPCountOCSP inventory extracted from the complete valid attribute
ArchivalOtherCountStructurally valid custom entries, without implied support or trust
ArchivalNativeError0 for successful extraction or no attribute, 13 for invalid syntax, or 50 for unsupported input limits or backend availability

Extraction errors clear all archival counts; the presence flag can remain true so callers can distinguish a malformed attribute from absence

DSSCertificateCount, DSSCRLCount, DSSOCSPCount and DSSOCSPValidatedCount retain their document-source meaning; archival responses can affect overall OCSPStatus without increasing those counts

The Windows route leaves these additional native inventory fields at their initialized defaults; TPDFlibTimeStampVerificationReport does not add archival inventory fields

Certificate-chain verification remains separate from PDF signature integrity; callers should also use VerifySignatureByName or the corresponding index method

Bounds and qualification

CMS input is bounded to 16 MiB, signed attributes to 1024, total archival CRL/OCSP/custom objects to 1024, and extracted normalized CRL/OCSP bytes to 16 MiB

Archival and supplied CRL lists together permit at most 1024 entries, as do archival and supplied OCSP lists; they share the existing 64 MiB evidence-material allowance and online request budgets

PLNativeCMSRevocationInfo performs bounded selected-signer extraction without independently establishing CMS integrity or evidence trust

PLNativeVerifyCMSChainWithEvidenceAtTime optionally writes TPDFNativeArchivalSummary through its final pointer parameter; existing callers can omit that parameter

Actual runtime qualification covers Linux x64 FPC 3.3.1 with OpenSSL 3.5.5; further target hosts and providers require qualification

Custom evidence interpretation and additional Freshest location profiles remain outside this route