LibLogicalAccess  2.5.0
An Open Source RFID Library
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
logicalaccess::iks::IslogKeyServer::IKSConfig Struct Reference

#include <IslogKeyServer.hpp>

Public Member Functions

 IKSConfig ()=default
 
 IKSConfig (const std::string &ip, uint16_t port, const std::string &client_cert, const std::string &client_key, const std::string &root_ca)
 
std::string get_client_cert_pem () const
 
std::string get_client_key_pem () const
 
std::string get_root_ca_pem () const
 
std::string get_target () const
 

Public Attributes

std::string ip
 
uint16_t port
 
std::string client_cert
 
std::string client_key
 
std::string root_ca
 

Constructor & Destructor Documentation

◆ IKSConfig() [1/2]

logicalaccess::iks::IslogKeyServer::IKSConfig::IKSConfig ( )
default

◆ IKSConfig() [2/2]

IslogKeyServer::IKSConfig::IKSConfig ( const std::string &  ip,
uint16_t  port,
const std::string &  client_cert,
const std::string &  client_key,
const std::string &  root_ca 
)

Member Function Documentation

◆ get_client_cert_pem()

std::string IslogKeyServer::IKSConfig::get_client_cert_pem ( ) const

Return the content (PEM) of the client cert.

◆ get_client_key_pem()

std::string IslogKeyServer::IKSConfig::get_client_key_pem ( ) const

Retrieve the content of the client's private key.

◆ get_root_ca_pem()

std::string IslogKeyServer::IKSConfig::get_root_ca_pem ( ) const

Retrieve the root CA content.

◆ get_target()

std::string IslogKeyServer::IKSConfig::get_target ( ) const

Network target (host:port).

Member Data Documentation

◆ client_cert

std::string logicalaccess::iks::IslogKeyServer::IKSConfig::client_cert

Path to the file containing the client certificate.

◆ client_key

std::string logicalaccess::iks::IslogKeyServer::IKSConfig::client_key

Path to the file containing the client key.

◆ ip

std::string logicalaccess::iks::IslogKeyServer::IKSConfig::ip

◆ port

uint16_t logicalaccess::iks::IslogKeyServer::IKSConfig::port

◆ root_ca

std::string logicalaccess::iks::IslogKeyServer::IKSConfig::root_ca

Path to the root CA.


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