| OLD | NEW |
| (Empty) |
| 1 Test unwrapping an RSA key with AES-CBC. | |
| 2 | |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
| 4 | |
| 5 | |
| 6 Importing an unwrapping key... | |
| 7 PASS unwrappingKey.algorithm.name is 'AES-CBC' | |
| 8 Unwrapping a key... | |
| 9 PASS unwrappedKey.toString() is '[object CryptoKey]' | |
| 10 PASS unwrappedKey.type is 'public' | |
| 11 PASS unwrappedKey.usages is ['verify'] | |
| 12 PASS unwrappedKey.algorithm.name is 'RSASSA-PKCS1-v1_5' | |
| 13 PASS unwrappedKey.algorithm.modulusLength is 2048 | |
| 14 PASS Base64URL.stringify(unwrappedKey.algorithm.publicExponent) is publicKeyJSON
.e | |
| 15 PASS unwrappedKey.algorithm.hash.name is 'SHA-256' | |
| 16 PASS unwrappedKey.extractable is false | |
| 17 PASS successfullyParsed is true | |
| 18 | |
| 19 TEST COMPLETE | |
| 20 | |
| OLD | NEW |