mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 18:17:22 +02:00
Until we get a better performing RSA keygen algorithm, this test times out occasionally in CI with a 512-bit key.
16 lines
616 B
Plaintext
16 lines
616 B
Plaintext
generateKey with RSA-OAEP algorithm
|
|
publicKey: [object CryptoKey]
|
|
publicKey algorithm: {"name":"RSA-OAEP","modulusLength":256,"publicExponent":{"0":1,"1":0,"2":1},"hash":"SHA-256"}
|
|
publicKey type: public
|
|
publicKey extractable: true
|
|
publicKey usages: encrypt,wrapKey
|
|
privateKey: [object CryptoKey]
|
|
privateKey algorithm: {"name":"RSA-OAEP","modulusLength":256,"publicExponent":{"0":1,"1":0,"2":1},"hash":"SHA-256"}
|
|
privateKey type: private
|
|
privateKey extractable: true
|
|
privateKey usages: decrypt,unwrapKey
|
|
invalid usages throw
|
|
Error: [object DOMException]
|
|
no usages for private key throws
|
|
Error: [object DOMException]
|