aboutsummaryrefslogtreecommitdiffstats
path: root/src/test-data/ecc_testdata
diff options
context:
space:
mode:
Diffstat (limited to 'src/test-data/ecc_testdata')
-rw-r--r--src/test-data/ecc_testdata/CSCA.CSCA.csca-germany.1.crtbin0 -> 862 bytes
-rw-r--r--src/test-data/ecc_testdata/CSCA.CSCA.csca-germany.1.pem20
-rw-r--r--src/test-data/ecc_testdata/DE1_flen_chars_cvcRequest_ECDSA.derbin0 -> 158 bytes
-rw-r--r--src/test-data/ecc_testdata/Lidia.cerbin0 -> 985 bytes
-rw-r--r--src/test-data/ecc_testdata/Lidia.pem23
-rw-r--r--src/test-data/ecc_testdata/adobin0 -> 353 bytes
-rw-r--r--src/test-data/ecc_testdata/ado.cvcreqbin0 -> 238 bytes
-rw-r--r--src/test-data/ecc_testdata/cvc_chain_cvca.cerbin0 -> 392 bytes
-rw-r--r--src/test-data/ecc_testdata/cvc_chain_dvca_ado2.cerbin0 -> 238 bytes
-rw-r--r--src/test-data/ecc_testdata/cvc_chain_dvca_cert1.cerbin0 -> 212 bytes
-rw-r--r--src/test-data/ecc_testdata/cvc_chain_dvca_req.cerbin0 -> 158 bytes
-rw-r--r--src/test-data/ecc_testdata/cvc_chain_dvca_req2.cerbin0 -> 158 bytes
-rw-r--r--src/test-data/ecc_testdata/cvc_chain_dvca_req2b.cerbin0 -> 158 bytes
-rw-r--r--src/test-data/ecc_testdata/cvc_chain_is_cert.cerbin0 -> 210 bytes
-rw-r--r--src/test-data/ecc_testdata/cvc_chain_is_req.cerbin0 -> 151 bytes
-rw-r--r--src/test-data/ecc_testdata/cvc_chain_link12.cerbin0 -> 392 bytes
-rw-r--r--src/test-data/ecc_testdata/cvca01.cv.crtbin0 -> 402 bytes
-rw-r--r--src/test-data/ecc_testdata/cvca_illegal_chars.cv.crtbin0 -> 402 bytes
-rw-r--r--src/test-data/ecc_testdata/cvca_illegal_chars2.cv.crtbin0 -> 402 bytes
-rw-r--r--src/test-data/ecc_testdata/ec_for_flex_mes.sig1
-rw-r--r--src/test-data/ecc_testdata/ec_oid_not_in_reg_private_2.pkcs8.pem7
-rw-r--r--src/test-data/ecc_testdata/ecc_private_with_rfc5915_ext.pem6
-rw-r--r--src/test-data/ecc_testdata/flex_cert.crtbin0 -> 412 bytes
-rw-r--r--src/test-data/ecc_testdata/flex_mes1
-rw-r--r--src/test-data/ecc_testdata/flex_mes.sigbin0 -> 64 bytes
-rw-r--r--src/test-data/ecc_testdata/insito_expl_ec.pem19
-rw-r--r--src/test-data/ecc_testdata/insito_oid_ec.pem13
-rw-r--r--src/test-data/ecc_testdata/link_SHA1.166.crtbin0 -> 858 bytes
-rw-r--r--src/test-data/ecc_testdata/link_SHA256.cerbin0 -> 1790 bytes
-rw-r--r--src/test-data/ecc_testdata/my_cv_cert.berbin0 -> 286 bytes
-rw-r--r--src/test-data/ecc_testdata/my_cv_cert2.berbin0 -> 286 bytes
-rw-r--r--src/test-data/ecc_testdata/my_cv_req.berbin0 -> 238 bytes
-rw-r--r--src/test-data/ecc_testdata/nodompar_private.pkcs8.pem12
-rw-r--r--src/test-data/ecc_testdata/private.pem11
-rw-r--r--src/test-data/ecc_testdata/root1_SHA256.cerbin0 -> 1790 bytes
-rw-r--r--src/test-data/ecc_testdata/root2_SHA256.cerbin0 -> 1790 bytes
-rw-r--r--src/test-data/ecc_testdata/root_SHA1.163.crtbin0 -> 860 bytes
-rw-r--r--src/test-data/ecc_testdata/withdompar_private.pkcs8.pem5
-rw-r--r--src/test-data/ecc_testdata/x509_req_test_expl.pem19
-rw-r--r--src/test-data/ecc_testdata/x509_req_test_oid.pem12
-rw-r--r--src/test-data/ecc_testdata/x509_test_privkey_expl_pw123456.pem13
-rw-r--r--src/test-data/ecc_testdata/x509_test_privkey_oid_pw123456.pem13
42 files changed, 175 insertions, 0 deletions
diff --git a/src/test-data/ecc_testdata/CSCA.CSCA.csca-germany.1.crt b/src/test-data/ecc_testdata/CSCA.CSCA.csca-germany.1.crt
new file mode 100644
index 000000000..8653f961a
--- /dev/null
+++ b/src/test-data/ecc_testdata/CSCA.CSCA.csca-germany.1.crt
Binary files differ
diff --git a/src/test-data/ecc_testdata/CSCA.CSCA.csca-germany.1.pem b/src/test-data/ecc_testdata/CSCA.CSCA.csca-germany.1.pem
new file mode 100644
index 000000000..725e1634e
--- /dev/null
+++ b/src/test-data/ecc_testdata/CSCA.CSCA.csca-germany.1.pem
@@ -0,0 +1,20 @@
+-----BEGIN CERTIFICATE-----
+MIIDWjCCAwWgAwIBAgIBATAMBggqhkjOPQQDAQUAMFAxCzAJBgNVBAYTAkRFMQ0w
+CwYDVQQKDARidW5kMQwwCgYDVQQLDANic2kxDTALBgNVBAUTBDQ1NjcxFTATBgNV
+BAMMDGNzY2EtZ2VybWFueTAeFw0wNzA3MTkxNTI3MThaFw0yODAxMTkxNTE4MDBa
+MFAxCzAJBgNVBAYTAkRFMQ0wCwYDVQQKDARidW5kMQwwCgYDVQQLDANic2kxDTAL
+BgNVBAUTBDQ1NjcxFTATBgNVBAMMDGNzY2EtZ2VybWFueTCCARMwgdQGByqGSM49
+AgEwgcgCAQEwKAYHKoZIzj0BAQIdANfBNKomQ2aGKhgwJXXR14ewnwdXl9qJ9X7I
+wP8wPAQcaKXmLKnObBwpmAOmwVMLUU4YKtiwBCpZytKfQwQcJYD2PM/kQTiHBxOx
+qSNp4z4hNdJm27NyOGxACwQ5BA2QKa0sflz0NAgjsqh9xoyeTOMXTB5u/e4SwH1Y
+qlb3csBybyTGuJ5OzawkNUuemcqj9tN2FALNAh0A18E0qiZDZoYqGDAlddD7mNEW
+vEtt3ryjpaeTnwIBAQM6AAQBNkpLDwEC6VAqudxoVdkLBlpvXl5IOV+DCdV8Eauv
+8hdWYH72dX7JiGyiItg8oEsamfpDxam84aOCARAwggEMMDYGA1UdEQQvMC2BGGNz
+Y2EtZ2VybWFueUBic2kuYnVuZC5kZYYRZmF4Ois0OTIyODk1ODI3MjIwDgYDVR0P
+AQH/BAQDAgEGMB0GA1UdDgQWBBQAlkUt5Yj5ZsTM3xYd0fP1NBtx5zAfBgNVHSME
+GDAWgBQAlkUt5Yj5ZsTM3xYd0fP1NBtx5zBBBgNVHSAEOjA4MDYGCQQAfwAHAwEB
+ATApMCcGCCsGAQUFBwIBFhtodHRwOi8vd3d3LmJzaS5idW5kLmRlL2NzY2EwEgYD
+VR0TAQH/BAgwBgEB/wIBADArBgNVHRAEJDAigA8yMDA3MDcxOTE1MjcxOFqBDzIw
+MjcxMTE5MTUxODAwWjAMBggqhkjOPQQDAQUAA0EAMD4CHQDGtB6DAhf9TJO1np4r
+E3NOCcGC+mP67kEVqO3VAh0A0nk42gG4lRqQZKG2lq7fGBt0logpwTjw6y9iOw==
+-----END CERTIFICATE-----
diff --git a/src/test-data/ecc_testdata/DE1_flen_chars_cvcRequest_ECDSA.der b/src/test-data/ecc_testdata/DE1_flen_chars_cvcRequest_ECDSA.der
new file mode 100644
index 000000000..358ca8f34
--- /dev/null
+++ b/src/test-data/ecc_testdata/DE1_flen_chars_cvcRequest_ECDSA.der
Binary files differ
diff --git a/src/test-data/ecc_testdata/Lidia.cer b/src/test-data/ecc_testdata/Lidia.cer
new file mode 100644
index 000000000..58c55689b
--- /dev/null
+++ b/src/test-data/ecc_testdata/Lidia.cer
Binary files differ
diff --git a/src/test-data/ecc_testdata/Lidia.pem b/src/test-data/ecc_testdata/Lidia.pem
new file mode 100644
index 000000000..c0612d9ca
--- /dev/null
+++ b/src/test-data/ecc_testdata/Lidia.pem
@@ -0,0 +1,23 @@
+-----BEGIN CERTIFICATE-----
+MIID1TCCAz6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBKMQswCQYDVQQGEwJERTEV
+MBMGA1UECgwMVFUgRGFybXN0YWR0MQwwCgYDVQQLDANDREMxFjAUBgNVBAMMDUxp
+RElBIENBIDE6UE4wHhcNMDQwNzA1MTQzNDM1WhcNMDkwNzA1MTQzMDM0WjBKMQsw
+CQYDVQQGEwJERTEVMBMGA1UECgwMVFUgRGFybXN0YWR0MQwwCgYDVQQLDANDREMx
+FjAUBgNVBAMMDUxpRElBIENBIDE6UE4wgaAwDQYJKoZIhvcNAQEBBQADgY4AMIGK
+AoGBAJI+ARML7sZAYYGcmjhxAGCi7Iohg6/dWSP/WWv2dEtRQ1k0GOa7HV2j9aD5
+myVRfNCs/9uFggTLuWGreDHE6+gAIpmGjbohQPopPwK8p0C4Lk+lPwOkXnoC3sQS
+AMpfiIZ9URfkHQ4IdQCBkOtRBLiYN5PKycC4nVXUmf+hjUMNAgRAAACBo4IByDCC
+AcQwDgYDVR0PAQH/BAQDAgIEMHEGA1UdIARqMGgwZgYLKwYBBAHAbQMEAgEwVzBV
+BggrBgEFBQcCARZJaHR0cHM6Ly93d3cubGlkaWEtY2EuY2RjLmluZm9ybWF0aWsu
+dHUtZGFybXN0YWR0LmRlL0FubWVsZHVuZy94NTA5djMuaHRtbDCB6gYDVR0fBIHi
+MIHfMIHcoIHZoIHWhoHTbGRhcDovL2xpZGlhLWNhLmNkYy5pbmZvcm1hdGlrLnR1
+LWRhcm1zdGFkdC5kZTozODkvY249TGlESUEtQ0ElMjBDUkwtU2lnbmVyJTIwMTpQ
+TixvdT1DREMsbz1UVSUyMERhcm1zdGFkdCxjPURFLGRjPUxpRElBLUNBLGRjPWxp
+ZGlhLWNhLGRjPWNkYyxkYz1pbmZvcm1hdGlrLGRjPXR1LWRhcm1zdGFkdCxkYz1k
+ZT9jZXJ0aWZpY2F0ZVJldm9jYXRpb25MaXN0O2JpbmFyeTASBgNVHRMBAf8ECDAG
+AQH/AgEAMB8GA1UdIwQYMBaAFN8gbG59DBnAHra5WZDGLDT9Hd2PMB0GA1UdDgQW
+BBTfIGxufQwZwB62uVmQxiw0/R3djzANBgkqhkiG9w0BAQUFAAOBgQA87i/oRFnF
+2wvZjFOGozRQjXEK1BLqhJEz+atbQzuY0aBdg95zTC/xJR8MuV2PjHuvSnpwf7nt
+Ff5qsD0ewYk41VIlymWDprX6QAAze4oHDmK05Da6E4IzeKFl+/fXF7qNhLNN/Qld
+ETaAOM6MIA5WZtjwQPl1jZphtwm3F5ALwg==
+-----END CERTIFICATE-----
diff --git a/src/test-data/ecc_testdata/ado b/src/test-data/ecc_testdata/ado
new file mode 100644
index 000000000..baa79177c
--- /dev/null
+++ b/src/test-data/ecc_testdata/ado
Binary files differ
diff --git a/src/test-data/ecc_testdata/ado.cvcreq b/src/test-data/ecc_testdata/ado.cvcreq
new file mode 100644
index 000000000..09a14bbb4
--- /dev/null
+++ b/src/test-data/ecc_testdata/ado.cvcreq
Binary files differ
diff --git a/src/test-data/ecc_testdata/cvc_chain_cvca.cer b/src/test-data/ecc_testdata/cvc_chain_cvca.cer
new file mode 100644
index 000000000..4a7281aa6
--- /dev/null
+++ b/src/test-data/ecc_testdata/cvc_chain_cvca.cer
Binary files differ
diff --git a/src/test-data/ecc_testdata/cvc_chain_dvca_ado2.cer b/src/test-data/ecc_testdata/cvc_chain_dvca_ado2.cer
new file mode 100644
index 000000000..1d6f7c173
--- /dev/null
+++ b/src/test-data/ecc_testdata/cvc_chain_dvca_ado2.cer
Binary files differ
diff --git a/src/test-data/ecc_testdata/cvc_chain_dvca_cert1.cer b/src/test-data/ecc_testdata/cvc_chain_dvca_cert1.cer
new file mode 100644
index 000000000..c16c2d279
--- /dev/null
+++ b/src/test-data/ecc_testdata/cvc_chain_dvca_cert1.cer
Binary files differ
diff --git a/src/test-data/ecc_testdata/cvc_chain_dvca_req.cer b/src/test-data/ecc_testdata/cvc_chain_dvca_req.cer
new file mode 100644
index 000000000..382351d6a
--- /dev/null
+++ b/src/test-data/ecc_testdata/cvc_chain_dvca_req.cer
Binary files differ
diff --git a/src/test-data/ecc_testdata/cvc_chain_dvca_req2.cer b/src/test-data/ecc_testdata/cvc_chain_dvca_req2.cer
new file mode 100644
index 000000000..1b39cee00
--- /dev/null
+++ b/src/test-data/ecc_testdata/cvc_chain_dvca_req2.cer
Binary files differ
diff --git a/src/test-data/ecc_testdata/cvc_chain_dvca_req2b.cer b/src/test-data/ecc_testdata/cvc_chain_dvca_req2b.cer
new file mode 100644
index 000000000..1b39cee00
--- /dev/null
+++ b/src/test-data/ecc_testdata/cvc_chain_dvca_req2b.cer
Binary files differ
diff --git a/src/test-data/ecc_testdata/cvc_chain_is_cert.cer b/src/test-data/ecc_testdata/cvc_chain_is_cert.cer
new file mode 100644
index 000000000..f9ee2d20f
--- /dev/null
+++ b/src/test-data/ecc_testdata/cvc_chain_is_cert.cer
Binary files differ
diff --git a/src/test-data/ecc_testdata/cvc_chain_is_req.cer b/src/test-data/ecc_testdata/cvc_chain_is_req.cer
new file mode 100644
index 000000000..144495f8b
--- /dev/null
+++ b/src/test-data/ecc_testdata/cvc_chain_is_req.cer
Binary files differ
diff --git a/src/test-data/ecc_testdata/cvc_chain_link12.cer b/src/test-data/ecc_testdata/cvc_chain_link12.cer
new file mode 100644
index 000000000..27df92d9d
--- /dev/null
+++ b/src/test-data/ecc_testdata/cvc_chain_link12.cer
Binary files differ
diff --git a/src/test-data/ecc_testdata/cvca01.cv.crt b/src/test-data/ecc_testdata/cvca01.cv.crt
new file mode 100644
index 000000000..8f278167c
--- /dev/null
+++ b/src/test-data/ecc_testdata/cvca01.cv.crt
Binary files differ
diff --git a/src/test-data/ecc_testdata/cvca_illegal_chars.cv.crt b/src/test-data/ecc_testdata/cvca_illegal_chars.cv.crt
new file mode 100644
index 000000000..b1a3d266c
--- /dev/null
+++ b/src/test-data/ecc_testdata/cvca_illegal_chars.cv.crt
Binary files differ
diff --git a/src/test-data/ecc_testdata/cvca_illegal_chars2.cv.crt b/src/test-data/ecc_testdata/cvca_illegal_chars2.cv.crt
new file mode 100644
index 000000000..00f09b618
--- /dev/null
+++ b/src/test-data/ecc_testdata/cvca_illegal_chars2.cv.crt
Binary files differ
diff --git a/src/test-data/ecc_testdata/ec_for_flex_mes.sig b/src/test-data/ecc_testdata/ec_for_flex_mes.sig
new file mode 100644
index 000000000..6d9983b67
--- /dev/null
+++ b/src/test-data/ecc_testdata/ec_for_flex_mes.sig
@@ -0,0 +1 @@
+MGQCMG+ULXRAhLe+GESTVKd+aT3tn46209cLl9LTxDoj1lz/G9Xlw4QpwuCP1TJnRwNySgIwUu+8u32frzcZ2EhNMRrFcyH9t/8GGdvAlszc4k4TSvMK+Rz+5eZ+6hYX3lEsusCY
diff --git a/src/test-data/ecc_testdata/ec_oid_not_in_reg_private_2.pkcs8.pem b/src/test-data/ecc_testdata/ec_oid_not_in_reg_private_2.pkcs8.pem
new file mode 100644
index 000000000..7a1707971
--- /dev/null
+++ b/src/test-data/ecc_testdata/ec_oid_not_in_reg_private_2.pkcs8.pem
@@ -0,0 +1,7 @@
+-----BEGIN PRIVATE KEY-----
+MIHaAgEAMIG0BgcqhkjOPQIBMIGoAgEBMCIGByqGSM49AQECFw4aFhluYAAAAAC8
+d5mvQORfIMKCpz8jMDIEFwpp6Dq3yY/XFMent6k68ZVN0TLoYuwCBBcF27ytezfC
+QvUCsMLrgpmKMPgl7QmshQQvBAegDesPaZK6sjNlLdtcbzMdfScPlwnsBYlNHz+Z
+VzzAHH+at1C946ahHkssjp4CFw4aFhluYAAAAAC8fxYY2GexW7hkdEGPAgEBBB4w
+HAIBAQQXBJJ/aqWyXJt0gblb7AjQYjSqWnHULjY=
+-----END PRIVATE KEY-----
diff --git a/src/test-data/ecc_testdata/ecc_private_with_rfc5915_ext.pem b/src/test-data/ecc_testdata/ecc_private_with_rfc5915_ext.pem
new file mode 100644
index 000000000..a8699fce7
--- /dev/null
+++ b/src/test-data/ecc_testdata/ecc_private_with_rfc5915_ext.pem
@@ -0,0 +1,6 @@
+-----BEGIN ENCRYPTED PRIVATE KEY-----
+MIGwMBsGCSqGSIb3DQEFAzAOBAhLqOHiUDFjTwICCAAEgZD1k1BiBROTLBRoFQG5
+gNEipqwBXlKKv+cen7laWHdABXBPGSXBTZGiwsfVPitW+mT3kLHjPZOwJ+55Chka
+QkBardzHxD2LwX8BXxDqiv61R/NsGh376+KXxTbZApobC3p40T24wMvX0O04HXaZ
+6qPBsRo1byuhn0jM6Qr0O/HnYHH4/fiIN6Iq2HF6/QaUnak=
+-----END ENCRYPTED PRIVATE KEY-----
diff --git a/src/test-data/ecc_testdata/flex_cert.crt b/src/test-data/ecc_testdata/flex_cert.crt
new file mode 100644
index 000000000..0b9015cb2
--- /dev/null
+++ b/src/test-data/ecc_testdata/flex_cert.crt
Binary files differ
diff --git a/src/test-data/ecc_testdata/flex_mes b/src/test-data/ecc_testdata/flex_mes
new file mode 100644
index 000000000..52a91be5e
--- /dev/null
+++ b/src/test-data/ecc_testdata/flex_mes
@@ -0,0 +1 @@
+!aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa! \ No newline at end of file
diff --git a/src/test-data/ecc_testdata/flex_mes.sig b/src/test-data/ecc_testdata/flex_mes.sig
new file mode 100644
index 000000000..fde33473a
--- /dev/null
+++ b/src/test-data/ecc_testdata/flex_mes.sig
Binary files differ
diff --git a/src/test-data/ecc_testdata/insito_expl_ec.pem b/src/test-data/ecc_testdata/insito_expl_ec.pem
new file mode 100644
index 000000000..e8e57848f
--- /dev/null
+++ b/src/test-data/ecc_testdata/insito_expl_ec.pem
@@ -0,0 +1,19 @@
+-----BEGIN CERTIFICATE-----
+MIIDJDCCAqmgAwIBAgIRAMIJXZsHSYcafmLTmEPf5m8wDAYIKoZIzj0EAwEFADA7
+MQswCQYDVQQGEwJERTETMBEGA1UEChMKRmxleFNlY3VyZTEXMBUGA1UEAxMOSW5T
+aVRvIFRlc3QgQ0EwHhcNMDgxMDA5MTg1MzUyWhcNMDkxMDA5MTg1MzUyWjA7MQsw
+CQYDVQQGEwJERTETMBEGA1UEChMKRmxleFNlY3VyZTEXMBUGA1UEAxMOSW5TaVRv
+IFRlc3QgQ0EwggGFMIIBTQYHKoZIzj0CATCCAUACAQEwPAYHKoZIzj0BAQIxAIy5
+HoKjOG0oD11vflDmQd8VL3EJ7VRWtBKx2hl/txEjrNOnKZAdGnGHRwATMQfsUzBk
+BDB7w4LGPYwVDDxyCArOBa+gwr6ijk+yJ4cTkWXvupH5D4qlgUpQOtTrBKjH3SLO
+KCYEMASox90izigmizm1VBbwRHwvt33hB9zSpi6IDqU+62LVfLQ5ApXbyZQ6t4aW
++lBMEQRhBB0cZPBoz0X/oqY6gbfBP2uIR6PnfvFP49t/yv4MvRDo6CbgNDbWRqrv
+h7LiR9SvHoq+HXUg+cKkXLHrjpXP1VJitwsp/uxYZOGcBU/5kSkoDkZGIXeRgRFC
+ggNBJjxTFQIxAIy5HoKjOG0oD11vflDmQd8VL3EJ7VRWsx8WbmysBCWnzzq2r2t/
+wxA7iDIC6QRlZQIBAQMyAAM3OveZo7xFgTJqYZ2C1nydlMMZ6d2KuHgS7Q3+SkbS
+QGy4k7p87QwpLNRhjSPU/qejXjBcMB0GA1UdDgQWBBTLFJODc8gnNtBMOi5lf9qi
+bQoStjAOBgNVHQ8BAf8EBAMCAQYwFwYDVR0RBBAwDoEMdGVzdEB0ZXN0LmRlMBIG
+A1UdEwEB/wQIMAYBAf8CAQgwDAYIKoZIzj0EAwEFAANnADBkAjAIqO6/nN20oxQx
+maPvFCBdPXgTEfsZt8hc3GPO7nCiRGcdn877NNyO+vPGuffE47QCME3P8WHvuUU8
+dcrs9ZP/dAX8rRWZ2pTatGjufkwRThYRanM5UMVycsJ6l5Miw1KCyA==
+-----END CERTIFICATE-----
diff --git a/src/test-data/ecc_testdata/insito_oid_ec.pem b/src/test-data/ecc_testdata/insito_oid_ec.pem
new file mode 100644
index 000000000..2e0517187
--- /dev/null
+++ b/src/test-data/ecc_testdata/insito_oid_ec.pem
@@ -0,0 +1,13 @@
+-----BEGIN CERTIFICATE-----
+MIIB5zCCAWygAwIBAgIRAKiVxgiRp/wH4oOF+uzoC/EwDAYIKoZIzj0EAwEFADA7
+MQswCQYDVQQGEwJERTETMBEGA1UEChMKRmxleFNlY3VyZTEXMBUGA1UEAxMOSW5T
+aVRvIFRlc3QgQ0EwHhcNMDgxMDA5MTg1MzUyWhcNMDkxMDA5MTg1MzUyWjA7MQsw
+CQYDVQQGEwJERTETMBEGA1UEChMKRmxleFNlY3VyZTEXMBUGA1UEAxMOSW5TaVRv
+IFRlc3QgQ0EwSjAUBgcqhkjOPQIBBgkrJAMDAggBAQsDMgACE6zPzVimCycfprq0
+rfuJY1kBLJBvClZUkRP0qRBIU9c1pnZcJdoC4Nks3Mwf/QZoo14wXDAdBgNVHQ4E
+FgQUJBauyO+U5gtgw2LqHCG40qle4+owDgYDVR0PAQH/BAQDAgEGMBcGA1UdEQQQ
+MA6BDHRlc3RAdGVzdC5kZTASBgNVHRMBAf8ECDAGAQH/AgEIMAwGCCqGSM49BAMB
+BQADZwAwZAIwMtaUw+Hqnm5hB1T1zIc9OEb3VvUAuWFhppbRO87Yo2UZBc/mSVf2
+7KHGSRBBJBZ3AjB9KJIaRCacFYOb8aENOgDHlwwtAdQKrjPH1bEVdotmQePS2hIv
+DNGNLlqllCnQWvU=
+-----END CERTIFICATE-----
diff --git a/src/test-data/ecc_testdata/link_SHA1.166.crt b/src/test-data/ecc_testdata/link_SHA1.166.crt
new file mode 100644
index 000000000..8f76b3203
--- /dev/null
+++ b/src/test-data/ecc_testdata/link_SHA1.166.crt
Binary files differ
diff --git a/src/test-data/ecc_testdata/link_SHA256.cer b/src/test-data/ecc_testdata/link_SHA256.cer
new file mode 100644
index 000000000..add40f738
--- /dev/null
+++ b/src/test-data/ecc_testdata/link_SHA256.cer
Binary files differ
diff --git a/src/test-data/ecc_testdata/my_cv_cert.ber b/src/test-data/ecc_testdata/my_cv_cert.ber
new file mode 100644
index 000000000..7a14fd3eb
--- /dev/null
+++ b/src/test-data/ecc_testdata/my_cv_cert.ber
Binary files differ
diff --git a/src/test-data/ecc_testdata/my_cv_cert2.ber b/src/test-data/ecc_testdata/my_cv_cert2.ber
new file mode 100644
index 000000000..7a14fd3eb
--- /dev/null
+++ b/src/test-data/ecc_testdata/my_cv_cert2.ber
Binary files differ
diff --git a/src/test-data/ecc_testdata/my_cv_req.ber b/src/test-data/ecc_testdata/my_cv_req.ber
new file mode 100644
index 000000000..4e121eee7
--- /dev/null
+++ b/src/test-data/ecc_testdata/my_cv_req.ber
Binary files differ
diff --git a/src/test-data/ecc_testdata/nodompar_private.pkcs8.pem b/src/test-data/ecc_testdata/nodompar_private.pkcs8.pem
new file mode 100644
index 000000000..a2c64ec53
--- /dev/null
+++ b/src/test-data/ecc_testdata/nodompar_private.pkcs8.pem
@@ -0,0 +1,12 @@
+-----BEGIN PRIVATE KEY-----
+MIIB0QIBADCCAYcGByqGSM49AgEwggF6AgEBMEUGByqGSM49AQECOgthcsnViAAA
+AAAAAAAAAAAAAAAAAAAAAAAAAEdshQ7mkmMLkJZUVU4Ol915g3uKHPNUo9AwD+x4
+7PkweAQ6Cjd97ea1IzM9NseOmw6qO/SM6TBB9tT8NAFNCPaDOAdJje7dQpAQHFhm
+6N+1iUhdEzV7nnjC1/vp/gQ6CprPjIumF3d+JIUJvLRxfU2zRiAr+eNSzVYzcx3Z
+KlG3Kk3Ds9F8gj/Mj72k2gjyXeqJBGCHNCWVpwR1BAgVI9A9TxLNAoed6kv2pPOn
+3ybtiI8QxbIjWhJ0w4ai8hgwDe5u0heEEWRTO83JA/B6CW+fv07pW6wJihEfKW9Y
+MP5cNbPjRNXfOiJWmF9k++bQ7cxMYdGL72gd05nfPQGUxaQxXgEuAkXs6lY2W6qe
+i+H3AjoLYXLJ1YgAAAAAAAAAAAAAAAAAAAAAAAAAAABHbIeQSOXYXqco7S6hwduS
+xOT5ZSNk/c26d1X6bDYvAgEBBEEwPwIBAQQ6CQZ+cOjNmFKHK7JoXGdAPByb7XfI
+kTIoUEiQxOiDRUH9pUqf0lpcCHhjtTb9hQZ1RGYrjqsccdL6ng==
+-----END PRIVATE KEY-----
diff --git a/src/test-data/ecc_testdata/private.pem b/src/test-data/ecc_testdata/private.pem
new file mode 100644
index 000000000..4465da669
--- /dev/null
+++ b/src/test-data/ecc_testdata/private.pem
@@ -0,0 +1,11 @@
+-----BEGIN PRIVATE KEY-----
+MIIBjQIBADCCAU0GByqGSM49AgEwggFAAgEBMDwGByqGSM49AQECMQCMuR6Cozht
+KA9db35Q5kHfFS9xCe1UVrQSsdoZf7cRI6zTpymQHRpxh0cAEzEH7FMwZAQwe8OC
+xj2MFQw8cggKzgWvoMK+oo5PsieHE5Fl77qR+Q+KpYFKUDrU6wSox90izigmBDAE
+qMfdIs4oJos5tVQW8ER8L7d94Qfc0qYuiA6lPuti1Xy0OQKV28mUOreGlvpQTBEE
+YQQdHGTwaM9F/6KmOoG3wT9riEej537xT+Pbf8r+DL0Q6Ogm4DQ21kaq74ey4kfU
+rx6Kvh11IPnCpFyx646Vz9VSYrcLKf7sWGThnAVP+ZEpKA5GRiF3kYERQoIDQSY8
+UxUCMQCMuR6CozhtKA9db35Q5kHfFS9xCe1UVrMfFm5srAQlp886tq9rf8MQO4gy
+AukEZWUCAQEENzA1AgEBBDB5HVMmAiyXDGqBKoKEHNIk02EMVKKdHqXG6kDInWC/
+R4ZVuXK3T8DqJrRX7RHxndk=
+-----END PRIVATE KEY-----
diff --git a/src/test-data/ecc_testdata/root1_SHA256.cer b/src/test-data/ecc_testdata/root1_SHA256.cer
new file mode 100644
index 000000000..021afe530
--- /dev/null
+++ b/src/test-data/ecc_testdata/root1_SHA256.cer
Binary files differ
diff --git a/src/test-data/ecc_testdata/root2_SHA256.cer b/src/test-data/ecc_testdata/root2_SHA256.cer
new file mode 100644
index 000000000..a2ecfed22
--- /dev/null
+++ b/src/test-data/ecc_testdata/root2_SHA256.cer
Binary files differ
diff --git a/src/test-data/ecc_testdata/root_SHA1.163.crt b/src/test-data/ecc_testdata/root_SHA1.163.crt
new file mode 100644
index 000000000..e1bf39f9a
--- /dev/null
+++ b/src/test-data/ecc_testdata/root_SHA1.163.crt
Binary files differ
diff --git a/src/test-data/ecc_testdata/withdompar_private.pkcs8.pem b/src/test-data/ecc_testdata/withdompar_private.pkcs8.pem
new file mode 100644
index 000000000..85d7b575e
--- /dev/null
+++ b/src/test-data/ecc_testdata/withdompar_private.pkcs8.pem
@@ -0,0 +1,5 @@
+-----BEGIN PRIVATE KEY-----
+MGACAQAwGAYHKoZIzj0CAQYNKwYBBAHAbQMBAgkAIQRBMD8CAQEEOgG97/hDkXbJ
+tgF36JmM7NliJIlDFzTm69KYouwhjPOsh6hKo5NPTtsmHafplOqpUf0TyAhB1Q88
+3xA=
+-----END PRIVATE KEY-----
diff --git a/src/test-data/ecc_testdata/x509_req_test_expl.pem b/src/test-data/ecc_testdata/x509_req_test_expl.pem
new file mode 100644
index 000000000..e4ae1a9b3
--- /dev/null
+++ b/src/test-data/ecc_testdata/x509_req_test_expl.pem
@@ -0,0 +1,19 @@
+-----BEGIN CERTIFICATE REQUEST-----
+MIIDFDCCApgCAQAwaTELMAkGA1UEBhMCREUxCzAJBgNVBAgTAk1EMRIwEAYDVQQH
+EwlCYWx0aW1vcmUxEzARBgNVBAoTCkZsZXhTZWN1cmUxEDAOBgNVBAsTB1Rlc3Rp
+bmcxEjAQBgNVBAMUCXRlc3RfemVydDCCAYUwggFNBgcqhkjOPQIBMIIBQAIBATA8
+BgcqhkjOPQEBAjEAjLkegqM4bSgPXW9+UOZB3xUvcQntVFa0ErHaGX+3ESOs06cp
+kB0acYdHABMxB+xTMGQEMHvDgsY9jBUMPHIICs4Fr6DCvqKOT7InhxORZe+6kfkP
+iqWBSlA61OsEqMfdIs4oJgQwBKjH3SLOKCaLObVUFvBEfC+3feEH3NKmLogOpT7r
+YtV8tDkCldvJlDq3hpb6UEwRBGEEHRxk8GjPRf+ipjqBt8E/a4hHo+d+8U/j23/K
+/gy9EOjoJuA0NtZGqu+HsuJH1K8eir4ddSD5wqRcseuOlc/VUmK3Cyn+7Fhk4ZwF
+T/mRKSgORkYhd5GBEUKCA0EmPFMVAjEAjLkegqM4bSgPXW9+UOZB3xUvcQntVFaz
+HxZubKwEJafPOrava3/DEDuIMgLpBGVlAgEBAzIAAjv2NeapXSWoiFe/2KBvFS8x
+lDmexNgl0TK6vgVCDoI2AOVkkJQ9wjqpFsrKG67YlqCBnjArBgkqhkiG9w0BCQcx
+HhMcYSBmaXhlZCBjaGFsbGVuZ2UgcGFzc3BocmFzZTBvBgkqhkiG9w0BCQ4xYjBg
+MAwGA1UdEwEB/wQCMAAwDgYDVR0PAQH/BAQDAgbAMCcGA1UdJQQgMB4GCCsGAQUF
+BwMCBggrBgEFBQcDBwYIKwYBBQUHAwQwFwYDVR0RBBAwDoEMdGVzdEB0ZXN0LmRl
+MAwGCCqGSM49BAMBBQADaAAwZQIxAIOkl6jVpL8C2V6zpUqnLQEMC+T8ocxKGxnm
++0ZKEgwMCqfD9WJo2C1hZ/1iZPcQmgIwKNMUgDbn16AZZqJCk/2sU0JvqkR0D/Ue
+FksrSdAxjpnauRDOXMTbzpdsnzAnDNIU
+-----END CERTIFICATE REQUEST-----
diff --git a/src/test-data/ecc_testdata/x509_req_test_oid.pem b/src/test-data/ecc_testdata/x509_req_test_oid.pem
new file mode 100644
index 000000000..2ae0c2ea5
--- /dev/null
+++ b/src/test-data/ecc_testdata/x509_req_test_oid.pem
@@ -0,0 +1,12 @@
+-----BEGIN CERTIFICATE REQUEST-----
+MIIB1jCCAVsCAQAwaTELMAkGA1UEBhMCREUxCzAJBgNVBAgTAk1EMRIwEAYDVQQH
+EwlCYWx0aW1vcmUxEzARBgNVBAoTCkZsZXhTZWN1cmUxEDAOBgNVBAsTB1Rlc3Rp
+bmcxEjAQBgNVBAMUCXRlc3RfemVydDBKMBQGByqGSM49AgEGCSskAwMCCAEBCwMy
+AAMLt+cMOPYmbgVHwaUFmEJIfYCNpgPyWkIyYHPiY4SF2UC0nTQv7el1+Dpt4Ueo
+mQGggZ4wKwYJKoZIhvcNAQkHMR4THGEgZml4ZWQgY2hhbGxlbmdlIHBhc3NwaHJh
+c2UwbwYJKoZIhvcNAQkOMWIwYDAMBgNVHRMBAf8EAjAAMA4GA1UdDwEB/wQEAwIG
+wDAnBgNVHSUEIDAeBggrBgEFBQcDAgYIKwYBBQUHAwcGCCsGAQUFBwMEMBcGA1Ud
+EQQQMA6BDHRlc3RAdGVzdC5kZTAMBggqhkjOPQQDAQUAA2cAMGQCMC4uFJYZ7CUN
+rqQrCAxJAqWIuZrKvvlHyu+Q6VibIUjwh2guPNJDmbW/iorXcu3yAwIwbOjPSSMD
+5XvumhMwuV6kHmn+5DjCPLUQLuLQhNeU06bExcCuutz5DMVix05w7gox
+-----END CERTIFICATE REQUEST-----
diff --git a/src/test-data/ecc_testdata/x509_test_privkey_expl_pw123456.pem b/src/test-data/ecc_testdata/x509_test_privkey_expl_pw123456.pem
new file mode 100644
index 000000000..20f17130c
--- /dev/null
+++ b/src/test-data/ecc_testdata/x509_test_privkey_expl_pw123456.pem
@@ -0,0 +1,13 @@
+-----BEGIN ENCRYPTED PRIVATE KEY-----
+MIIB4TBDBgkqhkiG9w0BBQ0wNjAeBgkqhkiG9w0BBQwwEQQIS+GhX0d3oQkCAggA
+AgEYMBQGCCqGSIb3DQMHBAjSmLY2CqIVlgSCAZicGlQqDD2ZC8Tmnp43tqUnFnMc
+ZU6RdY5ys1WQ2Blvn5eKhK0n9yz3b9LvIzs9U6shbBPN/GePeOFFZQi0M9+SIrjj
+NjpjqaJtUvhPt3tDn0B3o0raWLsJ2TvXxO0UNRZYk1YniGEecCUY/shMPpop6Tns
+079QXRNuAqGeEcouKIQcJjGR3GbPbccBUUbkAjrK7f4tMTHOzoei3SJ50IcSh1hh
+vYbyKFBmxi30gYc95T9VO+XsrDLP4QZXrM6S6o8xkbx1o9hHuGeiSiSOpQ/6iVUt
+nRMR1GW1MZGQeJazdnccx+8C4iuW9LOfyvA7HEC8F0LLZ6mCGtLcMt8Vk+en24nJ
+od4W0EqJmcasfbF+VNPNuFzwIPvEzgeyYTp5P6wfc81cqlBMfl1AGKFR8u9372UW
+PWPcsqrGR3OggRcXvRc+9UKtsLoALel8esZrJzNurqkU10XePUR9Vup3Ke7kvT/o
+g+uA5vboio3Jy2FoJE/YF0jKDJfbzMWJeSetJwLfrKEvsmdpUf9jeUoaze0S4LzB
+JHJ+NMg=
+-----END ENCRYPTED PRIVATE KEY-----
diff --git a/src/test-data/ecc_testdata/x509_test_privkey_oid_pw123456.pem b/src/test-data/ecc_testdata/x509_test_privkey_oid_pw123456.pem
new file mode 100644
index 000000000..ecd188a5d
--- /dev/null
+++ b/src/test-data/ecc_testdata/x509_test_privkey_oid_pw123456.pem
@@ -0,0 +1,13 @@
+-----BEGIN ENCRYPTED PRIVATE KEY-----
+MIIB4TBDBgkqhkiG9w0BBQ0wNjAeBgkqhkiG9w0BBQwwEQQIJ7F/jO3zVxQCAggA
+AgEYMBQGCCqGSIb3DQMHBAjBY6p0ZIHowASCAZg/JGcpBr2lh1x9WUI7J/1jCdwn
+HvJu+aes3+I57MdI75ca7Z5wixO50pYUWkfexfdkm5k11HVz7ETJuNvVw+p937kI
+EJtX0ukBsdsgcGcoKFCZG1JIhClqyCnx38CIdE1C8TE/7Yyk5YFMeNP9LbMH9jC5
+gAJV9+YSpw1F9q6OOXv61s9uKIHq7VWza77CJKjFNLpn1/5FqTISmDXV3V2Rs8eI
+j7hFMRBpRnEAA+DOgjuEkTMgF7UR39YTTBooUSzUB4kSlRQxeP7HrulboLB0ukO3
+CT5qa/kA9lHJgHYZXNjzS5NzsoZeZcU934AEBm7J2vr/voHYU8zPrgRAmz8D25Gf
+UH4kaQLZ3LDGlbcba8yjlOYd+x5Rl9H6vKORoqAGN0sLPLAryjzs+vS486SUlRiy
+LsNqcrSOYoW1MyOYAJajxvUsUDqZyxp64TMegZlyLZGIu2ngFOd1gZsh+T2X3g8C
+Murum3ynFx+H3HF1JwpZB/gImz+BI8JigUnd4fG2gqvx7wu6cqoaRGJQayilj64O
+AZU+x5c=
+-----END ENCRYPTED PRIVATE KEY-----