API参考
载入中...
搜索中...
未找到
TlsCipherSuiteInfo结构体 参考

#include <cipher_suite.h>

Public 属性

bool enable
const char * name
const char * stdName
uint16_t cipherSuite
HITLS_CipherAlgo cipherAlg
HITLS_KeyExchAlgo kxAlg
HITLS_AuthAlgo authAlg
HITLS_MacAlgo macAlg
HITLS_HashAlgo hashAlg
HITLS_SignHashAlgo signScheme
uint8_t fixedIvLength
uint8_t encKeyLen
uint8_t macKeyLen
uint8_t blockLength
uint8_t recordIvLength
uint8_t macLen
uint16_t minVersion
uint16_t maxVersion
uint16_t minDtlsVersion
uint16_t maxDtlsVersion
HITLS_CipherType cipherType
int32_t strengthBits

详细描述

CipherSuiteInfo structure, used to transfer public cipher suite information.

类成员变量说明

◆ authAlg

HITLS_AuthAlgo TlsCipherSuiteInfo::authAlg

server authorization algorithm

◆ blockLength

uint8_t TlsCipherSuiteInfo::blockLength

If the block length is not zero, the alignment should be handled

◆ cipherAlg

HITLS_CipherAlgo TlsCipherSuiteInfo::cipherAlg

Symmetric-key algorithm

◆ cipherSuite

uint16_t TlsCipherSuiteInfo::cipherSuite

cipher suite

◆ cipherType

HITLS_CipherType TlsCipherSuiteInfo::cipherType

Encryption algorithm type

◆ enable

bool TlsCipherSuiteInfo::enable

Enable flag

◆ encKeyLen

uint8_t TlsCipherSuiteInfo::encKeyLen

Length of the symmetric key

◆ fixedIvLength

uint8_t TlsCipherSuiteInfo::fixedIvLength

If the AEAD algorithm is used, the value is the implicit IV length

◆ hashAlg

HITLS_HashAlgo TlsCipherSuiteInfo::hashAlg

hash algorithm

◆ kxAlg

HITLS_KeyExchAlgo TlsCipherSuiteInfo::kxAlg

key exchange algorithm

◆ macAlg

HITLS_MacAlgo TlsCipherSuiteInfo::macAlg

mac algorithm

◆ macKeyLen

uint8_t TlsCipherSuiteInfo::macKeyLen

If the AEAD algorithm is used, the MAC key length is 0

◆ macLen

uint8_t TlsCipherSuiteInfo::macLen

The length of the MAC address. If the AEAD algorithm is used, this member variable will be the length of the tag

◆ maxDtlsVersion

uint16_t TlsCipherSuiteInfo::maxDtlsVersion

Maximum DTLS version supported by the cipher suite

◆ maxVersion

uint16_t TlsCipherSuiteInfo::maxVersion

Maximum version supported by the cipher suite

◆ minDtlsVersion

uint16_t TlsCipherSuiteInfo::minDtlsVersion

Minimum DTLS version supported by the cipher suite

◆ minVersion

uint16_t TlsCipherSuiteInfo::minVersion

Minimum version supported by the cipher suite

◆ name

const char* TlsCipherSuiteInfo::name

Cipher suite name

◆ recordIvLength

uint8_t TlsCipherSuiteInfo::recordIvLength

The explicit IV needs to be sent to the peer end

◆ signScheme

HITLS_SignHashAlgo TlsCipherSuiteInfo::signScheme

Signature combination, including the hash algorithm and signature algorithm: TLS 1.2 negotiates the signScheme.

◆ stdName

const char* TlsCipherSuiteInfo::stdName

RFC name of the cipher suite

◆ strengthBits

int32_t TlsCipherSuiteInfo::strengthBits

Encryption algorithm strength


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