Name
Class com.sun.net.ssl.SSLContextSpi
Synopsis
If you want to provide your own definition of the SSL context class, you must provide an implementation of this class and register it with a security provider. That would allow you to use key and trust managers that are not X509 specific.
Class Definition
public abstract class com.sun.net.ssl.SSLContextSpi extends java.lang.Object { // Constructors public SSLContextSpi( ); // Protected Instance Methods protected abstract SSLServerSocketFactory engineGetServerSocketFactory( ); protected abstract SSLSocketFactory engineGetSocketFactory( ); protected abstract void engineInit(KeyManager[], TrustManager[], SecureRandom); }
Get Java Security, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.