| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private static final String | |
| public static final String | KEYSTORE_PASSWORD
The default password to use for the .h2.keystore file |
| private static final String |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static ServerSocket | Returns: the server socketthe port to listen on port, InetAddress the address to bind to, or null to bind to all
addresses bindAddress)Create a secure server socket. |
| public static Socket | Returns: the socketthe address to connect to address, int the port port)Create a secure client socket that is connected to the given address and port. |
| private static String[] | |
| public static BlockCipher | Returns: a new cipher objectthe algorithm algorithm)Get a new block cipher object for the given algorithm. |
| public static KeyStore | Returns: the keystorethe keystore password password)Get the keystore object using the given password. |
| private static byte[] | |
| private static void |
| KEYSTORE | back to summary |
|---|---|
| private static final String KEYSTORE | |
| KEYSTORE_KEY | back to summary |
|---|---|
| private static final String KEYSTORE_KEY | |
| KEYSTORE_PASSWORD | back to summary |
|---|---|
| public static final String KEYSTORE_PASSWORD The default password to use for the .h2.keystore file | |
| KEYSTORE_PASSWORD_KEY | back to summary |
|---|---|
| private static final String KEYSTORE_PASSWORD_KEY | |
| CipherFactory | back to summary |
|---|---|
| private CipherFactory() | |
| createServerSocket | back to summary |
|---|---|
| public static ServerSocket createServerSocket(int port, InetAddress bindAddress) throws IOException Create a secure server socket. If a bind address is specified, the socket is only bound to this address.
| |
| createSocket | back to summary |
|---|---|
| public static Socket createSocket(InetAddress address, int port) throws IOException Create a secure client socket that is connected to the given address and port.
| |
| disableSSL | back to summary |
|---|---|
| private static String[] disableSSL(String[] enabled) | |
| getBlockCipher | back to summary |
|---|---|
| public static BlockCipher getBlockCipher(String algorithm) Get a new block cipher object for the given algorithm.
| |
| getKeyStore | back to summary |
|---|---|
| public static KeyStore getKeyStore(String password) throws IOException Get the keystore object using the given password.
| |
| getKeyStoreBytes | back to summary |
|---|---|
| private static byte[] getKeyStoreBytes(KeyStore store, String password) throws IOException | |
| setKeystore | back to summary |
|---|---|
| private static void setKeystore() throws IOException | |