JSONWebKey class

A JSON Web Key as defined by RFC 7517 JSON Web Key (JWK) Section 4 and RFC 7518 JSON Web Algorithms (JWA).

@author Daniel DeGroff

Annotations
  • @JsonSerializable()

Constructors

JSONWebKey({Algorithm alg, String crv, String d, String dp, String dq, String e, String kid, KeyType kty, String n, String p, String q, String qi, String use, String x, List<String> x5c, String x5t, String x5t_S256, String y})
JSONWebKey.fromJson(Map<String, dynamic> json)
factory

Properties

alg Algorithm
getter/setter pair
crv String
getter/setter pair
d String
getter/setter pair
dp String
getter/setter pair
dq String
getter/setter pair
e String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
kid String
getter/setter pair
kty KeyType
getter/setter pair
n String
getter/setter pair
p String
getter/setter pair
q String
getter/setter pair
qi String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
use String
getter/setter pair
x String
getter/setter pair
x5c List<String>
getter/setter pair
x5t String
getter/setter pair
x5t_S256 String
getter/setter pair
y String
getter/setter pair

Methods

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

Operators

operator ==(Object other) bool
The equality operator.
inherited
operator [](String index) → dynamic
operator []=(String index, dynamic value) → void