|
openHiTLS API openHiTLS 0.1.0-Alpha1
|

类型定义 | |
| typedef int32_t(* | HITLS_SecurityCb) (const HITLS_Ctx *ctx, const HITLS_Config *config, int32_t option, int32_t bits, int32_t id, void *other, void *exData) |
| Secure Callback Function Prototype | |
函数 | |
| int32_t | HITLS_CFG_SetSecurityLevel (HITLS_Config *config, int32_t securityLevel) |
| Configure the security level | |
| int32_t | HITLS_CFG_GetSecurityLevel (const HITLS_Config *config, int32_t *securityLevel) |
| Obtain the configured security level. | |
| int32_t | HITLS_CFG_SetSecurityCb (HITLS_Config *config, HITLS_SecurityCb securityCb) |
| Configure the security callback function. | |
| HITLS_SecurityCb | HITLS_CFG_GetSecurityCb (const HITLS_Config *config) |
| Obtain the configured security callback function | |
| int32_t | HITLS_CFG_SetSecurityExData (HITLS_Config *config, void *securityExData) |
| Configuring the Security ExData | |
| void * | HITLS_CFG_GetSecurityExData (const HITLS_Config *config) |
| Obtain the configured Security ExData | |
| int32_t | HITLS_SetSecurityLevel (HITLS_Ctx *ctx, int32_t securityLevel) |
| Set the link security level | |
| int32_t | HITLS_GetSecurityLevel (const HITLS_Ctx *ctx, int32_t *securityLevel) |
| Obtain the link security level | |
| int32_t | HITLS_SetSecurityCb (HITLS_Ctx *ctx, HITLS_SecurityCb securityCb) |
| Callback function for setting link security | |
| HITLS_SecurityCb | HITLS_GetSecurityCb (const HITLS_Ctx *ctx) |
| Obtain the Security callback function of the link | |
| int32_t | HITLS_SetSecurityExData (HITLS_Ctx *ctx, void *securityExData) |
| Setting Security ExData for the Link | |
| void * | HITLS_GetSecurityExData (const HITLS_Ctx *ctx) |
| Obtains the configured Security ExData. | |