#include <icy/net/sslmanager.h>A utility class for certificate error handling.
| Return | Name | Description |
|---|---|---|
VerificationErrorDetails | Creates the VerificationErrorDetails. _ignoreError is per default set to false. | |
~VerificationErrorDetails | Destroys the VerificationErrorDetails. | |
const crypto::X509Certificate & | certificate const inline | Returns the certificate that caused the error. |
int | errorDepth const inline | Returns the position of the certificate in the certificate chain. |
int | errorNumber const inline | Returns the id of the error. |
const std::string & | errorMessage const inline | Returns the textual presentation of the errorNumber. |
void | setIgnoreError inline | setIgnoreError to true, if a verification error is judged non-fatal by the user. |
bool | getIgnoreError const inline | returns the value of _ignoreError |
VerificationErrorDetails(const crypto::X509Certificate & cert, int errDepth, int errNum, const std::string & errMsg)Creates the VerificationErrorDetails. _ignoreError is per default set to false.
~VerificationErrorDetails() noexceptDestroys the VerificationErrorDetails.
const inline
inline const crypto::X509Certificate & certificate() constReturns the certificate that caused the error.
const inline
inline int errorDepth() constReturns the position of the certificate in the certificate chain.
const inline
inline int errorNumber() constReturns the id of the error.
const inline
inline const std::string & errorMessage() constReturns the textual presentation of the errorNumber.
inline
inline void setIgnoreError(bool ignoreError)setIgnoreError to true, if a verification error is judged non-fatal by the user.
const inline
inline bool getIgnoreError() constreturns the value of _ignoreError
| Return | Name | Description |
|---|---|---|
crypto::X509Certificate | _cert | |
int | _errorDepth | |
int | _errorNumber | |
std::string | _errorMessage | |
bool | _ignoreError |
crypto::X509Certificate _certint _errorDepthint _errorNumberstd::string _errorMessagebool _ignoreError