DeviceKeyHostApi class

Hardware-bound signing keys (EC P-256, ECDSA with SHA-256). Errors use the codes UNSUPPORTED, KEY_MISSING and FAILED.

Constructors

DeviceKeyHostApi({BinaryMessenger? binaryMessenger, String messageChannelSuffix = ''})
Constructor for DeviceKeyHostApi. The binaryMessenger named argument is available for dependency injection. If it is left null, the default BinaryMessenger will be used which routes to the host platform.

Properties

hashCode → int
The hash code for this object.
no setterinherited
pigeonVar_binaryMessenger → BinaryMessenger?
final
pigeonVar_messageChannelSuffix → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

create(String alias, Uint8List? challenge, bool preferStrongBox) → Future<DeviceKeyInfoMsg>
delete(String alias) → Future<void>
exists(String alias) → Future<bool>
info(String alias) → Future<DeviceKeyInfoMsg?>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sign(String alias, Uint8List data) → Future<Uint8List>
DER-encoded ECDSA signature over data.
toString() → String
A string representation of this object.
inherited

Operators

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

Constants

pigeonChannelCodec → const MessageCodec<Object?>