Agora RTC Objective-C API Reference
Refactor
|
Data Fields | |
ENCRYPTION_MODE | encryptionMode |
const char * | encryptionKey |
uint8_t | encryptionKdfSalt [32] |
Built-in encryption configurations.
|
inline |
ENCRYPTION_MODE encryptionMode |
The built-in encryption mode. See ENCRYPTION_MODE. Agora recommends using AES_128_GCM2
or AES_256_GCM2
encrypted mode. These two modes support the use of salt for higher security.
const char* encryptionKey |
Encryption key in string type with unlimited length. Agora recommends using a 32-byte key.
uint8_t encryptionKdfSalt[32] |
Salt, 32 bytes in length. Agora recommends that you use OpenSSL to generate salt on the server side.
AES_128_GCM2
or AES_256_GCM2
encrypted mode. In this case, ensure that this parameter is not 0.