GetNativeBackendCapabilities
Miscellaneous functions
Description
Returns JSON describing the built-in native headless backend's implementation boundaries separately from optional runtime availability checks
The report applies to the native non-Windows backend; Windows builds return applicable: false, identify their platform backend and return an empty capability list
Syntax
function TPDFlib.GetNativeBackendCapabilities(
ProbeICC: Integer; out Info: WideString): Integer;
Parameters
| ProbeICC | 0 returns the implementation contract without loading the optional ICC runtime; 1 additionally attempts an sRGB identity conversion through the default LittleCMS 2 runtime on native non-Windows targets |
|---|---|
| Info | The JSON report; cleared when the probe selection is invalid |
Return values
| Result | 1 when the report was produced, including unavailable dependencies and an inapplicable platform; 0 when ProbeICC is neither 0 nor 1 |
|---|
Report fields
| schemaVersion | 1 for this report contract |
|---|---|
| libraryVersion | The current library version |
| edition | single, smallbusiness or enterprise, determined by the instance class; a plain TPDFlib reports single even when higher-edition units are linked |
| backend, applicable | native-headless with true on non-Windows targets, or platform-windows with false on Windows |
| platform, architecture, pointerBits, compiler | Compiled target identity, not a certification of the host or every feature |
| iccProbeRequested, iccProbePerformed | Distinguish the caller's request from whether the native ICC probe was performed |
| iccBackendVersion, iccDiagnostic | Present on native targets; the CMM version is 0 before a successful load, and an unavailable probe includes an English diagnostic |
| capabilities | Entries with stable id, implementation, runtime and limits fields, plus requiredEdition and editionAvailable |
requiredEdition names the minimum edition for the listed capability, and editionAvailable reports whether this instance includes it; neither field probes runtime dependencies or guarantees that a document operation succeeds
Native revocation verification and OCSP request authentication require Enterprise; basic CMS signing, RSA-PSS signing and custom signed-attribute construction remain available in every edition
An implementation value of partial identifies the bounded functionality described by limits; unsupported identifies an unavailable implementation
The runtime values are not-probed, available, unavailable and unsupported; ICC conversion and the optional shaping engine receive runtime availability checks
An available ICC probe confirms a small sRGB identity transform through the default runtime; it does not certify a caller's profiles, all conversion directions, display LUT precision or arbitrary document output
Capability identifiers
| icc.components, icc.display | Complete supported ICC output tuples, including 2CLR..FCLR profiles, and the sampled source-to-RGB display path with optional output-profile proofing |
|---|---|
| render.raster, render.transparency-group-color | Native raster rendering and bounded component-space group blending with parent-space conversion |
| fonts.family-embedding, fonts.supplementary-plane, fonts.complex-shaping | Native family-font embedding, supplementary-plane text and bounded complex-script shaping |
| signing.cms, signing.rsa-pss, signing.custom-attributes, signing.crl-revocation, signing.ocsp-revocation, signing.online-revocation | Native signing coverage and explicit provider limits |
| signing.rsa-pss status | Partial implementation for compatible detached native PFX signatures; runtime remains not-probed because the ICC availability probe does not load signing identities |
| analysis.barcodes, analysis.deskew | Barcode recognition and skew analysis on native page renders; the built-in recognizer reads linear symbols and Data Matrix |
| platform.windows-services | Unavailable Windows-specific services on the native non-Windows backend |
The signing.custom-attributes entry reports partial support for the three existing typed attribute routes; its runtime remains not-probed
In the probe report, fonts.complex-shaping is available when the OpenType shaping engine library loads and unavailable otherwise; the plain report leaves it not-probed
The native report contains twenty-three capability identifiers; signing.crl-revocation, signing.ocsp-revocation and signing.online-revocation report partial support for direct or indirect complete CRLs, cached or fetched issuer/delegated OCSP with mixed coverage and bounded cache-first HTTP(S) OCSP GET/POST preferences with CRL GET, respectively
signing.ocsp-nonce and signing.ocsp-request-signing separately identify optional nonce policy and explicit PFX or PKCS#11 token request authentication; both retain partial implementation and not-probed runtime states until the application qualifies its provider and credentials
signing.ocsp-responder-status reports partial, not-probed support for independent cached or fetched responder OCSP, bounded dependencies and cycle rejection
signing.indirect-crl reports partial, not-probed support for complete indirect CRLs with scope and explicit-anchor signing-path checks
signing.delta-crl reports partial, not-probed support for explicit compatible current complete/delta pairs, latest-number selection and authenticated hold release
signing.freshest-crl reports partial, not-probed support for authenticated URI/fullName discovery with certificate reason/issuer fields, canonical names and disabled, preferred or required online retrieval
All revocation entries remain not-probed; authenticated Freshest discovery supports HTTP(S), LDAP and directory-name, issuer-only or relative-name points through a configured directory server
signing.crl-signer-status reports partial, not-probed support for auxiliary CRL signer status policy, bounded independent proofs and shared retrieval
Scope
The report does not contact network services, inspect documents, read signing identities or run font, renderer or signing operations
Runtime availability beyond the ICC and shaping-library checks remains unprobed; parse capability IDs and state fields instead of interpreting a successfully returned JSON report as feature parity
This entry is available through the Delphi and Free Pascal class interface; DLL and ActiveX forwarding are outside this entry's scope
Example
var
Info: WideString;
begin
if Lib.GetNativeBackendCapabilities(1, Info) = 1 then
Writeln(UTF8Encode(Info));
end;