|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.i2p.i2ptunnel.SSLClientUtil
public class SSLClientUtil
Utilities for I2PTunnel client SSL server sockets.
Constructor Summary | |
---|---|
SSLClientUtil()
|
Method Summary | |
---|---|
static SSLServerSocketFactory |
initializeFactory(Properties opts)
Sets up the SSLContext and sets the socket factory. |
static boolean |
verifyKeyStore(Properties opts)
Create a new selfsigned cert and keystore and pubkey cert if they don't exist. |
static boolean |
verifyKeyStore(Properties opts,
String optPfx)
Create a new selfsigned cert and keystore and pubkey cert if they don't exist. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SSLClientUtil()
Method Detail |
---|
public static boolean verifyKeyStore(Properties opts) throws IOException
opts
- in/out, updated if rv is true
IOException
- on creation failpublic static boolean verifyKeyStore(Properties opts, String optPfx) throws IOException
opts
- in/out, updated if rv is trueoptPfx
- add this prefix when getting/setting options
IOException
- on creation failpublic static SSLServerSocketFactory initializeFactory(Properties opts) throws IOException
IOException;
- GeneralSecurityExceptions are wrapped in IOE for convenience
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |