openHiTLS API openHiTLS 0.1.0-Alpha1
Macros | Typedefs | Enumerations
Hitls_type

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

Collaboration diagram for Hitls_type:

Macros

#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.
 

Typedefs

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

Enumerations

enum  HITLS_SESS_CACHE_MODE { HITLS_SESS_CACHE_NO , HITLS_SESS_CACHE_CLIENT , HITLS_SESS_CACHE_SERVER , HITLS_SESS_CACHE_BOTH }
 HITLS_SESS_CACHE_MODE: mode for storing hitls sessions. More...
 
enum  HITLS_KeyUpdateRequest { HITLS_UPDATE_NOT_REQUESTED = 0 , HITLS_UPDATE_REQUESTED = 1 , HITLS_KEY_UPDATE_REQ_END = 255 }
 key update message type More...
 

Detailed Description

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