mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
LibWeb: Implement generateKey for ECDSA
This commit is contained in:
parent
cfae6523be
commit
41449814db
Notes:
sideshowbarker
2024-07-17 07:06:47 +09:00
Author: https://github.com/stelar7
Commit: 41449814db
Pull-request: https://github.com/SerenityOS/serenity/pull/23737
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/trflynn89
5 changed files with 201 additions and 0 deletions
|
@ -575,6 +575,9 @@ SupportedAlgorithmsMap supported_algorithms()
|
|||
define_an_algorithm<RSAOAEP, RsaOaepParams>("encrypt"_string, "RSA-OAEP"_string);
|
||||
define_an_algorithm<RSAOAEP, RsaOaepParams>("decrypt"_string, "RSA-OAEP"_string);
|
||||
|
||||
// https://w3c.github.io/webcrypto/#ecdsa
|
||||
define_an_algorithm<ECDSA, EcKeyGenParams>("generateKey"_string, "ECDSA"_string);
|
||||
|
||||
return internal_object;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue