mirror of
https://github.com/servo/servo
synced 2026-05-12 18:06:32 +02:00
Implement "getPublicKey" operations of RSASSA-PKCS1-v1_5, RSA-PSS and RSA-OAEP. The steps are implemented at `rsa_common.rs` shared by the three RSA algorithms. To make the operations functioning, they are also registered at `GetPublicKeyAlgorithm`. Specification: https://wicg.github.io/webcrypto-modern-algos/#SubtleCrypto-method-getPublicKey Testing: Pass WPT tests that were expected to fail. Fixes: Part of #43072 Signed-off-by: Kingsley Yung <kingsley@kkoyung.dev>