KeyInfo class

Detailed information about existing biometric keys.

Constructors

KeyInfo({bool? exists, bool? isValid, String? algorithm, int? keySize, bool? isHybridMode, String? publicKey, String? decryptingPublicKey, String? decryptingAlgorithm, int? decryptingKeySize, List<Uint8List>? attestationCertificateChain})

Properties

algorithm ↔ String?
The algorithm of the signing key (e.g., "RSA", "EC").
getter/setter pair
attestationCertificateChain ↔ List<Uint8List>?
Android DER-encoded X.509 key attestation certificate chain of the signing key, leaf first.
getter/setter pair
decryptingAlgorithm ↔ String?
Algorithm of the decryption key (hybrid mode only).
getter/setter pair
decryptingKeySize ↔ int?
Key size of the decryption key in bits (hybrid mode only).
getter/setter pair
decryptingPublicKey ↔ String?
Decryption key public key for hybrid mode.
getter/setter pair
exists ↔ bool?
Whether any biometric key exists on the device.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
isHybridMode ↔ bool?
Whether the key is in hybrid mode (separate signing and decryption keys).
getter/setter pair
isValid ↔ bool?
Whether the key is still valid (not invalidated by biometric changes). Only populated when checkValidity: true is passed.
getter/setter pair
keySize ↔ int?
The key size in bits (e.g., 2048 for RSA, 256 for EC).
getter/setter pair
publicKey ↔ String?
Signing key public key (formatted according to the requested format).
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

encode() → Object
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

decode(Object result) → KeyInfo