keyStore.load(new FileInputStream(getKeystorePath()), getKeystorePassword() .toCharArray());
FileInputStream fis = new FileInputStream(getKeystorePath()); keyStore.load(fis, getKeystorePassword().toCharArray());
	public void start() throws Exception	{		// Initialize the SSL context		KeyStore keyStore = KeyStore.getInstance(getKeystoreType());		keyStore.load(new FileInputStream(getKeystorePath()), getKeystorePassword()				.toCharArray());		KeyManagerFactory keyManagerFactory = KeyManagerFactory				.getInstance(getCertAlgorithm());		keyManagerFactory.init(keyStore, getKeyPassword().toCharArray());		SSLContext sslContext = SSLContext.getInstance(getSslProtocol());		sslContext.init(keyManagerFactory.getKeyManagers(), null, null);		setSocket(sslContext.getServerSocketFactory().createServerSocket(				getServer().getPort()));		getSocket().setSoTimeout(60000);		// Complete initialization		setConfidential(true);		setHandler(PipelineHandlerFactory.getInstance(this, getDefaultThreads(),				getMaxWaitTimeMs()));		setConnection(ConnectionFactory.getConnection(getHandler(),				new BufferedPipelineFactory()));		getConnection().connect(getSocket());		super.start();	}