|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.net.CacheResponse
java.net.SecureCacheResponse
public abstract class SecureCacheResponse
A secure cache response, which is orignally retrieved through secure ways.
| Constructor Summary | |
|---|---|
SecureCacheResponse()
Constructor method |
|
| Method Summary | |
|---|---|
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 local certificate chain. |
abstract Principal |
getLocalPrincipal()
Gets the Principle that the original connection sent to
the server. |
abstract Principal |
getPeerPrincipal()
Gets the server's Principle. |
abstract List<Certificate> |
getServerCertificateChain()
Gets server's certificate chain from cache. |
| Methods inherited from class java.net.CacheResponse |
|---|
getBody, getHeaders |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SecureCacheResponse()
| Method Detail |
|---|
public abstract String getCipherSuite()
public abstract List<Certificate> getLocalCertificateChain()
List of
Certificate. If no certificate chain was sent,
the method returns null.
public abstract List<Certificate> getServerCertificateChain()
throws SSLPeerUnverifiedException
SSLPeerUnverifiedException.
List of Certificate.
SSLPeerUnverifiedException - If the peer is unverified.
public abstract Principal getPeerPrincipal()
throws SSLPeerUnverifiedException
Principle. When the original connection
retrieved network resource, the principle was established when defining
the session.
Principal represents the server's principal.
SSLPeerUnverifiedException - If the peer is unverified.public abstract Principal getLocalPrincipal()
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.
principal sent to the server. Returns an
X500Principal for X509-based cipher suites. If no
principal was sent, it returns null.
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||