Jwk class final

RFC 7517 JSON Web Key; additional members (alg, use, …) pass through verbatim.

Constructors

Jwk({required String kty, String? crv, String? x, String? kid, Map<String, Object?> additional = const {}})
const
Jwk.fromJson(Map<String, Object?> json)
factory

Properties

additional → Map<String, Object?>
Wire members beyond the declared properties, passed through verbatim.
final
crv → String?
Curve name, e.g. Ed25519.
final
hashCode → int
The hash code for this object.
no setterinherited
kid → String?
Key ID matched against the JWT header.
final
kty → String
Key type, e.g. OKP.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
x → String?
Base64url public key material.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
toString() → String
A string representation of this object.
inherited

Operators

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