Ed25519Signer class final

Signs a COSE_Sign1 with the Ed25519 key of a 32-byte seed.

In memory only: never a device key. The seed is held in this process's memory, so use it for tests and service credentials. A key that must survive on a phone belongs in the platform keystore. The object keeps its copy (seed) for as long as it is reachable (Dart cannot wipe memory), so drop the signer once the ClientEnvelope is built; seed is public only because the backends, in other libraries, read it. A seed of the wrong length is CoseMisuse when the envelope is created.

Inheritance

Constructors

Ed25519Signer.fromSeed(Uint8List seed)
The key derived from seed (32 bytes).

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
seed → Uint8List
The seed (a copy).
final

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