-
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.
Added Attestation Certificate Format Validation Method. (#22943)
* Added Attestation Certificate Format Validation Method. -- Added new method VarifyAttestationCertificateFormat() that verifies that attestation certificate format is compliant with the Spec. -- Updated DefaultDeviceAttestationVerifier to validate PAI and DAC certificates format. -- Updated FileAttestationTrustStore to validate PAA certificates format when they are loaded from the file storage. -- Added new unit test (TestCommissionerDUTVectors) that iterates through all negative and positive test cases to validate that PAI/DAC validation passes/fails as expected. -- Fixed minor typos and bugs in the chip-cert tool and test vector generation script (gen_com_dut_test_vectors.py). As a result I also regenerated all test vectors in credentials/development/commissioner_dut/ * updates and fixes mostly for EFR32 implementation if the crypto library
- Loading branch information
Showing
1,501 changed files
with
5,166 additions
and
4,205 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file modified
BIN
-1 Byte
(100%)
credentials/development/commissioner_dut/invalid_paa/dac-Cert.der
Binary file not shown.
20 changes: 10 additions & 10 deletions
20
credentials/development/commissioner_dut/invalid_paa/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 |
---|---|---|
@@ -1,12 +1,12 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIIBzjCCAXSgAwIBAgIIWRRjypC2cxkwCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP | ||
TWF0dGVyIFRlc3QgUEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMTA2Mjgx | ||
NDIzNDNaGA85OTk5MTIzMTIzNTk1OVowRjEYMBYGA1UEAwwPTWF0dGVyIFRlc3Qg | ||
REFDMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQBgqJ8AgIMBDgwMDAw | ||
WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAQ1lnUF27XW2SR0MYjYBm2BSgDGS3TT | ||
bi6A0tsHKjuB/8Y9bU3bAT5+gNnz6IIgXSt3949rRlcN4gN5Sux5Td8Fo2AwXjAM | ||
BgNVHRMBAf8EAjAAMA4GA1UdDwEB/wQEAwIHgDAdBgNVHQ4EFgQU3JVLDvstIQgd | ||
qOejQv2K2nz5m2IwHwYDVR0jBBgwFoAU44aqTINKlOXlPPM+5w93H6P7TAAwCgYI | ||
KoZIzj0EAwIDSAAwRQIhAJbqcL/1bbwLjHtzVz+BIVmUVwq7QXS7A6NsL7CgMiZy | ||
AiAyLK2B8V7wI2VPppLeWQuZt5Aso89n7+J/gJaIKnBKhw== | ||
MIIBzTCCAXKgAwIBAgIIVn1n+tVjKSwwCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP | ||
TWF0dGVyIFRlc3QgUEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTAeFw0yMTA2Mjgx | ||
NDIzNDNaFw0yMjA2MjgxNDIzNDJaMEYxGDAWBgNVBAMMD01hdHRlciBUZXN0IERB | ||
QzEUMBIGCisGAQQBgqJ8AgEMBEZGRjExFDASBgorBgEEAYKifAICDAQ4MDAwMFkw | ||
EwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEPoTM+2Z6HVYiKQFZExJPhefGLW8Tk6IT | ||
J/s+TcTW56QlsA3HclCADAepAxG99PcN2Fpw7HaJpFqfBjwb0DUIx6NgMF4wDAYD | ||
VR0TAQH/BAIwADAOBgNVHQ8BAf8EBAMCB4AwHQYDVR0OBBYEFM1RWIF8uoeYvy1M | ||
OCNAOniyam4sMB8GA1UdIwQYMBaAFGApn2Q5iX5vSG5fcjfNmKKXrUjhMAoGCCqG | ||
SM49BAMCA0kAMEYCIQCIoCRun6MxRHcQjWylS+XwhdSSgNxEP+NtcUKzX6dmHwIh | ||
AN62bVFbEKhePaVm/NrP1oCd+ZaSgdxsGKo6o5fRBZb+ | ||
-----END CERTIFICATE----- |
Binary file modified
BIN
+0 Bytes
(100%)
credentials/development/commissioner_dut/invalid_paa/dac-Key.der
Binary file not shown.
6 changes: 3 additions & 3 deletions
6
credentials/development/commissioner_dut/invalid_paa/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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
-----BEGIN EC PRIVATE KEY----- | ||
MHcCAQEEIJbEKXtKCVCXl0KbWX+6WlxDIcxH649NH1Nm33Prxqs6oAoGCCqGSM49 | ||
AwEHoUQDQgAENZZ1Bdu11tkkdDGI2AZtgUoAxkt0024ugNLbByo7gf/GPW1N2wE+ | ||
foDZ8+iCIF0rd/ePa0ZXDeIDeUrseU3fBQ== | ||
MHcCAQEEIDmI6v0r142AarwYxJY/kAF1R/Q3m4SGoHoghQ58m5k2oAoGCCqGSM49 | ||
AwEHoUQDQgAEPoTM+2Z6HVYiKQFZExJPhefGLW8Tk6ITJ/s+TcTW56QlsA3HclCA | ||
DAepAxG99PcN2Fpw7HaJpFqfBjwb0DUIxw== | ||
-----END EC PRIVATE KEY----- |
14 changes: 7 additions & 7 deletions
14
credentials/development/commissioner_dut/invalid_paa/paa-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 |
---|---|---|
@@ -1,12 +1,12 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIIB0DCCAXagAwIBAgIIOOfO8k+viIgwCgYIKoZIzj0EAwIwOTE3MDUGA1UEAwwu | ||
MIIB0TCCAXagAwIBAgIIKcfrfBp8bhIwCgYIKoZIzj0EAwIwOTE3MDUGA1UEAwwu | ||
SW52YWxpZCAoTm90IFJlZ2lzdGVyZWQgaW4gdGhlIERDTCkgTWF0dGVyIFBBQTAg | ||
Fw0yMTA2MjgxNDIzNDNaGA85OTk5MTIzMTIzNTk1OVowOTE3MDUGA1UEAwwuSW52 | ||
YWxpZCAoTm90IFJlZ2lzdGVyZWQgaW4gdGhlIERDTCkgTWF0dGVyIFBBQTBZMBMG | ||
ByqGSM49AgEGCCqGSM49AwEHA0IABPpJ2vGCmLL490OZuD1htkMjRuSOc5kCb3lx | ||
bFxwmk66gvXU8Yocg3BvqK+9WWC6JBlgzvviw93276bvpHGpMYajZjBkMBIGA1Ud | ||
EwEB/wQIMAYBAf8CAQEwDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBQrDv6LP/qE | ||
lgvYk8SvEXFnR+BIpTAfBgNVHSMEGDAWgBQrDv6LP/qElgvYk8SvEXFnR+BIpTAK | ||
BggqhkjOPQQDAgNIADBFAiB/D0/Pz+Fz+SU6mNOjvPKcGlZIPe+FRDGI5uqI8rX2 | ||
PwIhAOyShTFQMhNfy+1TnWRbwm/ShROaLr1Zcj7nLRczeGjD | ||
ByqGSM49AgEGCCqGSM49AwEHA0IABOoFP2NoulFuvRCRHJau3NCvVgHe7P6uyJ5O | ||
eMDikqnVidhuzQjPvzA5y8AliUEBf5sc3R/TTVwiKAje9CO6wj+jZjBkMBIGA1Ud | ||
EwEB/wQIMAYBAf8CAQEwDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBQTWtXG97lc | ||
Uk80bL8unBJNn71OLTAfBgNVHSMEGDAWgBQTWtXG97lcUk80bL8unBJNn71OLTAK | ||
BggqhkjOPQQDAgNJADBGAiEAnBLf9DV/FsRQFwaC6JykMrhTGWLhR0meAIKlojWN | ||
v/wCIQCVWWh0gz9OfvP4Iv+2yZKVGnNs6DaSy3mJ+MnrXm+BSA== | ||
-----END CERTIFICATE----- |
6 changes: 3 additions & 3 deletions
6
credentials/development/commissioner_dut/invalid_paa/paa-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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
-----BEGIN EC PRIVATE KEY----- | ||
MHcCAQEEIFY+k2145+Tfyl9Stq08M5H+SieAPCwwoOLg1NS8s2TqoAoGCCqGSM49 | ||
AwEHoUQDQgAE+kna8YKYsvj3Q5m4PWG2QyNG5I5zmQJveXFsXHCaTrqC9dTxihyD | ||
cG+or71ZYLokGWDO++LD3fbvpu+kcakxhg== | ||
MHcCAQEEILjuGI+5zATSsyVZGKx989HIV45LTSM+NcLUpNmZKrWWoAoGCCqGSM49 | ||
AwEHoUQDQgAE6gU/Y2i6UW69EJEclq7c0K9WAd7s/q7Ink54wOKSqdWJ2G7NCM+/ | ||
MDnLwCWJQQF/mxzdH9NNXCIoCN70I7rCPw== | ||
-----END EC PRIVATE KEY----- |
Binary file modified
BIN
-3 Bytes
(99%)
credentials/development/commissioner_dut/invalid_paa/pai-Cert.der
Binary file not shown.
20 changes: 10 additions & 10 deletions
20
credentials/development/commissioner_dut/invalid_paa/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 |
---|---|---|
@@ -1,12 +1,12 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIIByDCCAW2gAwIBAgIIVH5lccL+7gYwCgYIKoZIzj0EAwIwOTE3MDUGA1UEAwwu | ||
SW52YWxpZCAoTm90IFJlZ2lzdGVyZWQgaW4gdGhlIERDTCkgTWF0dGVyIFBBQTAg | ||
Fw0yMTA2MjgxNDIzNDNaGA85OTk5MTIzMTIzNTk1OVowMDEYMBYGA1UEAwwPTWF0 | ||
dGVyIFRlc3QgUEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTBZMBMGByqGSM49AgEG | ||
CCqGSM49AwEHA0IABJTSFb4sA9AkXurgPmWCT2maCtyOp8AaqS6dlms2IehJKykQ | ||
j8u1lC4GM1u0iYwhj820yadRtGRmww0cNgjQrQejZjBkMBIGA1UdEwEB/wQIMAYB | ||
Af8CAQAwDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBTjhqpMg0qU5eU88z7nD3cf | ||
o/tMADAfBgNVHSMEGDAWgBQrDv6LP/qElgvYk8SvEXFnR+BIpTAKBggqhkjOPQQD | ||
AgNJADBGAiEA4CLir/Rmk9mDUS71Jrteov7tCIT9eXrFGUTPkoW+6zcCIQDEhmKi | ||
4hXiW6WC8eXcUxS6kYvEoAKI+kic9A00szhNkg== | ||
MIIBxTCCAWugAwIBAgIIeimk5q2MKXkwCgYIKoZIzj0EAwIwOTE3MDUGA1UEAwwu | ||
SW52YWxpZCAoTm90IFJlZ2lzdGVyZWQgaW4gdGhlIERDTCkgTWF0dGVyIFBBQTAe | ||
Fw0yMTA2MjgxNDIzNDNaFw0yMjA2MjgxNDIzNDJaMDAxGDAWBgNVBAMMD01hdHRl | ||
ciBUZXN0IFBBSTEUMBIGCisGAQQBgqJ8AgEMBEZGRjEwWTATBgcqhkjOPQIBBggq | ||
hkjOPQMBBwNCAARHJi2yODpRwQZMDxn/KBUmqKLTEYbybk6ZQ10A7S2DkYTb+pM7 | ||
tp9dLv7BVVjTUwbZJF6Sb1mmn+MBi7fKY5KPo2YwZDASBgNVHRMBAf8ECDAGAQH/ | ||
AgEAMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUYCmfZDmJfm9Ibl9yN82Yopet | ||
SOEwHwYDVR0jBBgwFoAUE1rVxve5XFJPNGy/LpwSTZ+9Ti0wCgYIKoZIzj0EAwID | ||
SAAwRQIhAPmlYJVOmLCz/2IRZnJ2ZNaJpB07TNEHw+h6kUWzOEqKAiBYa0rX9MLH | ||
wzPpzf49NwZdI4y3SY52KeIJZOUB9Ke+6g== | ||
-----END CERTIFICATE----- |
Binary file modified
BIN
+0 Bytes
(100%)
credentials/development/commissioner_dut/invalid_paa/pai-Key.der
Binary file not shown.
6 changes: 3 additions & 3 deletions
6
credentials/development/commissioner_dut/invalid_paa/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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
-----BEGIN EC PRIVATE KEY----- | ||
MHcCAQEEIHOVwVthXM49128hkyBUFt/P5rCpOxBikVZ1HyiTyV90oAoGCCqGSM49 | ||
AwEHoUQDQgAElNIVviwD0CRe6uA+ZYJPaZoK3I6nwBqpLp2WazYh6EkrKRCPy7WU | ||
LgYzW7SJjCGPzbTJp1G0ZGbDDRw2CNCtBw== | ||
MHcCAQEEIEhpipt3AhHALvb5gHsd3unqjW26R6ONpUdQE26hESmcoAoGCCqGSM49 | ||
AwEHoUQDQgAERyYtsjg6UcEGTA8Z/ygVJqii0xGG8m5OmUNdAO0tg5GE2/qTO7af | ||
XS7+wVVY01MG2SRekm9Zpp/jAYu3ymOSjw== | ||
-----END EC PRIVATE KEY----- |
12 changes: 6 additions & 6 deletions
12
credentials/development/commissioner_dut/invalid_paa/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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
{ | ||
"description": "PAI Test Vector: Invalid CMS Signature.", | ||
"description": "PAA Test Vector: Use Invalid PAA (Not Registered in the DCL).", | ||
"is_success_case": "false", | ||
"dac_cert": "308201ce30820174a0030201020208591463ca90b67319300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c04464646313020170d3231303632383134323334335a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742044414331143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303059301306072a8648ce3d020106082a8648ce3d0301070342000435967505dbb5d6d924743188d8066d814a00c64b74d36e2e80d2db072a3b81ffc63d6d4ddb013e7e80d9f3e882205d2b77f78f6b46570de203794aec794ddf05a360305e300c0603551d130101ff04023000300e0603551d0f0101ff040403020780301d0603551d0e04160414dc954b0efb2d21081da8e7a342fd8ada7cf99b62301f0603551d23041830168014e386aa4c834a94e5e53cf33ee70f771fa3fb4c00300a06082a8648ce3d040302034800304502210096ea70bff56dbc0b8c7b73573f81215994570abb4174bb03a36c2fb0a03226720220322cad81f15ef023654fa692de590b99b7902ca3cf67efe27f8096882a704a87", | ||
"pai_cert": "308201c83082016da0030201020208547e6571c2feee06300a06082a8648ce3d04030230393137303506035504030c2e496e76616c696420284e6f74205265676973746572656420696e207468652044434c29204d6174746572205041413020170d3231303632383134323334335a180f39393939313233313233353935395a30303118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c04464646313059301306072a8648ce3d020106082a8648ce3d0301070342000494d215be2c03d0245eeae03e65824f699a0adc8ea7c01aa92e9d966b3621e8492b29108fcbb5942e06335bb4898c218fcdb4c9a751b46466c30d1c3608d0ad07a366306430120603551d130101ff040830060101ff020100300e0603551d0f0101ff040403020106301d0603551d0e04160414e386aa4c834a94e5e53cf33ee70f771fa3fb4c00301f0603551d230418301680142b0efe8b3ffa84960bd893c4af11716747e048a5300a06082a8648ce3d0403020349003046022100e022e2aff46693d983512ef526bb5ea2feed0884fd797ac51944cf9285beeb37022100c48662a2e215e25ba582f1e5dc5314ba918bc4a00288fa489cf40d34b3384d92", | ||
"certification_declaration": "3081e906092a864886f70d010702a081db3081d8020103310d300b0609608648016503040201304506092a864886f70d010701a0380436152400012501f1ff360205008018250334122c04135a494732303134315a423333303030312d32342405002406002507769824080018317d307b020103801462fa823359acfaa9963e1cfa140addf504f37160300b0609608648016503040201300a06082a8648ce3d040302044730450221009537f838ebfd9f8b1f26b4c207098ec082928254e8db72fc32f8a870ef97563a02203c59748c2c49d7222b58088c3689127a2df28aa8ae8320bd3c82fdcf01dd6044", | ||
"dac_private_key": "96c4297b4a09509797429b597fba5a5c4321cc47eb8f4d1f5366df73ebc6ab3a", | ||
"dac_public_key": "0435967505dbb5d6d924743188d8066d814a00c64b74d36e2e80d2db072a3b81ffc63d6d4ddb013e7e80d9f3e882205d2b77f78f6b46570de203794aec794ddf05" | ||
"dac_cert": "308201cd30820172a0030201020208567d67fad563292c300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c0446464631301e170d3231303632383134323334335a170d3232303632383134323334325a30463118301606035504030c0f4d617474657220546573742044414331143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303059301306072a8648ce3d020106082a8648ce3d030107034200043e84ccfb667a1d562229015913124f85e7c62d6f1393a21327fb3e4dc4d6e7a425b00dc77250800c07a90311bdf4f70dd85a70ec7689a45a9f063c1bd03508c7a360305e300c0603551d130101ff04023000300e0603551d0f0101ff040403020780301d0603551d0e04160414cd5158817cba8798bf2d4c3823403a78b26a6e2c301f0603551d2304183016801460299f6439897e6f486e5f7237cd98a297ad48e1300a06082a8648ce3d040302034900304602210088a0246e9fa3314477108d6ca54be5f085d49280dc443fe36d7142b35fa7661f022100deb66d515b10a85e3da566fcdacfd6809df9969281dc6c18aa3aa397d10596fe", | ||
"pai_cert": "308201c53082016ba00302010202087a29a4e6ad8c2979300a06082a8648ce3d04030230393137303506035504030c2e496e76616c696420284e6f74205265676973746572656420696e207468652044434c29204d617474657220504141301e170d3231303632383134323334335a170d3232303632383134323334325a30303118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c04464646313059301306072a8648ce3d020106082a8648ce3d0301070342000447262db2383a51c1064c0f19ff281526a8a2d31186f26e4e99435d00ed2d839184dbfa933bb69f5d2efec15558d35306d9245e926f59a69fe3018bb7ca63928fa366306430120603551d130101ff040830060101ff020100300e0603551d0f0101ff040403020106301d0603551d0e0416041460299f6439897e6f486e5f7237cd98a297ad48e1301f0603551d23041830168014135ad5c6f7b95c524f346cbf2e9c124d9fbd4e2d300a06082a8648ce3d0403020348003045022100f9a560954e98b0b3ff621166727664d689a41d3b4cd107c3e87a9145b3384a8a0220586b4ad7f4c2c7c333e9cdfe3d37065d238cb7498e7629e20964e501f4a7beea", | ||
"certification_declaration": "3081e806092a864886f70d010702a081da3081d7020103310d300b0609608648016503040201304506092a864886f70d010701a0380436152400012501f1ff360205008018250334122c04135a494732303134315a423333303030312d32342405002406002507769824080018317c307a020103801462fa823359acfaa9963e1cfa140addf504f37160300b0609608648016503040201300a06082a8648ce3d0403020446304402202f6fdf1d3e5587c6e6f4d6f2015b1a2b69a22768efe10bfbbdcc7f7c53e81db202206f4bcc3fead88b2aebb9a1ece815b5f20fee350d96127e77150d9a7b024d073f", | ||
"dac_private_key": "3988eafd2bd78d806abc18c4963f90017547f4379b8486a07a20850e7c9b9936", | ||
"dac_public_key": "043e84ccfb667a1d562229015913124f85e7c62d6f1393a21327fb3e4dc4d6e7a425b00dc77250800c07a90311bdf4f70dd85a70ec7689a45a9f063c1bd03508c7" | ||
} |
Binary file modified
BIN
+0 Bytes
(100%)
credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count0/cd.der
Binary file not shown.
Binary file modified
BIN
+1 Byte
(100%)
credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count0/dac-Cert.der
Binary file not shown.
16 changes: 8 additions & 8 deletions
16
credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count0/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 |
---|---|---|
@@ -1,13 +1,13 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIIB5DCCAYqgAwIBAgIIcLZzJNOZdCMwCgYIKoZIzj0EAwIwRjEYMBYGA1UEAwwP | ||
MIIB5TCCAYqgAwIBAgIIZt+8CJdskb4wCgYIKoZIzj0EAwIwRjEYMBYGA1UEAwwP | ||
TWF0dGVyIFRlc3QgUEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQB | ||
gqJ8AgIMBDgwMDAwIBcNMjIwNTI3MDAwMDAwWhgPOTk5OTEyMzEyMzU5NTlaMEYx | ||
gqJ8AgIMBDgwMDAwIBcNMjIwOTIzMDAwMDAwWhgPOTk5OTEyMzEyMzU5NTlaMEYx | ||
GDAWBgNVBAMMD01hdHRlciBUZXN0IERBQzEUMBIGCisGAQQBgqJ8AgEMBEZGRjEx | ||
FDASBgorBgEEAYKifAICDAQ4MDAwMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE | ||
g0oUQN48dQ5KfjCnrEWLpmo1UcClyooPOviF9uWhe6cxm0vc8Rn+x73RoWqMZK/H | ||
4P1/u5Ud+ailIB5d8vIB/qNgMF4wDAYDVR0TAQH/BAIwADAOBgNVHQ8BAf8EBAMC | ||
B4AwHQYDVR0OBBYEFGED+3fjAwmr7LTg80ALYOmP61vmMB8GA1UdIwQYMBaAFAP3 | ||
VqzDRhOGPY6lPTdia6Ujj3k6MAoGCCqGSM49BAMCA0gAMEUCIQD8dFapxcs/R87W | ||
Ly+wtW1HC64DNFGJYDu/WKfH2zUZ8gIgRO+864Qo9nq0873KSMJTiV2F7++evnLJ | ||
FIZTmUWVfhI= | ||
GPPxm9HHZthfxvP4Z3Oxs6JFxJKPsks0MClMfT9Dwmhmta7qx328isAHGVrA/6Z0 | ||
EuY1dKNw7AJKvspfMKpJ+qNgMF4wDAYDVR0TAQH/BAIwADAOBgNVHQ8BAf8EBAMC | ||
B4AwHQYDVR0OBBYEFMFUzLci/xvJ7Z+Rqll+selwOescMB8GA1UdIwQYMBaAFAwF | ||
J8QDxt4Qpf3lxSG7vtTw+IcyMAoGCCqGSM49BAMCA0kAMEYCIQClWYxGqLmZHVxI | ||
gDDrbY5rvGlZd0usCDgGTSh8wcvkhQIhALvHup71R5hfSVb4plusun5uvWMX6tZe | ||
9ZeEiU5E2AnA | ||
-----END CERTIFICATE----- |
Binary file modified
BIN
+0 Bytes
(100%)
credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count0/dac-Key.der
Binary file not shown.
6 changes: 3 additions & 3 deletions
6
credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count0/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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
-----BEGIN EC PRIVATE KEY----- | ||
MHcCAQEEIFkRqEET0o9sXIm7H1mDIguJ8pU1aBeFRnf9fOz+NCV9oAoGCCqGSM49 | ||
AwEHoUQDQgAEg0oUQN48dQ5KfjCnrEWLpmo1UcClyooPOviF9uWhe6cxm0vc8Rn+ | ||
x73RoWqMZK/H4P1/u5Ud+ailIB5d8vIB/g== | ||
MHcCAQEEIBDunHlJ/wEYuRD9iNY8kPIQA8y0zlvytRNvSlGKjr63oAoGCCqGSM49 | ||
AwEHoUQDQgAEGPPxm9HHZthfxvP4Z3Oxs6JFxJKPsks0MClMfT9Dwmhmta7qx328 | ||
isAHGVrA/6Z0EuY1dKNw7AJKvspfMKpJ+g== | ||
-----END EC PRIVATE KEY----- |
Binary file modified
BIN
+2 Bytes
(100%)
credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count0/pai-Cert.der
Binary file not shown.
16 changes: 8 additions & 8 deletions
16
credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count0/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 |
---|---|---|
@@ -1,12 +1,12 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIIB0zCCAXqgAwIBAgIIfm3eggiakfswCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP | ||
TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA1Mjcw | ||
MIIB1TCCAXqgAwIBAgIIXL/zkSiDR+8wCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP | ||
TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA5MjMw | ||
MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowRjEYMBYGA1UEAwwPTWF0dGVyIFRlc3Qg | ||
UEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQBgqJ8AgIMBDgwMDAw | ||
WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAQ5F4O2t1nOj7D+y56ZmTGRT2AQB16P | ||
87gexd0Xog3M8bnsZ4mINkMpk3p+sN4MTm/0W71rrfuunZ4NKJKy9QFVo2YwZDAS | ||
BgNVHRMBAf8ECDAGAQH/AgEAMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUA/dW | ||
rMNGE4Y9jqU9N2JrpSOPeTowHwYDVR0jBBgwFoAUav0idx9RH+y/FkGXZxDc3DGh | ||
cX4wCgYIKoZIzj0EAwIDRwAwRAIgT4guacQ825+4Eht8Bopviywsn7bgTV8TkRdq | ||
mWbqmlUCID/7eYXyV5NlttSvDE0CpSVUInH6RcTRAgGm7g7BLSYw | ||
WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAASzYIFCg1IOy5+5xAV4CikwvHuDOuQQ | ||
arEln8bRd8VO311HJcMOQA9ULKhl9/LXSzFeD/e0OAQPdf4RKBQsa8Pao2YwZDAS | ||
BgNVHRMBAf8ECDAGAQH/AgEAMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUDAUn | ||
xAPG3hCl/eXFIbu+1PD4hzIwHwYDVR0jBBgwFoAUav0idx9RH+y/FkGXZxDc3DGh | ||
cX4wCgYIKoZIzj0EAwIDSQAwRgIhAKujz1s4X6cF/x4rSaBn1hQMWReX+t/YgV5S | ||
kYp3sJxDAiEAlDSxkCxDBsEwAiQVLPBPVtNTvG15UwBaXt+a/vlBZPc= | ||
-----END CERTIFICATE----- |
Binary file modified
BIN
+0 Bytes
(100%)
credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count0/pai-Key.der
Binary file not shown.
6 changes: 3 additions & 3 deletions
6
credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count0/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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
-----BEGIN EC PRIVATE KEY----- | ||
MHcCAQEEIFb8ZQbqebrWSCzBU2Yqw80UDKEtesajUfT9Pnzk20v4oAoGCCqGSM49 | ||
AwEHoUQDQgAEOReDtrdZzo+w/suemZkxkU9gEAdej/O4HsXdF6INzPG57GeJiDZD | ||
KZN6frDeDE5v9Fu9a637rp2eDSiSsvUBVQ== | ||
MHcCAQEEIAQasOuc3Rq1n4/KbWuMbx2J0IT1opsVohbO+S+PRx3WoAoGCCqGSM49 | ||
AwEHoUQDQgAEs2CBQoNSDsufucQFeAopMLx7gzrkEGqxJZ/G0XfFTt9dRyXDDkAP | ||
VCyoZffy10sxXg/3tDgED3X+ESgULGvD2g== | ||
-----END EC PRIVATE KEY----- |
10 changes: 5 additions & 5 deletions
10
...s/development/commissioner_dut/struct_cd_authorized_paa_list_count0/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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
{ | ||
"description": "CD Test Vector: The authorized_paa_list contains one valid PAA which is authorized to sign the PAI.", | ||
"is_success_case": "false", | ||
"dac_cert": "308201e43082018aa003020102020870b67324d3997423300a06082a8648ce3d04030230463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303020170d3232303532373030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742044414331143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303059301306072a8648ce3d020106082a8648ce3d03010703420004834a1440de3c750e4a7e30a7ac458ba66a3551c0a5ca8a0f3af885f6e5a17ba7319b4bdcf119fec7bdd1a16a8c64afc7e0fd7fbb951df9a8a5201e5df2f201fea360305e300c0603551d130101ff04023000300e0603551d0f0101ff040403020780301d0603551d0e041604146103fb77e30309abecb4e0f3400b60e98feb5be6301f0603551d2304183016801403f756acc34613863d8ea53d37626ba5238f793a300a06082a8648ce3d0403020348003045022100fc7456a9c5cb3f47ced62f2fb0b56d470bae03345189603bbf58a7c7db3519f2022044efbceb8428f67ab4f3bdca48c253895d85efef9ebe72c91486539945957e12", | ||
"pai_cert": "308201d33082017aa00302010202087e6dde82089a91fb300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414131143012060a2b0601040182a27c02010c04464646313020170d3232303532373030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303059301306072a8648ce3d020106082a8648ce3d03010703420004391783b6b759ce8fb0fecb9e999931914f6010075e8ff3b81ec5dd17a20dccf1b9ec678988364329937a7eb0de0c4e6ff45bbd6badfbae9d9e0d2892b2f50155a366306430120603551d130101ff040830060101ff020100300e0603551d0f0101ff040403020106301d0603551d0e0416041403f756acc34613863d8ea53d37626ba5238f793a301f0603551d230418301680146afd22771f511fecbf1641976710dcdc31a1717e300a06082a8648ce3d040302034700304402204f882e69c43cdb9fb8121b7c068a6f8b2c2c9fb6e04d5f1391176a9966ea9a5502203ffb7985f2579365b6d4af0c4d02a525542271fa45c4d10201a6ee0ec12d2630", | ||
"certification_declaration": "3081ec06092a864886f70d010702a081de3081db020103310d300b0609608648016503040201304806092a864886f70d010701a03b0439152000012501f1ff360205008018250334122c04135a494732303134315a423333303030312d323424050024060025077698240800360b1818317d307b020103801462fa823359acfaa9963e1cfa140addf504f37160300b0609608648016503040201300a06082a8648ce3d04030204473045022100ac7febbe34655cf6e060681f2a5d178a6af556f0a00dca2e6a599cac1228149f02205c9f189911266e8d5d695c7499411dcf11249ff5e99483b293d8b44bd8cf8d62", | ||
"dac_private_key": "5911a84113d28f6c5c89bb1f5983220b89f295356817854677fd7cecfe34257d", | ||
"dac_public_key": "04834a1440de3c750e4a7e30a7ac458ba66a3551c0a5ca8a0f3af885f6e5a17ba7319b4bdcf119fec7bdd1a16a8c64afc7e0fd7fbb951df9a8a5201e5df2f201fe" | ||
"dac_cert": "308201e53082018aa003020102020866dfbc08976c91be300a06082a8648ce3d04030230463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303020170d3232303932333030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742044414331143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303059301306072a8648ce3d020106082a8648ce3d0301070342000418f3f19bd1c766d85fc6f3f86773b1b3a245c4928fb24b3430294c7d3f43c26866b5aeeac77dbc8ac007195ac0ffa67412e63574a370ec024abeca5f30aa49faa360305e300c0603551d130101ff04023000300e0603551d0f0101ff040403020780301d0603551d0e04160414c154ccb722ff1bc9ed9f91aa597eb1e97039eb1c301f0603551d230418301680140c0527c403c6de10a5fde5c521bbbed4f0f88732300a06082a8648ce3d0403020349003046022100a5598c46a8b9991d5c488030eb6d8e6bbc6959774bac0838064d287cc1cbe485022100bbc7ba9ef547985f4956f8a65bacba7e6ebd6317ead65ef59784894e44d809c0", | ||
"pai_cert": "308201d53082017aa00302010202085cbff391288347ef300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414131143012060a2b0601040182a27c02010c04464646313020170d3232303932333030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303059301306072a8648ce3d020106082a8648ce3d03010703420004b360814283520ecb9fb9c405780a2930bc7b833ae4106ab1259fc6d177c54edf5d4725c30e400f542ca865f7f2d74b315e0ff7b438040f75fe1128142c6bc3daa366306430120603551d130101ff040830060101ff020100300e0603551d0f0101ff040403020106301d0603551d0e041604140c0527c403c6de10a5fde5c521bbbed4f0f88732301f0603551d230418301680146afd22771f511fecbf1641976710dcdc31a1717e300a06082a8648ce3d0403020349003046022100aba3cf5b385fa705ff1e2b49a067d6140c591797fadfd8815e52918a77b09c430221009434b1902c4306c1300224152cf04f56d353bc6d7953005a5edf9afef94164f7", | ||
"certification_declaration": "3081ec06092a864886f70d010702a081de3081db020103310d300b0609608648016503040201304806092a864886f70d010701a03b0439152400012501f1ff360205008018250334122c04135a494732303134315a423333303030312d323424050024060025077698240800360b1818317d307b020103801462fa823359acfaa9963e1cfa140addf504f37160300b0609608648016503040201300a06082a8648ce3d0403020447304502203e95e0d9d4324d9fdbb38d6880285888828427759c03b8763bda4e43953fd290022100e030484f70e8f937175c28d1ce575bd612251a4b1d83a0365a2374c613933487", | ||
"dac_private_key": "10ee9c7949ff0118b910fd88d63c90f21003ccb4ce5bf2b5136f4a518a8ebeb7", | ||
"dac_public_key": "0418f3f19bd1c766d85fc6f3f86773b1b3a245c4928fb24b3430294c7d3f43c26866b5aeeac77dbc8ac007195ac0ffa67412e63574a370ec024abeca5f30aa49fa" | ||
} |
Binary file modified
BIN
-1 Byte
(100%)
...entials/development/commissioner_dut/struct_cd_authorized_paa_list_count10_invalid/cd.der
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...s/development/commissioner_dut/struct_cd_authorized_paa_list_count10_invalid/dac-Cert.der
Binary file not shown.
Oops, something went wrong.