EncryptionConfig class Null safety

内置加密配置。

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

EncryptionConfig({EncryptionMode? encryptionMode, String? encryptionKey, List<int>? encryptionKdfSalt})
Constructs a EncryptionConfig

Properties

encryptionKdfSalt List<int>?
盐。Agora 推荐你在服务端使用 OpenSSL 生成盐。 [...]
@JsonKey(includeIfNull: false), read / write
encryptionKey String?
内置加密密钥,字符串类型。 [...]
@JsonKey(includeIfNull: false), read / write
encryptionMode EncryptionMode?
内置加密模式,默认为 AES128XTS 加密模式。详见 EncryptionMode
@JsonKey(includeIfNull: false), read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited