25 #ifndef PDCOM5_SECUREPROCESS_H 26 #define PDCOM5_SECUREPROCESS_H 28 #include "pdcom5-gnutls_export.h" 53 std::string server_ca_, server_hostname_, client_cert_, client_key_;
58 std::string server_ca,
60 std::string client_cert =
"",
61 std::string client_key =
"") :
63 server_ca_(server_ca),
64 server_hostname_(hostname),
65 client_cert_(client_cert),
66 client_key_(client_key)
69 std::string server_ca,
71 std::string client_cert =
"",
72 std::string client_key =
"") :
74 server_ca_(server_ca),
75 server_hostname_(hostname),
76 client_cert_(client_cert),
77 client_key_(client_key)
88 static void InitLibrary();
91 static void FinalizeLibrary();
93 explicit SecureProcess(EncryptionDetails
const &);
110 struct PDCOM5_GNUTLS_NO_EXPORT Impl;
115 void flush()
override;
120 #endif // PDCOM5_SECUREPROCESS_H Definition: SecureProcess.h:48
EncryptionDetails(Flags flags, std::string server_ca, std::string hostname, std::string client_cert="", std::string client_key="")
Struct which contains certificates and options.
Definition: SecureProcess.h:56
Definition: SecureProcess.h:45
Base class for PdCom protocol handler.
Definition: Process.h:86
Definition: ClientStatistics.h:31