SealdAnonymousSdk class SealdAnonymousSdk
This is the main class for the Seald anonymous SDK. It represents an instance of the Seald anonymous SDK.
This must be instantiated from the root isolate, or you must pass the rootIsolateToken
argument.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
close(
) → void - Close the current SDK instance. After calling close, the instance cannot be used anymore.
-
createAnonymousEncryptionSession(
String encryptionToken, String getKeysToken, List< String> recipients, {List<SealdAnonymousTmrRecipient> ? tmrRecipients}) → SealdAnonymousEncryptionSession - Create an anonymous encryption session, and returns the associated SealdAnonymousEncryptionSession instance, with which you can then encrypt/decrypt multiple messages.
-
createAnonymousEncryptionSessionAsync(
String encryptionToken, String getKeysToken, List< String> recipients, {List<SealdAnonymousTmrRecipient> ? tmrRecipients}) → Future<SealdAnonymousEncryptionSession> - Create an anonymous encryption session, and returns the associated SealdAnonymousEncryptionSession instance, with which you can then encrypt/decrypt multiple messages.
-
deserializeAnonymousEncryptionSession(
String serializedSession) → SealdAnonymousEncryptionSession - Deserialize a serialized session. For advanced use.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited