OLD | NEW |
1 Test storing a private RSA key in IndexedDB, and retrieving it. | 1 Test storing a private RSA key in IndexedDB, and retrieving it. |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 Put key into database successfully | 6 Put key into database successfully |
7 PASS retrievedKey.type is 'private' | 7 PASS retrievedKey.type is 'private' |
8 PASS retrievedKey.extractable is true | 8 PASS retrievedKey.extractable is true |
9 PASS retrievedKey.algorithm.name is 'RSASSA-PKCS1-v1_5' | 9 PASS retrievedKey.algorithm.name is 'RSASSA-PKCS1-v1_5' |
10 PASS retrievedKey.algorithm.modulusLength is 2048 | 10 PASS retrievedKey.algorithm.modulusLength is 2048 |
11 PASS bytesToHexString(retrievedKey.algorithm.publicExponent) is '010001' | 11 PASS bytesToHexString(retrievedKey.algorithm.publicExponent) is '010001' |
12 PASS retrievedKey.usages is ["sign"] | 12 PASS retrievedKey.usages is ["sign"] |
13 PASS successfullyParsed is true | 13 PASS successfullyParsed is true |
14 | 14 |
15 TEST COMPLETE | 15 TEST COMPLETE |
16 | 16 |
OLD | NEW |