TLS SNI correlation type
更多...
|
typedef int32_t(* | HITLS_SniDealCb) (HITLS_Ctx *ctx, int *alert, void *arg) |
| Set the extension prototype for the server to process Client Hello server_name.
|
|
|
const char * | HITLS_GetServerName (const HITLS_Ctx *ctx, const int type) |
| Obtain the value of server_name before, during, or after the handshake on the client or server.
|
|
int32_t | HITLS_GetServernameType (const HITLS_Ctx *ctx) |
| Obtain the server_name type before, during, or after the handshake on the client or server.
|
|
int32_t | HITLS_CFG_SetServerName (HITLS_Config *config, uint8_t *serverName, uint32_t serverNameStrlen) |
| Set server_name.
|
|
int32_t | HITLS_CFG_GetServerName (HITLS_Config *config, uint8_t **serverName, uint32_t *serverNameStrlen) |
| Obtain the value of server_name configured on the client.
|
|
int32_t | HITLS_CFG_SetServerNameCb (HITLS_Config *config, HITLS_SniDealCb callback) |
| Set the server_name callback function on the server, which is used for SNI negotiation, cb can be NULL.
|
|
int32_t | HITLS_CFG_SetServerNameArg (HITLS_Config *config, void *arg) |
| Set the server_name parameters required during SNI negotiation on the server.
|
|
int32_t | HITLS_CFG_GetServerNameCb (HITLS_Config *config, HITLS_SniDealCb *callback) |
| Obtain the server_name callback settings on the server.
|
|
int32_t | HITLS_CFG_GetServerNameArg (HITLS_Config *config, void **arg) |
| Obtain the server_name required during SNI negotiation on the server, related Parameter arg.
|
|
TLS SNI correlation type