ICrypto class abstract

Implementers

Constructors

ICrypto()

Properties

hashCode → int
The hash code for this object.
no setterinherited
keyChain ↔ IGenericStore<String>
getter/setter pair
name → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

decode(String topic, String encoded, {DecodeOptions? options}) → Future<String?>
deleteKeyPair(String publicKey) → Future<void>
deleteSymKey(String topic) → Future<void>
encode(String topic, Map<String, dynamic> payload, {EncodeOptions? options}) → Future<String?>
generateKeyPair() → Future<String>
generateSharedKey(String selfPublicKey, String peerPublicKey, {String? overrideTopic}) → Future<String>
getClientId() → Future<String>
getPayloadSenderPublicKey(String encoded) → String?
getPayloadType(String encoded) → int
getUtils() → ICryptoUtils
hasKeys(String tag) → bool
init() → Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setSymKey(String symKey, {String? overrideTopic}) → Future<String>
signJWT(String aud) → Future<String>
toString() → String
A string representation of this object.
inherited

Operators

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