mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-13 14:45:36 +02:00
Improve ssl context, include a function to add CA certificates.
This commit is contained in:
@@ -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.
|
||||
///
|
||||
|
Reference in New Issue
Block a user