ITS
ParameterSecurity Class Reference

#include <ParameterSecurity.h>

Public Member Functions

 ParameterSecurity ()
 ParameterSecurity ParameterSecurity constructor. More...
 
void read ()
 read Configuration file reading. More...
 
void readDebug ()
 readDebug Configuration printing. More...
 
QString serverAddress () const
 serverAddress IP address of the security server getter. More...
 
quint16 signaturePort () const
 signaturePort Port of the signature service getter. More...
 
quint16 verifyPort () const
 verifyPort Port of the verification service getter. More...
 
quint16 timeout () const
 timeout Timeout to wait for server response getter. More...
 
QByteArray pathToCertificate () const
 pathToCertificate Path to the certificate file getter. More...
 
QByteArray pathToPrivateKey () const
 pathToPrivateKey Path to the private key file getter. More...
 
ParameterSecurityoperator= (const ParameterSecurity &other)
 

Private Attributes

QString m_serverAddress
 
quint16 m_signaturePort
 
quint16 m_verifyPort
 
quint16 m_timeout
 
PublicKeyAlgorithm_t m_alogrithm
 
EccPointType_t m_type
 
QByteArray m_pathToCertificate
 
QByteArray m_pathToPrivateKey
 

Detailed Description

Definition at line 15 of file ParameterSecurity.h.

Constructor & Destructor Documentation

◆ ParameterSecurity()

ParameterSecurity::ParameterSecurity ( )

ParameterSecurity ParameterSecurity constructor.

Definition at line 3 of file ParameterSecurity.cpp.

References read(), and readDebug().

Here is the call graph for this function:

Member Function Documentation

◆ operator=()

ParameterSecurity & ParameterSecurity::operator= ( const ParameterSecurity other)

Definition at line 53 of file ParameterSecurity.cpp.

References m_serverAddress, m_signaturePort, m_timeout, and m_verifyPort.

◆ pathToCertificate()

QByteArray ParameterSecurity::pathToCertificate ( ) const
inline

pathToCertificate Path to the certificate file getter.

Returns
The path to the certificate file.

Definition at line 58 of file ParameterSecurity.h.

References m_pathToCertificate.

Referenced by SecurityManager::SecurityManager().

Here is the caller graph for this function:

◆ pathToPrivateKey()

QByteArray ParameterSecurity::pathToPrivateKey ( ) const
inline

pathToPrivateKey Path to the private key file getter.

Returns
The path to the private key file.

Definition at line 63 of file ParameterSecurity.h.

References m_pathToPrivateKey.

Referenced by SecurityManager::SecurityManager().

Here is the caller graph for this function:

◆ read()

void ParameterSecurity::read ( )

read Configuration file reading.

Definition at line 9 of file ParameterSecurity.cpp.

References m_pathToCertificate, m_pathToPrivateKey, m_serverAddress, m_signaturePort, m_timeout, and m_verifyPort.

Referenced by ParameterSecurity().

Here is the caller graph for this function:

◆ readDebug()

void ParameterSecurity::readDebug ( )

readDebug Configuration printing.

Definition at line 44 of file ParameterSecurity.cpp.

References m_serverAddress, m_signaturePort, m_timeout, and m_verifyPort.

Referenced by ParameterSecurity().

Here is the caller graph for this function:

◆ serverAddress()

QString ParameterSecurity::serverAddress ( ) const
inline

serverAddress IP address of the security server getter.

Returns
The IP address of the security server.

Definition at line 37 of file ParameterSecurity.h.

References m_serverAddress.

Referenced by GeoNet::verifySecuredPayload().

Here is the caller graph for this function:

◆ signaturePort()

quint16 ParameterSecurity::signaturePort ( ) const
inline

signaturePort Port of the signature service getter.

Returns
The port of the signature service.

Definition at line 42 of file ParameterSecurity.h.

References m_signaturePort.

◆ timeout()

quint16 ParameterSecurity::timeout ( ) const
inline

timeout Timeout to wait for server response getter.

Returns
The timeout to wait for server response.

Definition at line 52 of file ParameterSecurity.h.

References m_timeout.

Referenced by GeoNet::verifySecuredPayload().

Here is the caller graph for this function:

◆ verifyPort()

quint16 ParameterSecurity::verifyPort ( ) const
inline

verifyPort Port of the verification service getter.

Returns
The port of the verification service.

Definition at line 47 of file ParameterSecurity.h.

References m_verifyPort.

Referenced by GeoNet::verifySecuredPayload().

Here is the caller graph for this function:

Member Data Documentation

◆ m_alogrithm

PublicKeyAlgorithm_t ParameterSecurity::m_alogrithm
private

Algorithm used.

Definition at line 73 of file ParameterSecurity.h.

◆ m_pathToCertificate

QByteArray ParameterSecurity::m_pathToCertificate
private

Path to the certificate file.

Definition at line 75 of file ParameterSecurity.h.

Referenced by pathToCertificate(), and read().

◆ m_pathToPrivateKey

QByteArray ParameterSecurity::m_pathToPrivateKey
private

Path to the private key file.

Definition at line 76 of file ParameterSecurity.h.

Referenced by pathToPrivateKey(), and read().

◆ m_serverAddress

QString ParameterSecurity::m_serverAddress
private

IP address of the security server.

Definition at line 68 of file ParameterSecurity.h.

Referenced by operator=(), read(), readDebug(), and serverAddress().

◆ m_signaturePort

quint16 ParameterSecurity::m_signaturePort
private

Port of the signature service.

Definition at line 69 of file ParameterSecurity.h.

Referenced by operator=(), read(), readDebug(), and signaturePort().

◆ m_timeout

quint16 ParameterSecurity::m_timeout
private

Timeout to wait for server response.

Definition at line 71 of file ParameterSecurity.h.

Referenced by operator=(), read(), readDebug(), and timeout().

◆ m_type

EccPointType_t ParameterSecurity::m_type
private

Type of ECC point used.

Definition at line 74 of file ParameterSecurity.h.

◆ m_verifyPort

quint16 ParameterSecurity::m_verifyPort
private

Port of the verification service.

Definition at line 70 of file ParameterSecurity.h.

Referenced by operator=(), read(), readDebug(), and verifyPort().


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