public class SSLFilterFactory extends Object implements IOFilterFactory
Constructor and Description |
---|
SSLFilterFactory() |
SSLFilterFactory(String keystore,
String password) |
Modifier and Type | Method and Description |
---|---|
IOFilter |
createClientFilter(InetSocketAddress remoteAddress) |
IOFilter |
createServerFilter(InetSocketAddress remoteAddress) |
protected SSLContext |
createSSLContext(boolean clientMode,
String keystore,
String password) |
protected KeyStore |
loadKeyStore(String keystore,
char[] passphrase) |
public IOFilter createClientFilter(InetSocketAddress remoteAddress) throws Exception
createClientFilter
in interface IOFilterFactory
Exception
public IOFilter createServerFilter(InetSocketAddress remoteAddress) throws Exception
createServerFilter
in interface IOFilterFactory
Exception
protected SSLContext createSSLContext(boolean clientMode, String keystore, String password) throws Exception
Exception
protected KeyStore loadKeyStore(String keystore, char[] passphrase) throws KeyStoreException, IOException, NoSuchAlgorithmException, CertificateException
Copyright © GigaSpaces.