| Index: LayoutTests/crypto/rsa-oaep-wrap-unwrap-aes-expected.txt
|
| diff --git a/LayoutTests/crypto/rsa-oaep-wrap-unwrap-aes-expected.txt b/LayoutTests/crypto/rsa-oaep-wrap-unwrap-aes-expected.txt
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..69286def109b75daee50a150a3b44c27756e10bd
|
| --- /dev/null
|
| +++ b/LayoutTests/crypto/rsa-oaep-wrap-unwrap-aes-expected.txt
|
| @@ -0,0 +1,34 @@
|
| +Test wrapping and unwrapping AES keys with RSA-OAEP.
|
| +
|
| +On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
|
| +
|
| +
|
| +Importing RSA keys...
|
| +Importing an AES key...
|
| +Wrapping it...
|
| +PASS wrappedKey.toString() is '[object ArrayBuffer]'
|
| +Unwrapping it...
|
| +PASS unwrappedKey.toString() is '[object Key]'
|
| +PASS unwrappedKey.type is 'secret'
|
| +PASS unwrappedKey.extractable is true
|
| +PASS unwrappedKey.algorithm.name is 'AES-CBC'
|
| +PASS unwrappedKey.algorithm.length is 256
|
| +PASS unwrappedKey.usages is ['encrypt', 'decrypt']
|
| +Exporting it...
|
| +PASS bytesToHexString(unwrappedKeyData) is bytesToHexString(aesKeyData)
|
| +
|
| +Wrapping the same key as JWK...
|
| +PASS wrappedKey.toString() is '[object ArrayBuffer]'
|
| +Unwrapping it...
|
| +PASS unwrappedKey.toString() is '[object Key]'
|
| +PASS unwrappedKey.type is 'secret'
|
| +PASS unwrappedKey.extractable is true
|
| +PASS unwrappedKey.algorithm.name is 'AES-CBC'
|
| +PASS unwrappedKey.algorithm.length is 256
|
| +PASS unwrappedKey.usages is ['encrypt', 'decrypt']
|
| +Exporting it...
|
| +PASS bytesToHexString(unwrappedKeyData) is bytesToHexString(aesKeyData)
|
| +PASS successfullyParsed is true
|
| +
|
| +TEST COMPLETE
|
| +
|
|
|