PACS System 0.1.0
PACS DICOM system library
Loading...
Searching...
No Matches
kcenon::pacs::client::tls_config Struct Reference

TLS configuration for secure DICOM connections. More...

#include <remote_node.h>

Collaboration diagram for kcenon::pacs::client::tls_config:
Collaboration graph

Public Member Functions

bool is_configured () const noexcept
 Check if TLS is configured.
 

Public Attributes

std::string cert_path
 Path to client certificate.
 
std::string key_path
 Path to private key.
 
std::string ca_path
 Path to CA certificate.
 

Detailed Description

TLS configuration for secure DICOM connections.

Definition at line 95 of file remote_node.h.

Member Function Documentation

◆ is_configured()

bool kcenon::pacs::client::tls_config::is_configured ( ) const
inlinenodiscardnoexcept

Check if TLS is configured.

Returns
true if at least cert_path is set
Examples
/home/runner/work/pacs_system/pacs_system/include/kcenon/pacs/client/remote_node.h.

Definition at line 104 of file remote_node.h.

104 {
105 return !cert_path.empty();
106 }
std::string cert_path
Path to client certificate.
Definition remote_node.h:96

References cert_path.

Member Data Documentation

◆ ca_path

std::string kcenon::pacs::client::tls_config::ca_path

Path to CA certificate.

Examples
/home/runner/work/pacs_system/pacs_system/include/kcenon/pacs/client/remote_node.h.

Definition at line 98 of file remote_node.h.

◆ cert_path

std::string kcenon::pacs::client::tls_config::cert_path

Path to client certificate.

Examples
/home/runner/work/pacs_system/pacs_system/include/kcenon/pacs/client/remote_node.h.

Definition at line 96 of file remote_node.h.

Referenced by is_configured().

◆ key_path

std::string kcenon::pacs::client::tls_config::key_path

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