| Index: LayoutTests/crypto/jwk-import-use-values-expected.txt
|
| diff --git a/LayoutTests/crypto/jwk-import-use-values-expected.txt b/LayoutTests/crypto/jwk-import-use-values-expected.txt
|
| deleted file mode 100644
|
| index 9968e76aa658f964c89f7fd2b445e0c3d26e959a..0000000000000000000000000000000000000000
|
| --- a/LayoutTests/crypto/jwk-import-use-values-expected.txt
|
| +++ /dev/null
|
| @@ -1,84 +0,0 @@
|
| -Test importing keys with various uses from JWK.
|
| -
|
| -On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
|
| -
|
| -
|
| -
|
| -{"key_ops":["encrypt","encrypt"]}:
|
| -Failed importing with encrypt: DataError: The "key_ops" member of the JWK dictionary contains duplicate usages.
|
| -{"key_ops":["encrypt"]}:
|
| -PASS key.usages is ["encrypt"]
|
| -
|
| -{"key_ops":["encrypt"]}:
|
| -Failed importing with decrypt: DataError: The JWK "key_ops" member was inconsistent with that specified by the Web Crypto call. The JWK usage must be a superset of those requested
|
| -{"key_ops":["decrypt"]}:
|
| -PASS key.usages is ["decrypt"]
|
| -
|
| -{"key_ops":["decrypt"]}:
|
| -Failed importing with encrypt: DataError: The JWK "key_ops" member was inconsistent with that specified by the Web Crypto call. The JWK usage must be a superset of those requested
|
| -{"key_ops":["encrypt","decrypt"]}:
|
| -PASS key.usages is ["encrypt","decrypt"]
|
| -
|
| -{"key_ops":["encrypt","decrypt"]}:
|
| -PASS key.usages is ["encrypt"]
|
| -
|
| -{"key_ops":["encrypt","decrypt"]}:
|
| -Failed importing with unwrapKey: DataError: The JWK "key_ops" member was inconsistent with that specified by the Web Crypto call. The JWK usage must be a superset of those requested
|
| -{"key_ops":["wrapKey"]}:
|
| -PASS key.usages is ["wrapKey"]
|
| -
|
| -{"key_ops":["wrapKey"]}:
|
| -Failed importing with unwrapKey: DataError: The JWK "key_ops" member was inconsistent with that specified by the Web Crypto call. The JWK usage must be a superset of those requested
|
| -{"key_ops":["unwrapKey"]}:
|
| -PASS key.usages is ["unwrapKey"]
|
| -
|
| -{"key_ops":["wrapKey","unwrapKey"]}:
|
| -PASS key.usages is ["wrapKey","unwrapKey"]
|
| -
|
| -{"key_ops":["encrypt","decrypt","wrapKey"]}:
|
| -PASS key.usages is ["encrypt","decrypt","wrapKey"]
|
| -
|
| -{"use":"enc"}:
|
| -PASS key.usages is ["encrypt","decrypt","wrapKey","unwrapKey"]
|
| -
|
| -{"use":"enc"}:
|
| -PASS key.usages is ["encrypt","decrypt","unwrapKey"]
|
| -
|
| -{"use":"enc"}:
|
| -PASS key.usages is ["encrypt","decrypt","unwrapKey"]
|
| -
|
| -{"key_ops":["sign"]}:
|
| -PASS key.usages is ["sign"]
|
| -
|
| -{"key_ops":["sign"]}:
|
| -Failed importing with verify: DataError: The JWK "key_ops" member was inconsistent with that specified by the Web Crypto call. The JWK usage must be a superset of those requested
|
| -{"key_ops":["verify"]}:
|
| -PASS key.usages is ["verify"]
|
| -
|
| -{"key_ops":["verify"]}:
|
| -Failed importing with sign: DataError: The JWK "key_ops" member was inconsistent with that specified by the Web Crypto call. The JWK usage must be a superset of those requested
|
| -{"use":"sig"}:
|
| -PASS key.usages is ["sign","verify"]
|
| -
|
| -{"use":"sig"}:
|
| -PASS key.usages is ["sign"]
|
| -
|
| -{"key_ops":["'encrypt'","decrypt"]}:
|
| -PASS key.usages is ["decrypt"]
|
| -
|
| -{"key_ops":["encrypt ","foo","decrypt"]}:
|
| -PASS key.usages is ["decrypt"]
|
| -
|
| -{"key_ops":["Encrypt","decrypt"]}:
|
| -PASS key.usages is ["decrypt"]
|
| -
|
| -{"key_ops":["'encrypt'","decrypt"]}:
|
| -Failed importing with encrypt: DataError: The JWK "key_ops" member was inconsistent with that specified by the Web Crypto call. The JWK usage must be a superset of those requested
|
| -{"key_ops":["encrypt "]}:
|
| -Failed importing with encrypt: DataError: The JWK "key_ops" member was inconsistent with that specified by the Web Crypto call. The JWK usage must be a superset of those requested
|
| -{"key_ops":["Encrypt"]}:
|
| -Failed importing with encrypt: DataError: The JWK "key_ops" member was inconsistent with that specified by the Web Crypto call. The JWK usage must be a superset of those requested
|
| -PASS successfullyParsed is true
|
| -
|
| -TEST COMPLETE
|
| -
|
|
|