java.lang.Object | ||
↳ | java.net.CacheResponse | |
↳ | java.net.SecureCacheResponse |
A secure cache response represents data which is originally retrieved over a secure connection. Such a connection can be secured by using a cryptographic protocol like TLS or SSL.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new instance of this class.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Gets the cipher suite string on the connection which is originally used
to retrieve the network resource.
| |||||||||||
Gets the local certificate chain.
| |||||||||||
Gets the local principle that the original connection sent to the server.
| |||||||||||
Gets the server's principle.
| |||||||||||
Gets the cached server's certificate chain.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class java.net.CacheResponse
| |||||||||||
From class java.lang.Object
|
Creates a new instance of this class.
Gets the cipher suite string on the connection which is originally used to retrieve the network resource.
Gets the local certificate chain. When the original connection retrieved the resource data, this certificate chain was sent to the server during handshaking process. This method only takes effect when certificate-based cipher suite is enabled.
null
.Gets the local principle that the original connection sent to the server. When the original connection fetched the network resource, the principle was sent to the server during handshaking process.
X500Principal
object for X509-based cipher suites. If no
principal was sent, it returns null
.Gets the server's principle. When the original connection retrieved network resource, the principle was established when defining the session.
SSLPeerUnverifiedException | if the peer is unverified. |
---|
Gets the cached server's certificate chain. As part of defining the
session, the certificate chain was established when the original
connection retrieved network resource. This method can only be invoked
when certificated-based cipher suite is enabled. Otherwise, it throws an
SSLPeerUnverifiedException
.
SSLPeerUnverifiedException | if the peer is unverified. |
---|