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
-
- Object
- CoseSigner
- Ed25519Signer
Constructors
- Ed25519Signer.fromSeed(Uint8List seed)
-
The key derived from
seed(32 bytes).
Properties
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