| Test wrapping and unwrapping an AES key with RSAES-PKCS1-v1_5. |
| On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
| PASS wrappedKey.toString() is '[object ArrayBuffer]' |
| PASS unwrappedKey.toString() is '[object CryptoKey]' |
| 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 ['decrypt', 'encrypt'] |
| PASS bytesToHexString(unwrappedKeyData) is bytesToHexString(aesKeyData) |
| Wrapping the same key as JWK... |
| PASS wrappedKey.toString() is '[object ArrayBuffer]' |
| PASS unwrappedKey.toString() is '[object CryptoKey]' |
| 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 ['decrypt', 'encrypt'] |
| PASS bytesToHexString(unwrappedKeyData) is bytesToHexString(aesKeyData) |
| PASS successfullyParsed is true |