SealdSsksPasswordPlugin class SealdSsksPasswordPlugin

SealdSsksPasswordPlugin represents the Seald SSKS Password plugin.

Implemented types

Constructors

SealdSsksPasswordPlugin({required String ssksURL, required String appId, int logLevel = 0, bool logNoColor = false, String instanceName = ""})
Initialize an instance of Seald SSKS Password plugin.

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

changeIdentityPassword(String userId, String currentPassword, String newPassword) String
Change the password use to encrypt the identity for the userId.
changeIdentityPasswordAsync(String userId, String currentPassword, String newPassword) Future<String>
Change the password use to encrypt the identity for the userId.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
retrieveIdentityFromPassword(String userId, String password) Uint8List
Retrieve the identity stored on the SSKS server for the given userId, and decrypt it with the given password.
retrieveIdentityFromPasswordAsync(String userId, String password) Future<Uint8List>
Retrieve the identity stored on the SSKS server for the given userId, and decrypt it with the given password.
retrieveIdentityFromRawKeys(String userId, String rawStorageKey, Uint8List rawEncryptionKey) Uint8List
Retrieve the identity stored on the SSKS server for the given userId, and decrypt it with the given raw keys.
retrieveIdentityFromRawKeysAsync(String userId, String rawStorageKey, Uint8List rawEncryptionKey) Future<Uint8List>
Retrieve the identity stored on the SSKS server for the given userId, and decrypt it with the given raw keys.
saveIdentityFromPassword(String userId, String password, Uint8List identity) String
Save the given identity for the given userId, encrypted with the given password.
saveIdentityFromPasswordAsync(String userId, String password, Uint8List identity) Future<String>
Save the given identity for the given userId, encrypted with the given password.
saveIdentityFromRawKeys(String userId, String rawStorageKey, Uint8List rawEncryptionKey, Uint8List identity) String
Save the given identity for the given userId, encrypted with the given raw keys.
saveIdentityFromRawKeysAsync(String userId, String rawStorageKey, Uint8List rawEncryptionKey, Uint8List identity) Future<String>
Save the given identity for the given userId, encrypted with the given raw keys.
toString() String
A string representation of this object.
inherited

Operators

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