Ark Server API (ASE) - Wiki
|
A utility class for certificate error handling. More...
#include <VerificationErrorArgs.h>
Public Member Functions | |
VerificationErrorArgs (Poco::Net::Context::Ptr pContext, const X509Certificate &cert, int errDepth, int errNum, const std::string &errMsg) | |
~VerificationErrorArgs () | |
Creates the VerificationErrorArgs. _ignoreError is per default set to false. | |
Poco::Net::Context::Ptr | context () const |
Destroys the VerificationErrorArgs. | |
const X509Certificate & | certificate () const |
Returns the Context of the underlying connection causing the error. | |
int | errorDepth () const |
Returns the certificate that caused the error. | |
int | errorNumber () const |
Returns the position of the certificate in the certificate chain. | |
const std::string & | errorMessage () const |
Returns the id of the error. | |
void | setIgnoreError (bool ignoreError) |
Returns the textual presentation of the errorNumber. | |
bool | getIgnoreError () const |
setIgnoreError to true, if a verification error is judged non-fatal by the user. | |
Private Attributes | |
Poco::Net::Context::Ptr | _pContext |
returns the value of _ignoreError | |
X509Certificate | _cert |
int | _errorDepth |
int | _errorNumber |
std::string | _errorMessage |
bool | _ignoreError |
Textual representation of the _errorNumber. | |
A utility class for certificate error handling.
Definition at line 30 of file VerificationErrorArgs.h.
Poco::Net::VerificationErrorArgs::VerificationErrorArgs | ( | Poco::Net::Context::Ptr | pContext, |
const X509Certificate & | cert, | ||
int | errDepth, | ||
int | errNum, | ||
const std::string & | errMsg ) |
Poco::Net::VerificationErrorArgs::~VerificationErrorArgs | ( | ) |
Creates the VerificationErrorArgs. _ignoreError is per default set to false.
|
inline |
Returns the Context of the underlying connection causing the error.
Definition at line 80 of file VerificationErrorArgs.h.
|
inline |
Destroys the VerificationErrorArgs.
Definition at line 74 of file VerificationErrorArgs.h.
|
inline |
Returns the certificate that caused the error.
Definition at line 86 of file VerificationErrorArgs.h.
|
inline |
Returns the id of the error.
Definition at line 98 of file VerificationErrorArgs.h.
|
inline |
Returns the position of the certificate in the certificate chain.
Definition at line 92 of file VerificationErrorArgs.h.
|
inline |
setIgnoreError to true, if a verification error is judged non-fatal by the user.
Definition at line 110 of file VerificationErrorArgs.h.
|
inline |
Returns the textual presentation of the errorNumber.
Definition at line 104 of file VerificationErrorArgs.h.
|
private |
Definition at line 63 of file VerificationErrorArgs.h.
|
private |
Definition at line 64 of file VerificationErrorArgs.h.
|
private |
Definition at line 66 of file VerificationErrorArgs.h.
|
private |
Definition at line 65 of file VerificationErrorArgs.h.
|
private |
Textual representation of the _errorNumber.
Definition at line 67 of file VerificationErrorArgs.h.
|
private |
returns the value of _ignoreError
Definition at line 62 of file VerificationErrorArgs.h.