| 程序包 | 说明 |
|---|---|
| cn.tdchain.cipher | |
| cn.tdchain.jbcc | |
| cn.tdchain.jbcc.net.nio | |
| cn.tdchain.jbcc.rpc.nio.server | |
| cn.tdchain.tdmsp.util |
| 限定符和类型 | 方法和说明 |
|---|---|
Key |
Cipher.generateKey()
Description: 非key store方式获取公私钥
|
Key |
Cipher.newKeyInstall() |
| 限定符和类型 | 字段和说明 |
|---|---|
protected Key |
Connection.key |
| 构造器和说明 |
|---|
Connection(String[] ipTable,
int port,
Key key,
String token,
Cipher cipher) |
Connection(String[] ipTable,
int port,
Key key,
String token,
Cipher cipher,
long timeout) |
| 限定符和类型 | 方法和说明 |
|---|---|
Key |
NioResphone.getKey() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
NioResphone.setKey(Key key) |
| 构造器和说明 |
|---|
NioNet(String[] iptables,
int serverPort,
Cipher cipher,
String token,
Key key,
String connectionId) |
NioRequest(NioNet.NioTask task,
String serverHost,
int serverPort,
Cipher cipher,
String token,
Key key,
String connectionId,
int workerNum,
String serverPublicKey) |
NioResphone(NioNet.NioTask task,
String serverIp,
String connectionId,
Key key,
Cipher cipher,
int workerNum,
String serverPublicKey) |
NioTask(String serverHost,
int serverPort,
Cipher cipher,
String token,
Key key,
String connectionId,
int workerNum) |
| 限定符和类型 | 方法和说明 |
|---|---|
Key |
NioRpcServer.getKey() |
| 构造器和说明 |
|---|
NioRpcServer(int port,
MessageHandler handler,
String token,
Key key)
Constructor.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
MemberUtil.generateAccount(Key key) |
static String |
MemberUtil.generateRole(Key key) |
Copyright © 2020. All Rights Reserved.