Class SslContextFactory


  • public class SslContextFactory
    extends Object
    A factory that creates and configures a new SSLContext.

    If no properties are set the returned SSLContext will be equivalent to what the following creates:

     SSLContext c = SSLContext.getInstance("TLSv1.2");
     c.init(null, null, null);
     

    Use the properties prefixed with keyManagerFactory to control the creation of the KeyManager to be used.

    Use the properties prefixed with trustManagerFactory to control the creation of the TrustManagerFactory to be used.

    Author:
    Apache MINA Project