| java.lang.Object java.net.CacheResponse java.net.SecureCacheResponse
SecureCacheResponse | abstract public class SecureCacheResponse extends CacheResponse (Code) | | A secure cache response, which is originally retrieved through secure ways.
|
SecureCacheResponse | public SecureCacheResponse()(Code) | | Constructor method
|
getCipherSuite | abstract public String getCipherSuite()(Code) | | Gets the cipher suite string on the connection which is originally used
to retrieve the network resource.
the cipher suite string |
getLocalCertificateChain | abstract public List<Certificate> getLocalCertificateChain()(Code) | | Gets local certificate chain. When the original connection retrieved the
resource data, certificate chain was sent to the server during
handshaking process. This method only takes effect when certificate-based
cipher suite is enabled.
the certificate chain that was sent to the server. Thecertificate chain is represented as a List ofCertificate . If no certificate chain was sent,the method returns null. |
getLocalPrincipal | abstract public Principal getLocalPrincipal()(Code) | | Gets the 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.
the principal sent to the server. Returns anX500Principal for X509-based cipher suites. If noprincipal was sent, it returns null. |
getPeerPrincipal | abstract public Principal getPeerPrincipal() throws SSLPeerUnverifiedException(Code) | | Gets the server's Principle . When the original connection
retrieved network resource, the principle was established when defining
the session.
an Principal represents the server's principal. throws: SSLPeerUnverifiedException - If the peer is unverified. |
getServerCertificateChain | abstract public List<Certificate> getServerCertificateChain() throws SSLPeerUnverifiedException(Code) | | Gets server's certificate chain from cache. 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 cypher suites is enable. Otherwise, it throws an
SSLPeerUnverifiedException .
The server's certificate chain, which is represented as aList of Certificate . throws: SSLPeerUnverifiedException - If the peer is unverified. |
|
|