mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 21:29:06 +00:00
LibWeb: Support RSASSA-PKCS1-v1_5
in WebCryptoAPI
This commit is contained in:
parent
e05ee9d297
commit
999f456ba4
Notes:
github-actions[bot]
2025-01-17 11:44:08 +00:00
Author: https://github.com/devgianlu
Commit: 999f456ba4
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3252
Reviewed-by: https://github.com/gmta ✅
9 changed files with 837 additions and 58 deletions
|
@ -1072,11 +1072,11 @@ SupportedAlgorithmsMap const& supported_algorithms()
|
|||
// https://w3c.github.io/webcrypto/#algorithm-conventions
|
||||
|
||||
// https://w3c.github.io/webcrypto/#rsassa-pkcs1-registration
|
||||
// FIXME: define_an_algorithm<RSAESPKCS1>("sign"_string, "RSAES-PKCS1-v1_5"_string);
|
||||
// FIXME: define_an_algorithm<RSAESPKCS1>("verify"_string, "RSAES-PKCS1-v1_5"_string);
|
||||
// FIXME: define_an_algorithm<RSAESPKCS1, RsaHashedKeyGenParams>("generateKey"_string, "RSASSA-PKCS1-v1_5"_string);
|
||||
// FIXME: define_an_algorithm<RSAESPKCS1, RsaHashedImportParams>("importKey"_string, "RSASSA-PKCS1-v1_5"_string);
|
||||
// FIXME: define_an_algorithm<RSAESPKCS1>("exportKey"_string, "RSASSA-PKCS1-v1_5"_string);
|
||||
define_an_algorithm<RSASSAPKCS1>("sign"_string, "RSASSA-PKCS1-v1_5"_string);
|
||||
define_an_algorithm<RSASSAPKCS1>("verify"_string, "RSASSA-PKCS1-v1_5"_string);
|
||||
define_an_algorithm<RSASSAPKCS1, RsaHashedKeyGenParams>("generateKey"_string, "RSASSA-PKCS1-v1_5"_string);
|
||||
define_an_algorithm<RSASSAPKCS1, RsaHashedImportParams>("importKey"_string, "RSASSA-PKCS1-v1_5"_string);
|
||||
define_an_algorithm<RSASSAPKCS1>("exportKey"_string, "RSASSA-PKCS1-v1_5"_string);
|
||||
|
||||
// https://w3c.github.io/webcrypto/#rsa-pss-registration
|
||||
define_an_algorithm<RSAPSS, RsaPssParams>("sign"_string, "RSA-PSS"_string);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue