![]() |
API参考
|
#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.
| HITLS_AuthAlgo TlsCipherSuiteInfo::authAlg |
server authorization algorithm
| uint8_t TlsCipherSuiteInfo::blockLength |
If the block length is not zero, the alignment should be handled
| HITLS_CipherAlgo TlsCipherSuiteInfo::cipherAlg |
Symmetric-key algorithm
| uint16_t TlsCipherSuiteInfo::cipherSuite |
cipher suite
| HITLS_CipherType TlsCipherSuiteInfo::cipherType |
Encryption algorithm type
| bool TlsCipherSuiteInfo::enable |
Enable flag
| uint8_t TlsCipherSuiteInfo::encKeyLen |
Length of the symmetric key
| uint8_t TlsCipherSuiteInfo::fixedIvLength |
If the AEAD algorithm is used, the value is the implicit IV length
| HITLS_HashAlgo TlsCipherSuiteInfo::hashAlg |
hash algorithm
| HITLS_KeyExchAlgo TlsCipherSuiteInfo::kxAlg |
key exchange algorithm
| HITLS_MacAlgo TlsCipherSuiteInfo::macAlg |
mac algorithm
| uint8_t TlsCipherSuiteInfo::macKeyLen |
If the AEAD algorithm is used, the MAC key length is 0
| 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
| uint16_t TlsCipherSuiteInfo::maxDtlsVersion |
Maximum DTLS version supported by the cipher suite
| uint16_t TlsCipherSuiteInfo::maxVersion |
Maximum version supported by the cipher suite
| uint16_t TlsCipherSuiteInfo::minDtlsVersion |
Minimum DTLS version supported by the cipher suite
| uint16_t TlsCipherSuiteInfo::minVersion |
Minimum version supported by the cipher suite
| const char* TlsCipherSuiteInfo::name |
Cipher suite name
| uint8_t TlsCipherSuiteInfo::recordIvLength |
The explicit IV needs to be sent to the peer end
| HITLS_SignHashAlgo TlsCipherSuiteInfo::signScheme |
Signature combination, including the hash algorithm and signature algorithm: TLS 1.2 negotiates the signScheme.
| const char* TlsCipherSuiteInfo::stdName |
RFC name of the cipher suite
| int32_t TlsCipherSuiteInfo::strengthBits |
Encryption algorithm strength