Index: LayoutTests/crypto/clone-aesKey-expected.txt |
diff --git a/LayoutTests/crypto/clone-aesKey-expected.txt b/LayoutTests/crypto/clone-aesKey-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1d184a7efa171f6849af4cec737d720273fdb50a |
--- /dev/null |
+++ b/LayoutTests/crypto/clone-aesKey-expected.txt |
@@ -0,0 +1,561 @@ |
+Tests structured cloning of AES keys |
+ |
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
+ |
+ |
+PASS importedKey.type is "secret" |
+PASS importedKey.extractable is true |
+PASS importedKey.algorithm.name is "AES-CBC" |
+PASS importedKey.algorithm.length is 128 |
+PASS importedKey.usages.join(',') is "" |
+Serialized key bytes: ff043f004b010110011030112233445566778899aabbccddeeff |
+PASS clonedKey.type is "secret" |
+PASS clonedKey.extractable is true |
+PASS clonedKey.algorithm.name is "AES-CBC" |
+PASS clonedKey.algorithm.length is 128 |
+PASS clonedKey.usages.join(',') is "" |
+PASS importedKey.type is "secret" |
+PASS importedKey.extractable is true |
+PASS importedKey.algorithm.name is "AES-CBC" |
+PASS importedKey.algorithm.length is 192 |
+PASS importedKey.usages.join(',') is "" |
+Serialized key bytes: ff043f004b0101180118800102030405060708090a0b0c0d0e0f1011121314151617 |
+PASS clonedKey.type is "secret" |
+PASS clonedKey.extractable is true |
+PASS clonedKey.algorithm.name is "AES-CBC" |
+PASS clonedKey.algorithm.length is 192 |
+PASS clonedKey.usages.join(',') is "" |
+PASS importedKey.type is "secret" |
+PASS importedKey.extractable is true |
+PASS importedKey.algorithm.name is "AES-CBC" |
+PASS importedKey.algorithm.length is 256 |
+PASS importedKey.usages.join(',') is "" |
+Serialized key bytes: ff043f004b010120012000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f |
+PASS clonedKey.type is "secret" |
+PASS clonedKey.extractable is true |
+PASS clonedKey.algorithm.name is "AES-CBC" |
+PASS clonedKey.algorithm.length is 256 |
+PASS clonedKey.usages.join(',') is "" |
+PASS importedKey.type is "secret" |
+PASS importedKey.extractable is true |
+PASS importedKey.algorithm.name is "AES-CBC" |
+PASS importedKey.algorithm.length is 128 |
+PASS importedKey.usages.join(',') is "encrypt" |
+Serialized key bytes: ff043f004b010110031030112233445566778899aabbccddeeff |
+PASS clonedKey.type is "secret" |
+PASS clonedKey.extractable is true |
+PASS clonedKey.algorithm.name is "AES-CBC" |
+PASS clonedKey.algorithm.length is 128 |
+PASS clonedKey.usages.join(',') is "encrypt" |
+PASS importedKey.type is "secret" |
+PASS importedKey.extractable is true |
+PASS importedKey.algorithm.name is "AES-CBC" |
+PASS importedKey.algorithm.length is 192 |
+PASS importedKey.usages.join(',') is "encrypt" |
+Serialized key bytes: ff043f004b0101180318800102030405060708090a0b0c0d0e0f1011121314151617 |
+PASS clonedKey.type is "secret" |
+PASS clonedKey.extractable is true |
+PASS clonedKey.algorithm.name is "AES-CBC" |
+PASS clonedKey.algorithm.length is 192 |
+PASS clonedKey.usages.join(',') is "encrypt" |
+PASS importedKey.type is "secret" |
+PASS importedKey.extractable is true |
+PASS importedKey.algorithm.name is "AES-CBC" |
+PASS importedKey.algorithm.length is 256 |
+PASS importedKey.usages.join(',') is "encrypt" |
+Serialized key bytes: ff043f004b010120032000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f |
+PASS clonedKey.type is "secret" |
+PASS clonedKey.extractable is true |
+PASS clonedKey.algorithm.name is "AES-CBC" |
+PASS clonedKey.algorithm.length is 256 |
+PASS clonedKey.usages.join(',') is "encrypt" |
+PASS importedKey.type is "secret" |
+PASS importedKey.extractable is true |
+PASS importedKey.algorithm.name is "AES-CBC" |
+PASS importedKey.algorithm.length is 128 |
+PASS importedKey.usages.join(',') is "decrypt,wrapKey" |
+Serialized key bytes: ff043f004b010110451030112233445566778899aabbccddeeff |
+PASS clonedKey.type is "secret" |
+PASS clonedKey.extractable is true |
+PASS clonedKey.algorithm.name is "AES-CBC" |
+PASS clonedKey.algorithm.length is 128 |
+PASS clonedKey.usages.join(',') is "decrypt,wrapKey" |
+PASS importedKey.type is "secret" |
+PASS importedKey.extractable is true |
+PASS importedKey.algorithm.name is "AES-CBC" |
+PASS importedKey.algorithm.length is 192 |
+PASS importedKey.usages.join(',') is "decrypt,wrapKey" |
+Serialized key bytes: ff043f004b0101184518800102030405060708090a0b0c0d0e0f1011121314151617 |
+PASS clonedKey.type is "secret" |
+PASS clonedKey.extractable is true |
+PASS clonedKey.algorithm.name is "AES-CBC" |
+PASS clonedKey.algorithm.length is 192 |
+PASS clonedKey.usages.join(',') is "decrypt,wrapKey" |
+PASS importedKey.type is "secret" |
+PASS importedKey.extractable is true |
+PASS importedKey.algorithm.name is "AES-CBC" |
+PASS importedKey.algorithm.length is 256 |
+PASS importedKey.usages.join(',') is "decrypt,wrapKey" |
+Serialized key bytes: ff043f004b010120452000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f |
+PASS clonedKey.type is "secret" |
+PASS clonedKey.extractable is true |
+PASS clonedKey.algorithm.name is "AES-CBC" |
+PASS clonedKey.algorithm.length is 256 |
+PASS clonedKey.usages.join(',') is "decrypt,wrapKey" |
+PASS importedKey.type is "secret" |
+PASS importedKey.extractable is true |
+PASS importedKey.algorithm.name is "AES-CBC" |
+PASS importedKey.algorithm.length is 128 |
+PASS importedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey" |
+Serialized key bytes: ff043f004b010110c3011030112233445566778899aabbccddeeff00 |
+PASS clonedKey.type is "secret" |
+PASS clonedKey.extractable is true |
+PASS clonedKey.algorithm.name is "AES-CBC" |
+PASS clonedKey.algorithm.length is 128 |
+PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey" |
+PASS importedKey.type is "secret" |
+PASS importedKey.extractable is true |
+PASS importedKey.algorithm.name is "AES-CBC" |
+PASS importedKey.algorithm.length is 192 |
+PASS importedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey" |
+Serialized key bytes: ff043f004b010118c30118800102030405060708090a0b0c0d0e0f101112131415161700 |
+PASS clonedKey.type is "secret" |
+PASS clonedKey.extractable is true |
+PASS clonedKey.algorithm.name is "AES-CBC" |
+PASS clonedKey.algorithm.length is 192 |
+PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey" |
+PASS importedKey.type is "secret" |
+PASS importedKey.extractable is true |
+PASS importedKey.algorithm.name is "AES-CBC" |
+PASS importedKey.algorithm.length is 256 |
+PASS importedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey" |
+Serialized key bytes: ff043f004b010120c3012000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f00 |
+PASS clonedKey.type is "secret" |
+PASS clonedKey.extractable is true |
+PASS clonedKey.algorithm.name is "AES-CBC" |
+PASS clonedKey.algorithm.length is 256 |
+PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey" |
+PASS importedKey.type is "secret" |
+PASS importedKey.extractable is false |
+PASS importedKey.algorithm.name is "AES-CBC" |
+PASS importedKey.algorithm.length is 128 |
+PASS importedKey.usages.join(',') is "" |
+Serialized key bytes: ff043f004b010110001030112233445566778899aabbccddeeff |
+PASS clonedKey.type is "secret" |
+PASS clonedKey.extractable is false |
+PASS clonedKey.algorithm.name is "AES-CBC" |
+PASS clonedKey.algorithm.length is 128 |
+PASS clonedKey.usages.join(',') is "" |
+PASS importedKey.type is "secret" |
+PASS importedKey.extractable is false |
+PASS importedKey.algorithm.name is "AES-CBC" |
+PASS importedKey.algorithm.length is 192 |
+PASS importedKey.usages.join(',') is "" |
+Serialized key bytes: ff043f004b0101180018800102030405060708090a0b0c0d0e0f1011121314151617 |
+PASS clonedKey.type is "secret" |
+PASS clonedKey.extractable is false |
+PASS clonedKey.algorithm.name is "AES-CBC" |
+PASS clonedKey.algorithm.length is 192 |
+PASS clonedKey.usages.join(',') is "" |
+PASS importedKey.type is "secret" |
+PASS importedKey.extractable is false |
+PASS importedKey.algorithm.name is "AES-CBC" |
+PASS importedKey.algorithm.length is 256 |
+PASS importedKey.usages.join(',') is "" |
+Serialized key bytes: ff043f004b010120002000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f |
+PASS clonedKey.type is "secret" |
+PASS clonedKey.extractable is false |
+PASS clonedKey.algorithm.name is "AES-CBC" |
+PASS clonedKey.algorithm.length is 256 |
+PASS clonedKey.usages.join(',') is "" |
+PASS importedKey.type is "secret" |
+PASS importedKey.extractable is false |
+PASS importedKey.algorithm.name is "AES-CBC" |
+PASS importedKey.algorithm.length is 128 |
+PASS importedKey.usages.join(',') is "encrypt" |
+Serialized key bytes: ff043f004b010110021030112233445566778899aabbccddeeff |
+PASS clonedKey.type is "secret" |
+PASS clonedKey.extractable is false |
+PASS clonedKey.algorithm.name is "AES-CBC" |
+PASS clonedKey.algorithm.length is 128 |
+PASS clonedKey.usages.join(',') is "encrypt" |
+PASS importedKey.type is "secret" |
+PASS importedKey.extractable is false |
+PASS importedKey.algorithm.name is "AES-CBC" |
+PASS importedKey.algorithm.length is 192 |
+PASS importedKey.usages.join(',') is "encrypt" |
+Serialized key bytes: ff043f004b0101180218800102030405060708090a0b0c0d0e0f1011121314151617 |
+PASS clonedKey.type is "secret" |
+PASS clonedKey.extractable is false |
+PASS clonedKey.algorithm.name is "AES-CBC" |
+PASS clonedKey.algorithm.length is 192 |
+PASS clonedKey.usages.join(',') is "encrypt" |
+PASS importedKey.type is "secret" |
+PASS importedKey.extractable is false |
+PASS importedKey.algorithm.name is "AES-CBC" |
+PASS importedKey.algorithm.length is 256 |
+PASS importedKey.usages.join(',') is "encrypt" |
+Serialized key bytes: ff043f004b010120022000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f |
+PASS clonedKey.type is "secret" |
+PASS clonedKey.extractable is false |
+PASS clonedKey.algorithm.name is "AES-CBC" |
+PASS clonedKey.algorithm.length is 256 |
+PASS clonedKey.usages.join(',') is "encrypt" |
+PASS importedKey.type is "secret" |
+PASS importedKey.extractable is false |
+PASS importedKey.algorithm.name is "AES-CBC" |
+PASS importedKey.algorithm.length is 128 |
+PASS importedKey.usages.join(',') is "decrypt,wrapKey" |
+Serialized key bytes: ff043f004b010110441030112233445566778899aabbccddeeff |
+PASS clonedKey.type is "secret" |
+PASS clonedKey.extractable is false |
+PASS clonedKey.algorithm.name is "AES-CBC" |
+PASS clonedKey.algorithm.length is 128 |
+PASS clonedKey.usages.join(',') is "decrypt,wrapKey" |
+PASS importedKey.type is "secret" |
+PASS importedKey.extractable is false |
+PASS importedKey.algorithm.name is "AES-CBC" |
+PASS importedKey.algorithm.length is 192 |
+PASS importedKey.usages.join(',') is "decrypt,wrapKey" |
+Serialized key bytes: ff043f004b0101184418800102030405060708090a0b0c0d0e0f1011121314151617 |
+PASS clonedKey.type is "secret" |
+PASS clonedKey.extractable is false |
+PASS clonedKey.algorithm.name is "AES-CBC" |
+PASS clonedKey.algorithm.length is 192 |
+PASS clonedKey.usages.join(',') is "decrypt,wrapKey" |
+PASS importedKey.type is "secret" |
+PASS importedKey.extractable is false |
+PASS importedKey.algorithm.name is "AES-CBC" |
+PASS importedKey.algorithm.length is 256 |
+PASS importedKey.usages.join(',') is "decrypt,wrapKey" |
+Serialized key bytes: ff043f004b010120442000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f |
+PASS clonedKey.type is "secret" |
+PASS clonedKey.extractable is false |
+PASS clonedKey.algorithm.name is "AES-CBC" |
+PASS clonedKey.algorithm.length is 256 |
+PASS clonedKey.usages.join(',') is "decrypt,wrapKey" |
+PASS importedKey.type is "secret" |
+PASS importedKey.extractable is false |
+PASS importedKey.algorithm.name is "AES-CBC" |
+PASS importedKey.algorithm.length is 128 |
+PASS importedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey" |
+Serialized key bytes: ff043f004b010110c2011030112233445566778899aabbccddeeff00 |
+PASS clonedKey.type is "secret" |
+PASS clonedKey.extractable is false |
+PASS clonedKey.algorithm.name is "AES-CBC" |
+PASS clonedKey.algorithm.length is 128 |
+PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey" |
+PASS importedKey.type is "secret" |
+PASS importedKey.extractable is false |
+PASS importedKey.algorithm.name is "AES-CBC" |
+PASS importedKey.algorithm.length is 192 |
+PASS importedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey" |
+Serialized key bytes: ff043f004b010118c20118800102030405060708090a0b0c0d0e0f101112131415161700 |
+PASS clonedKey.type is "secret" |
+PASS clonedKey.extractable is false |
+PASS clonedKey.algorithm.name is "AES-CBC" |
+PASS clonedKey.algorithm.length is 192 |
+PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey" |
+PASS importedKey.type is "secret" |
+PASS importedKey.extractable is false |
+PASS importedKey.algorithm.name is "AES-CBC" |
+PASS importedKey.algorithm.length is 256 |
+PASS importedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey" |
+Serialized key bytes: ff043f004b010120c2012000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f00 |
+PASS clonedKey.type is "secret" |
+PASS clonedKey.extractable is false |
+PASS clonedKey.algorithm.name is "AES-CBC" |
+PASS clonedKey.algorithm.length is 256 |
+PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey" |
+PASS importedKey.type is "secret" |
+PASS importedKey.extractable is true |
+PASS importedKey.algorithm.name is "AES-GCM" |
+PASS importedKey.algorithm.length is 128 |
+PASS importedKey.usages.join(',') is "" |
+Serialized key bytes: ff043f004b010a10011030112233445566778899aabbccddeeff |
+PASS clonedKey.type is "secret" |
+PASS clonedKey.extractable is true |
+PASS clonedKey.algorithm.name is "AES-GCM" |
+PASS clonedKey.algorithm.length is 128 |
+PASS clonedKey.usages.join(',') is "" |
+PASS importedKey.type is "secret" |
+PASS importedKey.extractable is true |
+PASS importedKey.algorithm.name is "AES-GCM" |
+PASS importedKey.algorithm.length is 192 |
+PASS importedKey.usages.join(',') is "" |
+Serialized key bytes: ff043f004b010a180118800102030405060708090a0b0c0d0e0f1011121314151617 |
+PASS clonedKey.type is "secret" |
+PASS clonedKey.extractable is true |
+PASS clonedKey.algorithm.name is "AES-GCM" |
+PASS clonedKey.algorithm.length is 192 |
+PASS clonedKey.usages.join(',') is "" |
+PASS importedKey.type is "secret" |
+PASS importedKey.extractable is true |
+PASS importedKey.algorithm.name is "AES-GCM" |
+PASS importedKey.algorithm.length is 256 |
+PASS importedKey.usages.join(',') is "" |
+Serialized key bytes: ff043f004b010a20012000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f |
+PASS clonedKey.type is "secret" |
+PASS clonedKey.extractable is true |
+PASS clonedKey.algorithm.name is "AES-GCM" |
+PASS clonedKey.algorithm.length is 256 |
+PASS clonedKey.usages.join(',') is "" |
+PASS importedKey.type is "secret" |
+PASS importedKey.extractable is true |
+PASS importedKey.algorithm.name is "AES-GCM" |
+PASS importedKey.algorithm.length is 128 |
+PASS importedKey.usages.join(',') is "encrypt" |
+Serialized key bytes: ff043f004b010a10031030112233445566778899aabbccddeeff |
+PASS clonedKey.type is "secret" |
+PASS clonedKey.extractable is true |
+PASS clonedKey.algorithm.name is "AES-GCM" |
+PASS clonedKey.algorithm.length is 128 |
+PASS clonedKey.usages.join(',') is "encrypt" |
+PASS importedKey.type is "secret" |
+PASS importedKey.extractable is true |
+PASS importedKey.algorithm.name is "AES-GCM" |
+PASS importedKey.algorithm.length is 192 |
+PASS importedKey.usages.join(',') is "encrypt" |
+Serialized key bytes: ff043f004b010a180318800102030405060708090a0b0c0d0e0f1011121314151617 |
+PASS clonedKey.type is "secret" |
+PASS clonedKey.extractable is true |
+PASS clonedKey.algorithm.name is "AES-GCM" |
+PASS clonedKey.algorithm.length is 192 |
+PASS clonedKey.usages.join(',') is "encrypt" |
+PASS importedKey.type is "secret" |
+PASS importedKey.extractable is true |
+PASS importedKey.algorithm.name is "AES-GCM" |
+PASS importedKey.algorithm.length is 256 |
+PASS importedKey.usages.join(',') is "encrypt" |
+Serialized key bytes: ff043f004b010a20032000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f |
+PASS clonedKey.type is "secret" |
+PASS clonedKey.extractable is true |
+PASS clonedKey.algorithm.name is "AES-GCM" |
+PASS clonedKey.algorithm.length is 256 |
+PASS clonedKey.usages.join(',') is "encrypt" |
+PASS importedKey.type is "secret" |
+PASS importedKey.extractable is true |
+PASS importedKey.algorithm.name is "AES-GCM" |
+PASS importedKey.algorithm.length is 128 |
+PASS importedKey.usages.join(',') is "decrypt,wrapKey" |
+Serialized key bytes: ff043f004b010a10451030112233445566778899aabbccddeeff |
+PASS clonedKey.type is "secret" |
+PASS clonedKey.extractable is true |
+PASS clonedKey.algorithm.name is "AES-GCM" |
+PASS clonedKey.algorithm.length is 128 |
+PASS clonedKey.usages.join(',') is "decrypt,wrapKey" |
+PASS importedKey.type is "secret" |
+PASS importedKey.extractable is true |
+PASS importedKey.algorithm.name is "AES-GCM" |
+PASS importedKey.algorithm.length is 192 |
+PASS importedKey.usages.join(',') is "decrypt,wrapKey" |
+Serialized key bytes: ff043f004b010a184518800102030405060708090a0b0c0d0e0f1011121314151617 |
+PASS clonedKey.type is "secret" |
+PASS clonedKey.extractable is true |
+PASS clonedKey.algorithm.name is "AES-GCM" |
+PASS clonedKey.algorithm.length is 192 |
+PASS clonedKey.usages.join(',') is "decrypt,wrapKey" |
+PASS importedKey.type is "secret" |
+PASS importedKey.extractable is true |
+PASS importedKey.algorithm.name is "AES-GCM" |
+PASS importedKey.algorithm.length is 256 |
+PASS importedKey.usages.join(',') is "decrypt,wrapKey" |
+Serialized key bytes: ff043f004b010a20452000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f |
+PASS clonedKey.type is "secret" |
+PASS clonedKey.extractable is true |
+PASS clonedKey.algorithm.name is "AES-GCM" |
+PASS clonedKey.algorithm.length is 256 |
+PASS clonedKey.usages.join(',') is "decrypt,wrapKey" |
+PASS importedKey.type is "secret" |
+PASS importedKey.extractable is true |
+PASS importedKey.algorithm.name is "AES-GCM" |
+PASS importedKey.algorithm.length is 128 |
+PASS importedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey" |
+Serialized key bytes: ff043f004b010a10c3011030112233445566778899aabbccddeeff00 |
+PASS clonedKey.type is "secret" |
+PASS clonedKey.extractable is true |
+PASS clonedKey.algorithm.name is "AES-GCM" |
+PASS clonedKey.algorithm.length is 128 |
+PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey" |
+PASS importedKey.type is "secret" |
+PASS importedKey.extractable is true |
+PASS importedKey.algorithm.name is "AES-GCM" |
+PASS importedKey.algorithm.length is 192 |
+PASS importedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey" |
+Serialized key bytes: ff043f004b010a18c30118800102030405060708090a0b0c0d0e0f101112131415161700 |
+PASS clonedKey.type is "secret" |
+PASS clonedKey.extractable is true |
+PASS clonedKey.algorithm.name is "AES-GCM" |
+PASS clonedKey.algorithm.length is 192 |
+PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey" |
+PASS importedKey.type is "secret" |
+PASS importedKey.extractable is true |
+PASS importedKey.algorithm.name is "AES-GCM" |
+PASS importedKey.algorithm.length is 256 |
+PASS importedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey" |
+Serialized key bytes: ff043f004b010a20c3012000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f00 |
+PASS clonedKey.type is "secret" |
+PASS clonedKey.extractable is true |
+PASS clonedKey.algorithm.name is "AES-GCM" |
+PASS clonedKey.algorithm.length is 256 |
+PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey" |
+PASS importedKey.type is "secret" |
+PASS importedKey.extractable is false |
+PASS importedKey.algorithm.name is "AES-GCM" |
+PASS importedKey.algorithm.length is 128 |
+PASS importedKey.usages.join(',') is "" |
+Serialized key bytes: ff043f004b010a10001030112233445566778899aabbccddeeff |
+PASS clonedKey.type is "secret" |
+PASS clonedKey.extractable is false |
+PASS clonedKey.algorithm.name is "AES-GCM" |
+PASS clonedKey.algorithm.length is 128 |
+PASS clonedKey.usages.join(',') is "" |
+PASS importedKey.type is "secret" |
+PASS importedKey.extractable is false |
+PASS importedKey.algorithm.name is "AES-GCM" |
+PASS importedKey.algorithm.length is 192 |
+PASS importedKey.usages.join(',') is "" |
+Serialized key bytes: ff043f004b010a180018800102030405060708090a0b0c0d0e0f1011121314151617 |
+PASS clonedKey.type is "secret" |
+PASS clonedKey.extractable is false |
+PASS clonedKey.algorithm.name is "AES-GCM" |
+PASS clonedKey.algorithm.length is 192 |
+PASS clonedKey.usages.join(',') is "" |
+PASS importedKey.type is "secret" |
+PASS importedKey.extractable is false |
+PASS importedKey.algorithm.name is "AES-GCM" |
+PASS importedKey.algorithm.length is 256 |
+PASS importedKey.usages.join(',') is "" |
+Serialized key bytes: ff043f004b010a20002000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f |
+PASS clonedKey.type is "secret" |
+PASS clonedKey.extractable is false |
+PASS clonedKey.algorithm.name is "AES-GCM" |
+PASS clonedKey.algorithm.length is 256 |
+PASS clonedKey.usages.join(',') is "" |
+PASS importedKey.type is "secret" |
+PASS importedKey.extractable is false |
+PASS importedKey.algorithm.name is "AES-GCM" |
+PASS importedKey.algorithm.length is 128 |
+PASS importedKey.usages.join(',') is "encrypt" |
+Serialized key bytes: ff043f004b010a10021030112233445566778899aabbccddeeff |
+PASS clonedKey.type is "secret" |
+PASS clonedKey.extractable is false |
+PASS clonedKey.algorithm.name is "AES-GCM" |
+PASS clonedKey.algorithm.length is 128 |
+PASS clonedKey.usages.join(',') is "encrypt" |
+PASS importedKey.type is "secret" |
+PASS importedKey.extractable is false |
+PASS importedKey.algorithm.name is "AES-GCM" |
+PASS importedKey.algorithm.length is 192 |
+PASS importedKey.usages.join(',') is "encrypt" |
+Serialized key bytes: ff043f004b010a180218800102030405060708090a0b0c0d0e0f1011121314151617 |
+PASS clonedKey.type is "secret" |
+PASS clonedKey.extractable is false |
+PASS clonedKey.algorithm.name is "AES-GCM" |
+PASS clonedKey.algorithm.length is 192 |
+PASS clonedKey.usages.join(',') is "encrypt" |
+PASS importedKey.type is "secret" |
+PASS importedKey.extractable is false |
+PASS importedKey.algorithm.name is "AES-GCM" |
+PASS importedKey.algorithm.length is 256 |
+PASS importedKey.usages.join(',') is "encrypt" |
+Serialized key bytes: ff043f004b010a20022000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f |
+PASS clonedKey.type is "secret" |
+PASS clonedKey.extractable is false |
+PASS clonedKey.algorithm.name is "AES-GCM" |
+PASS clonedKey.algorithm.length is 256 |
+PASS clonedKey.usages.join(',') is "encrypt" |
+PASS importedKey.type is "secret" |
+PASS importedKey.extractable is false |
+PASS importedKey.algorithm.name is "AES-GCM" |
+PASS importedKey.algorithm.length is 128 |
+PASS importedKey.usages.join(',') is "decrypt,wrapKey" |
+Serialized key bytes: ff043f004b010a10441030112233445566778899aabbccddeeff |
+PASS clonedKey.type is "secret" |
+PASS clonedKey.extractable is false |
+PASS clonedKey.algorithm.name is "AES-GCM" |
+PASS clonedKey.algorithm.length is 128 |
+PASS clonedKey.usages.join(',') is "decrypt,wrapKey" |
+PASS importedKey.type is "secret" |
+PASS importedKey.extractable is false |
+PASS importedKey.algorithm.name is "AES-GCM" |
+PASS importedKey.algorithm.length is 192 |
+PASS importedKey.usages.join(',') is "decrypt,wrapKey" |
+Serialized key bytes: ff043f004b010a184418800102030405060708090a0b0c0d0e0f1011121314151617 |
+PASS clonedKey.type is "secret" |
+PASS clonedKey.extractable is false |
+PASS clonedKey.algorithm.name is "AES-GCM" |
+PASS clonedKey.algorithm.length is 192 |
+PASS clonedKey.usages.join(',') is "decrypt,wrapKey" |
+PASS importedKey.type is "secret" |
+PASS importedKey.extractable is false |
+PASS importedKey.algorithm.name is "AES-GCM" |
+PASS importedKey.algorithm.length is 256 |
+PASS importedKey.usages.join(',') is "decrypt,wrapKey" |
+Serialized key bytes: ff043f004b010a20442000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f |
+PASS clonedKey.type is "secret" |
+PASS clonedKey.extractable is false |
+PASS clonedKey.algorithm.name is "AES-GCM" |
+PASS clonedKey.algorithm.length is 256 |
+PASS clonedKey.usages.join(',') is "decrypt,wrapKey" |
+PASS importedKey.type is "secret" |
+PASS importedKey.extractable is false |
+PASS importedKey.algorithm.name is "AES-GCM" |
+PASS importedKey.algorithm.length is 128 |
+PASS importedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey" |
+Serialized key bytes: ff043f004b010a10c2011030112233445566778899aabbccddeeff00 |
+PASS clonedKey.type is "secret" |
+PASS clonedKey.extractable is false |
+PASS clonedKey.algorithm.name is "AES-GCM" |
+PASS clonedKey.algorithm.length is 128 |
+PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey" |
+PASS importedKey.type is "secret" |
+PASS importedKey.extractable is false |
+PASS importedKey.algorithm.name is "AES-GCM" |
+PASS importedKey.algorithm.length is 192 |
+PASS importedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey" |
+Serialized key bytes: ff043f004b010a18c20118800102030405060708090a0b0c0d0e0f101112131415161700 |
+PASS clonedKey.type is "secret" |
+PASS clonedKey.extractable is false |
+PASS clonedKey.algorithm.name is "AES-GCM" |
+PASS clonedKey.algorithm.length is 192 |
+PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey" |
+PASS importedKey.type is "secret" |
+PASS importedKey.extractable is false |
+PASS importedKey.algorithm.name is "AES-GCM" |
+PASS importedKey.algorithm.length is 256 |
+PASS importedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey" |
+Serialized key bytes: ff043f004b010a20c2012000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f00 |
+PASS clonedKey.type is "secret" |
+PASS clonedKey.extractable is false |
+PASS clonedKey.algorithm.name is "AES-GCM" |
+PASS clonedKey.algorithm.length is 256 |
+PASS clonedKey.usages.join(',') is "encrypt,wrapKey,unwrapKey" |
+PASS: cloned key data should be [30112233445566778899aabbccddeeff] and was |
+PASS: cloned key data should be [800102030405060708090a0b0c0d0e0f1011121314151617] and was |
+PASS: cloned key data should be [00112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f] and was |
+PASS: cloned key data should be [30112233445566778899aabbccddeeff] and was |
+PASS: cloned key data should be [800102030405060708090a0b0c0d0e0f1011121314151617] and was |
+PASS: cloned key data should be [00112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f] and was |
+PASS: cloned key data should be [30112233445566778899aabbccddeeff] and was |
+PASS: cloned key data should be [800102030405060708090a0b0c0d0e0f1011121314151617] and was |
+PASS: cloned key data should be [00112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f] and was |
+PASS: cloned key data should be [30112233445566778899aabbccddeeff] and was |
+PASS: cloned key data should be [800102030405060708090a0b0c0d0e0f1011121314151617] and was |
+PASS: cloned key data should be [00112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f] and was |
+PASS: cloned key data should be [30112233445566778899aabbccddeeff] and was |
+PASS: cloned key data should be [800102030405060708090a0b0c0d0e0f1011121314151617] and was |
+PASS: cloned key data should be [00112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f] and was |
+PASS: cloned key data should be [30112233445566778899aabbccddeeff] and was |
+PASS: cloned key data should be [800102030405060708090a0b0c0d0e0f1011121314151617] and was |
+PASS: cloned key data should be [00112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f] and was |
+PASS: cloned key data should be [30112233445566778899aabbccddeeff] and was |
+PASS: cloned key data should be [800102030405060708090a0b0c0d0e0f1011121314151617] and was |
+PASS: cloned key data should be [00112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f] and was |
+PASS: cloned key data should be [30112233445566778899aabbccddeeff] and was |
+PASS: cloned key data should be [800102030405060708090a0b0c0d0e0f1011121314151617] and was |
+PASS: cloned key data should be [00112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f] and was |
+PASS successfullyParsed is true |
+ |
+TEST COMPLETE |
+ |