Skip to content

Commit ad1a389

Browse files
docs: use canonical rfc links in impl_ffi.rsa_common.dart (#208)
* docs: use cannonical rfc links in impl_ffi.rsa_common.dart * Update lib/src/impl_ffi/impl_ffi.rsa_common.dart * Update lib/src/impl_ffi/impl_ffi.rsa_common.dart --------- Co-authored-by: HamdaanAliQuatil <96776914+HamdaanAliQuatil@users.noreply.github.com>
1 parent fea09ce commit ad1a389

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/src/impl_ffi/impl_ffi.rsa_common.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ _EvpPKey _importJwkRsaPrivateOrPublicKey(
115115
checkJwk(jwk.d != null, 'd');
116116
final d = readBN(jwk.d!, 'd');
117117
// If present properties p,q,dp,dq,qi enable optional optimizations, see:
118-
// https://tools.ietf.org/html/rfc7518#section-6.3.2
118+
// https://www.rfc-editor.org/rfc/rfc7518#section-6.3.2
119119
// However, these are required by Chromes Web Crypto implementation:
120120
// https://chromium.googlesource.com/chromium/src/+/43d62c50b705f88c67b14539e91fd8fd017f70c4/components/webcrypto/algorithms/rsa.cc#82
121121
// They are also required by Web Crypto implementation in Firefox:
@@ -202,7 +202,7 @@ Map<String, dynamic> _exportJwkRsaPrivateOrPublicKey(
202202
ssl.RSA_get0_key(rsa, ffi.nullptr, ffi.nullptr, d);
203203

204204
// p, q, dp, dq, qi is optional in:
205-
// // https://tools.ietf.org/html/rfc7518#section-6.3.2
205+
// // https://www.rfc-editor.org/rfc/rfc7518#section-6.3.2
206206
// but explicitly required when exporting in Web Crypto.
207207
final p = scope<ffi.Pointer<BIGNUM>>();
208208
final q = scope<ffi.Pointer<BIGNUM>>();

0 commit comments

Comments
 (0)