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.
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | SSLPeerUnverifiedException(String
describes the problem. reason)Constructs an exception reporting that the SSL peer's identity has not been verified. |
| public | SSLPeerUnverifiedException(String
the detail message (which is saved for later retrieval
by the message, Throwable getMessage() method).the cause (which is saved for later retrieval by the
cause)getCause() method). (A null value is
permitted, and indicates that the cause is nonexistent or
unknown.)Creates a |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides javax. | |
| SSLPeerUnverifiedException | back to summary |
|---|---|
| public SSLPeerUnverifiedException(String reason) Constructs an exception reporting that the SSL peer's identity has not been verified.
| |
| SSLPeerUnverifiedException | back to summary |
|---|---|
| public SSLPeerUnverifiedException(String message, Throwable cause) Creates a
| |