1 7 8 15 16 package javax.net.ssl; 17 18 import java.net.URL; 19 import java.net.HttpURLConnection; 20 import java.security.Principal; 21 import java.security.cert.X509Certificate; 22 import javax.security.auth.x500.X500Principal; 23 24 47 public abstract class HttpsURLConnection extends HttpURLConnection 48 { 49 52 protected HostnameVerifier hostnameVerifier; 53 54 60 protected HttpsURLConnection(URL url) { } 61 62 69 public abstract String getCipherSuite(); 70 71 92 public abstract java.security.cert.Certificate[] getLocalCertificates(); 93 94 110 public abstract java.security.cert.Certificate[] getServerCertificates() 111 throws SSLPeerUnverifiedException; 112 113 136 public Principal getPeerPrincipal() throws SSLPeerUnverifiedException { 137 return null; 138 } 139 140 161 public Principal getLocalPrincipal() { 162 return null; 163 } 164 165 178 public static void setDefaultHostnameVerifier(HostnameVerifier v) { } 179 180 187 public static HostnameVerifier getDefaultHostnameVerifier() { 188 return null; 189 } 190 191 205 public void setHostnameVerifier(HostnameVerifier v) { } 206 207 214 public HostnameVerifier getHostnameVerifier() { 215 return null; 216 } 217 218 230 public static void setDefaultSSLSocketFactory(SSLSocketFactory sf) { } 231 232 242 public static SSLSocketFactory getDefaultSSLSocketFactory() { 243 return null; 244 } 245 246 261 public void setSSLSocketFactory(SSLSocketFactory sf) { } 262 263 270 public SSLSocketFactory getSSLSocketFactory() { 271 return null; 272 } 273 } 274 | Popular Tags |