|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.fhhannover.inform.trust.ifmapj.IfmapJHelper
public abstract class IfmapJHelper
To create a SSRC
one needs to have KeyManager
and
TrustManager
instances. This is a helper class to make it
easy to get those.
Constructor Summary | |
---|---|
IfmapJHelper()
|
Method Summary | |
---|---|
static KeyManager[] |
getKeyManagers()
Creates KeyManager instances based on the javax.net.ssl.keyStore
and javax.net.ssl.keyStorePassword environment variables. |
static KeyManager[] |
getKeyManagers(InputStream keyStoreIs,
String pass)
Creates KeyManager instances based on the given parameters. |
static KeyManager[] |
getKeyManagers(String keyStoreFile,
String pass)
Creates KeyManager instances based on the given parameters. |
static TrustManager[] |
getTrustManagers()
Creates TrustManager instances based on the javax.net.ssl.trustStore
and javax.net.ssl.trustStorePassword environment variables. |
static TrustManager[] |
getTrustManagers(InputStream trustStoreIs,
String pass)
Creates TrustManager instances based on the given parameters. |
static TrustManager[] |
getTrustManagers(String trustStorePath,
String pass)
Creates TrustManager instances based on the given parameters. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IfmapJHelper()
Method Detail |
---|
public static KeyManager[] getKeyManagers() throws InitializationException
KeyManager
instances based on the javax.net.ssl.keyStore
and javax.net.ssl.keyStorePassword environment variables.
KeyManager
instances.
InitializationException
public static KeyManager[] getKeyManagers(String keyStoreFile, String pass) throws InitializationException
KeyManager
instances based on the given parameters.
keyStoreFile
- path to keyStore filepass
- password for keyStore
KeyManager
instances
InitializationException
public static KeyManager[] getKeyManagers(InputStream keyStoreIs, String pass) throws InitializationException
KeyManager
instances based on the given parameters.
keyStoreIs
- InputStream
representing contents of a keyStorepass
- password for the keyStore
KeyManager
instances
InitializationException
public static TrustManager[] getTrustManagers() throws InitializationException
TrustManager
instances based on the javax.net.ssl.trustStore
and javax.net.ssl.trustStorePassword environment variables.
TrustManager
instances
InitializationException
public static TrustManager[] getTrustManagers(String trustStorePath, String pass) throws InitializationException
TrustManager
instances based on the given parameters.
trustStorePath
- path to trustStorepass
- password for trustStore
TrustManager
instances
InitializationException
public static TrustManager[] getTrustManagers(InputStream trustStoreIs, String pass) throws InitializationException
TrustManager
instances based on the given parameters.
trustStoreIs
- InputStream
representing contents of a trustStorepass
- password for the trustStore
TrustManager
instances
InitializationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |