-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support Commissioner DUT Test Vectors Generation. (#17519)
Added python script to generate test vectors: src/tools/chip-cert/gen_com_dut_test_vectors.py This script currently generates only structural errors in the DAC and PAI certificates. Next steps will be to generate structureal CD error and other validation flow errors. By default the generated test vectors will be stored here: credentials/development/commissioner_dut/
- Loading branch information
Showing
565 changed files
with
3,303 additions
and
55 deletions.
There are no files selected for viewing
Binary file added
BIN
+236 Bytes
credentials/development/commissioner_dut/struct_dac_cert_version_v2/cd.der
Binary file not shown.
Binary file added
BIN
+466 Bytes
credentials/development/commissioner_dut/struct_dac_cert_version_v2/dac-Cert.der
Binary file not shown.
12 changes: 12 additions & 0 deletions
12
credentials/development/commissioner_dut/struct_dac_cert_version_v2/dac-Cert.pem
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIIBzjCCAXSgAwIBAQIII0N0uct+CD0wCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP | ||
TWF0dGVyIFRlc3QgUEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA0MjAw | ||
MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowRjEYMBYGA1UEAwwPTWF0dGVyIFRlc3Qg | ||
REFDMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQBgqJ8AgIMBDgwMDAw | ||
WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAARYof+dIYjHUxUbgvnGJE555rJtBNB+ | ||
or+pHRej0F8HVH8CNAz2xsaOgRFIdL1VF35ouigs0l+QxNsMRydzqfiDo2AwXjAM | ||
BgNVHRMBAf8EAjAAMA4GA1UdDwEB/wQEAwIHgDAdBgNVHQ4EFgQUPhMhzb9IJo2+ | ||
qUxFoLC4ZlPlLwIwHwYDVR0jBBgwFoAUFWO+/6gwpNvu5RrJt1Dd/jpurNcwCgYI | ||
KoZIzj0EAwIDSAAwRQIhAMJdgD3ZZxcBXB7YyWdfeBWOMPvD74e6axfKTdV68LI+ | ||
AiAu8uwuPj1cImdWForwa2uMy76kqvknHG8I34+K04gZ8w== | ||
-----END CERTIFICATE----- |
Binary file added
BIN
+121 Bytes
credentials/development/commissioner_dut/struct_dac_cert_version_v2/dac-Key.der
Binary file not shown.
5 changes: 5 additions & 0 deletions
5
credentials/development/commissioner_dut/struct_dac_cert_version_v2/dac-Key.pem
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
-----BEGIN EC PRIVATE KEY----- | ||
MHcCAQEEIB+GIrQ1pTfjir1z01K6EWx1pPG/L1oFYdb0B7v7gnCPoAoGCCqGSM49 | ||
AwEHoUQDQgAEWKH/nSGIx1MVG4L5xiROeeaybQTQfqK/qR0Xo9BfB1R/AjQM9sbG | ||
joERSHS9VRd+aLooLNJfkMTbDEcnc6n4gw== | ||
-----END EC PRIVATE KEY----- |
Binary file added
BIN
+450 Bytes
credentials/development/commissioner_dut/struct_dac_cert_version_v2/pai-Cert.der
Binary file not shown.
12 changes: 12 additions & 0 deletions
12
credentials/development/commissioner_dut/struct_dac_cert_version_v2/pai-Cert.pem
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIIBvjCCAWSgAwIBAgIISjYJJhme3RUwCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP | ||
TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA0MjAw | ||
MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowMDEYMBYGA1UEAwwPTWF0dGVyIFRlc3Qg | ||
UEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTBZMBMGByqGSM49AgEGCCqGSM49AwEH | ||
A0IABB4OjKHFWi/1u9+oaydHqWARK4QlQflYfoV6z5bgz6qsSffaH11Wr7Dg6fJF | ||
R+H+mX3o+4ADAGW05CIWC+4M2UWjZjBkMBIGA1UdEwEB/wQIMAYBAf8CAQEwDgYD | ||
VR0PAQH/BAQDAgEGMB0GA1UdDgQWBBQVY77/qDCk2+7lGsm3UN3+Om6s1zAfBgNV | ||
HSMEGDAWgBRq/SJ3H1Ef7L8WQZdnENzcMaFxfjAKBggqhkjOPQQDAgNIADBFAiAy | ||
4ermeeYY/mOLtpj4syN0Llr3LxNiT6hGjIWh7zw6dQIhAK96fG0/Bzkkd3zJXkO3 | ||
xHBIY4ltnTu6p4RRTx9gGa14 | ||
-----END CERTIFICATE----- |
Binary file added
BIN
+121 Bytes
credentials/development/commissioner_dut/struct_dac_cert_version_v2/pai-Key.der
Binary file not shown.
5 changes: 5 additions & 0 deletions
5
credentials/development/commissioner_dut/struct_dac_cert_version_v2/pai-Key.pem
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
-----BEGIN EC PRIVATE KEY----- | ||
MHcCAQEEIMzKTBvwCy3yIO4yn3lWu96OBf68qn1dnVrGcAshRUDJoAoGCCqGSM49 | ||
AwEHoUQDQgAEHg6MocVaL/W736hrJ0epYBErhCVB+Vh+hXrPluDPqqxJ99ofXVav | ||
sODp8kVH4f6Zfej7gAMAZbTkIhYL7gzZRQ== | ||
-----END EC PRIVATE KEY----- |
9 changes: 9 additions & 0 deletions
9
credentials/development/commissioner_dut/struct_dac_cert_version_v2/test_case_vector.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"description": "DAC Test Vector: Invalid certificate version field set to v2(1)", | ||
"is_success_case": "false", | ||
"dac_cert": "308201ce30820174a0030201010208234374b9cb7e083d300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c04464646313020170d3232303432303030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742044414331143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303059301306072a8648ce3d020106082a8648ce3d0301070342000458a1ff9d2188c753151b82f9c6244e79e6b26d04d07ea2bfa91d17a3d05f07547f02340cf6c6c68e81114874bd55177e68ba282cd25f90c4db0c472773a9f883a360305e300c0603551d130101ff04023000300e0603551d0f0101ff040403020780301d0603551d0e041604143e1321cdbf48268dbea94c45a0b0b86653e52f02301f0603551d230418301680141563beffa830a4dbeee51ac9b750ddfe3a6eacd7300a06082a8648ce3d0403020348003045022100c25d803dd96717015c1ed8c9675f78158e30fbc3ef87ba6b17ca4dd57af0b23e02202ef2ec2e3e3d5c226756168af06b6b8ccbbea4aaf9271c6f08df8f8ad38819f3", | ||
"pai_cert": "308201be30820164a00302010202084a360926199edd15300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414131143012060a2b0601040182a27c02010c04464646313020170d3232303432303030303030305a180f39393939313233313233353935395a30303118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c04464646313059301306072a8648ce3d020106082a8648ce3d030107034200041e0e8ca1c55a2ff5bbdfa86b2747a960112b842541f9587e857acf96e0cfaaac49f7da1f5d56afb0e0e9f24547e1fe997de8fb80030065b4e422160bee0cd945a366306430120603551d130101ff040830060101ff020101300e0603551d0f0101ff040403020106301d0603551d0e041604141563beffa830a4dbeee51ac9b750ddfe3a6eacd7301f0603551d230418301680146afd22771f511fecbf1641976710dcdc31a1717e300a06082a8648ce3d0403020348003045022032e1eae679e618fe638bb698f8b323742e5af72f13624fa8468c85a1ef3c3a75022100af7a7c6d3f073924777cc95e43b7c4704863896d9d3bbaa784514f1f6019ad78", | ||
"certification_declaration": "3081e906092a864886f70d010702a081db3081d8020103310d300b0609608648016503040201304506092a864886f70d010701a0380436152400012501f1ff360205008018250334122c04135a494732303134315a423333303030312d32342405002406002507769824080018317d307b020103801462fa823359acfaa9963e1cfa140addf504f37160300b0609608648016503040201300a06082a8648ce3d04030204473045022100e27b21d80a1291797905d73fd88824780dfb0a2e2b88afa621e034e1f376d02b02204c1b8b28e3ab3a29028b24d2e55b7260eb538d1bb70a13306b46187d846acc62", | ||
"dac_private_key": "1f8622b435a537e38abd73d352ba116c75a4f1bf2f5a0561d6f407bbfb82708f", | ||
"dac_public_key": "0458a1ff9d2188c753151b82f9c6244e79e6b26d04d07ea2bfa91d17a3d05f07547f02340cf6c6c68e81114874bd55177e68ba282cd25f90c4db0c472773a9f883" | ||
} |
Binary file added
BIN
+237 Bytes
credentials/development/commissioner_dut/struct_dac_cert_version_v3/cd.der
Binary file not shown.
Binary file added
BIN
+466 Bytes
credentials/development/commissioner_dut/struct_dac_cert_version_v3/dac-Cert.der
Binary file not shown.
12 changes: 12 additions & 0 deletions
12
credentials/development/commissioner_dut/struct_dac_cert_version_v3/dac-Cert.pem
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIIBzjCCAXSgAwIBAgIIDK5kwgUSAUEwCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP | ||
TWF0dGVyIFRlc3QgUEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA0MjAw | ||
MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowRjEYMBYGA1UEAwwPTWF0dGVyIFRlc3Qg | ||
REFDMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQBgqJ8AgIMBDgwMDAw | ||
WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAARr1Isyp3YsbMyvgXIfrgwbxaOFMiA1 | ||
kZYTGF/pvly+kk+f7vSKOa25/22SPW9lzZPH8su+V/M+RWMB7e2MqOmHo2AwXjAM | ||
BgNVHRMBAf8EAjAAMA4GA1UdDwEB/wQEAwIHgDAdBgNVHQ4EFgQUa172m9DhX5Ds | ||
GrhPQPv73mW3UacwHwYDVR0jBBgwFoAU7KOyf6tcqBDXJDqueGsnmTrdz4cwCgYI | ||
KoZIzj0EAwIDSAAwRQIga/gCMtfLkDGGAnFLsOvHur4i1IwdxKdQce0W/byyTNwC | ||
IQDS0Rj+XjVpzndahAl3zZiGBwJNir/rc9ftM8PQZdy7Aw== | ||
-----END CERTIFICATE----- |
Binary file added
BIN
+121 Bytes
credentials/development/commissioner_dut/struct_dac_cert_version_v3/dac-Key.der
Binary file not shown.
5 changes: 5 additions & 0 deletions
5
credentials/development/commissioner_dut/struct_dac_cert_version_v3/dac-Key.pem
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
-----BEGIN EC PRIVATE KEY----- | ||
MHcCAQEEICDGoDYvdbSYLkMxlEicMHsnGEwR0tj3lqdoMWPi6ySioAoGCCqGSM49 | ||
AwEHoUQDQgAEa9SLMqd2LGzMr4FyH64MG8WjhTIgNZGWExhf6b5cvpJPn+70ijmt | ||
uf9tkj1vZc2Tx/LLvlfzPkVjAe3tjKjphw== | ||
-----END EC PRIVATE KEY----- |
Binary file added
BIN
+450 Bytes
credentials/development/commissioner_dut/struct_dac_cert_version_v3/pai-Cert.der
Binary file not shown.
12 changes: 12 additions & 0 deletions
12
credentials/development/commissioner_dut/struct_dac_cert_version_v3/pai-Cert.pem
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIIBvjCCAWSgAwIBAgIIAaU+vbfHd4kwCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP | ||
TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA0MjAw | ||
MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowMDEYMBYGA1UEAwwPTWF0dGVyIFRlc3Qg | ||
UEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTBZMBMGByqGSM49AgEGCCqGSM49AwEH | ||
A0IABFLIIJlh1rmfG8rXJd0qMq1WvyYewwaELo7ZsvXH0fBgaHGdufrjwh+4Q5rL | ||
OA4vAn3ELGBbcOdndgd79zj5XlKjZjBkMBIGA1UdEwEB/wQIMAYBAf8CAQEwDgYD | ||
VR0PAQH/BAQDAgEGMB0GA1UdDgQWBBTso7J/q1yoENckOq54ayeZOt3PhzAfBgNV | ||
HSMEGDAWgBRq/SJ3H1Ef7L8WQZdnENzcMaFxfjAKBggqhkjOPQQDAgNIADBFAiA4 | ||
dMPhKKJYbzEwHBWEC4FBNua8P6m90CP32QcKhP/v7QIhALGbumhPxka0fmhte9MG | ||
5zmG2J/z3UOLkOBLaXwyyqaE | ||
-----END CERTIFICATE----- |
Binary file added
BIN
+121 Bytes
credentials/development/commissioner_dut/struct_dac_cert_version_v3/pai-Key.der
Binary file not shown.
5 changes: 5 additions & 0 deletions
5
credentials/development/commissioner_dut/struct_dac_cert_version_v3/pai-Key.pem
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
-----BEGIN EC PRIVATE KEY----- | ||
MHcCAQEEIPby6KEXHgwmB+hUrnjDU2Kfvwrc4PCTeymHt9bVmJ5aoAoGCCqGSM49 | ||
AwEHoUQDQgAEUsggmWHWuZ8bytcl3SoyrVa/Jh7DBoQujtmy9cfR8GBocZ25+uPC | ||
H7hDmss4Di8CfcQsYFtw52d2B3v3OPleUg== | ||
-----END EC PRIVATE KEY----- |
9 changes: 9 additions & 0 deletions
9
credentials/development/commissioner_dut/struct_dac_cert_version_v3/test_case_vector.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"description": "DAC Test Vector: Valid certificate version field set to v3(2)", | ||
"is_success_case": "true", | ||
"dac_cert": "308201ce30820174a00302010202080cae64c205120141300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c04464646313020170d3232303432303030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742044414331143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303059301306072a8648ce3d020106082a8648ce3d030107034200046bd48b32a7762c6cccaf81721fae0c1bc5a385322035919613185fe9be5cbe924f9feef48a39adb9ff6d923d6f65cd93c7f2cbbe57f33e456301eded8ca8e987a360305e300c0603551d130101ff04023000300e0603551d0f0101ff040403020780301d0603551d0e041604146b5ef69bd0e15f90ec1ab84f40fbfbde65b751a7301f0603551d23041830168014eca3b27fab5ca810d7243aae786b27993addcf87300a06082a8648ce3d040302034800304502206bf80232d7cb90318602714bb0ebc7babe22d48c1dc4a75071ed16fdbcb24cdc022100d2d118fe5e3569ce775a840977cd988607024d8abfeb73d7ed33c3d065dcbb03", | ||
"pai_cert": "308201be30820164a003020102020801a53ebdb7c77789300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414131143012060a2b0601040182a27c02010c04464646313020170d3232303432303030303030305a180f39393939313233313233353935395a30303118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c04464646313059301306072a8648ce3d020106082a8648ce3d0301070342000452c8209961d6b99f1bcad725dd2a32ad56bf261ec306842e8ed9b2f5c7d1f06068719db9fae3c21fb8439acb380e2f027dc42c605b70e76776077bf738f95e52a366306430120603551d130101ff040830060101ff020101300e0603551d0f0101ff040403020106301d0603551d0e04160414eca3b27fab5ca810d7243aae786b27993addcf87301f0603551d230418301680146afd22771f511fecbf1641976710dcdc31a1717e300a06082a8648ce3d040302034800304502203874c3e128a2586f31301c15840b814136e6bc3fa9bdd023f7d9070a84ffefed022100b19bba684fc646b47e686d7bd306e73986d89ff3dd438b90e04b697c32caa684", | ||
"certification_declaration": "3081ea06092a864886f70d010702a081dc3081d9020103310d300b0609608648016503040201304506092a864886f70d010701a0380436152400012501f1ff360205008018250334122c04135a494732303134315a423333303030312d32342405002406002507769824080018317e307c020103801462fa823359acfaa9963e1cfa140addf504f37160300b0609608648016503040201300a06082a8648ce3d04030204483046022100beee93d0de9ca5e41a7484013d7050ce439b5e92ee2c47b74399c9ea866e62ff022100b112b86226ed90d8e9136ebd94247e279dbcc6e49494c89cc27f4a8ec86a9f03", | ||
"dac_private_key": "20c6a0362f75b4982e433194489c307b27184c11d2d8f796a7683163e2eb24a2", | ||
"dac_public_key": "046bd48b32a7762c6cccaf81721fae0c1bc5a385322035919613185fe9be5cbe924f9feef48a39adb9ff6d923d6f65cd93c7f2cbbe57f33e456301eded8ca8e987" | ||
} |
Binary file added
BIN
+235 Bytes
credentials/development/commissioner_dut/struct_dac_ext_akid_missing/cd.der
Binary file not shown.
Binary file added
BIN
+433 Bytes
credentials/development/commissioner_dut/struct_dac_ext_akid_missing/dac-Cert.der
Binary file not shown.
12 changes: 12 additions & 0 deletions
12
credentials/development/commissioner_dut/struct_dac_ext_akid_missing/dac-Cert.pem
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIIBrTCCAVOgAwIBAgIIMtkLdHVP2bUwCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP | ||
TWF0dGVyIFRlc3QgUEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA0MjAw | ||
MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowRjEYMBYGA1UEAwwPTWF0dGVyIFRlc3Qg | ||
REFDMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQBgqJ8AgIMBDgwMDAw | ||
WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAARW9M7gXh8q5SN1rEmB4uTs4ulidrVa | ||
AVF1Fcz3k2RdHZDrXyePPPTkK05dBozXGjfb5bOeal2RwiZ0XjrbxHqRoz8wPTAM | ||
BgNVHRMBAf8EAjAAMA4GA1UdDwEB/wQEAwIHgDAdBgNVHQ4EFgQUpVLxDDvTkOli | ||
pRjcmb5XFaTeXm8wCgYIKoZIzj0EAwIDSAAwRQIhAJYBm4Pay1B/56mq27F+oPcm | ||
3yzfMb91SQjBsbcisE2CAiBBHPFhNjggpfCsEbN55RByqSZ086ECt5elNaj1a9xr | ||
qQ== | ||
-----END CERTIFICATE----- |
Binary file added
BIN
+121 Bytes
credentials/development/commissioner_dut/struct_dac_ext_akid_missing/dac-Key.der
Binary file not shown.
5 changes: 5 additions & 0 deletions
5
credentials/development/commissioner_dut/struct_dac_ext_akid_missing/dac-Key.pem
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
-----BEGIN EC PRIVATE KEY----- | ||
MHcCAQEEIM+gM1gxCTeCPBBa+XNxRx+mhdr7fuXG9S9mbqVHtmbaoAoGCCqGSM49 | ||
AwEHoUQDQgAEVvTO4F4fKuUjdaxJgeLk7OLpYna1WgFRdRXM95NkXR2Q618njzz0 | ||
5CtOXQaM1xo32+WznmpdkcImdF4628R6kQ== | ||
-----END EC PRIVATE KEY----- |
Binary file added
BIN
+450 Bytes
credentials/development/commissioner_dut/struct_dac_ext_akid_missing/pai-Cert.der
Binary file not shown.
12 changes: 12 additions & 0 deletions
12
credentials/development/commissioner_dut/struct_dac_ext_akid_missing/pai-Cert.pem
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIIBvjCCAWSgAwIBAgIIGD6qjPnNUJMwCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP | ||
TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA0MjAw | ||
MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowMDEYMBYGA1UEAwwPTWF0dGVyIFRlc3Qg | ||
UEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTBZMBMGByqGSM49AgEGCCqGSM49AwEH | ||
A0IABGFta88lFn2iFG6mS/uzElSZwqZ6xc3gXqiNiWS1KDXGEhmR+IaFkBgCNwwy | ||
i27QZvQ6eV1kosBplvG9pYqKBxujZjBkMBIGA1UdEwEB/wQIMAYBAf8CAQEwDgYD | ||
VR0PAQH/BAQDAgEGMB0GA1UdDgQWBBSA7ooNTFQCkPatNhBCGK6Nf7GoQTAfBgNV | ||
HSMEGDAWgBRq/SJ3H1Ef7L8WQZdnENzcMaFxfjAKBggqhkjOPQQDAgNIADBFAiEA | ||
xPy/zoPbwNRKp0Z6d5tUfgks6uXtBhoEUPxyJDW8RlACIDppTE+bZFNJZ7gJANpg | ||
yqDbDIq3wr28rH6Bo8jviNA1 | ||
-----END CERTIFICATE----- |
Binary file added
BIN
+121 Bytes
credentials/development/commissioner_dut/struct_dac_ext_akid_missing/pai-Key.der
Binary file not shown.
5 changes: 5 additions & 0 deletions
5
credentials/development/commissioner_dut/struct_dac_ext_akid_missing/pai-Key.pem
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
-----BEGIN EC PRIVATE KEY----- | ||
MHcCAQEEIAyi5pJAF/hULeBKQGfOUDI5agImehl4e8NuWxHs4EP0oAoGCCqGSM49 | ||
AwEHoUQDQgAEYW1rzyUWfaIUbqZL+7MSVJnCpnrFzeBeqI2JZLUoNcYSGZH4hoWQ | ||
GAI3DDKLbtBm9Dp5XWSiwGmW8b2liooHGw== | ||
-----END EC PRIVATE KEY----- |
9 changes: 9 additions & 0 deletions
9
credentials/development/commissioner_dut/struct_dac_ext_akid_missing/test_case_vector.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"description": "DAC Test Vector: Certificate doesn't include Authority Key ID (AKID) extension", | ||
"is_success_case": "false", | ||
"dac_cert": "308201ad30820153a003020102020832d90b74754fd9b5300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c04464646313020170d3232303432303030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742044414331143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303059301306072a8648ce3d020106082a8648ce3d0301070342000456f4cee05e1f2ae52375ac4981e2e4ece2e96276b55a01517515ccf793645d1d90eb5f278f3cf4e42b4e5d068cd71a37dbe5b39e6a5d91c226745e3adbc47a91a33f303d300c0603551d130101ff04023000300e0603551d0f0101ff040403020780301d0603551d0e04160414a552f10c3bd390e962a518dc99be5715a4de5e6f300a06082a8648ce3d040302034800304502210096019b83dacb507fe7a9aadbb17ea0f726df2cdf31bf754908c1b1b722b04d820220411cf161363820a5f0ac11b379e51072a92674f3a102b797a535a8f56bdc6ba9", | ||
"pai_cert": "308201be30820164a0030201020208183eaa8cf9cd5093300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414131143012060a2b0601040182a27c02010c04464646313020170d3232303432303030303030305a180f39393939313233313233353935395a30303118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c04464646313059301306072a8648ce3d020106082a8648ce3d03010703420004616d6bcf25167da2146ea64bfbb3125499c2a67ac5cde05ea88d8964b52835c6121991f88685901802370c328b6ed066f43a795d64a2c06996f1bda58a8a071ba366306430120603551d130101ff040830060101ff020101300e0603551d0f0101ff040403020106301d0603551d0e0416041480ee8a0d4c540290f6ad36104218ae8d7fb1a841301f0603551d230418301680146afd22771f511fecbf1641976710dcdc31a1717e300a06082a8648ce3d0403020348003045022100c4fcbfce83dbc0d44aa7467a779b547e092ceae5ed061a0450fc722435bc465002203a694c4f9b64534967b80900da60caa0db0c8ab7c2bdbcac7e81a3c8ef88d035", | ||
"certification_declaration": "3081e806092a864886f70d010702a081da3081d7020103310d300b0609608648016503040201304506092a864886f70d010701a0380436152400012501f1ff360205008018250334122c04135a494732303134315a423333303030312d32342405002406002507769824080018317c307a020103801462fa823359acfaa9963e1cfa140addf504f37160300b0609608648016503040201300a06082a8648ce3d040302044630440220551fc76c663756b163123954662bfef562a097639c153183aaeb4c2672f3a8fb02203f2611d551c5ad5dadbde61b6ce9d54d73b1aaf9ffe68922d4ad8dae43fd79e7", | ||
"dac_private_key": "cfa03358310937823c105af97371471fa685dafb7ee5c6f52f666ea547b666da", | ||
"dac_public_key": "0456f4cee05e1f2ae52375ac4981e2e4ece2e96276b55a01517515ccf793645d1d90eb5f278f3cf4e42b4e5d068cd71a37dbe5b39e6a5d91c226745e3adbc47a91" | ||
} |
Binary file added
BIN
+237 Bytes
credentials/development/commissioner_dut/struct_dac_ext_authority_info_access_present/cd.der
Binary file not shown.
Binary file added
BIN
+521 Bytes
...ls/development/commissioner_dut/struct_dac_ext_authority_info_access_present/dac-Cert.der
Binary file not shown.
13 changes: 13 additions & 0 deletions
13
...ls/development/commissioner_dut/struct_dac_ext_authority_info_access_present/dac-Cert.pem
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIICBTCCAaygAwIBAgIIe5d63TeEWm8wCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP | ||
TWF0dGVyIFRlc3QgUEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA0MjAw | ||
MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowRjEYMBYGA1UEAwwPTWF0dGVyIFRlc3Qg | ||
REFDMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQBgqJ8AgIMBDgwMDAw | ||
WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAASlm+EG331HTfOs+EgVxwuHX0MQ+DvR | ||
fkajrFew2M4cGNlPQrnYP8ynbNLIdPdukR3zUxw2T55/Tqk/5fX/LsjWo4GXMIGU | ||
MAwGA1UdEwEB/wQCMAAwDgYDVR0PAQH/BAQDAgeAMB0GA1UdDgQWBBSbDX3f3X2C | ||
zO7kb2A7PRAjfmez7TAfBgNVHSMEGDAWgBQIX12MM637k7C9Yh2MP1T+JhAnFDA0 | ||
BggrBgEFBQcBAQQoMCYwJAYIKwYBBQUHMAGGGGh0dHA6Ly9vY3NwLmV4YW1wbGUu | ||
Y29tLzAKBggqhkjOPQQDAgNHADBEAiBUw9xBtgCDRzHIF4U3PCwoM+/iWU+Q5yBb | ||
xL6koyl+qAIgM9NqI5VlI4Yd997p5nhukb8wyw/v3h9G0Il+Kaq+HhM= | ||
-----END CERTIFICATE----- |
Binary file added
BIN
+121 Bytes
...als/development/commissioner_dut/struct_dac_ext_authority_info_access_present/dac-Key.der
Binary file not shown.
5 changes: 5 additions & 0 deletions
5
...als/development/commissioner_dut/struct_dac_ext_authority_info_access_present/dac-Key.pem
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
-----BEGIN EC PRIVATE KEY----- | ||
MHcCAQEEIMI2eBzlFfhuEc2i4bHmOSlYdePFXvhx9HE2KnIrc2R/oAoGCCqGSM49 | ||
AwEHoUQDQgAEpZvhBt99R03zrPhIFccLh19DEPg70X5Go6xXsNjOHBjZT0K52D/M | ||
p2zSyHT3bpEd81McNk+ef06pP+X1/y7I1g== | ||
-----END EC PRIVATE KEY----- |
Binary file added
BIN
+450 Bytes
...ls/development/commissioner_dut/struct_dac_ext_authority_info_access_present/pai-Cert.der
Binary file not shown.
12 changes: 12 additions & 0 deletions
12
...ls/development/commissioner_dut/struct_dac_ext_authority_info_access_present/pai-Cert.pem
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIIBvjCCAWSgAwIBAgIId+Ifj7WiBh4wCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP | ||
TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA0MjAw | ||
MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowMDEYMBYGA1UEAwwPTWF0dGVyIFRlc3Qg | ||
UEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTBZMBMGByqGSM49AgEGCCqGSM49AwEH | ||
A0IABNdf9CWhXgi2u8loLJu99vaKhkUOc+2s8J8ZOuE2iJwtO8hbNvhLsroBuHhq | ||
2rEaqS6TlXx5tIkgdg0bxJDNr6ijZjBkMBIGA1UdEwEB/wQIMAYBAf8CAQEwDgYD | ||
VR0PAQH/BAQDAgEGMB0GA1UdDgQWBBQIX12MM637k7C9Yh2MP1T+JhAnFDAfBgNV | ||
HSMEGDAWgBRq/SJ3H1Ef7L8WQZdnENzcMaFxfjAKBggqhkjOPQQDAgNIADBFAiEA | ||
mAy5vGKK1r03b4XD2f0KDatYtJxjy2DJTKtyHW8aTuICIGwSVHlkOdcyeoGbeJWk | ||
tYcXmFYM7d7F7yW8ubTLuTgJ | ||
-----END CERTIFICATE----- |
Binary file added
BIN
+121 Bytes
...als/development/commissioner_dut/struct_dac_ext_authority_info_access_present/pai-Key.der
Binary file not shown.
5 changes: 5 additions & 0 deletions
5
...als/development/commissioner_dut/struct_dac_ext_authority_info_access_present/pai-Key.pem
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
-----BEGIN EC PRIVATE KEY----- | ||
MHcCAQEEIEl8Al+ljxpwoRpcLn/14UAoMdGsEHklyI/qTJf3rbQboAoGCCqGSM49 | ||
AwEHoUQDQgAE11/0JaFeCLa7yWgsm7329oqGRQ5z7azwnxk64TaInC07yFs2+Euy | ||
ugG4eGrasRqpLpOVfHm0iSB2DRvEkM2vqA== | ||
-----END EC PRIVATE KEY----- |
9 changes: 9 additions & 0 deletions
9
...pment/commissioner_dut/struct_dac_ext_authority_info_access_present/test_case_vector.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"description": "DAC Test Vector: Certificate includes optional Authority Information Access extension", | ||
"is_success_case": "true", | ||
"dac_cert": "30820205308201aca00302010202087b977add37845a6f300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c04464646313020170d3232303432303030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742044414331143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303059301306072a8648ce3d020106082a8648ce3d03010703420004a59be106df7d474df3acf84815c70b875f4310f83bd17e46a3ac57b0d8ce1c18d94f42b9d83fcca76cd2c874f76e911df3531c364f9e7f4ea93fe5f5ff2ec8d6a38197308194300c0603551d130101ff04023000300e0603551d0f0101ff040403020780301d0603551d0e041604149b0d7ddfdd7d82cceee46f603b3d10237e67b3ed301f0603551d23041830168014085f5d8c33adfb93b0bd621d8c3f54fe26102714303406082b0601050507010104283026302406082b060105050730018618687474703a2f2f6f6373702e6578616d706c652e636f6d2f300a06082a8648ce3d0403020347003044022054c3dc41b600834731c81785373c2c2833efe2594f90e7205bc4bea4a3297ea8022033d36a23956523861df7dee9e6786e91bf30cb0fefde1f46d0897e29aabe1e13", | ||
"pai_cert": "308201be30820164a003020102020877e21f8fb5a2061e300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414131143012060a2b0601040182a27c02010c04464646313020170d3232303432303030303030305a180f39393939313233313233353935395a30303118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c04464646313059301306072a8648ce3d020106082a8648ce3d03010703420004d75ff425a15e08b6bbc9682c9bbdf6f68a86450e73edacf09f193ae136889c2d3bc85b36f84bb2ba01b8786adab11aa92e93957c79b48920760d1bc490cdafa8a366306430120603551d130101ff040830060101ff020101300e0603551d0f0101ff040403020106301d0603551d0e04160414085f5d8c33adfb93b0bd621d8c3f54fe26102714301f0603551d230418301680146afd22771f511fecbf1641976710dcdc31a1717e300a06082a8648ce3d0403020348003045022100980cb9bc628ad6bd376f85c3d9fd0a0dab58b49c63cb60c94cab721d6f1a4ee202206c1254796439d7327a819b7895a4b5871798560ceddec5ef25bcb9b4cbb93809", | ||
"certification_declaration": "3081ea06092a864886f70d010702a081dc3081d9020103310d300b0609608648016503040201304506092a864886f70d010701a0380436152400012501f1ff360205008018250334122c04135a494732303134315a423333303030312d32342405002406002507769824080018317e307c020103801462fa823359acfaa9963e1cfa140addf504f37160300b0609608648016503040201300a06082a8648ce3d04030204483046022100e2eddcc4a98c46fdc0940569a77cd5dc991ebe90aeb40bdc51b26df08f474d67022100a99953496e766d789df9f3fa4d2749aefd7d2bdc6a75773108bec4a11d08b031", | ||
"dac_private_key": "c236781ce515f86e11cda2e1b1e639295875e3c55ef871f471362a722b73647f", | ||
"dac_public_key": "04a59be106df7d474df3acf84815c70b875f4310f83bd17e46a3ac57b0d8ce1c18d94f42b9d83fcca76cd2c874f76e911df3531c364f9e7f4ea93fe5f5ff2ec8d6" | ||
} |
Binary file added
BIN
+237 Bytes
credentials/development/commissioner_dut/struct_dac_ext_basic_ca_missing/cd.der
Binary file not shown.
Binary file added
BIN
+469 Bytes
credentials/development/commissioner_dut/struct_dac_ext_basic_ca_missing/dac-Cert.der
Binary file not shown.
12 changes: 12 additions & 0 deletions
12
credentials/development/commissioner_dut/struct_dac_ext_basic_ca_missing/dac-Cert.pem
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIIB0TCCAXegAwIBAgIIONUsUAcOxyAwCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP | ||
TWF0dGVyIFRlc3QgUEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA0MjAw | ||
MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowRjEYMBYGA1UEAwwPTWF0dGVyIFRlc3Qg | ||
REFDMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQBgqJ8AgIMBDgwMDAw | ||
WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAQlImVG/wtzEPrfNhttUMoUlaIafVrW | ||
v80Q74/ttMuj/v+eNe2pLDUasLWszyhUGKq02DqNb6NAE18Au5a1mD1po2MwYTAP | ||
BgNVHRMBAf8EBTADAgEAMA4GA1UdDwEB/wQEAwIHgDAdBgNVHQ4EFgQUyBELTx0B | ||
ED/Vu6/HprLzvGw+vMowHwYDVR0jBBgwFoAUOCm8REgwpwfEUFcz0n+D+1qru0gw | ||
CgYIKoZIzj0EAwIDSAAwRQIgMGjvv0Jhxp45WD8VSwG4+/oGdmhwPv6aSGg1Iptw | ||
/McCIQC3NSQF54zdeucodVS+6dVJeT6LUS9JdO2XbekwdPgenw== | ||
-----END CERTIFICATE----- |
Binary file added
BIN
+121 Bytes
credentials/development/commissioner_dut/struct_dac_ext_basic_ca_missing/dac-Key.der
Binary file not shown.
5 changes: 5 additions & 0 deletions
5
credentials/development/commissioner_dut/struct_dac_ext_basic_ca_missing/dac-Key.pem
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
-----BEGIN EC PRIVATE KEY----- | ||
MHcCAQEEINon4iaBLXpKixJa21lQvei2dvg8dOD1ZJFYBenvYvrFoAoGCCqGSM49 | ||
AwEHoUQDQgAEJSJlRv8LcxD63zYbbVDKFJWiGn1a1r/NEO+P7bTLo/7/njXtqSw1 | ||
GrC1rM8oVBiqtNg6jW+jQBNfALuWtZg9aQ== | ||
-----END EC PRIVATE KEY----- |
Binary file added
BIN
+450 Bytes
credentials/development/commissioner_dut/struct_dac_ext_basic_ca_missing/pai-Cert.der
Binary file not shown.
Oops, something went wrong.