1 7 8 15 16 package javax.net.ssl; 17 18 import java.security.*; 19 import java.util.*; 20 21 import com.sun.net.ssl.internal.ssl.ExportControl; 22 import sun.security.jca.GetInstance; 23 24 34 public class SSLContext 35 { 36 37 44 protected SSLContext(SSLContextSpi contextSpi, Provider provider, String 45 protocol) 46 { } 47 48 64 public static SSLContext getInstance(String protocol) 65 throws NoSuchAlgorithmException 66 { 67 return null; 68 } 69 70 83 public static SSLContext getInstance(String protocol, String provider) 84 throws NoSuchAlgorithmException, NoSuchProviderException 85 { 86 return null; 87 } 88 89 100 public static SSLContext getInstance(String protocol, Provider provider) 101 throws NoSuchAlgorithmException 102 { 103 return null; 104 } 105 106 115 public final String getProtocol() { 116 return null; 117 } 118 119 124 public final Provider getProvider() { 125 return null; 126 } 127 128 144 public final void init(KeyManager[] km, TrustManager[] tm, SecureRandom 145 random) throws KeyManagementException 146 { } 147 148 154 public final SSLSocketFactory getSocketFactory() { 155 return null; 156 } 157 158 164 public final SSLServerSocketFactory getServerSocketFactory() { 165 return null; 166 } 167 168 184 public final SSLEngine createSSLEngine() { 185 return null; 186 } 187 188 205 public final SSLEngine createSSLEngine(String peerHost, int peerPort) { 206 return null; 207 } 208 209 222 public final SSLSessionContext getServerSessionContext() { 223 return null; 224 } 225 226 239 public final SSLSessionContext getClientSessionContext() { 240 return null; 241 } 242 } 243 | Popular Tags |