hpdf_network_timestamp_transport_destroy

Enterprise edition: This API belongs to HotPDF Enterprise (HotPDFEnt / Lib\Enterprise); lower editions omit it or raise EHPDFEnterpriseRequired.

Releases a built-in HTTP/HTTPS RFC 3161 timestamp transport handle previously created by hpdf_network_timestamp_transport_create_v1.

hpdf_status HPDF_CDECL hpdf_network_timestamp_transport_destroy(
    hpdf_network_timestamp_transport transport);

Declared in hotpdf_abi.h and exported by HotPDFABI.dll and libhotpdf_linux_abi.so with the C calling convention.

Removes the opaque token from the active handle table immediately so subsequent calls return HPDF_STATUS_INVALID_HANDLE (2), while releasing underlying storage via reference counting once any concurrent hpdf_network_timestamp_transport_v1 execution finishes.

Passing NULL or an already destroyed handle safely returns HPDF_STATUS_INVALID_HANDLE (2) without dereferencing caller memory.