| Index: LayoutTests/crypto/clone-hmacKey-expected.txt
|
| diff --git a/LayoutTests/crypto/clone-hmacKey-expected.txt b/LayoutTests/crypto/clone-hmacKey-expected.txt
|
| index 0a716dd4397d2c751c394c051b8108b36f3a1a40..bcdff85d3858d2af9b7be77a1c907c194421b087 100644
|
| --- a/LayoutTests/crypto/clone-hmacKey-expected.txt
|
| +++ b/LayoutTests/crypto/clone-hmacKey-expected.txt
|
| @@ -10,46 +10,6 @@ PASS importedKey.extractable is true
|
| PASS importedKey.algorithm.name is "HMAC"
|
| PASS importedKey.algorithm.length is 128
|
| PASS importedKey.algorithm.hash.name is "SHA-1"
|
| -PASS importedKey.usages.join(',') is ""
|
| -PASS importedKey is not clonedKey
|
| -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.length is 128
|
| -PASS clonedKey.algorithm.hash.name is "SHA-1"
|
| -PASS clonedKey.usages.join(',') is ""
|
| -Serialized key bytes: 3f004b021005011030112233445566778899aabbccddeeff
|
| -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.length is 256
|
| -PASS importedKey.algorithm.hash.name is "SHA-1"
|
| -PASS importedKey.usages.join(',') is ""
|
| -PASS importedKey is not clonedKey
|
| -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.length is 256
|
| -PASS clonedKey.algorithm.hash.name is "SHA-1"
|
| -PASS clonedKey.usages.join(',') is ""
|
| -Serialized key bytes: 3f004b022005012000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f
|
| -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.length is 128
|
| -PASS importedKey.algorithm.hash.name is "SHA-1"
|
| PASS importedKey.usages.join(',') is "sign"
|
| PASS importedKey is not clonedKey
|
| PASS clonedKey.extraProperty is undefined.
|
| @@ -170,44 +130,6 @@ PASS importedKey.extractable is false
|
| PASS importedKey.algorithm.name is "HMAC"
|
| PASS importedKey.algorithm.length is 128
|
| PASS importedKey.algorithm.hash.name is "SHA-1"
|
| -PASS importedKey.usages.join(',') is ""
|
| -PASS importedKey is not clonedKey
|
| -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.length is 128
|
| -PASS clonedKey.algorithm.hash.name is "SHA-1"
|
| -PASS clonedKey.usages.join(',') is ""
|
| -Serialized key bytes: 3f004b021005001030112233445566778899aabbccddeeff
|
| -
|
| -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.length is 256
|
| -PASS importedKey.algorithm.hash.name is "SHA-1"
|
| -PASS importedKey.usages.join(',') is ""
|
| -PASS importedKey is not clonedKey
|
| -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.length is 256
|
| -PASS clonedKey.algorithm.hash.name is "SHA-1"
|
| -PASS clonedKey.usages.join(',') is ""
|
| -Serialized key bytes: 3f004b022005002000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f
|
| -
|
| -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.length is 128
|
| -PASS importedKey.algorithm.hash.name is "SHA-1"
|
| PASS importedKey.usages.join(',') is "sign"
|
| PASS importedKey is not clonedKey
|
| PASS clonedKey.extraProperty is undefined.
|
| @@ -322,46 +244,6 @@ PASS importedKey.extractable is true
|
| PASS importedKey.algorithm.name is "HMAC"
|
| PASS importedKey.algorithm.length is 128
|
| PASS importedKey.algorithm.hash.name is "SHA-256"
|
| -PASS importedKey.usages.join(',') is ""
|
| -PASS importedKey is not clonedKey
|
| -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.length is 128
|
| -PASS clonedKey.algorithm.hash.name is "SHA-256"
|
| -PASS clonedKey.usages.join(',') is ""
|
| -Serialized key bytes: 3f004b021006011030112233445566778899aabbccddeeff
|
| -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.length is 256
|
| -PASS importedKey.algorithm.hash.name is "SHA-256"
|
| -PASS importedKey.usages.join(',') is ""
|
| -PASS importedKey is not clonedKey
|
| -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.length is 256
|
| -PASS clonedKey.algorithm.hash.name is "SHA-256"
|
| -PASS clonedKey.usages.join(',') is ""
|
| -Serialized key bytes: 3f004b022006012000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f
|
| -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.length is 128
|
| -PASS importedKey.algorithm.hash.name is "SHA-256"
|
| PASS importedKey.usages.join(',') is "sign"
|
| PASS importedKey is not clonedKey
|
| PASS clonedKey.extraProperty is undefined.
|
| @@ -482,44 +364,6 @@ PASS importedKey.extractable is false
|
| PASS importedKey.algorithm.name is "HMAC"
|
| PASS importedKey.algorithm.length is 128
|
| PASS importedKey.algorithm.hash.name is "SHA-256"
|
| -PASS importedKey.usages.join(',') is ""
|
| -PASS importedKey is not clonedKey
|
| -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.length is 128
|
| -PASS clonedKey.algorithm.hash.name is "SHA-256"
|
| -PASS clonedKey.usages.join(',') is ""
|
| -Serialized key bytes: 3f004b021006001030112233445566778899aabbccddeeff
|
| -
|
| -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.length is 256
|
| -PASS importedKey.algorithm.hash.name is "SHA-256"
|
| -PASS importedKey.usages.join(',') is ""
|
| -PASS importedKey is not clonedKey
|
| -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.length is 256
|
| -PASS clonedKey.algorithm.hash.name is "SHA-256"
|
| -PASS clonedKey.usages.join(',') is ""
|
| -Serialized key bytes: 3f004b022006002000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f
|
| -
|
| -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.length is 128
|
| -PASS importedKey.algorithm.hash.name is "SHA-256"
|
| PASS importedKey.usages.join(',') is "sign"
|
| PASS importedKey is not clonedKey
|
| PASS clonedKey.extraProperty is undefined.
|
| @@ -634,46 +478,6 @@ PASS importedKey.extractable is true
|
| PASS importedKey.algorithm.name is "HMAC"
|
| PASS importedKey.algorithm.length is 128
|
| PASS importedKey.algorithm.hash.name is "SHA-512"
|
| -PASS importedKey.usages.join(',') is ""
|
| -PASS importedKey is not clonedKey
|
| -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.length is 128
|
| -PASS clonedKey.algorithm.hash.name is "SHA-512"
|
| -PASS clonedKey.usages.join(',') is ""
|
| -Serialized key bytes: 3f004b021008011030112233445566778899aabbccddeeff
|
| -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.length is 256
|
| -PASS importedKey.algorithm.hash.name is "SHA-512"
|
| -PASS importedKey.usages.join(',') is ""
|
| -PASS importedKey is not clonedKey
|
| -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.length is 256
|
| -PASS clonedKey.algorithm.hash.name is "SHA-512"
|
| -PASS clonedKey.usages.join(',') is ""
|
| -Serialized key bytes: 3f004b022008012000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f
|
| -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.length is 128
|
| -PASS importedKey.algorithm.hash.name is "SHA-512"
|
| PASS importedKey.usages.join(',') is "sign"
|
| PASS importedKey is not clonedKey
|
| PASS clonedKey.extraProperty is undefined.
|
| @@ -794,44 +598,6 @@ PASS importedKey.extractable is false
|
| PASS importedKey.algorithm.name is "HMAC"
|
| PASS importedKey.algorithm.length is 128
|
| PASS importedKey.algorithm.hash.name is "SHA-512"
|
| -PASS importedKey.usages.join(',') is ""
|
| -PASS importedKey is not clonedKey
|
| -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.length is 128
|
| -PASS clonedKey.algorithm.hash.name is "SHA-512"
|
| -PASS clonedKey.usages.join(',') is ""
|
| -Serialized key bytes: 3f004b021008001030112233445566778899aabbccddeeff
|
| -
|
| -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.length is 256
|
| -PASS importedKey.algorithm.hash.name is "SHA-512"
|
| -PASS importedKey.usages.join(',') is ""
|
| -PASS importedKey is not clonedKey
|
| -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.length is 256
|
| -PASS clonedKey.algorithm.hash.name is "SHA-512"
|
| -PASS clonedKey.usages.join(',') is ""
|
| -Serialized key bytes: 3f004b022008002000112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f
|
| -
|
| -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.length is 128
|
| -PASS importedKey.algorithm.hash.name is "SHA-512"
|
| PASS importedKey.usages.join(',') is "sign"
|
| PASS importedKey is not clonedKey
|
| PASS clonedKey.extraProperty is undefined.
|
|
|