This abstract class defines the Service Provider Interface for SSLContext . Security providers must implement this interface, but applications never need to use it. public abstract class SSLContextSpi { // Public Constructors public SSLContextSpi ( ); // Protected Instance Methods 5.0 protected abstract SSLEngine engineCreateSSLEngine ( ); 5.0 protected abstract SSLEngine engineCreateSSLEngine (String host , int port ); protected abstract SSLSessionContext engineGetClientSessionContext ( ); protected abstract SSLSessionContext engineGetServerSessionContext ( ); protected abstract SSLServerSocketFactory engineGetServerSocketFactory ( ); protected abstract SSLSocketFactory engineGetSocketFactory ( ); protected abstract void engineInit (KeyManager[ ] km , TrustManager[ ] tm , java.security.SecureRandom sr ) throws java.security.KeyManagementException; } Passed ToSSLContext.SSLContext( ) |