hpdf_network_timestamp_transport_create_v1
Enterprise edition: This API belongs to HotPDF Enterprise (HotPDFEnt / Lib\Enterprise); lower editions omit it or raise EHPDFEnterpriseRequired.
Creates an opaque built-in HTTP/HTTPS RFC 3161 timestamp transport handle from a validated hpdf_network_timestamp_options_v1 structure.
hpdf_status HPDF_CDECL hpdf_network_timestamp_transport_create_v1(
const hpdf_network_timestamp_options_v1 *options,
hpdf_network_timestamp_transport *out_transport);
Declared in hotpdf_abi.h and exported by HotPDFABI.dll (Windows) and libhotpdf_linux_abi.so (POSIX Linux) with the C calling convention.
Validates ABI fields (struct_size, abi_version = HPDF_ABI_VERSION_1, flags = 0), strict UTF-8 http:// or https:// endpoint URL (including RFC 3986 IPv6 literal hosts), timeout (<= 300000 ms), redirect bound (<= 16), and response size cap (<= 64 MiB).
Returns HPDF_STATUS_OK (0) on success and writes the opaque handle to *out_transport; returns HPDF_STATUS_INVALID_ARGUMENT (1) for null/invalid URL or options, HPDF_STATUS_INCOMPATIBLE_ABI (3) for mismatched ABI fields, or HPDF_STATUS_BUDGET_EXCEEDED (8) if max_response_bytes exceeds the 64 MiB hard cap.
Pair the returned handle with hpdf_network_timestamp_transport_v1 inside THPDFCABISigningOperationV1 and free it afterwards with hpdf_network_timestamp_transport_destroy. See also THPDFCABINetworkTimestampOptionsV1.