# The Java Embedded Database Class SSLParameters

SSLParameters defines the SSL settings for secure communications.

### For an overview see page Java Database Class

### Class Definition

        public static class SSLParameters
        {
            public String cipherList;
            public long maxCertList;
            public long options;
            public int verifyMode;
            public int verifyDepth;
            public String certificateFile;
            public String privateKeyFile;
            public static final int VERIFY_NONE = 0x0;
            public static final int VERIFY_PEER = 0x01;
            public static final int VERIFY_FAIL_IF_NO_PEER_CERT = 0x02;
            public static final int VERIFY_CLIENT_ONCE = 0x04;

            public  SSLParameters()
            {
                cipherList = null;
                maxCertList = 102400;
                options = 0x01000000L | 0x02000000L | 0x00100000L;
                verifyMode = 0;
                verifyDepth = 100;
                certificateFile = null;
                privateKeyFile = null;
            }
        };

### Definitions:

Please refer to page SSL Parameters for a description of each of these parameters.