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

ProbeICC0 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
InfoThe JSON report; cleared when the probe selection is invalid

Return values

Result1 when the report was produced, including unavailable dependencies and an inapplicable platform; 0 when ProbeICC is neither 0 nor 1

Report fields

schemaVersion1 for this report contract
libraryVersionThe current library version
editionsingle, smallbusiness or enterprise, determined by the instance class; a plain TPDFlib reports single even when higher-edition units are linked
backend, applicablenative-headless with true on non-Windows targets, or platform-windows with false on Windows
platform, architecture, pointerBits, compilerCompiled target identity, not a certification of the host or every feature
iccProbeRequested, iccProbePerformedDistinguish the caller's request from whether the native ICC probe was performed
iccBackendVersion, iccDiagnosticPresent on native targets; the CMM version is 0 before a successful load, and an unavailable probe includes an English diagnostic
capabilitiesEntries 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.displayComplete 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-colorNative raster rendering and bounded component-space group blending with parent-space conversion
fonts.family-embedding, fonts.supplementary-plane, fonts.complex-shapingNative 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-revocationNative signing coverage and explicit provider limits
signing.rsa-pss statusPartial implementation for compatible detached native PFX signatures; runtime remains not-probed because the ICC availability probe does not load signing identities
analysis.barcodes, analysis.deskewBarcode recognition and skew analysis on native page renders; the built-in recognizer reads linear symbols and Data Matrix
platform.windows-servicesUnavailable 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;