Java in a Nutshell, 5th Edition [Electronic resources]

نسخه متنی -صفحه : 1191/ 387
نمايش فراداده

SecureCacheResponsejava.net

Java 5.0

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; }