Thrown when the identity of a peer host could not be verified.
The SSL protocol identifies peer hosts by the use of public key infrastructure (PKI), and verifies them using certificates from trusted Certification Authorities (CAs). This exception will be thrown when the required CA certificate cannot be located on the local host or when the presented peer certificate is not valid. Refer to the SSLContext class for details of how to specify the locations of trusted CA certificates.
Constructs a SSLPeerUnverifiedException without a detail message.
SSLPeerUnverifiedException(const String& message)
Constructs a SSLPeerUnverifiedException with a detail message.
the detail message.
virtual String getExceptionType() const
Returns the class name as a String.
This method should be overridden in all derived classes to return the name of the derived class.
- See also:
Found a bug or missing feature? Please email us at firstname.lastname@example.org