MethodChannelAbrevvaCrypto class

An implementation of AbrevvaCryptoPlatform that uses method channels.

Inheritance

Properties

hashCode → int
The hash code for this object.
no setterinherited
methodChannel ← MethodChannel
no getter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

computeED25519PublicKey(String privateKey) → Future<ED25519PublicKeyResult>
override
computeSharedSecret(String privateKey, String peerPublicKey) → Future<StringResult>
override
decrypt(String key, String iv, String adata, String ct, int tagLength) → Future<DecryptResult>
override
decryptFile(String sharedSecret, String ctPath, String ptPath) → Future<bool>
override
decryptFileFromURL(String sharedSecret, String url, String ptPath) → Future<bool>
override
derive(String key, String salt, String info, int length) → Future<StringResult>
override
encrypt(String key, String iv, String adata, String pt, int tagLength) → Future<EncryptResult>
override
encryptFile(String sharedSecret, String ptPath, String ctPath) → Future<bool>
override
generateKeyPair() → Future<KeyPairResult>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
random(int numBytes) → Future<StringResult>
override
sign(String privateKey, String data) → Future<SignResult>
override
toString() → String
A string representation of this object.
inherited
verify(String publicKey, String data, String signature) → Future<void>
Ensures that the platform instance was constructed with a non-const token that matches the provided token and throws AssertionError if not.
override

Operators

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