PACS System 0.1.0
PACS DICOM system library
Loading...
Searching...
No Matches
kcenon::pacs::ihe::xds::http_options Struct Reference

HTTPS transport options for the Document Source actor. More...

#include <http_options.h>

Collaboration diagram for kcenon::pacs::ihe::xds::http_options:
Collaboration graph

Public Attributes

std::string endpoint
 
std::string soap_action
 
std::chrono::milliseconds connect_timeout {std::chrono::seconds{10}}
 
std::chrono::milliseconds request_timeout {std::chrono::seconds{30}}
 
bool verify_peer {true}
 
bool verify_host {true}
 
std::string ca_bundle_path
 
std::string client_certificate_path
 
std::string client_private_key_path
 
std::string user_agent {"kcenon-pacs-xds/0.1"}
 

Detailed Description

HTTPS transport options for the Document Source actor.

The endpoint is the full URL of the Document Registry's Register Document Set-b service (ITI-42 target — the Source POSTs ITI-41 to the Registry here).

ca_bundle_path optionally overrides libcurl's default CA bundle. When empty, the system trust store is used. For pinned-PKI deployments set this to a PEM file containing only the trusted registry root(s).

client_certificate_path and client_private_key_path are optional mTLS credentials. When set, libcurl presents them during the TLS handshake. They are independent from the WS-Security signing certificate carried in the document_source constructor.

Definition at line 34 of file http_options.h.

Member Data Documentation

◆ ca_bundle_path

std::string kcenon::pacs::ihe::xds::http_options::ca_bundle_path

Definition at line 44 of file http_options.h.

Referenced by kcenon::pacs::ihe::xds::detail::http_post().

◆ client_certificate_path

std::string kcenon::pacs::ihe::xds::http_options::client_certificate_path

Definition at line 46 of file http_options.h.

Referenced by kcenon::pacs::ihe::xds::detail::http_post().

◆ client_private_key_path

std::string kcenon::pacs::ihe::xds::http_options::client_private_key_path

Definition at line 47 of file http_options.h.

Referenced by kcenon::pacs::ihe::xds::detail::http_post().

◆ connect_timeout

std::chrono::milliseconds kcenon::pacs::ihe::xds::http_options::connect_timeout {std::chrono::seconds{10}}

Definition at line 39 of file http_options.h.

39{std::chrono::seconds{10}};

Referenced by kcenon::pacs::ihe::xds::detail::http_post().

◆ endpoint

◆ request_timeout

std::chrono::milliseconds kcenon::pacs::ihe::xds::http_options::request_timeout {std::chrono::seconds{30}}

Definition at line 40 of file http_options.h.

40{std::chrono::seconds{30}};

Referenced by kcenon::pacs::ihe::xds::detail::http_post().

◆ soap_action

std::string kcenon::pacs::ihe::xds::http_options::soap_action
Initial value:
{
"urn:ihe:iti:2007:RegisterDocumentSet-b"}

Definition at line 36 of file http_options.h.

36 {
37 "urn:ihe:iti:2007:RegisterDocumentSet-b"};

Referenced by kcenon::pacs::ihe::xds::registry_query::impl::execute(), kcenon::pacs::ihe::xds::detail::http_post(), and kcenon::pacs::ihe::xds::document_consumer::impl::retrieve().

◆ user_agent

std::string kcenon::pacs::ihe::xds::http_options::user_agent {"kcenon-pacs-xds/0.1"}

Definition at line 49 of file http_options.h.

49{"kcenon-pacs-xds/0.1"};

Referenced by kcenon::pacs::ihe::xds::detail::http_post().

◆ verify_host

bool kcenon::pacs::ihe::xds::http_options::verify_host {true}

Definition at line 43 of file http_options.h.

43{true};

Referenced by kcenon::pacs::ihe::xds::detail::http_post().

◆ verify_peer

bool kcenon::pacs::ihe::xds::http_options::verify_peer {true}

Definition at line 42 of file http_options.h.

42{true};

Referenced by kcenon::pacs::ihe::xds::detail::http_post().


The documentation for this struct was generated from the following file: