|
Java™ Platform Standard Ed. 6 |
|||||||||
| 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
Represents a cache response originally retrieved through secure means, such as TLS.
| Constructor Summary | |
|---|---|
SecureCacheResponse()
|
|
| Method Summary | |
|---|---|
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. |
| 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()
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()
|
Java™ Platform Standard Ed. 6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.