1 7 8 15 16 package javax.net.ssl; 17 18 import java.util.*; 19 import java.security.*; 20 21 33 public abstract class SSLContextSpi 34 { 35 36 public SSLContextSpi() { } 37 38 47 protected abstract void engineInit(KeyManager[] km, TrustManager[] tm, 48 SecureRandom sr) throws KeyManagementException; 49 50 57 protected abstract SSLSocketFactory engineGetSocketFactory(); 58 59 66 protected abstract SSLServerSocketFactory engineGetServerSocketFactory(); 67 68 85 protected abstract SSLEngine engineCreateSSLEngine(); 86 87 104 protected abstract SSLEngine engineCreateSSLEngine(String host, int port); 105 106 113 protected abstract SSLSessionContext engineGetServerSessionContext(); 114 115 122 protected abstract SSLSessionContext engineGetClientSessionContext(); 123 } 124 | Popular Tags |