SecureP256Channel class

An implementation of SecureP256Platform that uses method channels.

Inheritance

Constructors

SecureP256Channel()

Properties

hashCode int
The hash code for this object.
no setterinherited
methodChannel MethodChannel
The method channel used to interact with the native platform.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getPublicKey(String tag) Future<Uint8List>
override
getSharedSecret(String tag, Uint8List publicKey) Future<Uint8List>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sign(String tag, Uint8List payload) Future<Uint8List>
override
toString() String
A string representation of this object.
inherited
verify(Uint8List payload, Uint8List publicKey, Uint8List signature) Future<bool>
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