Index: LayoutTests/crypto/clone-hmacKey-expected.txt |
diff --git a/LayoutTests/crypto/clone-hmacKey-expected.txt b/LayoutTests/crypto/clone-hmacKey-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..918b3f578b65e92b94b8723abfab94ae44e94c6c |
--- /dev/null |
+++ b/LayoutTests/crypto/clone-hmacKey-expected.txt |
@@ -0,0 +1,849 @@ |
+Tests structured cloning of HMAC keys |
+ |
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
+ |
+ |
+PASS importedKey.extraProperty is "hi" |
+PASS importedKey.type is "secret" |
+PASS typeof importedKey.extractable is 'boolean' |
+PASS importedKey.extractable is true |
+PASS importedKey.algorithm.name is "HMAC" |
+PASS importedKey.algorithm.hash.name is "SHA-1" |
+PASS importedKey.usages.join(',') is "" |
+PASS importedKey != clonedKey is true |
+PASS clonedKey.extraProperty is undefined. |
+PASS clonedKey.type is "secret" |
+PASS typeof clonedKey.extractable is 'boolean' |
+PASS clonedKey.extractable is true |
+PASS clonedKey.algorithm.name is "HMAC" |
+PASS clonedKey.algorithm.hash.name is "SHA-1" |
+PASS clonedKey.usages.join(',') is "" |
+Serialized key bytes: ff053f004b0205011030112233445566778899aabbccddeeff00 |
+PASS: Cloned key exported data should be [30112233445566778899aabbccddeeff] and was |
+ |
+PASS importedKey.extraProperty is "hi" |
+PASS importedKey.type is "secret" |
+PASS typeof importedKey.extractable is 'boolean' |
+PASS importedKey.extractable is true |
+PASS importedKey.algorithm.name is "HMAC" |
+PASS importedKey.algorithm.hash.name is "SHA-1" |
+PASS importedKey.usages.join(',') is "" |
+PASS importedKey != clonedKey is true |
+PASS clonedKey.extraProperty is undefined. |
+PASS clonedKey.type is "secret" |
+PASS typeof clonedKey.extractable is 'boolean' |
+PASS clonedKey.extractable is true |
+PASS clonedKey.algorithm.name is "HMAC" |
+PASS clonedKey.algorithm.hash.name is "SHA-1" |
+PASS clonedKey.usages.join(',') is "" |
+Serialized key bytes: ff053f004b0205012000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f00 |
+PASS: Cloned key exported data should be [00112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f] and was |
+ |
+PASS importedKey.extraProperty is "hi" |
+PASS importedKey.type is "secret" |
+PASS typeof importedKey.extractable is 'boolean' |
+PASS importedKey.extractable is true |
+PASS importedKey.algorithm.name is "HMAC" |
+PASS importedKey.algorithm.hash.name is "SHA-1" |
+PASS importedKey.usages.join(',') is "sign" |
+PASS importedKey != clonedKey is true |
+PASS clonedKey.extraProperty is undefined. |
+PASS clonedKey.type is "secret" |
+PASS typeof clonedKey.extractable is 'boolean' |
+PASS clonedKey.extractable is true |
+PASS clonedKey.algorithm.name is "HMAC" |
+PASS clonedKey.algorithm.hash.name is "SHA-1" |
+PASS clonedKey.usages.join(',') is "sign" |
+Serialized key bytes: ff053f004b0205091030112233445566778899aabbccddeeff00 |
+PASS: Cloned key exported data should be [30112233445566778899aabbccddeeff] and was |
+ |
+PASS importedKey.extraProperty is "hi" |
+PASS importedKey.type is "secret" |
+PASS typeof importedKey.extractable is 'boolean' |
+PASS importedKey.extractable is true |
+PASS importedKey.algorithm.name is "HMAC" |
+PASS importedKey.algorithm.hash.name is "SHA-1" |
+PASS importedKey.usages.join(',') is "sign" |
+PASS importedKey != clonedKey is true |
+PASS clonedKey.extraProperty is undefined. |
+PASS clonedKey.type is "secret" |
+PASS typeof clonedKey.extractable is 'boolean' |
+PASS clonedKey.extractable is true |
+PASS clonedKey.algorithm.name is "HMAC" |
+PASS clonedKey.algorithm.hash.name is "SHA-1" |
+PASS clonedKey.usages.join(',') is "sign" |
+Serialized key bytes: ff053f004b0205092000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f00 |
+PASS: Cloned key exported data should be [00112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f] and was |
+ |
+PASS importedKey.extraProperty is "hi" |
+PASS importedKey.type is "secret" |
+PASS typeof importedKey.extractable is 'boolean' |
+PASS importedKey.extractable is true |
+PASS importedKey.algorithm.name is "HMAC" |
+PASS importedKey.algorithm.hash.name is "SHA-1" |
+PASS importedKey.usages.join(',') is "verify" |
+PASS importedKey != clonedKey is true |
+PASS clonedKey.extraProperty is undefined. |
+PASS clonedKey.type is "secret" |
+PASS typeof clonedKey.extractable is 'boolean' |
+PASS clonedKey.extractable is true |
+PASS clonedKey.algorithm.name is "HMAC" |
+PASS clonedKey.algorithm.hash.name is "SHA-1" |
+PASS clonedKey.usages.join(',') is "verify" |
+Serialized key bytes: ff053f004b0205111030112233445566778899aabbccddeeff00 |
+PASS: Cloned key exported data should be [30112233445566778899aabbccddeeff] and was |
+ |
+PASS importedKey.extraProperty is "hi" |
+PASS importedKey.type is "secret" |
+PASS typeof importedKey.extractable is 'boolean' |
+PASS importedKey.extractable is true |
+PASS importedKey.algorithm.name is "HMAC" |
+PASS importedKey.algorithm.hash.name is "SHA-1" |
+PASS importedKey.usages.join(',') is "verify" |
+PASS importedKey != clonedKey is true |
+PASS clonedKey.extraProperty is undefined. |
+PASS clonedKey.type is "secret" |
+PASS typeof clonedKey.extractable is 'boolean' |
+PASS clonedKey.extractable is true |
+PASS clonedKey.algorithm.name is "HMAC" |
+PASS clonedKey.algorithm.hash.name is "SHA-1" |
+PASS clonedKey.usages.join(',') is "verify" |
+Serialized key bytes: ff053f004b0205112000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f00 |
+PASS: Cloned key exported data should be [00112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f] and was |
+ |
+PASS importedKey.extraProperty is "hi" |
+PASS importedKey.type is "secret" |
+PASS typeof importedKey.extractable is 'boolean' |
+PASS importedKey.extractable is true |
+PASS importedKey.algorithm.name is "HMAC" |
+PASS importedKey.algorithm.hash.name is "SHA-1" |
+PASS importedKey.usages.join(',') is "sign,verify" |
+PASS importedKey != clonedKey is true |
+PASS clonedKey.extraProperty is undefined. |
+PASS clonedKey.type is "secret" |
+PASS typeof clonedKey.extractable is 'boolean' |
+PASS clonedKey.extractable is true |
+PASS clonedKey.algorithm.name is "HMAC" |
+PASS clonedKey.algorithm.hash.name is "SHA-1" |
+PASS clonedKey.usages.join(',') is "sign,verify" |
+Serialized key bytes: ff053f004b0205191030112233445566778899aabbccddeeff00 |
+PASS: Cloned key exported data should be [30112233445566778899aabbccddeeff] and was |
+ |
+PASS importedKey.extraProperty is "hi" |
+PASS importedKey.type is "secret" |
+PASS typeof importedKey.extractable is 'boolean' |
+PASS importedKey.extractable is true |
+PASS importedKey.algorithm.name is "HMAC" |
+PASS importedKey.algorithm.hash.name is "SHA-1" |
+PASS importedKey.usages.join(',') is "sign,verify" |
+PASS importedKey != clonedKey is true |
+PASS clonedKey.extraProperty is undefined. |
+PASS clonedKey.type is "secret" |
+PASS typeof clonedKey.extractable is 'boolean' |
+PASS clonedKey.extractable is true |
+PASS clonedKey.algorithm.name is "HMAC" |
+PASS clonedKey.algorithm.hash.name is "SHA-1" |
+PASS clonedKey.usages.join(',') is "sign,verify" |
+Serialized key bytes: ff053f004b0205192000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f00 |
+PASS: Cloned key exported data should be [00112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f] and was |
+ |
+PASS importedKey.extraProperty is "hi" |
+PASS importedKey.type is "secret" |
+PASS typeof importedKey.extractable is 'boolean' |
+PASS importedKey.extractable is false |
+PASS importedKey.algorithm.name is "HMAC" |
+PASS importedKey.algorithm.hash.name is "SHA-1" |
+PASS importedKey.usages.join(',') is "" |
+PASS importedKey != clonedKey is true |
+PASS clonedKey.extraProperty is undefined. |
+PASS clonedKey.type is "secret" |
+PASS typeof clonedKey.extractable is 'boolean' |
+PASS clonedKey.extractable is false |
+PASS clonedKey.algorithm.name is "HMAC" |
+PASS clonedKey.algorithm.hash.name is "SHA-1" |
+PASS clonedKey.usages.join(',') is "" |
+Serialized key bytes: ff053f004b0205001030112233445566778899aabbccddeeff00 |
+ |
+PASS importedKey.extraProperty is "hi" |
+PASS importedKey.type is "secret" |
+PASS typeof importedKey.extractable is 'boolean' |
+PASS importedKey.extractable is false |
+PASS importedKey.algorithm.name is "HMAC" |
+PASS importedKey.algorithm.hash.name is "SHA-1" |
+PASS importedKey.usages.join(',') is "" |
+PASS importedKey != clonedKey is true |
+PASS clonedKey.extraProperty is undefined. |
+PASS clonedKey.type is "secret" |
+PASS typeof clonedKey.extractable is 'boolean' |
+PASS clonedKey.extractable is false |
+PASS clonedKey.algorithm.name is "HMAC" |
+PASS clonedKey.algorithm.hash.name is "SHA-1" |
+PASS clonedKey.usages.join(',') is "" |
+Serialized key bytes: ff053f004b0205002000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f00 |
+ |
+PASS importedKey.extraProperty is "hi" |
+PASS importedKey.type is "secret" |
+PASS typeof importedKey.extractable is 'boolean' |
+PASS importedKey.extractable is false |
+PASS importedKey.algorithm.name is "HMAC" |
+PASS importedKey.algorithm.hash.name is "SHA-1" |
+PASS importedKey.usages.join(',') is "sign" |
+PASS importedKey != clonedKey is true |
+PASS clonedKey.extraProperty is undefined. |
+PASS clonedKey.type is "secret" |
+PASS typeof clonedKey.extractable is 'boolean' |
+PASS clonedKey.extractable is false |
+PASS clonedKey.algorithm.name is "HMAC" |
+PASS clonedKey.algorithm.hash.name is "SHA-1" |
+PASS clonedKey.usages.join(',') is "sign" |
+Serialized key bytes: ff053f004b0205081030112233445566778899aabbccddeeff00 |
+ |
+PASS importedKey.extraProperty is "hi" |
+PASS importedKey.type is "secret" |
+PASS typeof importedKey.extractable is 'boolean' |
+PASS importedKey.extractable is false |
+PASS importedKey.algorithm.name is "HMAC" |
+PASS importedKey.algorithm.hash.name is "SHA-1" |
+PASS importedKey.usages.join(',') is "sign" |
+PASS importedKey != clonedKey is true |
+PASS clonedKey.extraProperty is undefined. |
+PASS clonedKey.type is "secret" |
+PASS typeof clonedKey.extractable is 'boolean' |
+PASS clonedKey.extractable is false |
+PASS clonedKey.algorithm.name is "HMAC" |
+PASS clonedKey.algorithm.hash.name is "SHA-1" |
+PASS clonedKey.usages.join(',') is "sign" |
+Serialized key bytes: ff053f004b0205082000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f00 |
+ |
+PASS importedKey.extraProperty is "hi" |
+PASS importedKey.type is "secret" |
+PASS typeof importedKey.extractable is 'boolean' |
+PASS importedKey.extractable is false |
+PASS importedKey.algorithm.name is "HMAC" |
+PASS importedKey.algorithm.hash.name is "SHA-1" |
+PASS importedKey.usages.join(',') is "verify" |
+PASS importedKey != clonedKey is true |
+PASS clonedKey.extraProperty is undefined. |
+PASS clonedKey.type is "secret" |
+PASS typeof clonedKey.extractable is 'boolean' |
+PASS clonedKey.extractable is false |
+PASS clonedKey.algorithm.name is "HMAC" |
+PASS clonedKey.algorithm.hash.name is "SHA-1" |
+PASS clonedKey.usages.join(',') is "verify" |
+Serialized key bytes: ff053f004b0205101030112233445566778899aabbccddeeff00 |
+ |
+PASS importedKey.extraProperty is "hi" |
+PASS importedKey.type is "secret" |
+PASS typeof importedKey.extractable is 'boolean' |
+PASS importedKey.extractable is false |
+PASS importedKey.algorithm.name is "HMAC" |
+PASS importedKey.algorithm.hash.name is "SHA-1" |
+PASS importedKey.usages.join(',') is "verify" |
+PASS importedKey != clonedKey is true |
+PASS clonedKey.extraProperty is undefined. |
+PASS clonedKey.type is "secret" |
+PASS typeof clonedKey.extractable is 'boolean' |
+PASS clonedKey.extractable is false |
+PASS clonedKey.algorithm.name is "HMAC" |
+PASS clonedKey.algorithm.hash.name is "SHA-1" |
+PASS clonedKey.usages.join(',') is "verify" |
+Serialized key bytes: ff053f004b0205102000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f00 |
+ |
+PASS importedKey.extraProperty is "hi" |
+PASS importedKey.type is "secret" |
+PASS typeof importedKey.extractable is 'boolean' |
+PASS importedKey.extractable is false |
+PASS importedKey.algorithm.name is "HMAC" |
+PASS importedKey.algorithm.hash.name is "SHA-1" |
+PASS importedKey.usages.join(',') is "sign,verify" |
+PASS importedKey != clonedKey is true |
+PASS clonedKey.extraProperty is undefined. |
+PASS clonedKey.type is "secret" |
+PASS typeof clonedKey.extractable is 'boolean' |
+PASS clonedKey.extractable is false |
+PASS clonedKey.algorithm.name is "HMAC" |
+PASS clonedKey.algorithm.hash.name is "SHA-1" |
+PASS clonedKey.usages.join(',') is "sign,verify" |
+Serialized key bytes: ff053f004b0205181030112233445566778899aabbccddeeff00 |
+ |
+PASS importedKey.extraProperty is "hi" |
+PASS importedKey.type is "secret" |
+PASS typeof importedKey.extractable is 'boolean' |
+PASS importedKey.extractable is false |
+PASS importedKey.algorithm.name is "HMAC" |
+PASS importedKey.algorithm.hash.name is "SHA-1" |
+PASS importedKey.usages.join(',') is "sign,verify" |
+PASS importedKey != clonedKey is true |
+PASS clonedKey.extraProperty is undefined. |
+PASS clonedKey.type is "secret" |
+PASS typeof clonedKey.extractable is 'boolean' |
+PASS clonedKey.extractable is false |
+PASS clonedKey.algorithm.name is "HMAC" |
+PASS clonedKey.algorithm.hash.name is "SHA-1" |
+PASS clonedKey.usages.join(',') is "sign,verify" |
+Serialized key bytes: ff053f004b0205182000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f00 |
+ |
+PASS importedKey.extraProperty is "hi" |
+PASS importedKey.type is "secret" |
+PASS typeof importedKey.extractable is 'boolean' |
+PASS importedKey.extractable is true |
+PASS importedKey.algorithm.name is "HMAC" |
+PASS importedKey.algorithm.hash.name is "SHA-256" |
+PASS importedKey.usages.join(',') is "" |
+PASS importedKey != clonedKey is true |
+PASS clonedKey.extraProperty is undefined. |
+PASS clonedKey.type is "secret" |
+PASS typeof clonedKey.extractable is 'boolean' |
+PASS clonedKey.extractable is true |
+PASS clonedKey.algorithm.name is "HMAC" |
+PASS clonedKey.algorithm.hash.name is "SHA-256" |
+PASS clonedKey.usages.join(',') is "" |
+Serialized key bytes: ff053f004b0207011030112233445566778899aabbccddeeff00 |
+PASS: Cloned key exported data should be [30112233445566778899aabbccddeeff] and was |
+ |
+PASS importedKey.extraProperty is "hi" |
+PASS importedKey.type is "secret" |
+PASS typeof importedKey.extractable is 'boolean' |
+PASS importedKey.extractable is true |
+PASS importedKey.algorithm.name is "HMAC" |
+PASS importedKey.algorithm.hash.name is "SHA-256" |
+PASS importedKey.usages.join(',') is "" |
+PASS importedKey != clonedKey is true |
+PASS clonedKey.extraProperty is undefined. |
+PASS clonedKey.type is "secret" |
+PASS typeof clonedKey.extractable is 'boolean' |
+PASS clonedKey.extractable is true |
+PASS clonedKey.algorithm.name is "HMAC" |
+PASS clonedKey.algorithm.hash.name is "SHA-256" |
+PASS clonedKey.usages.join(',') is "" |
+Serialized key bytes: ff053f004b0207012000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f00 |
+PASS: Cloned key exported data should be [00112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f] and was |
+ |
+PASS importedKey.extraProperty is "hi" |
+PASS importedKey.type is "secret" |
+PASS typeof importedKey.extractable is 'boolean' |
+PASS importedKey.extractable is true |
+PASS importedKey.algorithm.name is "HMAC" |
+PASS importedKey.algorithm.hash.name is "SHA-256" |
+PASS importedKey.usages.join(',') is "sign" |
+PASS importedKey != clonedKey is true |
+PASS clonedKey.extraProperty is undefined. |
+PASS clonedKey.type is "secret" |
+PASS typeof clonedKey.extractable is 'boolean' |
+PASS clonedKey.extractable is true |
+PASS clonedKey.algorithm.name is "HMAC" |
+PASS clonedKey.algorithm.hash.name is "SHA-256" |
+PASS clonedKey.usages.join(',') is "sign" |
+Serialized key bytes: ff053f004b0207091030112233445566778899aabbccddeeff00 |
+PASS: Cloned key exported data should be [30112233445566778899aabbccddeeff] and was |
+ |
+PASS importedKey.extraProperty is "hi" |
+PASS importedKey.type is "secret" |
+PASS typeof importedKey.extractable is 'boolean' |
+PASS importedKey.extractable is true |
+PASS importedKey.algorithm.name is "HMAC" |
+PASS importedKey.algorithm.hash.name is "SHA-256" |
+PASS importedKey.usages.join(',') is "sign" |
+PASS importedKey != clonedKey is true |
+PASS clonedKey.extraProperty is undefined. |
+PASS clonedKey.type is "secret" |
+PASS typeof clonedKey.extractable is 'boolean' |
+PASS clonedKey.extractable is true |
+PASS clonedKey.algorithm.name is "HMAC" |
+PASS clonedKey.algorithm.hash.name is "SHA-256" |
+PASS clonedKey.usages.join(',') is "sign" |
+Serialized key bytes: ff053f004b0207092000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f00 |
+PASS: Cloned key exported data should be [00112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f] and was |
+ |
+PASS importedKey.extraProperty is "hi" |
+PASS importedKey.type is "secret" |
+PASS typeof importedKey.extractable is 'boolean' |
+PASS importedKey.extractable is true |
+PASS importedKey.algorithm.name is "HMAC" |
+PASS importedKey.algorithm.hash.name is "SHA-256" |
+PASS importedKey.usages.join(',') is "verify" |
+PASS importedKey != clonedKey is true |
+PASS clonedKey.extraProperty is undefined. |
+PASS clonedKey.type is "secret" |
+PASS typeof clonedKey.extractable is 'boolean' |
+PASS clonedKey.extractable is true |
+PASS clonedKey.algorithm.name is "HMAC" |
+PASS clonedKey.algorithm.hash.name is "SHA-256" |
+PASS clonedKey.usages.join(',') is "verify" |
+Serialized key bytes: ff053f004b0207111030112233445566778899aabbccddeeff00 |
+PASS: Cloned key exported data should be [30112233445566778899aabbccddeeff] and was |
+ |
+PASS importedKey.extraProperty is "hi" |
+PASS importedKey.type is "secret" |
+PASS typeof importedKey.extractable is 'boolean' |
+PASS importedKey.extractable is true |
+PASS importedKey.algorithm.name is "HMAC" |
+PASS importedKey.algorithm.hash.name is "SHA-256" |
+PASS importedKey.usages.join(',') is "verify" |
+PASS importedKey != clonedKey is true |
+PASS clonedKey.extraProperty is undefined. |
+PASS clonedKey.type is "secret" |
+PASS typeof clonedKey.extractable is 'boolean' |
+PASS clonedKey.extractable is true |
+PASS clonedKey.algorithm.name is "HMAC" |
+PASS clonedKey.algorithm.hash.name is "SHA-256" |
+PASS clonedKey.usages.join(',') is "verify" |
+Serialized key bytes: ff053f004b0207112000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f00 |
+PASS: Cloned key exported data should be [00112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f] and was |
+ |
+PASS importedKey.extraProperty is "hi" |
+PASS importedKey.type is "secret" |
+PASS typeof importedKey.extractable is 'boolean' |
+PASS importedKey.extractable is true |
+PASS importedKey.algorithm.name is "HMAC" |
+PASS importedKey.algorithm.hash.name is "SHA-256" |
+PASS importedKey.usages.join(',') is "sign,verify" |
+PASS importedKey != clonedKey is true |
+PASS clonedKey.extraProperty is undefined. |
+PASS clonedKey.type is "secret" |
+PASS typeof clonedKey.extractable is 'boolean' |
+PASS clonedKey.extractable is true |
+PASS clonedKey.algorithm.name is "HMAC" |
+PASS clonedKey.algorithm.hash.name is "SHA-256" |
+PASS clonedKey.usages.join(',') is "sign,verify" |
+Serialized key bytes: ff053f004b0207191030112233445566778899aabbccddeeff00 |
+PASS: Cloned key exported data should be [30112233445566778899aabbccddeeff] and was |
+ |
+PASS importedKey.extraProperty is "hi" |
+PASS importedKey.type is "secret" |
+PASS typeof importedKey.extractable is 'boolean' |
+PASS importedKey.extractable is true |
+PASS importedKey.algorithm.name is "HMAC" |
+PASS importedKey.algorithm.hash.name is "SHA-256" |
+PASS importedKey.usages.join(',') is "sign,verify" |
+PASS importedKey != clonedKey is true |
+PASS clonedKey.extraProperty is undefined. |
+PASS clonedKey.type is "secret" |
+PASS typeof clonedKey.extractable is 'boolean' |
+PASS clonedKey.extractable is true |
+PASS clonedKey.algorithm.name is "HMAC" |
+PASS clonedKey.algorithm.hash.name is "SHA-256" |
+PASS clonedKey.usages.join(',') is "sign,verify" |
+Serialized key bytes: ff053f004b0207192000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f00 |
+PASS: Cloned key exported data should be [00112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f] and was |
+ |
+PASS importedKey.extraProperty is "hi" |
+PASS importedKey.type is "secret" |
+PASS typeof importedKey.extractable is 'boolean' |
+PASS importedKey.extractable is false |
+PASS importedKey.algorithm.name is "HMAC" |
+PASS importedKey.algorithm.hash.name is "SHA-256" |
+PASS importedKey.usages.join(',') is "" |
+PASS importedKey != clonedKey is true |
+PASS clonedKey.extraProperty is undefined. |
+PASS clonedKey.type is "secret" |
+PASS typeof clonedKey.extractable is 'boolean' |
+PASS clonedKey.extractable is false |
+PASS clonedKey.algorithm.name is "HMAC" |
+PASS clonedKey.algorithm.hash.name is "SHA-256" |
+PASS clonedKey.usages.join(',') is "" |
+Serialized key bytes: ff053f004b0207001030112233445566778899aabbccddeeff00 |
+ |
+PASS importedKey.extraProperty is "hi" |
+PASS importedKey.type is "secret" |
+PASS typeof importedKey.extractable is 'boolean' |
+PASS importedKey.extractable is false |
+PASS importedKey.algorithm.name is "HMAC" |
+PASS importedKey.algorithm.hash.name is "SHA-256" |
+PASS importedKey.usages.join(',') is "" |
+PASS importedKey != clonedKey is true |
+PASS clonedKey.extraProperty is undefined. |
+PASS clonedKey.type is "secret" |
+PASS typeof clonedKey.extractable is 'boolean' |
+PASS clonedKey.extractable is false |
+PASS clonedKey.algorithm.name is "HMAC" |
+PASS clonedKey.algorithm.hash.name is "SHA-256" |
+PASS clonedKey.usages.join(',') is "" |
+Serialized key bytes: ff053f004b0207002000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f00 |
+ |
+PASS importedKey.extraProperty is "hi" |
+PASS importedKey.type is "secret" |
+PASS typeof importedKey.extractable is 'boolean' |
+PASS importedKey.extractable is false |
+PASS importedKey.algorithm.name is "HMAC" |
+PASS importedKey.algorithm.hash.name is "SHA-256" |
+PASS importedKey.usages.join(',') is "sign" |
+PASS importedKey != clonedKey is true |
+PASS clonedKey.extraProperty is undefined. |
+PASS clonedKey.type is "secret" |
+PASS typeof clonedKey.extractable is 'boolean' |
+PASS clonedKey.extractable is false |
+PASS clonedKey.algorithm.name is "HMAC" |
+PASS clonedKey.algorithm.hash.name is "SHA-256" |
+PASS clonedKey.usages.join(',') is "sign" |
+Serialized key bytes: ff053f004b0207081030112233445566778899aabbccddeeff00 |
+ |
+PASS importedKey.extraProperty is "hi" |
+PASS importedKey.type is "secret" |
+PASS typeof importedKey.extractable is 'boolean' |
+PASS importedKey.extractable is false |
+PASS importedKey.algorithm.name is "HMAC" |
+PASS importedKey.algorithm.hash.name is "SHA-256" |
+PASS importedKey.usages.join(',') is "sign" |
+PASS importedKey != clonedKey is true |
+PASS clonedKey.extraProperty is undefined. |
+PASS clonedKey.type is "secret" |
+PASS typeof clonedKey.extractable is 'boolean' |
+PASS clonedKey.extractable is false |
+PASS clonedKey.algorithm.name is "HMAC" |
+PASS clonedKey.algorithm.hash.name is "SHA-256" |
+PASS clonedKey.usages.join(',') is "sign" |
+Serialized key bytes: ff053f004b0207082000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f00 |
+ |
+PASS importedKey.extraProperty is "hi" |
+PASS importedKey.type is "secret" |
+PASS typeof importedKey.extractable is 'boolean' |
+PASS importedKey.extractable is false |
+PASS importedKey.algorithm.name is "HMAC" |
+PASS importedKey.algorithm.hash.name is "SHA-256" |
+PASS importedKey.usages.join(',') is "verify" |
+PASS importedKey != clonedKey is true |
+PASS clonedKey.extraProperty is undefined. |
+PASS clonedKey.type is "secret" |
+PASS typeof clonedKey.extractable is 'boolean' |
+PASS clonedKey.extractable is false |
+PASS clonedKey.algorithm.name is "HMAC" |
+PASS clonedKey.algorithm.hash.name is "SHA-256" |
+PASS clonedKey.usages.join(',') is "verify" |
+Serialized key bytes: ff053f004b0207101030112233445566778899aabbccddeeff00 |
+ |
+PASS importedKey.extraProperty is "hi" |
+PASS importedKey.type is "secret" |
+PASS typeof importedKey.extractable is 'boolean' |
+PASS importedKey.extractable is false |
+PASS importedKey.algorithm.name is "HMAC" |
+PASS importedKey.algorithm.hash.name is "SHA-256" |
+PASS importedKey.usages.join(',') is "verify" |
+PASS importedKey != clonedKey is true |
+PASS clonedKey.extraProperty is undefined. |
+PASS clonedKey.type is "secret" |
+PASS typeof clonedKey.extractable is 'boolean' |
+PASS clonedKey.extractable is false |
+PASS clonedKey.algorithm.name is "HMAC" |
+PASS clonedKey.algorithm.hash.name is "SHA-256" |
+PASS clonedKey.usages.join(',') is "verify" |
+Serialized key bytes: ff053f004b0207102000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f00 |
+ |
+PASS importedKey.extraProperty is "hi" |
+PASS importedKey.type is "secret" |
+PASS typeof importedKey.extractable is 'boolean' |
+PASS importedKey.extractable is false |
+PASS importedKey.algorithm.name is "HMAC" |
+PASS importedKey.algorithm.hash.name is "SHA-256" |
+PASS importedKey.usages.join(',') is "sign,verify" |
+PASS importedKey != clonedKey is true |
+PASS clonedKey.extraProperty is undefined. |
+PASS clonedKey.type is "secret" |
+PASS typeof clonedKey.extractable is 'boolean' |
+PASS clonedKey.extractable is false |
+PASS clonedKey.algorithm.name is "HMAC" |
+PASS clonedKey.algorithm.hash.name is "SHA-256" |
+PASS clonedKey.usages.join(',') is "sign,verify" |
+Serialized key bytes: ff053f004b0207181030112233445566778899aabbccddeeff00 |
+ |
+PASS importedKey.extraProperty is "hi" |
+PASS importedKey.type is "secret" |
+PASS typeof importedKey.extractable is 'boolean' |
+PASS importedKey.extractable is false |
+PASS importedKey.algorithm.name is "HMAC" |
+PASS importedKey.algorithm.hash.name is "SHA-256" |
+PASS importedKey.usages.join(',') is "sign,verify" |
+PASS importedKey != clonedKey is true |
+PASS clonedKey.extraProperty is undefined. |
+PASS clonedKey.type is "secret" |
+PASS typeof clonedKey.extractable is 'boolean' |
+PASS clonedKey.extractable is false |
+PASS clonedKey.algorithm.name is "HMAC" |
+PASS clonedKey.algorithm.hash.name is "SHA-256" |
+PASS clonedKey.usages.join(',') is "sign,verify" |
+Serialized key bytes: ff053f004b0207182000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f00 |
+ |
+PASS importedKey.extraProperty is "hi" |
+PASS importedKey.type is "secret" |
+PASS typeof importedKey.extractable is 'boolean' |
+PASS importedKey.extractable is true |
+PASS importedKey.algorithm.name is "HMAC" |
+PASS importedKey.algorithm.hash.name is "SHA-512" |
+PASS importedKey.usages.join(',') is "" |
+PASS importedKey != clonedKey is true |
+PASS clonedKey.extraProperty is undefined. |
+PASS clonedKey.type is "secret" |
+PASS typeof clonedKey.extractable is 'boolean' |
+PASS clonedKey.extractable is true |
+PASS clonedKey.algorithm.name is "HMAC" |
+PASS clonedKey.algorithm.hash.name is "SHA-512" |
+PASS clonedKey.usages.join(',') is "" |
+Serialized key bytes: ff053f004b0209011030112233445566778899aabbccddeeff00 |
+PASS: Cloned key exported data should be [30112233445566778899aabbccddeeff] and was |
+ |
+PASS importedKey.extraProperty is "hi" |
+PASS importedKey.type is "secret" |
+PASS typeof importedKey.extractable is 'boolean' |
+PASS importedKey.extractable is true |
+PASS importedKey.algorithm.name is "HMAC" |
+PASS importedKey.algorithm.hash.name is "SHA-512" |
+PASS importedKey.usages.join(',') is "" |
+PASS importedKey != clonedKey is true |
+PASS clonedKey.extraProperty is undefined. |
+PASS clonedKey.type is "secret" |
+PASS typeof clonedKey.extractable is 'boolean' |
+PASS clonedKey.extractable is true |
+PASS clonedKey.algorithm.name is "HMAC" |
+PASS clonedKey.algorithm.hash.name is "SHA-512" |
+PASS clonedKey.usages.join(',') is "" |
+Serialized key bytes: ff053f004b0209012000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f00 |
+PASS: Cloned key exported data should be [00112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f] and was |
+ |
+PASS importedKey.extraProperty is "hi" |
+PASS importedKey.type is "secret" |
+PASS typeof importedKey.extractable is 'boolean' |
+PASS importedKey.extractable is true |
+PASS importedKey.algorithm.name is "HMAC" |
+PASS importedKey.algorithm.hash.name is "SHA-512" |
+PASS importedKey.usages.join(',') is "sign" |
+PASS importedKey != clonedKey is true |
+PASS clonedKey.extraProperty is undefined. |
+PASS clonedKey.type is "secret" |
+PASS typeof clonedKey.extractable is 'boolean' |
+PASS clonedKey.extractable is true |
+PASS clonedKey.algorithm.name is "HMAC" |
+PASS clonedKey.algorithm.hash.name is "SHA-512" |
+PASS clonedKey.usages.join(',') is "sign" |
+Serialized key bytes: ff053f004b0209091030112233445566778899aabbccddeeff00 |
+PASS: Cloned key exported data should be [30112233445566778899aabbccddeeff] and was |
+ |
+PASS importedKey.extraProperty is "hi" |
+PASS importedKey.type is "secret" |
+PASS typeof importedKey.extractable is 'boolean' |
+PASS importedKey.extractable is true |
+PASS importedKey.algorithm.name is "HMAC" |
+PASS importedKey.algorithm.hash.name is "SHA-512" |
+PASS importedKey.usages.join(',') is "sign" |
+PASS importedKey != clonedKey is true |
+PASS clonedKey.extraProperty is undefined. |
+PASS clonedKey.type is "secret" |
+PASS typeof clonedKey.extractable is 'boolean' |
+PASS clonedKey.extractable is true |
+PASS clonedKey.algorithm.name is "HMAC" |
+PASS clonedKey.algorithm.hash.name is "SHA-512" |
+PASS clonedKey.usages.join(',') is "sign" |
+Serialized key bytes: ff053f004b0209092000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f00 |
+PASS: Cloned key exported data should be [00112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f] and was |
+ |
+PASS importedKey.extraProperty is "hi" |
+PASS importedKey.type is "secret" |
+PASS typeof importedKey.extractable is 'boolean' |
+PASS importedKey.extractable is true |
+PASS importedKey.algorithm.name is "HMAC" |
+PASS importedKey.algorithm.hash.name is "SHA-512" |
+PASS importedKey.usages.join(',') is "verify" |
+PASS importedKey != clonedKey is true |
+PASS clonedKey.extraProperty is undefined. |
+PASS clonedKey.type is "secret" |
+PASS typeof clonedKey.extractable is 'boolean' |
+PASS clonedKey.extractable is true |
+PASS clonedKey.algorithm.name is "HMAC" |
+PASS clonedKey.algorithm.hash.name is "SHA-512" |
+PASS clonedKey.usages.join(',') is "verify" |
+Serialized key bytes: ff053f004b0209111030112233445566778899aabbccddeeff00 |
+PASS: Cloned key exported data should be [30112233445566778899aabbccddeeff] and was |
+ |
+PASS importedKey.extraProperty is "hi" |
+PASS importedKey.type is "secret" |
+PASS typeof importedKey.extractable is 'boolean' |
+PASS importedKey.extractable is true |
+PASS importedKey.algorithm.name is "HMAC" |
+PASS importedKey.algorithm.hash.name is "SHA-512" |
+PASS importedKey.usages.join(',') is "verify" |
+PASS importedKey != clonedKey is true |
+PASS clonedKey.extraProperty is undefined. |
+PASS clonedKey.type is "secret" |
+PASS typeof clonedKey.extractable is 'boolean' |
+PASS clonedKey.extractable is true |
+PASS clonedKey.algorithm.name is "HMAC" |
+PASS clonedKey.algorithm.hash.name is "SHA-512" |
+PASS clonedKey.usages.join(',') is "verify" |
+Serialized key bytes: ff053f004b0209112000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f00 |
+PASS: Cloned key exported data should be [00112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f] and was |
+ |
+PASS importedKey.extraProperty is "hi" |
+PASS importedKey.type is "secret" |
+PASS typeof importedKey.extractable is 'boolean' |
+PASS importedKey.extractable is true |
+PASS importedKey.algorithm.name is "HMAC" |
+PASS importedKey.algorithm.hash.name is "SHA-512" |
+PASS importedKey.usages.join(',') is "sign,verify" |
+PASS importedKey != clonedKey is true |
+PASS clonedKey.extraProperty is undefined. |
+PASS clonedKey.type is "secret" |
+PASS typeof clonedKey.extractable is 'boolean' |
+PASS clonedKey.extractable is true |
+PASS clonedKey.algorithm.name is "HMAC" |
+PASS clonedKey.algorithm.hash.name is "SHA-512" |
+PASS clonedKey.usages.join(',') is "sign,verify" |
+Serialized key bytes: ff053f004b0209191030112233445566778899aabbccddeeff00 |
+PASS: Cloned key exported data should be [30112233445566778899aabbccddeeff] and was |
+ |
+PASS importedKey.extraProperty is "hi" |
+PASS importedKey.type is "secret" |
+PASS typeof importedKey.extractable is 'boolean' |
+PASS importedKey.extractable is true |
+PASS importedKey.algorithm.name is "HMAC" |
+PASS importedKey.algorithm.hash.name is "SHA-512" |
+PASS importedKey.usages.join(',') is "sign,verify" |
+PASS importedKey != clonedKey is true |
+PASS clonedKey.extraProperty is undefined. |
+PASS clonedKey.type is "secret" |
+PASS typeof clonedKey.extractable is 'boolean' |
+PASS clonedKey.extractable is true |
+PASS clonedKey.algorithm.name is "HMAC" |
+PASS clonedKey.algorithm.hash.name is "SHA-512" |
+PASS clonedKey.usages.join(',') is "sign,verify" |
+Serialized key bytes: ff053f004b0209192000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f00 |
+PASS: Cloned key exported data should be [00112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f] and was |
+ |
+PASS importedKey.extraProperty is "hi" |
+PASS importedKey.type is "secret" |
+PASS typeof importedKey.extractable is 'boolean' |
+PASS importedKey.extractable is false |
+PASS importedKey.algorithm.name is "HMAC" |
+PASS importedKey.algorithm.hash.name is "SHA-512" |
+PASS importedKey.usages.join(',') is "" |
+PASS importedKey != clonedKey is true |
+PASS clonedKey.extraProperty is undefined. |
+PASS clonedKey.type is "secret" |
+PASS typeof clonedKey.extractable is 'boolean' |
+PASS clonedKey.extractable is false |
+PASS clonedKey.algorithm.name is "HMAC" |
+PASS clonedKey.algorithm.hash.name is "SHA-512" |
+PASS clonedKey.usages.join(',') is "" |
+Serialized key bytes: ff053f004b0209001030112233445566778899aabbccddeeff00 |
+ |
+PASS importedKey.extraProperty is "hi" |
+PASS importedKey.type is "secret" |
+PASS typeof importedKey.extractable is 'boolean' |
+PASS importedKey.extractable is false |
+PASS importedKey.algorithm.name is "HMAC" |
+PASS importedKey.algorithm.hash.name is "SHA-512" |
+PASS importedKey.usages.join(',') is "" |
+PASS importedKey != clonedKey is true |
+PASS clonedKey.extraProperty is undefined. |
+PASS clonedKey.type is "secret" |
+PASS typeof clonedKey.extractable is 'boolean' |
+PASS clonedKey.extractable is false |
+PASS clonedKey.algorithm.name is "HMAC" |
+PASS clonedKey.algorithm.hash.name is "SHA-512" |
+PASS clonedKey.usages.join(',') is "" |
+Serialized key bytes: ff053f004b0209002000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f00 |
+ |
+PASS importedKey.extraProperty is "hi" |
+PASS importedKey.type is "secret" |
+PASS typeof importedKey.extractable is 'boolean' |
+PASS importedKey.extractable is false |
+PASS importedKey.algorithm.name is "HMAC" |
+PASS importedKey.algorithm.hash.name is "SHA-512" |
+PASS importedKey.usages.join(',') is "sign" |
+PASS importedKey != clonedKey is true |
+PASS clonedKey.extraProperty is undefined. |
+PASS clonedKey.type is "secret" |
+PASS typeof clonedKey.extractable is 'boolean' |
+PASS clonedKey.extractable is false |
+PASS clonedKey.algorithm.name is "HMAC" |
+PASS clonedKey.algorithm.hash.name is "SHA-512" |
+PASS clonedKey.usages.join(',') is "sign" |
+Serialized key bytes: ff053f004b0209081030112233445566778899aabbccddeeff00 |
+ |
+PASS importedKey.extraProperty is "hi" |
+PASS importedKey.type is "secret" |
+PASS typeof importedKey.extractable is 'boolean' |
+PASS importedKey.extractable is false |
+PASS importedKey.algorithm.name is "HMAC" |
+PASS importedKey.algorithm.hash.name is "SHA-512" |
+PASS importedKey.usages.join(',') is "sign" |
+PASS importedKey != clonedKey is true |
+PASS clonedKey.extraProperty is undefined. |
+PASS clonedKey.type is "secret" |
+PASS typeof clonedKey.extractable is 'boolean' |
+PASS clonedKey.extractable is false |
+PASS clonedKey.algorithm.name is "HMAC" |
+PASS clonedKey.algorithm.hash.name is "SHA-512" |
+PASS clonedKey.usages.join(',') is "sign" |
+Serialized key bytes: ff053f004b0209082000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f00 |
+ |
+PASS importedKey.extraProperty is "hi" |
+PASS importedKey.type is "secret" |
+PASS typeof importedKey.extractable is 'boolean' |
+PASS importedKey.extractable is false |
+PASS importedKey.algorithm.name is "HMAC" |
+PASS importedKey.algorithm.hash.name is "SHA-512" |
+PASS importedKey.usages.join(',') is "verify" |
+PASS importedKey != clonedKey is true |
+PASS clonedKey.extraProperty is undefined. |
+PASS clonedKey.type is "secret" |
+PASS typeof clonedKey.extractable is 'boolean' |
+PASS clonedKey.extractable is false |
+PASS clonedKey.algorithm.name is "HMAC" |
+PASS clonedKey.algorithm.hash.name is "SHA-512" |
+PASS clonedKey.usages.join(',') is "verify" |
+Serialized key bytes: ff053f004b0209101030112233445566778899aabbccddeeff00 |
+ |
+PASS importedKey.extraProperty is "hi" |
+PASS importedKey.type is "secret" |
+PASS typeof importedKey.extractable is 'boolean' |
+PASS importedKey.extractable is false |
+PASS importedKey.algorithm.name is "HMAC" |
+PASS importedKey.algorithm.hash.name is "SHA-512" |
+PASS importedKey.usages.join(',') is "verify" |
+PASS importedKey != clonedKey is true |
+PASS clonedKey.extraProperty is undefined. |
+PASS clonedKey.type is "secret" |
+PASS typeof clonedKey.extractable is 'boolean' |
+PASS clonedKey.extractable is false |
+PASS clonedKey.algorithm.name is "HMAC" |
+PASS clonedKey.algorithm.hash.name is "SHA-512" |
+PASS clonedKey.usages.join(',') is "verify" |
+Serialized key bytes: ff053f004b0209102000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f00 |
+ |
+PASS importedKey.extraProperty is "hi" |
+PASS importedKey.type is "secret" |
+PASS typeof importedKey.extractable is 'boolean' |
+PASS importedKey.extractable is false |
+PASS importedKey.algorithm.name is "HMAC" |
+PASS importedKey.algorithm.hash.name is "SHA-512" |
+PASS importedKey.usages.join(',') is "sign,verify" |
+PASS importedKey != clonedKey is true |
+PASS clonedKey.extraProperty is undefined. |
+PASS clonedKey.type is "secret" |
+PASS typeof clonedKey.extractable is 'boolean' |
+PASS clonedKey.extractable is false |
+PASS clonedKey.algorithm.name is "HMAC" |
+PASS clonedKey.algorithm.hash.name is "SHA-512" |
+PASS clonedKey.usages.join(',') is "sign,verify" |
+Serialized key bytes: ff053f004b0209181030112233445566778899aabbccddeeff00 |
+ |
+PASS importedKey.extraProperty is "hi" |
+PASS importedKey.type is "secret" |
+PASS typeof importedKey.extractable is 'boolean' |
+PASS importedKey.extractable is false |
+PASS importedKey.algorithm.name is "HMAC" |
+PASS importedKey.algorithm.hash.name is "SHA-512" |
+PASS importedKey.usages.join(',') is "sign,verify" |
+PASS importedKey != clonedKey is true |
+PASS clonedKey.extraProperty is undefined. |
+PASS clonedKey.type is "secret" |
+PASS typeof clonedKey.extractable is 'boolean' |
+PASS clonedKey.extractable is false |
+PASS clonedKey.algorithm.name is "HMAC" |
+PASS clonedKey.algorithm.hash.name is "SHA-512" |
+PASS clonedKey.usages.join(',') is "sign,verify" |
+Serialized key bytes: ff053f004b0209182000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f00 |
+ |
+PASS successfullyParsed is true |
+ |
+TEST COMPLETE |
+ |