Crypto class

Implemented types

Constructors

Crypto({required IReownCore core, required IGenericStore<String> keyChain, CryptoUtils? utils, RelayAuth? relayAuth})

Properties

core IReownCore
final
hashCode int
The hash code for this object.
no setterinherited
keyChain IGenericStore<String>
getter/setter pairoverride
name String
no setteroverride
relayAuth IRelayAuth
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
utils ICryptoUtils
getter/setter pair

Methods

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

Operators

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

Constants

clientSeed → const String
cryptoClientSeed → const String
cryptoContext → const String