Agora Server Gateway SDK C++ API Reference
Public Member Functions | Public Attributes | List of all members
agora::rtc::EncryptionConfig Struct Reference

#include <AgoraBase.h>

Public Member Functions

 EncryptionConfig ()
 

Public Attributes

ENCRYPTION_MODE encryptionMode
 
const char * encryptionKey
 
uint8_t encryptionKdfSalt [32]
 

Detailed Description

Configurations of the built-in encryption schemas.

Constructor & Destructor Documentation

◆ EncryptionConfig()

agora::rtc::EncryptionConfig::EncryptionConfig ( )
inline

Member Data Documentation

◆ encryptionKdfSalt

uint8_t agora::rtc::EncryptionConfig::encryptionKdfSalt[32]

◆ encryptionKey

const char* agora::rtc::EncryptionConfig::encryptionKey

The encryption key in the string format.

Note
If you do not set an encryption key or set it as NULL, you cannot use the built-in encryption.

◆ encryptionMode

ENCRYPTION_MODE agora::rtc::EncryptionConfig::encryptionMode

The encryption mode. The default encryption mode is AES_128_GCM2. See ENCRYPTION_MODE.


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