<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Class Poco::Net::Utility</title> <meta http-equiv="content-type" content="text/html; charset=utf-8"/> <meta name="author" content="Applied Informatics Software Engineering GmbH and Contributors"/> <meta name="publisher" content="Applied Informatics Software Engineering GmbH and Contributors"/> <meta name="copyright" content="Copyright (c) 2009, Applied Informatics Software Engineering GmbH and Contributors"/> <meta name="language" content="en"/> <meta name="date" content="2009-11-24"/> <meta name="generator" content="PocoDoc"/> <link rel="stylesheet" href="css/styles.css" type="text/css"/> </head> <body bgcolor="#ffffff" leftmargin="0" topmargin="0"> <div class="header"> <h1 class="namespace"><a href="Poco.Net.html" class="namespace">Poco::Net</a></h1> <h1 class="symbol">class Utility</h1> </div> <div class="body"> <p> <b>Library:</b> NetSSL_OpenSSL<br /> <b>Package:</b> SSLCore<br /> <b>Header:</b> Poco/Net/Utility.h</p> <h2>Description</h2> <div class="description"> <p>This class provides various helper functions for working with the OpenSSL library. </p> </div> <h2>Member Summary</h2> <p><b>Member Functions: </b><a href="Poco.Net.Utility.html#16274" title="Poco::Net::Utility::clearErrorStack()">clearErrorStack</a>, <a href="Poco.Net.Utility.html#16271" title="Poco::Net::Utility::convertCertificateError()">convertCertificateError</a>, <a href="Poco.Net.Utility.html#16269" title="Poco::Net::Utility::convertVerificationMode()">convertVerificationMode</a>, <a href="Poco.Net.Utility.html#16273" title="Poco::Net::Utility::getLastError()">getLastError</a></p> <h2>Member Functions</h2> <h3><a name="16274">clearErrorStack</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3> <p class="decl">static void clearErrorStack();</p> <div class="description"> <p>Clears the error stack </p> </div> <h3><a name="16271">convertCertificateError</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3> <p class="decl">static std::string convertCertificateError(<br /> long errCode<br />);</p> <div class="description"> <p>Converts an SSL certificate handling error code into an error message. </p> </div> <h3><a name="16269">convertVerificationMode</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3> <p class="decl">static <a href="Poco.Net.Context.html#15715" title="enum Poco::Net::Context::VerificationMode">Context::VerificationMode</a> convertVerificationMode(<br /> const std::string & verMode<br />);</p> <div class="description"> <p>Non-case sensitive conversion of a string to a VerificationMode enum. If verMode is illegal an <a href="Poco.InvalidArgumentException.html" title="class Poco::InvalidArgumentException">InvalidArgumentException</a> is thrown. </p> </div> <h3><a name="16273">getLastError</a> <img src="images/static.gif" alt="static" title="static" style="vertical-align:baseline;" border="0" /> </h3> <p class="decl">static std::string getLastError();</p> <div class="description"> <p>Returns the last error from the error stack </p> </div> <p class="footer">POCO C++ Libraries 1.3.6-all<br /> Copyright © 2009, <a href="http://pocoproject.org/" target="_blank">Applied Informatics Software Engineering GmbH and Contributors</a></p> </div> </body> </html>