| 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..5bd7de9b3ca37bcfa0d5bad7e04523a53ee3f3d7
|
| --- /dev/null
|
| +++ b/LayoutTests/crypto/clone-hmacKey-expected.txt
|
| @@ -0,0 +1,561 @@
|
| +Tests structured cloning of HMAC 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 "HMAC"
|
| +PASS importedKey.algorithm.hash.name is "SHA-1"
|
| +PASS importedKey.usages.join(',') is ""
|
| +Serialized key bytes: ff043f004b0205011030112233445566778899aabbccddeeff00
|
| +PASS clonedKey.type is "secret"
|
| +PASS clonedKey.extractable is true
|
| +PASS clonedKey.algorithm.name is "HMAC"
|
| +PASS clonedKey.algorithm.hash.name is "SHA-1"
|
| +PASS clonedKey.usages.join(',') is ""
|
| +PASS importedKey.type is "secret"
|
| +PASS importedKey.extractable is true
|
| +PASS importedKey.algorithm.name is "HMAC"
|
| +PASS importedKey.algorithm.hash.name is "SHA-1"
|
| +PASS importedKey.usages.join(',') is ""
|
| +Serialized key bytes: ff043f004b0205012000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f00
|
| +PASS clonedKey.type is "secret"
|
| +PASS clonedKey.extractable is true
|
| +PASS clonedKey.algorithm.name is "HMAC"
|
| +PASS clonedKey.algorithm.hash.name is "SHA-1"
|
| +PASS clonedKey.usages.join(',') is ""
|
| +PASS importedKey.type is "secret"
|
| +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"
|
| +Serialized key bytes: ff043f004b0205091030112233445566778899aabbccddeeff00
|
| +PASS clonedKey.type is "secret"
|
| +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"
|
| +PASS importedKey.type is "secret"
|
| +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"
|
| +Serialized key bytes: ff043f004b0205092000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f00
|
| +PASS clonedKey.type is "secret"
|
| +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"
|
| +PASS importedKey.type is "secret"
|
| +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"
|
| +Serialized key bytes: ff043f004b0205111030112233445566778899aabbccddeeff00
|
| +PASS clonedKey.type is "secret"
|
| +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"
|
| +PASS importedKey.type is "secret"
|
| +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"
|
| +Serialized key bytes: ff043f004b0205112000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f00
|
| +PASS clonedKey.type is "secret"
|
| +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"
|
| +PASS importedKey.type is "secret"
|
| +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"
|
| +Serialized key bytes: ff043f004b0205191030112233445566778899aabbccddeeff00
|
| +PASS clonedKey.type is "secret"
|
| +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"
|
| +PASS importedKey.type is "secret"
|
| +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"
|
| +Serialized key bytes: ff043f004b0205192000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f00
|
| +PASS clonedKey.type is "secret"
|
| +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"
|
| +PASS importedKey.type is "secret"
|
| +PASS importedKey.extractable is false
|
| +PASS importedKey.algorithm.name is "HMAC"
|
| +PASS importedKey.algorithm.hash.name is "SHA-1"
|
| +PASS importedKey.usages.join(',') is ""
|
| +Serialized key bytes: ff043f004b0205001030112233445566778899aabbccddeeff00
|
| +PASS clonedKey.type is "secret"
|
| +PASS clonedKey.extractable is false
|
| +PASS clonedKey.algorithm.name is "HMAC"
|
| +PASS clonedKey.algorithm.hash.name is "SHA-1"
|
| +PASS clonedKey.usages.join(',') is ""
|
| +PASS importedKey.type is "secret"
|
| +PASS importedKey.extractable is false
|
| +PASS importedKey.algorithm.name is "HMAC"
|
| +PASS importedKey.algorithm.hash.name is "SHA-1"
|
| +PASS importedKey.usages.join(',') is ""
|
| +Serialized key bytes: ff043f004b0205002000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f00
|
| +PASS clonedKey.type is "secret"
|
| +PASS clonedKey.extractable is false
|
| +PASS clonedKey.algorithm.name is "HMAC"
|
| +PASS clonedKey.algorithm.hash.name is "SHA-1"
|
| +PASS clonedKey.usages.join(',') is ""
|
| +PASS importedKey.type is "secret"
|
| +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"
|
| +Serialized key bytes: ff043f004b0205081030112233445566778899aabbccddeeff00
|
| +PASS clonedKey.type is "secret"
|
| +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"
|
| +PASS importedKey.type is "secret"
|
| +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"
|
| +Serialized key bytes: ff043f004b0205082000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f00
|
| +PASS clonedKey.type is "secret"
|
| +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"
|
| +PASS importedKey.type is "secret"
|
| +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"
|
| +Serialized key bytes: ff043f004b0205101030112233445566778899aabbccddeeff00
|
| +PASS clonedKey.type is "secret"
|
| +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"
|
| +PASS importedKey.type is "secret"
|
| +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"
|
| +Serialized key bytes: ff043f004b0205102000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f00
|
| +PASS clonedKey.type is "secret"
|
| +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"
|
| +PASS importedKey.type is "secret"
|
| +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"
|
| +Serialized key bytes: ff043f004b0205181030112233445566778899aabbccddeeff00
|
| +PASS clonedKey.type is "secret"
|
| +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"
|
| +PASS importedKey.type is "secret"
|
| +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"
|
| +Serialized key bytes: ff043f004b0205182000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f00
|
| +PASS clonedKey.type is "secret"
|
| +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"
|
| +PASS importedKey.type is "secret"
|
| +PASS importedKey.extractable is true
|
| +PASS importedKey.algorithm.name is "HMAC"
|
| +PASS importedKey.algorithm.hash.name is "SHA-256"
|
| +PASS importedKey.usages.join(',') is ""
|
| +Serialized key bytes: ff043f004b0207011030112233445566778899aabbccddeeff00
|
| +PASS clonedKey.type is "secret"
|
| +PASS clonedKey.extractable is true
|
| +PASS clonedKey.algorithm.name is "HMAC"
|
| +PASS clonedKey.algorithm.hash.name is "SHA-256"
|
| +PASS clonedKey.usages.join(',') is ""
|
| +PASS importedKey.type is "secret"
|
| +PASS importedKey.extractable is true
|
| +PASS importedKey.algorithm.name is "HMAC"
|
| +PASS importedKey.algorithm.hash.name is "SHA-256"
|
| +PASS importedKey.usages.join(',') is ""
|
| +Serialized key bytes: ff043f004b0207012000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f00
|
| +PASS clonedKey.type is "secret"
|
| +PASS clonedKey.extractable is true
|
| +PASS clonedKey.algorithm.name is "HMAC"
|
| +PASS clonedKey.algorithm.hash.name is "SHA-256"
|
| +PASS clonedKey.usages.join(',') is ""
|
| +PASS importedKey.type is "secret"
|
| +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"
|
| +Serialized key bytes: ff043f004b0207091030112233445566778899aabbccddeeff00
|
| +PASS clonedKey.type is "secret"
|
| +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"
|
| +PASS importedKey.type is "secret"
|
| +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"
|
| +Serialized key bytes: ff043f004b0207092000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f00
|
| +PASS clonedKey.type is "secret"
|
| +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"
|
| +PASS importedKey.type is "secret"
|
| +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"
|
| +Serialized key bytes: ff043f004b0207111030112233445566778899aabbccddeeff00
|
| +PASS clonedKey.type is "secret"
|
| +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"
|
| +PASS importedKey.type is "secret"
|
| +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"
|
| +Serialized key bytes: ff043f004b0207112000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f00
|
| +PASS clonedKey.type is "secret"
|
| +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"
|
| +PASS importedKey.type is "secret"
|
| +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"
|
| +Serialized key bytes: ff043f004b0207191030112233445566778899aabbccddeeff00
|
| +PASS clonedKey.type is "secret"
|
| +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"
|
| +PASS importedKey.type is "secret"
|
| +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"
|
| +Serialized key bytes: ff043f004b0207192000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f00
|
| +PASS clonedKey.type is "secret"
|
| +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"
|
| +PASS importedKey.type is "secret"
|
| +PASS importedKey.extractable is false
|
| +PASS importedKey.algorithm.name is "HMAC"
|
| +PASS importedKey.algorithm.hash.name is "SHA-256"
|
| +PASS importedKey.usages.join(',') is ""
|
| +Serialized key bytes: ff043f004b0207001030112233445566778899aabbccddeeff00
|
| +PASS clonedKey.type is "secret"
|
| +PASS clonedKey.extractable is false
|
| +PASS clonedKey.algorithm.name is "HMAC"
|
| +PASS clonedKey.algorithm.hash.name is "SHA-256"
|
| +PASS clonedKey.usages.join(',') is ""
|
| +PASS importedKey.type is "secret"
|
| +PASS importedKey.extractable is false
|
| +PASS importedKey.algorithm.name is "HMAC"
|
| +PASS importedKey.algorithm.hash.name is "SHA-256"
|
| +PASS importedKey.usages.join(',') is ""
|
| +Serialized key bytes: ff043f004b0207002000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f00
|
| +PASS clonedKey.type is "secret"
|
| +PASS clonedKey.extractable is false
|
| +PASS clonedKey.algorithm.name is "HMAC"
|
| +PASS clonedKey.algorithm.hash.name is "SHA-256"
|
| +PASS clonedKey.usages.join(',') is ""
|
| +PASS importedKey.type is "secret"
|
| +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"
|
| +Serialized key bytes: ff043f004b0207081030112233445566778899aabbccddeeff00
|
| +PASS clonedKey.type is "secret"
|
| +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"
|
| +PASS importedKey.type is "secret"
|
| +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"
|
| +Serialized key bytes: ff043f004b0207082000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f00
|
| +PASS clonedKey.type is "secret"
|
| +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"
|
| +PASS importedKey.type is "secret"
|
| +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"
|
| +Serialized key bytes: ff043f004b0207101030112233445566778899aabbccddeeff00
|
| +PASS clonedKey.type is "secret"
|
| +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"
|
| +PASS importedKey.type is "secret"
|
| +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"
|
| +Serialized key bytes: ff043f004b0207102000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f00
|
| +PASS clonedKey.type is "secret"
|
| +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"
|
| +PASS importedKey.type is "secret"
|
| +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"
|
| +Serialized key bytes: ff043f004b0207181030112233445566778899aabbccddeeff00
|
| +PASS clonedKey.type is "secret"
|
| +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"
|
| +PASS importedKey.type is "secret"
|
| +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"
|
| +Serialized key bytes: ff043f004b0207182000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f00
|
| +PASS clonedKey.type is "secret"
|
| +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"
|
| +PASS importedKey.type is "secret"
|
| +PASS importedKey.extractable is true
|
| +PASS importedKey.algorithm.name is "HMAC"
|
| +PASS importedKey.algorithm.hash.name is "SHA-512"
|
| +PASS importedKey.usages.join(',') is ""
|
| +Serialized key bytes: ff043f004b0209011030112233445566778899aabbccddeeff00
|
| +PASS clonedKey.type is "secret"
|
| +PASS clonedKey.extractable is true
|
| +PASS clonedKey.algorithm.name is "HMAC"
|
| +PASS clonedKey.algorithm.hash.name is "SHA-512"
|
| +PASS clonedKey.usages.join(',') is ""
|
| +PASS importedKey.type is "secret"
|
| +PASS importedKey.extractable is true
|
| +PASS importedKey.algorithm.name is "HMAC"
|
| +PASS importedKey.algorithm.hash.name is "SHA-512"
|
| +PASS importedKey.usages.join(',') is ""
|
| +Serialized key bytes: ff043f004b0209012000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f00
|
| +PASS clonedKey.type is "secret"
|
| +PASS clonedKey.extractable is true
|
| +PASS clonedKey.algorithm.name is "HMAC"
|
| +PASS clonedKey.algorithm.hash.name is "SHA-512"
|
| +PASS clonedKey.usages.join(',') is ""
|
| +PASS importedKey.type is "secret"
|
| +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"
|
| +Serialized key bytes: ff043f004b0209091030112233445566778899aabbccddeeff00
|
| +PASS clonedKey.type is "secret"
|
| +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"
|
| +PASS importedKey.type is "secret"
|
| +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"
|
| +Serialized key bytes: ff043f004b0209092000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f00
|
| +PASS clonedKey.type is "secret"
|
| +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"
|
| +PASS importedKey.type is "secret"
|
| +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"
|
| +Serialized key bytes: ff043f004b0209111030112233445566778899aabbccddeeff00
|
| +PASS clonedKey.type is "secret"
|
| +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"
|
| +PASS importedKey.type is "secret"
|
| +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"
|
| +Serialized key bytes: ff043f004b0209112000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f00
|
| +PASS clonedKey.type is "secret"
|
| +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"
|
| +PASS importedKey.type is "secret"
|
| +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"
|
| +Serialized key bytes: ff043f004b0209191030112233445566778899aabbccddeeff00
|
| +PASS clonedKey.type is "secret"
|
| +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"
|
| +PASS importedKey.type is "secret"
|
| +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"
|
| +Serialized key bytes: ff043f004b0209192000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f00
|
| +PASS clonedKey.type is "secret"
|
| +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"
|
| +PASS importedKey.type is "secret"
|
| +PASS importedKey.extractable is false
|
| +PASS importedKey.algorithm.name is "HMAC"
|
| +PASS importedKey.algorithm.hash.name is "SHA-512"
|
| +PASS importedKey.usages.join(',') is ""
|
| +Serialized key bytes: ff043f004b0209001030112233445566778899aabbccddeeff00
|
| +PASS clonedKey.type is "secret"
|
| +PASS clonedKey.extractable is false
|
| +PASS clonedKey.algorithm.name is "HMAC"
|
| +PASS clonedKey.algorithm.hash.name is "SHA-512"
|
| +PASS clonedKey.usages.join(',') is ""
|
| +PASS importedKey.type is "secret"
|
| +PASS importedKey.extractable is false
|
| +PASS importedKey.algorithm.name is "HMAC"
|
| +PASS importedKey.algorithm.hash.name is "SHA-512"
|
| +PASS importedKey.usages.join(',') is ""
|
| +Serialized key bytes: ff043f004b0209002000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f00
|
| +PASS clonedKey.type is "secret"
|
| +PASS clonedKey.extractable is false
|
| +PASS clonedKey.algorithm.name is "HMAC"
|
| +PASS clonedKey.algorithm.hash.name is "SHA-512"
|
| +PASS clonedKey.usages.join(',') is ""
|
| +PASS importedKey.type is "secret"
|
| +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"
|
| +Serialized key bytes: ff043f004b0209081030112233445566778899aabbccddeeff00
|
| +PASS clonedKey.type is "secret"
|
| +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"
|
| +PASS importedKey.type is "secret"
|
| +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"
|
| +Serialized key bytes: ff043f004b0209082000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f00
|
| +PASS clonedKey.type is "secret"
|
| +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"
|
| +PASS importedKey.type is "secret"
|
| +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"
|
| +Serialized key bytes: ff043f004b0209101030112233445566778899aabbccddeeff00
|
| +PASS clonedKey.type is "secret"
|
| +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"
|
| +PASS importedKey.type is "secret"
|
| +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"
|
| +Serialized key bytes: ff043f004b0209102000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f00
|
| +PASS clonedKey.type is "secret"
|
| +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"
|
| +PASS importedKey.type is "secret"
|
| +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"
|
| +Serialized key bytes: ff043f004b0209181030112233445566778899aabbccddeeff00
|
| +PASS clonedKey.type is "secret"
|
| +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"
|
| +PASS importedKey.type is "secret"
|
| +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"
|
| +Serialized key bytes: ff043f004b0209182000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f00
|
| +PASS clonedKey.type is "secret"
|
| +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"
|
| +PASS: cloned key data should be [30112233445566778899aabbccddeeff] 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 [00112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f] and was
|
| +PASS: cloned key data should be [30112233445566778899aabbccddeeff] 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 [00112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f] and was
|
| +PASS: cloned key data should be [30112233445566778899aabbccddeeff] 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 [00112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f] and was
|
| +PASS: cloned key data should be [30112233445566778899aabbccddeeff] 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 [00112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f] and was
|
| +PASS: cloned key data should be [30112233445566778899aabbccddeeff] 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 [00112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f] and was
|
| +PASS: cloned key data should be [30112233445566778899aabbccddeeff] 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 [00112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f] and was
|
| +PASS successfullyParsed is true
|
| +
|
| +TEST COMPLETE
|
| +
|
|
|