Native Freshest CRL retrieval
Security and signatures
Requires the Enterprise edition — part of the Enterprise signature verification and revocation surface in TPDFlibSignatureVerifier (unit PDFlibEntSignVerify)
Description
Freshest CRL retrieval is governed by nfrmDisabled, nfrmPrefer and nfrmRequire, with authenticated discovery, HTTP(S) and LDAP location profiles, a shared evidence pool and strict time rules deciding whether an advertised delta refreshes the complete CRL. Use it when relying parties must show they chased advertised CRL updates instead of accepting an independent current CRL.
Policy
Verifier.NativeFreshestCRLMode := nfrmPrefer;
TPDFlibNativeFreshestCRLMode contains nfrmDisabled, nfrmPrefer and nfrmRequire; nfrmPrefer is the default
The policy controls native online signer-chain and timestamp verification and persists across PDF opening and trust-anchor clearing
nfrmDisabled skips Freshest retrieval while retaining supplied delta composition
nfrmPrefer attempts advertised refresh before returning complete-CRL coverage; if no usable update can be obtained, independent current coverage remains eligible
nfrmRequire leaves discovered advertised dependencies unresolved until valid current paired coverage is available, including when independent OCSP otherwise covers the document certificate
Cache-only and trust-only modes never perform Freshest requests and retain their supplied-evidence behavior regardless of this online retrieval setting
Windows stores the setting but retains its existing CryptoAPI verification route
Authenticated discovery
Freshest advertisements can come from the checked certificate or an applicable complete CRL, including a CRL used to validate a delegated OCSP responder
Discovery requires an explicitly trusted base path and an authenticated applicable complete CRL, with valid signature, signing usage, scope and supported critical content
An expired complete CRL can supply a location only after its remaining scope/path checks and signature succeed; its expired status alone does not supply good coverage
Bad signatures, untrusted or wrong-scope bases and unsupported critical base content cannot initiate this retrieval
A current authenticated supplied complete/delta pair satisfies the dependency without a request; a standalone delta cannot authenticate a new chain of Freshest locations
Location profile and bounds
The qualified profile accepts noncritical Freshest extensions containing fullName HTTP(S) or LDAP (RFC 4516) URI distribution points, including mixed directoryName and URI alternatives; an LDAP location reads the attributes its URL names, or by default the first present CRL attribute of the entry, and the returned delta is authenticated like one fetched over HTTP(S)
Certificate Freshest distribution points also accept canonical reasons flags and cRLIssuer directory names in their defined field order; duplicate, unknown or unordered fields are rejected transactionally
An explicit cRLIssuer must match the authenticated complete CRL issuer before its locations are used; without that field, the certificate issuer is used, so a location associated with a different issuer does not start retrieval for this base
Complete-CRL Freshest extensions accept only the distributionPoint field; reasons and cRLIssuer are forbidden in that source
An advertisement that names only a directory entry, only its CRL issuer, or a name relative to the CRL issuer is fetched through the directory server set in TPDFlibSignatureVerifier.NativeCRLDirectoryURL; without that server such advertisements remain unresolved under nfrmRequire
A relative distribution-point name cannot be combined with multiple issuer names
URIs are ASCII, nonempty and at most 8192 bytes; distribution-point, GeneralName and pending-query collections are bounded to 1024 entries
Location extraction is transactional: malformed trailing fields cannot expose a valid-looking earlier URI
Name validation checks canonical DER lengths, object identifiers and SET ordering, then validates the typed GeneralNames encoding; nested names are limited to 16 levels and 65536 elements per source extension
Reason flags must use a nonempty canonical named-bit encoding with only the eight defined reasons; reserved or unknown bits and nonzero padding are rejected
Advertisements without a supported fetchable location remain unresolved under nfrmRequire; nfrmPrefer can retain independently valid current coverage
Exact URL identity and case are preserved, with duplicate locations from certificate and CRL sources suppressed
All Freshest GET requests share the existing eight attempts, five seconds per request, eight-MiB response and conservative 32-MiB response budgets with OCSP and ordinary CRL retrieval
Evidence and time
Downloaded updates enter the shared evidence pool and must pass complete/delta pairing and authentication, requested-time and status checks
A compatible current update with a bad signature or unsupported critical content does not become valid because independent OCSP exists; required advertised coverage remains unresolved
A higher valid current delta can resolve older conflicting update numbers, while authenticated permanent revocation from a still-current compatible earlier delta remains effective
Default current-time verification advances with transport; fixed historical verification and timestamp GenerationTime never advance to accept a newly produced delta
Downloaded CRLs are not persisted into the PDF and do not increase DSS inventory
Direct and indirect CRLs can combine disjoint reason partitions only when their authenticated coverage includes every required reason; delta pairing retains identical issuingDistributionPoint scope, and an orphan delta cannot supply complete coverage
Low-level discovery
PLNativeCheckOCSPEvidence and PLNativeVerifyCMSChainExWithCoverage accept optional pending Freshest query outputs, appended without taking ownership
TPDFNativeFreshestCRLQuery.URL contains a fetchable HTTP(S) or LDAP URI or is empty when an advertised dependency has no supported location
These outputs describe authenticated discovery, not completed retrieval or validated delta coverage
PLNativeVerifyCMSChainWithEvidenceAtTime accepts a FreshestMode value of 0, 1 or 2, defaulting to preferred online retrieval
Qualification and remaining work
Actual runtime evidence covers Linux x64 FPC 3.3.1 with OpenSSL 3.5.5, certificate/CRL sources, current and expired bases, caching, URL case/fallback, request/byte budgets, malformed locations, invalid or unavailable updates, independent OCSP, historical time and non-persistence
Directory-protocol retrieval, further name and reason profiles, automatic issuer-certificate retrieval and further target hosts require separate implementation or qualification
See also
Native delta CRL composition, Native CRL revocation, TPDFlibSignatureVerifier