OLD | NEW |
| (Empty) |
1 Test unwrapping an HKDF key | |
2 | |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
4 | |
5 | |
6 PASS wrappingKey.algorithm.name is "AES-GCM" | |
7 PASS typeof wrappingKey.extractable is 'boolean' | |
8 PASS wrappingKey.extractable is false | |
9 PASS wrappingKey.usages.join(',') is "encrypt,unwrapKey" | |
10 PASS unwrappedHkdfKey.algorithm.name is "HKDF" | |
11 PASS typeof unwrappedHkdfKey.extractable is 'boolean' | |
12 PASS unwrappedHkdfKey.extractable is false | |
13 PASS unwrappedHkdfKey.usages.join(',') is "deriveBits" | |
14 | |
15 Unwrap an HKDF key using pkcs8 as the format. | |
16 error is: NotSupportedError: Unsupported import key format for algorithm | |
17 PASS successfullyParsed is true | |
18 | |
19 TEST COMPLETE | |
20 | |
OLD | NEW |