March 2005
Beginner to intermediate
1254 pages
104h 21m
English
SecureCacheResponse
This subclass of
CacheResponse
represents a cached network resource
that was retreived through a secure protocol such as HTTPS. Its
methods return certificates and other details about the secure
transfer. See also ResponseCache. This class is
not intended for casual users of the java.net
package.
Figure 12-17. java.net.SecureCacheResponse
public abstract class SecureCacheResponse extends CacheResponse { // Public Constructors public SecureCacheResponse( ); // Public Instance Methods public abstract String getCipherSuite( ); public abstract java.util.List<java.security.cert.Certificate> getLocalCertificateChain( ); public abstract java.security.Principal getLocalPrincipal( ); public abstract java.security.Principal getPeerPrincipal( ) throws javax.net.ssl.SSLPeerUnverifiedException; public abstract java.util.List<java.security.cert.Certificate> getServerCertificateChain( ) throws javax.net.ssl.SSLPeerUnverifiedException; }
Read now
Unlock full access