Name

SSLPeerUnverifiedException

Synopsis

Signals that authentication of the remote host was not successfully completed.

javax.net.ssl.SSLPeerUnverifiedException

Figure 18-9. javax.net.ssl.SSLPeerUnverifiedException

public class SSLPeerUnverifiedException extends SSLException {
// Public Constructors
     public SSLPeerUnverifiedException(String reason);  
}

Thrown By

java.net.SecureCacheResponse.{getPeerPrincipal( ), getServerCertificateChain( )}, HandshakeCompletedEvent.{getPeerCertificateChain( ), getPeerCertificates( ), getPeerPrincipal( )}, HttpsURLConnection.{getPeerPrincipal( ), getServerCertificates( )}, SSLSession.{getPeerCertificateChain( ), getPeerCertificates( ), getPeerPrincipal( )}

Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.