📄 utils.java
字号:
package chapter10;
/**
* Chapter 10 Utils
*/
public class Utils extends chapter9.Utils
{
/**
* Host name for our examples to use.
*/
static final String HOST = "localhost";
/**
* Port number for our examples to use.
*/
static final int PORT_NO = 9020;
/**
* Names and passwords for the key store entries we need.
*/
public static final String SERVER_NAME = "server";
public static final char[] SERVER_PASSWORD = "serverPassword".toCharArray();
public static final String CLIENT_NAME = "client";
public static final char[] CLIENT_PASSWORD = "clientPassword".toCharArray();
public static final String TRUST_STORE_NAME = "trustStore";
public static final char[] TRUST_STORE_PASSWORD = "trustPassword".toCharArray();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -