Library: NetSSL_OpenSSL
Package: SSLCore
Header: Poco/Net/Utility.h
This class provides various helper functions for working with the OpenSSL library.
Member Functions: clearErrorStack, convertCertificateError, convertVerificationMode, getLastError
static void clearErrorStack();
Clears the error stack
static std::string convertCertificateError(
long errCode
);
Converts an SSL certificate handling error code into an error message.
static Context::VerificationMode convertVerificationMode(
const std::string & verMode
);
Non-case sensitive conversion of a string to a VerificationMode enum. If verMode is illegal an InvalidArgumentException is thrown.
static std::string getLastError();
Returns the last error from the error stack