|
Java™ Platform Standard Ed. 6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object extended by java.net.CacheResponse extended by 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 All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1993, 2015, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
Scripting on this page tracks web page traffic, but does not change the content in any way.