DVDevClientSigner class
The key a dev server or a preview seals bundles with.
ES256 over P-256, the primitive VAPID and module signatures already use. A dev server generates a fresh one per run, so a pairing ends when the server does.
Constructors
- DVDevClientSigner.fromPrivateKey(Uint8List privateKey)
-
factory
- DVDevClientSigner.generate([Random? random])
-
factory
Properties
Methods
-
certificate(
{DateTime? now}) → DVDevClientCertificate - A self-signed TLS certificate for publicKey, which a dev server presents so a device can pin its connection to the key in its link.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
seal(
{required Map< String, Object?> bundle, String? channel, DVDevClientManifest? requires, int? sequence}) → String -
bundlesealed into an envelope. -
sign(
List< int> message) → Uint8List -
A raw
r||sES256 signature overmessage. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited