Package org.apache.tomcat.lite.io.jsse

Examples of org.apache.tomcat.lite.io.jsse.JsseSslProvider


            if (debug) {
                sslServer.setDebug(true);
                sslServer.setDebugHttp(true);
            }
            JsseSslProvider sslCon = (JsseSslProvider) sslServer.getSslProvider();

            sslCon = sslCon
                .setKeyRes("org/apache/tomcat/lite/http/genrsa_512.cert",
                        "org/apache/tomcat/lite/http/genrsa_512.der");
            initTestCallback(sslServer.getDispatcher());
            sslServer.start();
        }
View Full Code Here


        //      SslConnector.setEnabledCiphers(new String[] {
        //              "TLS_RSA_WITH_3DES_EDE_CBC_SHA"
        //      });
        // -cipher DES-CBC3-SHA

        SslProvider sslCon = new JsseSslProvider();

        return new HttpConnector(new SocketConnector()).
            withSsl(sslCon).setPort(port).setServerSsl(true);
    }
View Full Code Here

TOP

Related Classes of org.apache.tomcat.lite.io.jsse.JsseSslProvider

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.