ICrypto class abstract

Implementers

Constructors

ICrypto()

Properties

core ICore
no setter
hashCode int
The hash code for this object.
no setterinherited
keychain IKeyChain
no setter
logger Logger
no setter
name String
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

decode({required String topic, required String encoded, CryptoDecodeOptions? opts}) Future
deleteKeyPair({required String publicKey}) Future<void>
deleteSymKey({required String topic}) Future<void>
encode({required String topic, required Object payload, CryptoEncodeOptions? opts}) Future<String>
generateKeyPair() Future<String>
generateSharedKey({required String selfPublicKey, required String peerPublicKey, String? overrideTopic}) Future<String>
getClientId() Future<String>
getPayloadType(String encoded) int
hasKeys(String tag) bool
init() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setSymKey({required 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