NIM PC Cross Platform SDK
nim_qchat::QChatEncryptionConfiguration Struct Reference

Public Attributes

NIMQChatExchangeKeyEncryptionAlgorithm nego_key_neca = kNIMQChatEncryptionAlgorithmRSA
 "交换密钥"协议加密算法 {1(RSA),2(SM2)}, def:1(RSA) 非对称加密
 
NIMQChatCommEncryptionAlgorithm comm_neca = kNIMQChatCommEncryptionAlgorithmRC4
 通信加密算法 {1(RC4),2(AES128),4(SM4)} def:1(RC4) 对称加密
 
NIMQChatHandShakeType hand_shake_type = kNIMQChatHandShakeTypeMulti
 握手协议类型 0:支持配置多种对称与非对称加密算法,1:只支持RAS + RC4
 
std::string nego_key_neca_key_parta
 "交换密钥"协议加密算法密钥, 为空使用默认值
 
std::string nego_key_neca_key_partb
 非对称加密算法 key
 
uint32_t nego_key_neca_key_version = 0
 非对称加密算法的 key version
 

The documentation for this struct was generated from the following file: