# 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 | 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 | Description
--- | --- | ---
`X509Certificate[]` | HandshakeCompletedEvent.`getPeerCertificateChain()` | Deprecated, for removal: This API element is subject to removal in a future version. The `HandshakeCompletedEvent.getPeerCertificates()` method that returns an array of `java.security.cert.Certificate` should be used instead.
`X509Certificate[]` | SSLSession.`getPeerCertificateChain()` | Deprecated, for removal: This API element is subject to removal in a future version. The `SSLSession.getPeerCertificates()` method that returns an array of `java.security.cert.Certificate` should be used instead.
`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` | HandshakeCompletedEvent.`getPeerPrincipal()` | 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` | 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.