![]() |
API参考
|
DTLS cookie callback and helper definitions. 更多...
#include <stdint.h>#include "hitls_type.h"

类型定义 | |
| typedef int32_t(* | HITLS_AppGenCookieCb) (HITLS_Ctx *ctx, uint8_t *cookie, uint32_t *cookieLen) |
| Cookie callback prototype generated by the server. | |
| typedef int32_t(* | HITLS_AppVerifyCookieCb) (HITLS_Ctx *ctx, const uint8_t *cookie, uint32_t cookieLen) |
| The server verifies the cookie callback prototype. | |
函数 | |
| int32_t | HITLS_CFG_SetCookieGenCb (HITLS_Config *config, HITLS_AppGenCookieCb callback) |
| Sets the callback for generating cookies on the server. | |
| int32_t | HITLS_CFG_SetCookieVerifyCb (HITLS_Config *config, HITLS_AppVerifyCookieCb callback) |
| Set the cookie verification callback on the server. | |
DTLS cookie callback and helper definitions.