biz.onixs.fix.engine.ssl
Class SSLContextFactory
java.lang.Object
biz.onixs.fix.engine.ssl.SSLContextFactory
public class SSLContextFactory
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SSLContextFactory
public SSLContextFactory()
getInstance
public static SSLContext getInstance(String keyStoreName,
String trustStoreName,
String keyStorePassword)
throws GeneralSecurityException
- Returns SSL context for the specified parameters.
- Parameters:
keyStoreName
- key store resource name; is loaded via classpathtrustStoreName
- trust store resource name; is loaded via classpath; can be set to null if you don't want
to validate counterparty's certificatekeyStorePassword
- key pair password used during key pair generation
- Returns:
- SSL context
- Throws:
GeneralSecurityException
- if security exception occured
Copyright © 2005-2012 Onix Solutions. All Rights Reserved.