ITS
ParameterSecurity.h
Go to the documentation of this file.
1 
7 #ifndef PARAMETERSECURITY_H
8 #define PARAMETERSECURITY_H
9 
10 #include <api.h>
11 
12 #include <EccPoint.h>
13 #include <PublicKeyAlgorithm.h>
14 
16 {
17 public:
22 
26  void read();
30  void readDebug();
31 
32  /* Getters */
37  QString serverAddress() const{return m_serverAddress;}
42  quint16 signaturePort() const{return m_signaturePort;}
47  quint16 verifyPort() const{return m_verifyPort;}
52  quint16 timeout() const{return m_timeout;}
53 
58  QByteArray pathToCertificate() const{return m_pathToCertificate;}
63  QByteArray pathToPrivateKey() const{return m_pathToPrivateKey;}
64 
66 
67 private:
68  QString m_serverAddress;
69  quint16 m_signaturePort;
70  quint16 m_verifyPort;
71  quint16 m_timeout;
75  QByteArray m_pathToCertificate;
76  QByteArray m_pathToPrivateKey;
77 };
78 
79 #endif // PARAMETERSECURITY_H
quint16 timeout() const
timeout Timeout to wait for server response getter.
Usefull functions and declarations.
QByteArray pathToPrivateKey() const
pathToPrivateKey Path to the private key file getter.
QByteArray m_pathToPrivateKey
PublicKeyAlgorithm_t m_alogrithm
ParameterSecurity()
ParameterSecurity ParameterSecurity constructor.
ParameterSecurity & operator=(const ParameterSecurity &other)
quint16 signaturePort() const
signaturePort Port of the signature service getter.
QByteArray m_pathToCertificate
QString serverAddress() const
serverAddress IP address of the security server getter.
void readDebug()
readDebug Configuration printing.
long EccPointType_t
Definition: EccPointType.h:29
long PublicKeyAlgorithm_t
QByteArray pathToCertificate() const
pathToCertificate Path to the certificate file getter.
EccPointType_t m_type
quint16 verifyPort() const
verifyPort Port of the verification service getter.
void read()
read Configuration file reading.