mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-06 00:51:51 +00:00
LibWeb: Support RSA-PSS
in WebCryptoAPI
This commit is contained in:
parent
3eeb35e787
commit
e05ee9d297
Notes:
github-actions[bot]
2025-01-17 11:44:17 +00:00
Author: https://github.com/devgianlu
Commit: e05ee9d297
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3252
Reviewed-by: https://github.com/gmta ✅
10 changed files with 1417 additions and 57 deletions
|
@ -1079,11 +1079,11 @@ SupportedAlgorithmsMap const& supported_algorithms()
|
|||
// FIXME: define_an_algorithm<RSAESPKCS1>("exportKey"_string, "RSASSA-PKCS1-v1_5"_string);
|
||||
|
||||
// https://w3c.github.io/webcrypto/#rsa-pss-registration
|
||||
// FIXME: define_an_algorithm<RSAPSS>("sign"_string, "RSA-PSS"_string);
|
||||
// FIXME: define_an_algorithm<RSAPSS>("verify"_string, "RSA-PSS"_string);
|
||||
// FIXME: define_an_algorithm<RSAPSS, RsaHashedKeyGenParams>("generateKey"_string, "RSA-PSS"_string);
|
||||
// FIXME: define_an_algorithm<RSAPSS, RsaHashedImportParams>("importKey"_string, "RSA-PSS"_string);
|
||||
// FIXME: define_an_algorithm<RSAPSS>("exportKey"_string, "RSA-PSS"_string);
|
||||
define_an_algorithm<RSAPSS, RsaPssParams>("sign"_string, "RSA-PSS"_string);
|
||||
define_an_algorithm<RSAPSS, RsaPssParams>("verify"_string, "RSA-PSS"_string);
|
||||
define_an_algorithm<RSAPSS, RsaHashedKeyGenParams>("generateKey"_string, "RSA-PSS"_string);
|
||||
define_an_algorithm<RSAPSS, RsaHashedImportParams>("importKey"_string, "RSA-PSS"_string);
|
||||
define_an_algorithm<RSAPSS>("exportKey"_string, "RSA-PSS"_string);
|
||||
|
||||
// https://w3c.github.io/webcrypto/#rsa-oaep-registration
|
||||
define_an_algorithm<RSAOAEP, RsaOaepParams>("encrypt"_string, "RSA-OAEP"_string);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue