AgoraEncryptionMode Constants Reference

Declared in AgoraEnumerates.h

AgoraEncryptionMode

Encryption mode

Definition

typedef NS_ENUM(NSInteger, AgoraEncryptionMode ) {
   AgoraEncryptionModeNone = 0,
   AgoraEncryptionModeAES128XTS = 1,
   AgoraEncryptionModeAES128ECB = 2,
   AgoraEncryptionModeAES256XTS = 3,
   AgoraEncryptionModeAES128GCM = 5,
   AgoraEncryptionModeAES256GCM = 6,
   AgoraEncryptionModeEnd,
};

Constants

AgoraEncryptionModeNone

0: This mode is deprecated.

Declared In AgoraEnumerates.h.

AgoraEncryptionModeAES128XTS

1: (Default) 128-bit AES encryption, XTS mode.

Declared In AgoraEnumerates.h.

AgoraEncryptionModeAES128ECB

2: 128-bit AES encryption, ECB mode.

Declared In AgoraEnumerates.h.

AgoraEncryptionModeAES256XTS

3: 256-bit AES encryption, XTS mode.

Declared In AgoraEnumerates.h.

AgoraEncryptionModeAES128GCM

5: 128-bit AES encryption, GCM mode.

Available in v3.3.1

Declared In AgoraEnumerates.h.

AgoraEncryptionModeAES256GCM

6: 256-bit AES encryption, GCM mode.

Available in v3.3.1

Declared In AgoraEnumerates.h.

AgoraEncryptionModeEnd

Enumerator boundary

Declared In AgoraEnumerates.h.

Declared In

AgoraEnumerates.h