Voice SDK v3.7.1 API Reference for Unity
Properties | List of all members
agora_gaming_rtc.EncryptionConfig Class Reference

Properties

ENCRYPTION_MODE  encryptionMode [get, set]
 
string  encryptionKey [get, set]
 
byte[]  encryptionKdfSalt [get, set]
 

Detailed Description

Configurations of built-in encryption schemas.

Property Documentation

◆ encryptionKdfSalt

byte [] agora_gaming_rtc.EncryptionConfig.encryptionKdfSalt
getset

The salt with the length of 32 bytes. Agora recommends using OpenSSL to generate the salt on your server.

Note
his parameter is only valid when you set the encryption mode as AES_128_GCM2 or AES_256_GCM2. In this case, ensure that this parameter is not 0.

◆ encryptionKey

string agora_gaming_rtc.EncryptionConfig.encryptionKey
getset

Encryption key in string type.

Note
If you do not set an encryption key or set it as NULL, you cannot use the built-in encryption, and the SDK returns ERR_INVALID_ARGUMENT (-2).

◆ encryptionMode

ENCRYPTION_MODE agora_gaming_rtc.EncryptionConfig.encryptionMode
getset

Encryption mode. The default encryption mode is AES_128_XTS. See ENCRYPTION_MODE.


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