Library: NetSSL_OpenSSL
Package: SSLCore
Header: Poco/Net/VerificationErrorArgs.h
A utility class for certificate error handling.
Member Functions: certificate, errorDepth, errorMessage, errorNumber, getIgnoreError, setIgnoreError
VerificationErrorArgs(
    const X509Certificate & cert,
    int errDepth,
    int errNum,
    const std::string & errMsg
);
Creates the VerificationErrorArgs. _ignoreError is per default set to false.
Destroys the VerificationErrorArgs.
 
 const X509Certificate & certificate() const;
Returns the certificate that caused the error.
 
 int errorDepth() const;
Returns the position of the certificate in the certificate chain.
 
 const std::string & errorMessage() const;
Returns the textual presentation of the errorNumber.
 
 int errorNumber() const;
Returns the id of the error
 
 bool getIgnoreError() const;
returns the value of _ignoreError
 
 void setIgnoreError(
    bool ignoreError
);
setIgnoreError to true, if a verification error is judged non-fatal by the user.