BaseKeyProvider class

Implemented types

Constructors

BaseKeyProvider(KeyProvider _keyProvider, KeyProviderOptions options)

Properties

hashCode int
The hash code for this object.
read-onlyinherited
keyProvider KeyProvider
read-onlyoverride
options KeyProviderOptions
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
sharedKey Uint8List?
read-only

Methods

exportKey(String participantId, int? keyIndex) Future<Uint8List>
override
exportSharedKey({int? keyIndex}) Future<Uint8List>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
ratchetKey(String participantId, int? keyIndex) Future<Uint8List>
override
ratchetSharedKey({int? keyIndex}) Future<Uint8List>
override
setKey(String key, {String? participantId, int? keyIndex}) Future<void>
override
setSharedKey(String key, {int? keyIndex}) Future<void>
override
setSifTrailer(Uint8List trailer) Future<void>
override
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

create({bool sharedKey = true, String? ratchetSalt, String? uncryptedMagicBytes, int? ratchetWindowSize, int? failureTolerance}) Future<BaseKeyProvider>