Record THPDFCABINetworkTimestampOptionsV1
Edición Enterprise: Esta API pertenece a HotPDF Enterprise (HotPDFEnt / Lib\Enterprise); las ediciones inferiores la omiten o lanzan EHPDFEnterpriseRequired
Record de opciones versionado que respalda la struct C hpdf_network_timestamp_options_v1 para configurar una instancia explícita del transporte de timestamps RFC 3161 HTTP/HTTPS integrado
THPDFCABINetworkTimestampOptionsV1 = record
StructSize, ABIVersion: UInt32;
Flags, MaxResponseBytes: UInt64;
TimeoutMS, MaxRedirects: UInt32;
URL: PAnsiChar;
URLLength: NativeUInt;
UserAgent: PAnsiChar;
UserAgentLength: NativeUInt;
end;
Declarado en HPDFCAPI (Windows) y HPDFHeadlessCAPI (Linux POSIX), en espejo de hpdf_network_timestamp_options_v1 en hotpdf_abi.h (48 bytes en targets de 32 bits, 64 bytes en targets de 64 bits)
StructSize: asignarSizeOf(THPDFCABINetworkTimestampOptionsV1)(sizeof(hpdf_network_timestamp_options_v1))ABIVersion: debe ser igual aHPDF_ABI_VERSION_1($00010000)Flags: debe ser0en la ABI v1MaxResponseBytes: tamaño máximo aceptado del body de respuesta HTTP en bytes (hasta 64 MiB;0selecciona 4 MiB)TimeoutMS: timeout acotado de resolución/conexión/envío/recepción en milisegundos (hasta 300000 ms;0selecciona 15000 ms)MaxRedirects: número máximo de redirects HTTP que se siguen (hasta 16;0selecciona 5)URL/URLLength: endpoint TSAhttp://ohttps://en UTF-8 válido, sin bytes NUL ni caracteres de control (1..8192 bytes)UserAgent/UserAgentLength: valor opcional del header User-Agent en UTF-8 (hasta 1024 bytes, sin CR/LF/NUL)
Páseselo a hpdf_network_timestamp_transport_create_v1, ejecute las peticiones con hpdf_network_timestamp_transport_v1 y libérelo con hpdf_network_timestamp_transport_destroy