From 3d19cd82e03f1a9876e7e7d69222af0d079d1dbe Mon Sep 17 00:00:00 2001 From: Jonas Finnemann Jensen Date: Mon, 25 Nov 2024 17:15:59 +0100 Subject: [PATCH] Annotate `JsonWebKey` as `final` --- lib/src/jsonwebkey.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/jsonwebkey.dart b/lib/src/jsonwebkey.dart index 5811a6b6..4d46fdd1 100644 --- a/lib/src/jsonwebkey.dart +++ b/lib/src/jsonwebkey.dart @@ -20,7 +20,7 @@ /// /// [1]: https://www.w3.org/TR/WebCryptoAPI/#JsonWebKey-dictionary /// [2]: https://www.iana.org/assignments/jose/jose.xhtml#web-key-parameters -class JsonWebKey { +final class JsonWebKey { String? kty; String? use; List? key_ops; @@ -217,7 +217,7 @@ class JsonWebKey { /// /// [1]: https://www.w3.org/TR/WebCryptoAPI/#JsonWebKey-dictionary /// [2]: https://tools.ietf.org/html/rfc7518#section-6.3.2.7 -class RsaOtherPrimesInfo { +final class RsaOtherPrimesInfo { String r; String d; String t;