Ark Server API (ASE) - Wiki
Loading...
Searching...
No Matches
Poco::Net::Utility Class Reference

#include <Utility.h>

Static Public Member Functions

static Context::VerificationMode convertVerificationMode (const std::string &verMode)
 
static std::string convertCertificateError (long errCode)
 
static std::string getLastError ()
 Converts an SSL certificate handling error code into an error message.
 
static void clearErrorStack ()
 Returns the last error from the error stack.
 

Detailed Description

This class provides various helper functions for working with the OpenSSL library.

Definition at line 29 of file Utility.h.

Member Function Documentation

◆ clearErrorStack()

static void Poco::Net::Utility::clearErrorStack ( )
static

Returns the last error from the error stack.

◆ convertCertificateError()

static std::string Poco::Net::Utility::convertCertificateError ( long errCode)
static

Non-case sensitive conversion of a string to a VerificationMode enum. If verMode is illegal an InvalidArgumentException is thrown.

◆ convertVerificationMode()

static Context::VerificationMode Poco::Net::Utility::convertVerificationMode ( const std::string & verMode)
static

◆ getLastError()

static std::string Poco::Net::Utility::getLastError ( )
static

Converts an SSL certificate handling error code into an error message.


The documentation for this class was generated from the following file: