SSLContextSpi (Java SE 15 & JDK 15) (original) (raw)


public abstract class SSLContextSpi extends Object

This class defines the Service Provider Interface (SPI) for the SSLContext class.

All the abstract methods in this class must be implemented by each cryptographic service provider who wishes to supply the implementation of a particular SSL context.

Since:

1.4

See Also:

SSLContext

Constructors

Constructor Description
SSLContextSpi()
Modifier and Type Method Description
protected abstract SSLEngine engineCreateSSLEngine() Creates a new SSLEngine using this context.
protected abstract SSLEngine engineCreateSSLEngine​(String host, int port) Creates a SSLEngine using this context.
protected abstract SSLSessionContext engineGetClientSessionContext() Returns a client SSLSessionContext object for this context.
protected SSLParameters engineGetDefaultSSLParameters() Returns a copy of the SSLParameters indicating the default settings for this SSL context.
protected abstract SSLSessionContext engineGetServerSessionContext() Returns a server SSLSessionContext object for this context.
protected abstract SSLServerSocketFactory engineGetServerSocketFactory() Returns a ServerSocketFactory object for this context.
protected abstract SSLSocketFactory engineGetSocketFactory() Returns a SocketFactory object for this context.
protected SSLParameters engineGetSupportedSSLParameters() Returns a copy of the SSLParameters indicating the maximum supported settings for this SSL context.
protected abstract void engineInit​(KeyManager[] km,TrustManager[] tm,SecureRandom sr) Initializes this context.

Methods declared in class java.lang.Object

[clone](../../../java/lang/Object.html#clone%28%29), [equals](../../../java/lang/Object.html#equals%28java.lang.Object%29), [finalize](../../../java/lang/Object.html#finalize%28%29), [getClass](../../../java/lang/Object.html#getClass%28%29), [hashCode](../../../java/lang/Object.html#hashCode%28%29), [notify](../../../java/lang/Object.html#notify%28%29), [notifyAll](../../../java/lang/Object.html#notifyAll%28%29), [toString](../../../java/lang/Object.html#toString%28%29), [wait](../../../java/lang/Object.html#wait%28%29), [wait](../../../java/lang/Object.html#wait%28long%29), [wait](../../../java/lang/Object.html#wait%28long,int%29)