org.jdiameter.client.impl.transport.tls
Class TLSUtils
java.lang.Object
org.jdiameter.client.impl.transport.tls.TLSUtils
public class TLSUtils
- extends java.lang.Object
Simple utils class just to have one place for common stuff.
- Author:
- Bartosz Baranowski , Alexandre Mendonca
|
Method Summary |
static javax.net.ssl.SSLContext |
getSecureContext(Configuration sslConfig)
|
static javax.net.ssl.SSLContext |
getSecureContext(java.lang.String contextTransportAlgo,
java.lang.String keyManagerAlgo,
java.lang.String keyStoreType,
java.lang.String keyStorePassword,
java.lang.String keyStoreFile,
java.lang.String trustManagerAlgo,
java.lang.String trustStoreType,
java.lang.String trustStorePassword,
java.lang.String trustStoreFile)
|
static Configuration |
getSSLConfiguration(Configuration cnf,
java.lang.String ref)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TLSUtils
public TLSUtils()
getSecureContext
public static javax.net.ssl.SSLContext getSecureContext(Configuration sslConfig)
throws java.lang.Exception
- Throws:
java.lang.Exception
getSecureContext
public static javax.net.ssl.SSLContext getSecureContext(java.lang.String contextTransportAlgo,
java.lang.String keyManagerAlgo,
java.lang.String keyStoreType,
java.lang.String keyStorePassword,
java.lang.String keyStoreFile,
java.lang.String trustManagerAlgo,
java.lang.String trustStoreType,
java.lang.String trustStorePassword,
java.lang.String trustStoreFile)
throws java.lang.Exception
- Throws:
java.lang.Exception
getSSLConfiguration
public static Configuration getSSLConfiguration(Configuration cnf,
java.lang.String ref)
Copyright © 2014. All Rights Reserved.