Methods
-
encryptData({required Uint8List data})
→ Future<EncryptedPacket>
-
-
getKeyIndex(String? participantIdentity)
→ Future<int>
-
Get the key index for the encryptors of the participant.
@param identity the identity of the participant,
if null, use local participant.
@return the key index and -1 if not found
-
handleEncryptedData({required Uint8List data, required Uint8List iv, required String participantIdentity, required int keyIndex})
→ Future<Uint8List?>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
ratchetKey({String? participantId, int? keyIndex})
→ Future<void>
-
-
setEnabled(bool enabled)
→ Future<void>
-
Enable/Disable frame crypto for the sender and receiver.
@param enabled true to enable, false to disable
if false, the frame cryptor will pass through frames and
without encryption/decryption
-
setKeyIndex(int keyIndex, {String? participantIdentity})
→ Future<void>
-
Sets the key index for the encryptors of the participant.
@param keyIndex the key index to set
@param participantIdentity the identity of the participant,
if null, use local participant.
-
setup(Room room)
→ Future<void>
-
-
toString()
→ String
-
A string representation of this object.
inherited