1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 02:17:35 +00:00

LibWeb: Support SubtleCrypto.exportKey for RSA-OAEP in JsonWebKey format

This commit is contained in:
Andrew Kaster 2024-03-13 21:19:57 -06:00 committed by Andrew Kaster
parent 2599142214
commit 1521a60a67
13 changed files with 367 additions and 6 deletions

View file

@ -0,0 +1,13 @@
exportKey with RSA-OAEP algorithm
exportedPublicKey kwt: RSA
exportedPublicKey alg: RSA-OAEP-256
exportedPublicKey exponent: AQAB
exportedPublicKey key_ops: encrypt,wrapKey
exportedPublicKey ext: true
exportedPrivateKey kwt: RSA
exportedPrivateKey alg: RSA-OAEP-256
exportedPrivateKey exponent: AQAB
exportedPrivateKey key_ops: decrypt,unwrapKey
exportedPrivateKey ext: true
FIXME: exportedPublicKey2: 4649584d45
exportKey spki private key: InvalidAccessError Key is not public