API参考
载入中...
搜索中...
未找到
Hitls_type

TLS type definition, provides the TLS type required by the user 更多...

Hitls_type 的协作图:

宏定义

#define DTLS_SCTP_SHARED_AUTHKEY_LEN   64
 DTLS SCTP authkey length, which is specified in the protocol and can be used to determine the length when the auth key is set.
#define TLS13_KE_MODE_PSK_ONLY   1u
 TLS1.3 key exchange mode: Only PSKs are used for key negotiation.
#define TLS13_KE_MODE_PSK_WITH_DHE   2u
 TLS1.3 key exchange mode: Both PSK and (EC)DHE are used for key negotiation.
#define TLS13_CERT_AUTH_WITH_DHE   4u
 TLS1.3 certificate authentication: The certificate authentication is used and the (EC)DHE negotiation key is required.

类型定义

typedef struct TlsCtx HITLS_Ctx
 HITLS context
typedef struct TlsConfig HITLS_Config
 config context
typedef struct TlsCipherSuiteInfo HITLS_Cipher
 cipherSuite information

枚举

enum  HITLS_SESS_CACHE_MODE {
  HITLS_SESS_CACHE_NO = 0x00000000U , HITLS_SESS_CACHE_CLIENT = 0x00000001U , HITLS_SESS_CACHE_SERVER = 0x00000002U , HITLS_SESS_CACHE_BOTH = 0x00000003U ,
  HITLS_SESS_DISABLE_INTERNAL_STORE = 0x00000004U , HITLS_SESS_DISABLE_INTERNAL_LOOKUP = 0x00000008U , HITLS_SESS_DISABLE_AUTO_CLEANUP = 0x00000010U , HITLS_SESS_ENABLE_TIME_UPDATE = 0x00000020U
}
 HITLS_SESS_CACHE_MODE: mode for storing hitls sessions.
enum  HITLS_KeyUpdateRequest { HITLS_UPDATE_NOT_REQUESTED = 0 , HITLS_UPDATE_REQUESTED = 1 , HITLS_KEY_UPDATE_REQ_END = 255 }
 key update message type

详细描述

TLS type definition, provides the TLS type required by the user