JsonWebKey class
- Available Extensions
- Annotations
-
- @serialize
- @immutable
Constructors
-
JsonWebKey({required KeyType keyType, PublicKeyUse? publicKeyUse, List<
KeyOperation> ? keyOperations, Algorithm? algorithm, String? keyId, String? x509Url, List<String> ? x509CertChain, String? x509Sha1Thumbprint, String? x509Sha256Thumbprint, EllipticCurve? ellipticCurve, BigInt? x, BigInt? y, BigInt? n, BigInt? e, List<int> ? k, BigInt? d, BigInt? p, BigInt? q, BigInt? dp, BigInt? dq, BigInt? qi, List<OtherPrime> ? otherPrimes}) -
JsonWebKey.fromJson(Map<
String, Object?> json) -
factory
Properties
- algorithm → Algorithm?
-
no setter
- d → BigInt?
-
final
- dp → BigInt?
-
final
- dq → BigInt?
-
final
- e → BigInt?
-
final
- ellipticCurve → EllipticCurve?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isPrivate ↔ bool
-
latefinal
-
k
→ List<
int> ? -
final
- keyId → String?
-
final
-
keyOperations
→ List<
KeyOperation> ? -
final
- keyType → KeyType
-
final
- n → BigInt?
-
final
-
otherPrimes
→ List<
OtherPrime> ? -
final
- p → BigInt?
-
final
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- publicKey → JsonWebKey
-
no setter
- publicKeyUse → PublicKeyUse?
-
final
- q → BigInt?
-
final
- qi → BigInt?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true
, the toString method will be overridden to output this instance's props.no setterinherited - x → BigInt?
-
final
-
x509CertChain
→ List<
String> ? -
final
- x509Sha1Thumbprint → String?
-
final
- x509Sha256Thumbprint → String?
-
final
- x509Url → String?
-
final
- y → BigInt?
-
final
Methods
-
assertValid(
) → void -
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