public class SSLClientUtil
extends java.lang.Object
コンストラクタ | 説明 |
---|---|
SSLClientUtil() |
修飾子とタイプ | メソッド | 説明 |
---|---|---|
static javax.net.ssl.SSLServerSocketFactory |
initializeFactory(java.util.Properties opts) |
Sets up the SSLContext and sets the socket factory.
|
static boolean |
verifyKeyStore(java.util.Properties opts) |
Create a new selfsigned cert and keystore and pubkey cert if they don't exist.
|
static boolean |
verifyKeyStore(java.util.Properties opts,
java.lang.String optPfx) |
Create a new selfsigned cert and keystore and pubkey cert if they don't exist.
|
public static boolean verifyKeyStore(java.util.Properties opts) throws java.io.IOException
opts
- in/out, updated if rv is truejava.io.IOException
- on creation failpublic static boolean verifyKeyStore(java.util.Properties opts, java.lang.String optPfx) throws java.io.IOException
opts
- in/out, updated if rv is trueoptPfx
- add this prefix when getting/setting optionsjava.io.IOException
- on creation failpublic static javax.net.ssl.SSLServerSocketFactory initializeFactory(java.util.Properties opts) throws java.io.IOException
java.io.IOException
- GeneralSecurityExceptions are wrapped in IOE for convenience