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:
parent
2599142214
commit
1521a60a67
13 changed files with 367 additions and 6 deletions
13
Tests/LibWeb/Text/expected/Crypto/SubtleCrypto-exportKey.txt
Normal file
13
Tests/LibWeb/Text/expected/Crypto/SubtleCrypto-exportKey.txt
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue