[WebCrypto] Add test for ECDH SPKI imports using the ecDH algorithm identifier
authorzandobersek@gmail.com <zandobersek@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 20 Jun 2017 06:00:01 +0000 (06:00 +0000)
committerzandobersek@gmail.com <zandobersek@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 20 Jun 2017 06:00:01 +0000 (06:00 +0000)
commit0f837aa6d82d5b2e3257fb8cfe417ff31b76c60e
treeff0f15ba5b802f020a86d4b5cb4923a818ecb8de
parenta71e7765f1f77f0cc82757502beb1bb404ea2a38
[WebCrypto] Add test for ECDH SPKI imports using the ecDH algorithm identifier
https://bugs.webkit.org/show_bug.cgi?id=173543

Reviewed by Jiewen Tan.

Add the ecdh-import-spki-key-ecdh-identifier.html layout test which
tests for successful import of EC keys through the SPKI format when
using the ecDH algorithm identifier (OID 1.3.132.1.12) and following
the ECDH algorithm import steps.

No implementation supports this yet, so the test is skipped on all ports.

* TestExpectations:
* crypto/subtle/ecdh-import-spki-key-ecdh-identifier-expected.txt: Added.
* crypto/subtle/ecdh-import-spki-key-ecdh-identifier.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@218533 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/TestExpectations
LayoutTests/crypto/subtle/ecdh-import-spki-key-ecdh-identifier-expected.txt [new file with mode: 0644]
LayoutTests/crypto/subtle/ecdh-import-spki-key-ecdh-identifier.html [new file with mode: 0644]