Improve ssl context, include a function to add CA certificates.

This commit is contained in:
Joerg-Christian Boehme
2018-03-04 21:24:58 +01:00
parent 181fc0eea3
commit 4c05d4baf7
2 changed files with 22 additions and 0 deletions

View File

@@ -210,6 +210,9 @@ public:
~Context();
/// Destroys the Context.
void addCertificateAuthority(const Poco::Crypto::X509Certificate& certificate);
/// Add one trusted certification authority to be used by the Context.
void useCertificate(const Poco::Crypto::X509Certificate& certificate);
/// Sets the certificate to be used by the Context.
///