Java in a Nutshell, 5th Edition [Electronic resources]

نسخه متنی -صفحه : 1191/ 966
نمايش فراداده

SSLPeerUnverifiedExceptionjavax.net.ssl

Java 1.4serializable checked

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

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( )}