API参考
载入中...
搜索中...
未找到
TlsCtx结构体 参考
TlsCtx 的协作图:

Public 属性

bool isClient
bool userShutDown
bool userRenego
uint8_t rwstate
CM_State preState
CM_State state
uint32_t shutdownState
void * rUio
void * uio
void * bUio
HS_Ctx * hsCtx
CCS_Ctx * ccsCtx
ALERT_Ctx * alertCtx
REC_Ctx * recCtx
struct { 
   IsRecvCcsCallback   isRecvCCS 
   SendCcsCallback   sendCCS 
   CtrlCcsCallback   ctrlCCS 
   SendAlertCallback   sendAlert 
   ClearAlertCallBack   clearAlert 
   GetAlertFlagCallback   getAlertFlag 
   UnexpectMsgHandleCallback   unexpectedMsgProcessCb 
method
PeerInfo peerInfo
TLS_CtxConfig config
TLS_Config * globalConfig
TLS_NegotiatedInfo negotiatedInfo
HITLS_Session * session
uint8_t clientAppTrafficSecret [MAX_DIGEST_SIZE]
uint8_t serverAppTrafficSecret [MAX_DIGEST_SIZE]
uint8_t resumptionMasterSecret [MAX_DIGEST_SIZE]
uint8_t exporterMasterSecret [MAX_DIGEST_SIZE]
uint32_t bytesLeftToRead
uint32_t keyUpdateType
bool isKeyUpdateRequest
bool haveClientPointFormats
uint8_t peekFlag
bool hasParsedHsMsgHeader
int32_t errorCode
HITLS_HASH_Ctx * phaHash
HITLS_HASH_Ctx * phaCurHash
PHA_State phaState
uint8_t * certificateReqCtx
uint32_t certificateReqCtxSize
bool isDtlsListen
bool plainAlertForbid
bool allowAppOut
bool noQueryMtu
bool needQueryMtu
bool mtuModified
BSL_TIME deadline

该结构体的文档由以下文件生成: