LibWeb: Implement skeleton of ECDSA sign for SubtleCrypto

This commit is contained in:
stelar7 2024-03-27 01:34:04 +01:00 committed by Andrew Kaster
commit bc2a5e24bc
Notes: sideshowbarker 2024-07-17 01:06:10 +09:00
5 changed files with 113 additions and 0 deletions

View file

@ -576,6 +576,7 @@ SupportedAlgorithmsMap supported_algorithms()
define_an_algorithm<RSAOAEP, RsaOaepParams>("decrypt"_string, "RSA-OAEP"_string);
// https://w3c.github.io/webcrypto/#ecdsa
define_an_algorithm<ECDSA, EcdsaParams>("sign"_string, "ECDSA"_string);
define_an_algorithm<ECDSA, EcKeyGenParams>("generateKey"_string, "ECDSA"_string);
return internal_object;