Uses of Class javax.net.ssl.SSLPeerUnverifiedException (Java Platform SE 8 )
Date: 2026-04-22

## Uses of Class
javax.net.ssl.SSLPeerUnverifiedException

- Packages that use SSLPeerUnverifiedException
  Package | Description
  --- | ---
  java.net | Provides the classes for implementing networking applications.
  javax.net.ssl | Provides classes for the secure socket package.

- - ### Uses of SSLPeerUnverifiedException in java.net

    Methods in java.net that throw SSLPeerUnverifiedException
    Modifier and Type | Method and Description
    --- | ---
    `abstract Principal` | SecureCacheResponse.`getPeerPrincipal()` Returns the server's principal which was established as part of defining the session during the original connection that retrieved the network resource.
    `abstract List<Certificate>` | SecureCacheResponse.`getServerCertificateChain()` Returns the server's certificate chain, which was established as part of defining the session in the original connection that retrieved the network resource, from cache.

  - ### Uses of SSLPeerUnverifiedException in javax.net.ssl

    Methods in javax.net.ssl that throw SSLPeerUnverifiedException
    Modifier and Type | Method and Description
    --- | ---
    `X509Certificate[]` | HandshakeCompletedEvent.`getPeerCertificateChain()` Returns the identity of the peer which was identified as part of defining the session.
    `X509Certificate[]` | SSLSession.`getPeerCertificateChain()` Returns the identity of the peer which was identified as part of defining the session.
    `Certificate[]` | HandshakeCompletedEvent.`getPeerCertificates()` Returns the identity of the peer which was established as part of defining the session.
    `Certificate[]` | SSLSession.`getPeerCertificates()` Returns the identity of the peer which was established as part of defining the session.
    `Principal` | HttpsURLConnection.`getPeerPrincipal()` Returns the server's principal which was established as part of defining the session.
    `Principal` | HandshakeCompletedEvent.`getPeerPrincipal()` Returns the identity of the peer which was established as part of defining the session.
    `Principal` | SSLSession.`getPeerPrincipal()` Returns the identity of the peer which was established as part of defining the session.
    `abstract Certificate[]` | HttpsURLConnection.`getServerCertificates()` Returns the server's certificate chain which was established as part of defining the session.

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, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.