HardwareAttestation class final
What the platform produced to attest a hardware key, for a server to verify. Nothing here is stored in the keyring envelope.
Constructors
- HardwareAttestation({required AttestationKind kind, required String keyId, required Uint8List document, required Uint8List publicKey})
-
const
Properties
- document → Uint8List
-
App Attest: the attestation object (CBOR) over
SHA-256(challenge || Secure Enclave public key). Android: the key
attestation certificate chain as length-prefixed DER records.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- keyId → String
-
The attested key's identifier on the platform.
final
- kind → AttestationKind
-
Which scheme produced document.
final
- publicKey → Uint8List
-
The attested public key: X9.63 on Apple, X.509 DER on Android.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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.
inherited