public class SSLUtil extends Object
Constructor and Description |
---|
SSLUtil() |
Modifier and Type | Method and Description |
---|---|
static SSLEngine |
createSSLEngine(boolean client,
String host,
int port) |
static ITCPAcceptor |
getAcceptor(IManagedContainer container,
String description) |
static ITCPConnector |
getConnector(IManagedContainer container,
String description) |
static int |
getHandShakeTimeOut() |
static int |
getHandShakeWaitTime() |
static void |
prepareContainer(IManagedContainer container) |
static void |
setDefaultSSLConfiguration(String keyPath,
String trustPath,
String passPhrase) |
static void |
setDefaultSSLConfiguration(String keyPath,
String trustPath,
String passPhrase,
int handShakeTimeOut,
int handShakeWaitTime) |
static void |
setSSLConfigurationFile(String file) |
public static void setDefaultSSLConfiguration(String keyPath, String trustPath, String passPhrase)
public static void setDefaultSSLConfiguration(String keyPath, String trustPath, String passPhrase, int handShakeTimeOut, int handShakeWaitTime)
public static void setSSLConfigurationFile(String file)
public static void prepareContainer(IManagedContainer container)
public static ITCPAcceptor getAcceptor(IManagedContainer container, String description)
public static ITCPConnector getConnector(IManagedContainer container, String description)
public static SSLEngine createSSLEngine(boolean client, String host, int port) throws Exception
Exception
public static int getHandShakeTimeOut()
public static int getHandShakeWaitTime()
Copyright (c) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html