| Package | Description |
|---|---|
| org.tio.core.ssl | |
| org.tio.server |
| Modifier and Type | Method and Description |
|---|---|
ClientAuth |
SslConfig.getClientAuth() |
static ClientAuth |
ClientAuth.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClientAuth[] |
ClientAuth.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static SslConfig |
SslConfig.forServer(InputStream keyStoreInputStream,
String keyPasswd,
ClientAuth clientAuth)
给服务器用的
|
static SslConfig |
SslConfig.forServer(InputStream keyStoreInputStream,
String keyPasswd,
InputStream trustStoreInputStream,
String trustPassword,
ClientAuth clientAuth)
给服务器用的
|
static SslConfig |
SslConfig.forServer(SslCertType certType,
InputStream keyStoreInputStream,
String keyPasswd,
ClientAuth clientAuth)
给服务器用的
|
static SslConfig |
SslConfig.forServer(SslCertType certType,
InputStream keyStoreInputStream,
String keyPasswd,
InputStream trustStoreInputStream,
String trustPassword,
ClientAuth clientAuth)
给服务器用的
|
static SslConfig |
SslConfig.forServer(String keyStoreFile,
String keyPasswd,
ClientAuth clientAuth) |
static SslConfig |
SslConfig.forServer(String keyStoreFile,
String keyPasswd,
String trustStoreFile,
String trustPassword,
ClientAuth clientAuth) |
| Constructor and Description |
|---|
SslConfig(ClientAuth clientAuth,
KeyManager[] kms,
TrustManager[] tms) |
SslConfig(ClientAuth clientAuth,
TrustManager[] tms) |
| Modifier and Type | Method and Description |
|---|---|
void |
TioServerConfig.useSsl(InputStream keyStoreInputStream,
String keyStorePwd,
ClientAuth clientAuth)
开启 ssl
|
void |
TioServerConfig.useSsl(String keyStoreFile,
String keyStorePwd,
ClientAuth clientAuth)
开启 ssl
|
Copyright © 2025. All rights reserved.