public class SSLPeerUnverifiedException extends SSLException
When the peer was not able to identify itself (for example; no certificate, the particular cipher suite being used does not support authentication, or no peer authentication was established during SSL handshaking) this exception is thrown.
Constructs an exception reporting that the SSL peer's identity has not been verified.
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public SSLPeerUnverifiedException(String reason)
reason- describes the problem.
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.