public abstract class SecureCacheResponse extends CacheResponse
| 构造器 | 说明 |
|---|---|
SecureCacheResponse() |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
abstract String |
getCipherSuite() |
Returns the cipher suite in use on the original connection that
retrieved the network resource.
|
abstract List<Certificate> |
getLocalCertificateChain() |
Returns the certificate chain that were sent to the server during
handshaking of the original connection that retrieved the
network resource.
|
abstract Principal |
getLocalPrincipal() |
Returns the principal that was sent to the server during
handshaking in the original connection that retrieved the
network resource.
|
abstract Principal |
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> |
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.
|
getBody, getHeaderspublic abstract String getCipherSuite()
public abstract List<Certificate> getLocalCertificateChain()
getLocalPrincipal()public abstract List<Certificate> getServerCertificateChain() throws SSLPeerUnverifiedException
SSLPeerUnverifiedException - if the peer is not verified.getPeerPrincipal()public abstract Principal getPeerPrincipal() throws SSLPeerUnverifiedException
SSLPeerUnverifiedException - if the peer was not verified.getServerCertificateChain(),
getLocalPrincipal()public abstract Principal getLocalPrincipal()
getLocalCertificateChain(),
getPeerPrincipal()