public abstract class SecureCacheResponse extends CacheResponse
ResponseCache| Constructor and Description |
|---|
SecureCacheResponse()
Creates a new instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
abstract String |
getCipherSuite()
Gets the cipher suite string on the connection which is originally used
to retrieve the network resource.
|
abstract List<Certificate> |
getLocalCertificateChain()
Gets the local certificate chain.
|
abstract Principal |
getLocalPrincipal()
Gets the local principle that the original connection sent to the server.
|
abstract Principal |
getPeerPrincipal()
Gets the server's principle.
|
abstract List<Certificate> |
getServerCertificateChain()
Gets the cached server's certificate chain.
|
getBody, getHeaderspublic SecureCacheResponse()
public abstract String getCipherSuite()
public abstract List<Certificate> getLocalCertificateChain()
null.public abstract List<Certificate> getServerCertificateChain() throws SSLPeerUnverifiedException
SSLPeerUnverifiedException.SSLPeerUnverifiedException - if the peer is unverified.public abstract Principal getPeerPrincipal() throws SSLPeerUnverifiedException
SSLPeerUnverifiedException - if the peer is unverified.public abstract Principal getLocalPrincipal()
X500Principal object for X509-based cipher suites. If no
principal was sent, it returns null.