THPDFCABINetworkTimestampOptionsV1 記錄

Enterprise 版:此 API 屬於 HotPDF Enterprise(HotPDFEnt / Lib\Enterprise);更低的版本不包含它,呼叫時擲出 EHPDFEnterpriseRequired

對應 C 結構 hpdf_network_timestamp_options_v1 的帶版本選項記錄,用來設定明確的內建 RFC 3161 HTTP/HTTPS 時間戳記傳輸實例

THPDFCABINetworkTimestampOptionsV1 = record
  StructSize, ABIVersion: UInt32;
  Flags, MaxResponseBytes: UInt64;
  TimeoutMS, MaxRedirects: UInt32;
  URL: PAnsiChar;
  URLLength: NativeUInt;
  UserAgent: PAnsiChar;
  UserAgentLength: NativeUInt;
end;

宣告於 HPDFCAPI(Windows)與 HPDFHeadlessCAPI(POSIX Linux),與 hotpdf_abi.h 裡的 hpdf_network_timestamp_options_v1 一一對應(32 位元目標為 48 位元組,64 位元目標為 64 位元組)

把它交給 hpdf_network_timestamp_transport_create_v1,以 hpdf_network_timestamp_transport_v1 執行請求,最後透過 hpdf_network_timestamp_transport_destroy 釋放