diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_01/cd.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_01/cd.der new file mode 100644 index 00000000000000..8712acdd3d56be Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_01/cd.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_01/dac-Cert.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_01/dac-Cert.der new file mode 100644 index 00000000000000..d0d6c812cf484a Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_01/dac-Cert.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_01/dac-Cert.pem b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_01/dac-Cert.pem new file mode 100644 index 00000000000000..c6cf301aee7e01 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_01/dac-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIB2zCCAYGgAwIBAgIIdPS0Rry9ddswCgYIKoZIzj0EAwIwRjEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQB +gqJ8AgIMBDAwQjEwIBcNMjIwNDI2MDAwMDAwWhgPOTk5OTEyMzEyMzU5NTlaMD0x +OzA5BgNVBAMMMkFDTUUgTWF0dGVyIERldmVsIERBQyA1Q0RBOTg5OSBNdmlkOkZG +RjEgTXBpZDowMEIxMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEz6yTm/3VzzhP +RWlPINrL/jB871vqTEwIqz+OYdTL2ooD63jfPEVAygfRHAmrXH7rRPCvNfysZR9u +fQ3qq3cwUaNgMF4wDAYDVR0TAQH/BAIwADAOBgNVHQ8BAf8EBAMCB4AwHQYDVR0O +BBYEFLwuBooXut+fsp4K0MyphSCJToF/MB8GA1UdIwQYMBaAFHvphboKFu4Zbaob +Axwjc2WrfPXyMAoGCCqGSM49BAMCA0gAMEUCIQCArZaLxQ6DSosIDYSAmcIQtGL7 +zQvLfGtphlF2ECu33QIgI5enn/l7sthJhzCRs2MVsj9S5zJ+Qljr/iHcjyNzb7o= +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_01/dac-Key.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_01/dac-Key.der new file mode 100644 index 00000000000000..0a62948ead46ed Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_01/dac-Key.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_01/dac-Key.pem b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_01/dac-Key.pem new file mode 100644 index 00000000000000..02f8e781c18b2f --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_01/dac-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIFCtNcGAyI7EYRMnheNNLlQi3FmLSawTR/2NB/kHU0oToAoGCCqGSM49 +AwEHoUQDQgAEz6yTm/3VzzhPRWlPINrL/jB871vqTEwIqz+OYdTL2ooD63jfPEVA +ygfRHAmrXH7rRPCvNfysZR9ufQ3qq3cwUQ== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_01/pai-Cert.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_01/pai-Cert.der new file mode 100644 index 00000000000000..873f9ac73279c5 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_01/pai-Cert.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_01/pai-Cert.pem b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_01/pai-Cert.pem new file mode 100644 index 00000000000000..b790110b9be32d --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_01/pai-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIB0zCCAXqgAwIBAgIIWFA9L+I3H8IwCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA0MjYw +MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowRjEYMBYGA1UEAwwPTWF0dGVyIFRlc3Qg +UEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQBgqJ8AgIMBDAwQjEw +WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAATml2V56K3F9tcyE5qim22p/JoHVN3m +yprbSKBM4flsZflC38DNkw0QcUaJHGq7TKXyBq/Zm/fM67Z9WOfMDF6uo2YwZDAS +BgNVHRMBAf8ECDAGAQH/AgEBMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUe+mF +ugoW7hltqhsDHCNzZat89fIwHwYDVR0jBBgwFoAUav0idx9RH+y/FkGXZxDc3DGh +cX4wCgYIKoZIzj0EAwIDRwAwRAIgeUArz/4QljTj6t5P6gENjs7RLMB7SNehG0vq +HHeSmCQCIE+Sl7CggWu/WmtzTx72zB14e0oUqL59IxN1TqDtjn43 +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_01/pai-Key.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_01/pai-Key.der new file mode 100644 index 00000000000000..9c55caed8c844c Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_01/pai-Key.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_01/pai-Key.pem b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_01/pai-Key.pem new file mode 100644 index 00000000000000..5cd22cfad65c9e --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_01/pai-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIBG2VwT0hHszwy3xi8EXAmF28ch3/ZHT1u7ZCz7f31mmoAoGCCqGSM49 +AwEHoUQDQgAE5pdleeitxfbXMhOaopttqfyaB1Td5sqa20igTOH5bGX5Qt/AzZMN +EHFGiRxqu0yl8gav2Zv3zOu2fVjnzAxerg== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_01/test_case_vector.json b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_01/test_case_vector.json new file mode 100644 index 00000000000000..38b2eee93921dc --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_01/test_case_vector.json @@ -0,0 +1,9 @@ +{ + "description": "DAC Test Vector: Fallback VID and PID encoding example from spec: valid and recommended since easily human-readable", + "is_success_case": "true", + "dac_cert": "308201db30820181a003020102020874f4b446bcbd75db300a06082a8648ce3d04030230463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04303042313020170d3232303432363030303030305a180f39393939313233313233353935395a303d313b303906035504030c3241434d45204d617474657220446576656c20444143203543444139383939204d7669643a46464631204d7069643a303042313059301306072a8648ce3d020106082a8648ce3d03010703420004cfac939bfdd5cf384f45694f20dacbfe307cef5bea4c4c08ab3f8e61d4cbda8a03eb78df3c4540ca07d11c09ab5c7eeb44f0af35fcac651f6e7d0deaab773051a360305e300c0603551d130101ff04023000300e0603551d0f0101ff040403020780301d0603551d0e04160414bc2e068a17badf9fb29e0ad0cca98520894e817f301f0603551d230418301680147be985ba0a16ee196daa1b031c237365ab7cf5f2300a06082a8648ce3d040302034800304502210080ad968bc50e834a8b080d848099c210b462fbcd0bcb7c6b69865176102bb7dd02202397a79ff97bb2d849873091b36315b23f52e7327e4258ebfe21dc8f23736fba", + "pai_cert": "308201d33082017aa003020102020858503d2fe2371fc2300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414131143012060a2b0601040182a27c02010c04464646313020170d3232303432363030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04303042313059301306072a8648ce3d020106082a8648ce3d03010703420004e6976579e8adc5f6d732139aa29b6da9fc9a0754dde6ca9adb48a04ce1f96c65f942dfc0cd930d107146891c6abb4ca5f206afd99bf7ccebb67d58e7cc0c5eaea366306430120603551d130101ff040830060101ff020101300e0603551d0f0101ff040403020106301d0603551d0e041604147be985ba0a16ee196daa1b031c237365ab7cf5f2301f0603551d230418301680146afd22771f511fecbf1641976710dcdc31a1717e300a06082a8648ce3d0403020347003044022079402bcffe109634e3eade4fea010d8eced12cc07b48d7a11b4bea1c7792982402204f9297b0a0816bbf5a6b734f1ef6cc1d787b4a14a8be7d2313754ea0ed8e7e37", + "certification_declaration": "3081e806092a864886f70d010702a081da3081d7020103310d300b0609608648016503040201304406092a864886f70d010701a0370435152400012501f1ff360204b118250334122c04135a494732303134315a423333303030312d32342405002406002507769824080018317d307b020103801462fa823359acfaa9963e1cfa140addf504f37160300b0609608648016503040201300a06082a8648ce3d040302044730450220054b0fce684c80b8b6b2d03019c907c446b13542d6c90dbf6252ce7887e63145022100a1d0d38f357e6be72a6a90704d60be111b64438f4bab0f6de385a9650f4ca3d0", + "dac_private_key": "50ad35c180c88ec461132785e34d2e5422dc598b49ac1347fd8d07f907534a13", + "dac_public_key": "04cfac939bfdd5cf384f45694f20dacbfe307cef5bea4c4c08ab3f8e61d4cbda8a03eb78df3c4540ca07d11c09ab5c7eeb44f0af35fcac651f6e7d0deaab773051" +} diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_02/cd.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_02/cd.der new file mode 100644 index 00000000000000..b8a4a36688658d Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_02/cd.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_02/dac-Cert.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_02/dac-Cert.der new file mode 100644 index 00000000000000..f606ba35e187b2 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_02/dac-Cert.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_02/dac-Cert.pem b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_02/dac-Cert.pem new file mode 100644 index 00000000000000..2c495ce8ed52c1 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_02/dac-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIB2zCCAYGgAwIBAgIIcWt046B6dY8wCgYIKoZIzj0EAwIwRjEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQB +gqJ8AgIMBDAwQjEwIBcNMjIwNDI2MDAwMDAwWhgPOTk5OTEyMzEyMzU5NTlaMD0x +OzA5BgNVBAMMMkFDTUUgTWF0dGVyIERldmVsIERBQyA1Q0RBOTg5OSBNcGlkOjAw +QjEgTXZpZDpGRkYxMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEup96tuztjhpo +GEZ0F7hZArwPHcKpRs5vEVWu0V6MtHUZjIqBaXFu4KVg8dvvwuQC8okw/u2ebs/z +/Idi3rdCLKNgMF4wDAYDVR0TAQH/BAIwADAOBgNVHQ8BAf8EBAMCB4AwHQYDVR0O +BBYEFEmQRNJEn9rv2u+XcqJ6ttVmo/PMMB8GA1UdIwQYMBaAFBKIIIWMqIRSnfMZ +RZTWvrO1bMsYMAoGCCqGSM49BAMCA0gAMEUCIQCZ91y2O+l3L6gVG1Saeky4Ioie +Q+R6SaABPvLZvlKPYQIgFyiFACrFRAfqY5jNEI+1wYN2HlBrutQNR9ymQfrFYrY= +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_02/dac-Key.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_02/dac-Key.der new file mode 100644 index 00000000000000..8c305c44f62d69 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_02/dac-Key.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_02/dac-Key.pem b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_02/dac-Key.pem new file mode 100644 index 00000000000000..aa569c8eb89f4e --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_02/dac-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIPzYraIXm6aylamQGo9lDORz+kaq6/WwKDlzgI9Fw1xioAoGCCqGSM49 +AwEHoUQDQgAEup96tuztjhpoGEZ0F7hZArwPHcKpRs5vEVWu0V6MtHUZjIqBaXFu +4KVg8dvvwuQC8okw/u2ebs/z/Idi3rdCLA== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_02/pai-Cert.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_02/pai-Cert.der new file mode 100644 index 00000000000000..8ab81ac300ff01 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_02/pai-Cert.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_02/pai-Cert.pem b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_02/pai-Cert.pem new file mode 100644 index 00000000000000..58406552a4b030 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_02/pai-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIB1DCCAXqgAwIBAgIIBmpOBBg+jfswCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA0MjYw +MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowRjEYMBYGA1UEAwwPTWF0dGVyIFRlc3Qg +UEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQBgqJ8AgIMBDAwQjEw +WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAATFgsU94K3KJPEYznPeK3ywYrb+W+Hv +DKwZ6MHq230EtLtkumY013cQRyLQ17+POWiysdgfAFV4r/Bpbbf6tKqFo2YwZDAS +BgNVHRMBAf8ECDAGAQH/AgEBMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUEogg +hYyohFKd8xlFlNa+s7VsyxgwHwYDVR0jBBgwFoAUav0idx9RH+y/FkGXZxDc3DGh +cX4wCgYIKoZIzj0EAwIDSAAwRQIgEg7OkS1JuwsGBCCbCaPuDGltuxNmKq7xJfGk +y/iOeW0CIQDpvrUl3eGmbx3vaNU6Zo9bXj4vxhGERw7p6WXhHe2UKQ== +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_02/pai-Key.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_02/pai-Key.der new file mode 100644 index 00000000000000..a131dd9a3763da Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_02/pai-Key.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_02/pai-Key.pem b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_02/pai-Key.pem new file mode 100644 index 00000000000000..ce0b584fc2d556 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_02/pai-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIK+LtT8cDUNT7JTngN+b0RMpaX/8WnJw3MrtgGsg0hFfoAoGCCqGSM49 +AwEHoUQDQgAExYLFPeCtyiTxGM5z3it8sGK2/lvh7wysGejB6tt9BLS7ZLpmNNd3 +EEci0Ne/jzlosrHYHwBVeK/waW23+rSqhQ== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_02/test_case_vector.json b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_02/test_case_vector.json new file mode 100644 index 00000000000000..51f4b4bd48aa55 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_02/test_case_vector.json @@ -0,0 +1,9 @@ +{ + "description": "DAC Test Vector: Fallback VID and PID encoding example from spec: valid and recommended since easily human-readable", + "is_success_case": "true", + "dac_cert": "308201db30820181a0030201020208716b74e3a07a758f300a06082a8648ce3d04030230463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04303042313020170d3232303432363030303030305a180f39393939313233313233353935395a303d313b303906035504030c3241434d45204d617474657220446576656c20444143203543444139383939204d7069643a30304231204d7669643a464646313059301306072a8648ce3d020106082a8648ce3d03010703420004ba9f7ab6eced8e1a6818467417b85902bc0f1dc2a946ce6f1155aed15e8cb475198c8a8169716ee0a560f1dbefc2e402f28930feed9e6ecff3fc8762deb7422ca360305e300c0603551d130101ff04023000300e0603551d0f0101ff040403020780301d0603551d0e04160414499044d2449fdaefdaef9772a27ab6d566a3f3cc301f0603551d23041830168014128820858ca884529df3194594d6beb3b56ccb18300a06082a8648ce3d040302034800304502210099f75cb63be9772fa8151b549a7a4cb822889e43e47a49a0013ef2d9be528f610220172885002ac54407ea6398cd108fb5c183761e506bbad40d47dca641fac562b6", + "pai_cert": "308201d43082017aa0030201020208066a4e04183e8dfb300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414131143012060a2b0601040182a27c02010c04464646313020170d3232303432363030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04303042313059301306072a8648ce3d020106082a8648ce3d03010703420004c582c53de0adca24f118ce73de2b7cb062b6fe5be1ef0cac19e8c1eadb7d04b4bb64ba6634d777104722d0d7bf8f3968b2b1d81f005578aff0696db7fab4aa85a366306430120603551d130101ff040830060101ff020101300e0603551d0f0101ff040403020106301d0603551d0e04160414128820858ca884529df3194594d6beb3b56ccb18301f0603551d230418301680146afd22771f511fecbf1641976710dcdc31a1717e300a06082a8648ce3d04030203480030450220120ece912d49bb0b0604209b09a3ee0c696dbb13662aaef125f1a4cbf88e796d022100e9beb525dde1a66f1def68d53a668f5b5e3e2fc61184470ee9e965e11ded9429", + "certification_declaration": "3081e806092a864886f70d010702a081da3081d7020103310d300b0609608648016503040201304406092a864886f70d010701a0370435152400012501f1ff360204b118250334122c04135a494732303134315a423333303030312d32342405002406002507769824080018317d307b020103801462fa823359acfaa9963e1cfa140addf504f37160300b0609608648016503040201300a06082a8648ce3d040302044730450220345c3dbbc19406a12c002abe2f9fe71a252b415deb8455ec96a2eb5147844321022100c6b6b777baf06eae6fe8def417d179ab41e954b4ada9bc2e934ebef79afb937d", + "dac_private_key": "fcd8ada2179ba6b295a9901a8f650ce473fa46aaebf5b0283973808f45c35c62", + "dac_public_key": "04ba9f7ab6eced8e1a6818467417b85902bc0f1dc2a946ce6f1155aed15e8cb475198c8a8169716ee0a560f1dbefc2e402f28930feed9e6ecff3fc8762deb7422c" +} diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_03/cd.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_03/cd.der new file mode 100644 index 00000000000000..0ac685735a70bf Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_03/cd.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_03/dac-Cert.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_03/dac-Cert.der new file mode 100644 index 00000000000000..0560f3369f7534 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_03/dac-Cert.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_03/dac-Cert.pem b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_03/dac-Cert.pem new file mode 100644 index 00000000000000..aeed1ce6fb1f0c --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_03/dac-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIB2zCCAYGgAwIBAgIIfcV7AozYTBYwCgYIKoZIzj0EAwIwRjEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQB +gqJ8AgIMBDAwQjEwIBcNMjIwNDI2MDAwMDAwWhgPOTk5OTEyMzEyMzU5NTlaMD0x +OzA5BgNVBAMMMk1waWQ6MDBCMSxBQ01FIE1hdHRlciBEZXZlbCBEQUMgNUNEQTk4 +OTksTXZpZDpGRkYxMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEJsjqG9/yIwut +avjqeNag7EUxyO43pmIMhsXMD61uyldNZb37OcjQ7SA5jJlHRN9Ze4ECG2UFH8/x +Tl0AMvSo56NgMF4wDAYDVR0TAQH/BAIwADAOBgNVHQ8BAf8EBAMCB4AwHQYDVR0O +BBYEFD8SIzP2fkVDnNLrU/30pfp2S8qHMB8GA1UdIwQYMBaAFG7NV6Qms1ks4tFO +xv5FdMoGeXBmMAoGCCqGSM49BAMCA0gAMEUCIB9KVJzOufN5z2Lxpnwkzug6egMJ +iIYDUfHPWtD/uZaZAiEA+BTBBn48xeZtoFHcVItXZzU+3ncXJ1g8GBKjjhNrL+E= +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_03/dac-Key.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_03/dac-Key.der new file mode 100644 index 00000000000000..773a58fcd13e8b Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_03/dac-Key.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_03/dac-Key.pem b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_03/dac-Key.pem new file mode 100644 index 00000000000000..cf2d56b99e1786 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_03/dac-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIBV6oZYC8xxNB84Uek1QPJLrNQkOg4sDwuj7B4529+5VoAoGCCqGSM49 +AwEHoUQDQgAEJsjqG9/yIwutavjqeNag7EUxyO43pmIMhsXMD61uyldNZb37OcjQ +7SA5jJlHRN9Ze4ECG2UFH8/xTl0AMvSo5w== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_03/pai-Cert.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_03/pai-Cert.der new file mode 100644 index 00000000000000..40a583fb36602d Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_03/pai-Cert.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_03/pai-Cert.pem b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_03/pai-Cert.pem new file mode 100644 index 00000000000000..450f945f039fd6 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_03/pai-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIB0zCCAXqgAwIBAgIIZULK9IyylrUwCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA0MjYw +MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowRjEYMBYGA1UEAwwPTWF0dGVyIFRlc3Qg +UEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQBgqJ8AgIMBDAwQjEw +WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAASAm3ZhwNAAWynq7HpnzgYtFLmJT1DY +IwaCmSubyiBspIi93BWjrQmxfkeiS1upQdey2hLv1URJdpnrgegVxwkqo2YwZDAS +BgNVHRMBAf8ECDAGAQH/AgEBMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUbs1X +pCazWSzi0U7G/kV0ygZ5cGYwHwYDVR0jBBgwFoAUav0idx9RH+y/FkGXZxDc3DGh +cX4wCgYIKoZIzj0EAwIDRwAwRAIgZbQGTVd6WXviQgj18nRj1T1L1vqnMr1+FO1e +IPBpiDUCIBO5yx56NK7MehVvpw3LDz440VKT9NNqMoJNb74EyLlX +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_03/pai-Key.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_03/pai-Key.der new file mode 100644 index 00000000000000..7598b35eac1ada Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_03/pai-Key.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_03/pai-Key.pem b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_03/pai-Key.pem new file mode 100644 index 00000000000000..92f435619496dc --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_03/pai-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIAwg9f0a2C3e8smUSzeZGn/C+UWbbM4516qpg00VoTHRoAoGCCqGSM49 +AwEHoUQDQgAEgJt2YcDQAFsp6ux6Z84GLRS5iU9Q2CMGgpkrm8ogbKSIvdwVo60J +sX5HoktbqUHXstoS79VESXaZ64HoFccJKg== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_03/test_case_vector.json b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_03/test_case_vector.json new file mode 100644 index 00000000000000..add65da71a01bd --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_03/test_case_vector.json @@ -0,0 +1,9 @@ +{ + "description": "DAC Test Vector: Fallback VID and PID encoding example from spec: valid example showing that order or separators are not considered at all for the overall validity of the embedded fields", + "is_success_case": "true", + "dac_cert": "308201db30820181a00302010202087dc57b028cd84c16300a06082a8648ce3d04030230463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04303042313020170d3232303432363030303030305a180f39393939313233313233353935395a303d313b303906035504030c324d7069643a303042312c41434d45204d617474657220446576656c204441432035434441393839392c4d7669643a464646313059301306072a8648ce3d020106082a8648ce3d0301070342000426c8ea1bdff2230bad6af8ea78d6a0ec4531c8ee37a6620c86c5cc0fad6eca574d65bdfb39c8d0ed20398c994744df597b81021b65051fcff14e5d0032f4a8e7a360305e300c0603551d130101ff04023000300e0603551d0f0101ff040403020780301d0603551d0e041604143f122333f67e45439cd2eb53fdf4a5fa764bca87301f0603551d230418301680146ecd57a426b3592ce2d14ec6fe4574ca06797066300a06082a8648ce3d040302034800304502201f4a549cceb9f379cf62f1a67c24cee83a7a030988860351f1cf5ad0ffb99699022100f814c1067e3cc5e66da051dc548b5767353ede771727583c1812a38e136b2fe1", + "pai_cert": "308201d33082017aa00302010202086542caf48cb296b5300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414131143012060a2b0601040182a27c02010c04464646313020170d3232303432363030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04303042313059301306072a8648ce3d020106082a8648ce3d03010703420004809b7661c0d0005b29eaec7a67ce062d14b9894f50d8230682992b9bca206ca488bddc15a3ad09b17e47a24b5ba941d7b2da12efd544497699eb81e815c7092aa366306430120603551d130101ff040830060101ff020101300e0603551d0f0101ff040403020106301d0603551d0e041604146ecd57a426b3592ce2d14ec6fe4574ca06797066301f0603551d230418301680146afd22771f511fecbf1641976710dcdc31a1717e300a06082a8648ce3d0403020347003044022065b4064d577a597be24208f5f27463d53d4bd6faa732bd7e14ed5e20f0698835022013b9cb1e7a34aecc7a156fa70dcb0f3e38d15293f4d36a32824d6fbe04c8b957", + "certification_declaration": "3081e806092a864886f70d010702a081da3081d7020103310d300b0609608648016503040201304406092a864886f70d010701a0370435152400012501f1ff360204b118250334122c04135a494732303134315a423333303030312d32342405002406002507769824080018317d307b020103801462fa823359acfaa9963e1cfa140addf504f37160300b0609608648016503040201300a06082a8648ce3d0403020447304502204a1fcc80841ccbf2e99abaffdded774cd4aa1f6c368bfdc62c9634512925d4cd0221008ab5fc105d34d62034ef824bc91c6f0a45aa56ddbc374eb736c39efd54620828", + "dac_private_key": "157aa19602f31c4d07ce147a4d503c92eb35090e838b03c2e8fb078e76f7ee55", + "dac_public_key": "0426c8ea1bdff2230bad6af8ea78d6a0ec4531c8ee37a6620c86c5cc0fad6eca574d65bdfb39c8d0ed20398c994744df597b81021b65051fcff14e5d0032f4a8e7" +} diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_04/cd.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_04/cd.der new file mode 100644 index 00000000000000..50fbc2ac83ef65 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_04/cd.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_04/dac-Cert.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_04/dac-Cert.der new file mode 100644 index 00000000000000..0a65c36c0424d6 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_04/dac-Cert.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_04/dac-Cert.pem b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_04/dac-Cert.pem new file mode 100644 index 00000000000000..955985e8e72c8f --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_04/dac-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIB2jCCAYCgAwIBAgIILGRv43DkAPgwCgYIKoZIzj0EAwIwRjEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQB +gqJ8AgIMBDAwQjEwIBcNMjIwNDI2MDAwMDAwWhgPOTk5OTEyMzEyMzU5NTlaMDwx +OjA4BgNVBAMMMUFDTUUgTWF0dGVyIERldmVsIERBQyA1Q0RBOTg5OSBNdmlkOkZG +RjFNcGlkOjAwQjEwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAT3EUjjQVzIn90W +IOgMQ4L1HRXz/Q7UOvdPMpNVD4VVnM/fZ5UYcV3eB/WdxHDAsqqtpCUPWcXIJukN +UjEM74D4o2AwXjAMBgNVHRMBAf8EAjAAMA4GA1UdDwEB/wQEAwIHgDAdBgNVHQ4E +FgQUrD/c7h/OEJt7Vv1HNKvjHwU4ppYwHwYDVR0jBBgwFoAUs1a7Y+bn1itUd2SG +13WuY0g6ai0wCgYIKoZIzj0EAwIDSAAwRQIhANolC84D8JVbW/Bg9PiBv09kWZEw +OZyQ/kqPHJBwYgjQAiBjj6ZhY0mw6qB/HjMf7+r+9/ykY8hDrKevtlEsaJ5Vag== +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_04/dac-Key.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_04/dac-Key.der new file mode 100644 index 00000000000000..36433b18ada060 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_04/dac-Key.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_04/dac-Key.pem b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_04/dac-Key.pem new file mode 100644 index 00000000000000..f9adab139ab057 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_04/dac-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIHmDfKISyMjZxDlI3PAjI080gYNzA4QH6mgVZZu3hJBpoAoGCCqGSM49 +AwEHoUQDQgAE9xFI40FcyJ/dFiDoDEOC9R0V8/0O1Dr3TzKTVQ+FVZzP32eVGHFd +3gf1ncRwwLKqraQlD1nFyCbpDVIxDO+A+A== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_04/pai-Cert.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_04/pai-Cert.der new file mode 100644 index 00000000000000..249f1ed8d18d5e Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_04/pai-Cert.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_04/pai-Cert.pem b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_04/pai-Cert.pem new file mode 100644 index 00000000000000..3523d12c9859ee --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_04/pai-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIB0zCCAXqgAwIBAgIICvhYxwPnvU8wCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA0MjYw +MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowRjEYMBYGA1UEAwwPTWF0dGVyIFRlc3Qg +UEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQBgqJ8AgIMBDAwQjEw +WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAARAYgXQT+b7PWJjOXjpbTn3ZFeOk9Q2 +5izemc0LtRAv/uVfVcsxcVivfQe8aZqJcZ6MZZuqcuMsnUQoeOJCGYl4o2YwZDAS +BgNVHRMBAf8ECDAGAQH/AgEBMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUs1a7 +Y+bn1itUd2SG13WuY0g6ai0wHwYDVR0jBBgwFoAUav0idx9RH+y/FkGXZxDc3DGh +cX4wCgYIKoZIzj0EAwIDRwAwRAIgQXThQ+Eu8MTcXGw79QVIhFmKrUXc2n4b+qlK +KnTGuAoCICX1nbV/EDksYO4MWodRGBZB9iFHHsEcsFkJ+RQDDC8l +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_04/pai-Key.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_04/pai-Key.der new file mode 100644 index 00000000000000..628a2b135c68be Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_04/pai-Key.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_04/pai-Key.pem b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_04/pai-Key.pem new file mode 100644 index 00000000000000..0dd64c6139f364 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_04/pai-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEII5rLrfhXwY/NJE9iosn9Qj1dTUCUoyIoHSvKhCTegiwoAoGCCqGSM49 +AwEHoUQDQgAEQGIF0E/m+z1iYzl46W0592RXjpPUNuYs3pnNC7UQL/7lX1XLMXFY +r30HvGmaiXGejGWbqnLjLJ1EKHjiQhmJeA== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_04/test_case_vector.json b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_04/test_case_vector.json new file mode 100644 index 00000000000000..5a8ec99f4f377f --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_04/test_case_vector.json @@ -0,0 +1,9 @@ +{ + "description": "DAC Test Vector: Fallback VID and PID encoding example from spec: valid, but less readable", + "is_success_case": "true", + "dac_cert": "308201da30820180a00302010202082c646fe370e400f8300a06082a8648ce3d04030230463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04303042313020170d3232303432363030303030305a180f39393939313233313233353935395a303c313a303806035504030c3141434d45204d617474657220446576656c20444143203543444139383939204d7669643a464646314d7069643a303042313059301306072a8648ce3d020106082a8648ce3d03010703420004f71148e3415cc89fdd1620e80c4382f51d15f3fd0ed43af74f3293550f85559ccfdf679518715dde07f59dc470c0b2aaada4250f59c5c826e90d52310cef80f8a360305e300c0603551d130101ff04023000300e0603551d0f0101ff040403020780301d0603551d0e04160414ac3fdcee1fce109b7b56fd4734abe31f0538a696301f0603551d23041830168014b356bb63e6e7d62b54776486d775ae63483a6a2d300a06082a8648ce3d0403020348003045022100da250bce03f0955b5bf060f4f881bf4f64599130399c90fe4a8f1c90706208d00220638fa6616349b0eaa07f1e331fefeafef7fca463c843aca7afb6512c689e556a", + "pai_cert": "308201d33082017aa00302010202080af858c703e7bd4f300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414131143012060a2b0601040182a27c02010c04464646313020170d3232303432363030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04303042313059301306072a8648ce3d020106082a8648ce3d03010703420004406205d04fe6fb3d62633978e96d39f764578e93d436e62cde99cd0bb5102ffee55f55cb317158af7d07bc699a89719e8c659baa72e32c9d442878e242198978a366306430120603551d130101ff040830060101ff020101300e0603551d0f0101ff040403020106301d0603551d0e04160414b356bb63e6e7d62b54776486d775ae63483a6a2d301f0603551d230418301680146afd22771f511fecbf1641976710dcdc31a1717e300a06082a8648ce3d040302034700304402204174e143e12ef0c4dc5c6c3bf5054884598aad45dcda7e1bfaa94a2a74c6b80a022025f59db57f10392c60ee0c5a8751181641f621471ec11cb05909f914030c2f25", + "certification_declaration": "3081e906092a864886f70d010702a081db3081d8020103310d300b0609608648016503040201304406092a864886f70d010701a0370435152400012501f1ff360204b118250334122c04135a494732303134315a423333303030312d32342405002406002507769824080018317e307c020103801462fa823359acfaa9963e1cfa140addf504f37160300b0609608648016503040201300a06082a8648ce3d04030204483046022100ff607ab0a0b125084b4144a2f0d7cb660337199c08dc5e34690d485a8264612b022100edf4453a9facc3f72df48c3cbdcbc8d57d24e2a208936b34ec26f973507ada00", + "dac_private_key": "79837ca212c8c8d9c43948dcf023234f34818373038407ea6815659bb7849069", + "dac_public_key": "04f71148e3415cc89fdd1620e80c4382f51d15f3fd0ed43af74f3293550f85559ccfdf679518715dde07f59dc470c0b2aaada4250f59c5c826e90d52310cef80f8" +} diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_05/cd.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_05/cd.der new file mode 100644 index 00000000000000..1c186a5ad246d0 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_05/cd.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_05/dac-Cert.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_05/dac-Cert.der new file mode 100644 index 00000000000000..076fb8b06c6325 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_05/dac-Cert.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_05/dac-Cert.pem b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_05/dac-Cert.pem new file mode 100644 index 00000000000000..5610a18b2667ec --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_05/dac-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIB2TCCAX+gAwIBAgIIVZFOc7JrR6QwCgYIKoZIzj0EAwIwRjEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQB +gqJ8AgIMBDAwQjEwIBcNMjIwNDI2MDAwMDAwWhgPOTk5OTEyMzEyMzU5NTlaMDsx +OTA3BgNVBAMMME12aWQ6RkZGMUFDTUUgTWF0dGVyIERldmVsIERBQyA1Q0RBTXBp +ZDowMEIxOTg5OTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABPKBeMj6MMGPyO29 +ogwDZjOhfDK+huko7QwLSA1KpRWJ/I0nd7s0PL8VPcSvDswKE419XrH384MfJWHf +WLSvrM2jYDBeMAwGA1UdEwEB/wQCMAAwDgYDVR0PAQH/BAQDAgeAMB0GA1UdDgQW +BBSi/Xi0b2latNw7baVaF4OgYBeLezAfBgNVHSMEGDAWgBRBX4e27qhQ2YbUmgxQ +mQ4v3u5TBDAKBggqhkjOPQQDAgNIADBFAiB2QipNmX8epK3OPz25lfqFJiA+IDp1 +k0XntCOqfi5giAIhAJWzCOwYIDr03yrXWiHV33cN4T6jNjrQPPtmM1mf110e +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_05/dac-Key.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_05/dac-Key.der new file mode 100644 index 00000000000000..b4237e480a195a Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_05/dac-Key.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_05/dac-Key.pem b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_05/dac-Key.pem new file mode 100644 index 00000000000000..7c2a7fb571b0ee --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_05/dac-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEICZaOfefCb5B0X2aSGGyJxkwmao6NiegMnD+MEY+2ahpoAoGCCqGSM49 +AwEHoUQDQgAE8oF4yPowwY/I7b2iDANmM6F8Mr6G6SjtDAtIDUqlFYn8jSd3uzQ8 +vxU9xK8OzAoTjX1esffzgx8lYd9YtK+szQ== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_05/pai-Cert.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_05/pai-Cert.der new file mode 100644 index 00000000000000..a9687822dc3300 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_05/pai-Cert.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_05/pai-Cert.pem b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_05/pai-Cert.pem new file mode 100644 index 00000000000000..7e2eea662a0a4f --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_05/pai-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIB1DCCAXqgAwIBAgIIEwkQCswFNUcwCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA0MjYw +MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowRjEYMBYGA1UEAwwPTWF0dGVyIFRlc3Qg +UEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQBgqJ8AgIMBDAwQjEw +WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAATx0QQlW0OSYHFhqamUexBnehkBR+i/ +cNGtcA1pQxn+LVHsS+sSDEmZQUiarSL760bHl2KeZKwDt3Xd2AfoOmsso2YwZDAS +BgNVHRMBAf8ECDAGAQH/AgEBMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUQV+H +tu6oUNmG1JoMUJkOL97uUwQwHwYDVR0jBBgwFoAUav0idx9RH+y/FkGXZxDc3DGh +cX4wCgYIKoZIzj0EAwIDSAAwRQIhANoMyLaX/8tXyWnTKxViJ7nCvesjhp/mnnD9 +6Dgj02qGAiBJZSup7jg7LEkSmkQ0RYWaN/bfLKLqFb4d+W2/u0ad+A== +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_05/pai-Key.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_05/pai-Key.der new file mode 100644 index 00000000000000..ca5f9643896cb8 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_05/pai-Key.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_05/pai-Key.pem b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_05/pai-Key.pem new file mode 100644 index 00000000000000..966dc8fdb27ee5 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_05/pai-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIDqT4MJIUunzunmul/3EXHgyWdvGZGrp08jR6RqCR6huoAoGCCqGSM49 +AwEHoUQDQgAE8dEEJVtDkmBxYamplHsQZ3oZAUfov3DRrXANaUMZ/i1R7EvrEgxJ +mUFImq0i++tGx5dinmSsA7d13dgH6DprLA== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_05/test_case_vector.json b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_05/test_case_vector.json new file mode 100644 index 00000000000000..c92d0a9f1ed78a --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_05/test_case_vector.json @@ -0,0 +1,9 @@ +{ + "description": "DAC Test Vector: Fallback VID and PID encoding example from spec: valid, but highly discouraged, since embedding of substrings within other substrings may be confusing to human readers", + "is_success_case": "true", + "dac_cert": "308201d93082017fa003020102020855914e73b26b47a4300a06082a8648ce3d04030230463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04303042313020170d3232303432363030303030305a180f39393939313233313233353935395a303b3139303706035504030c304d7669643a4646463141434d45204d617474657220446576656c2044414320354344414d7069643a30304231393839393059301306072a8648ce3d020106082a8648ce3d03010703420004f28178c8fa30c18fc8edbda20c036633a17c32be86e928ed0c0b480d4aa51589fc8d2777bb343cbf153dc4af0ecc0a138d7d5eb1f7f3831f2561df58b4afaccda360305e300c0603551d130101ff04023000300e0603551d0f0101ff040403020780301d0603551d0e04160414a2fd78b46f695ab4dc3b6da55a1783a060178b7b301f0603551d23041830168014415f87b6eea850d986d49a0c50990e2fdeee5304300a06082a8648ce3d0403020348003045022076422a4d997f1ea4adce3f3db995fa8526203e203a759345e7b423aa7e2e608802210095b308ec18203af4df2ad75a21d5df770de13ea3363ad03cfb6633599fd75d1e", + "pai_cert": "308201d43082017aa00302010202081309100acc053547300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414131143012060a2b0601040182a27c02010c04464646313020170d3232303432363030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04303042313059301306072a8648ce3d020106082a8648ce3d03010703420004f1d104255b4392607161a9a9947b10677a190147e8bf70d1ad700d694319fe2d51ec4beb120c499941489aad22fbeb46c797629e64ac03b775ddd807e83a6b2ca366306430120603551d130101ff040830060101ff020101300e0603551d0f0101ff040403020106301d0603551d0e04160414415f87b6eea850d986d49a0c50990e2fdeee5304301f0603551d230418301680146afd22771f511fecbf1641976710dcdc31a1717e300a06082a8648ce3d0403020348003045022100da0cc8b697ffcb57c969d32b156227b9c2bdeb23869fe69e70fde83823d36a86022049652ba9ee383b2c49129a443445859a37f6df2ca2ea15be1df96dbfbb469df8", + "certification_declaration": "3081e806092a864886f70d010702a081da3081d7020103310d300b0609608648016503040201304406092a864886f70d010701a0370435152400012501f1ff360204b118250334122c04135a494732303134315a423333303030312d32342405002406002507769824080018317d307b020103801462fa823359acfaa9963e1cfa140addf504f37160300b0609608648016503040201300a06082a8648ce3d04030204473045022059ae2ad41ed6d56f56b6a8a90a2a56402fa1ac28f203a05fb74a185976b76dc002210098e46fee9ec5665b370cb0396aa236dd1c7eb3237b0a39e00b64e39d0b4aea77", + "dac_private_key": "265a39f79f09be41d17d9a4861b227193099aa3a3627a03270fe30463ed9a869", + "dac_public_key": "04f28178c8fa30c18fc8edbda20c036633a17c32be86e928ed0c0b480d4aa51589fc8d2777bb343cbf153dc4af0ecc0a138d7d5eb1f7f3831f2561df58b4afaccd" +} diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_06/cd.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_06/cd.der new file mode 100644 index 00000000000000..408f1eb013d317 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_06/cd.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_06/dac-Cert.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_06/dac-Cert.der new file mode 100644 index 00000000000000..72b2ab18b0c2f8 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_06/dac-Cert.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_06/dac-Cert.pem b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_06/dac-Cert.pem new file mode 100644 index 00000000000000..b2f520841d075a --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_06/dac-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIB2zCCAYCgAwIBAgIISqOfCGlGrhMwCgYIKoZIzj0EAwIwRjEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQB +gqJ8AgIMBDAwQjEwIBcNMjIwNDI2MDAwMDAwWhgPOTk5OTEyMzEyMzU5NTlaMDwx +OjA4BgNVBAMMMUFDTUUgTWF0dGVyIERldmVsIERBQyA1Q0RBOTg5OSBNdmlkOkZG +MSBNcGlkOjAwQjEwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAASRiWMk9Xt/66Ti +U6uCRE0rlw8M4edvSOkcqt+uAdQC/stSBF1BkjeJnNcMgJOYDmHQ4/OHnr7Cik57 +doF2nq6Eo2AwXjAMBgNVHRMBAf8EAjAAMA4GA1UdDwEB/wQEAwIHgDAdBgNVHQ4E +FgQU0LO6FfuUI6294hHNNK+2WkZO6RUwHwYDVR0jBBgwFoAU+d1AfzG/FUROmmhd +3VlyUPxc98UwCgYIKoZIzj0EAwIDSQAwRgIhAPn1YaRQyJk5tRmHMNtY/lPdciT2 +v2n6pMIrEZhakDXuAiEAvTrq88dP1vd+5Oaabw2fiYBPatdTLFk4oPH97QUqSFQ= +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_06/dac-Key.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_06/dac-Key.der new file mode 100644 index 00000000000000..43bdf9d05d8dee Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_06/dac-Key.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_06/dac-Key.pem b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_06/dac-Key.pem new file mode 100644 index 00000000000000..03f208c84fcb55 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_06/dac-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIDvEj+T2k5mkCZL0sgBMcDhRillT9Gq9atBTnZUY2JMhoAoGCCqGSM49 +AwEHoUQDQgAEkYljJPV7f+uk4lOrgkRNK5cPDOHnb0jpHKrfrgHUAv7LUgRdQZI3 +iZzXDICTmA5h0OPzh56+wopOe3aBdp6uhA== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_06/pai-Cert.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_06/pai-Cert.der new file mode 100644 index 00000000000000..96c8e919cca07d Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_06/pai-Cert.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_06/pai-Cert.pem b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_06/pai-Cert.pem new file mode 100644 index 00000000000000..917fcb1ee94a9d --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_06/pai-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIB1DCCAXqgAwIBAgIIcvnNHlK0IuUwCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA0MjYw +MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowRjEYMBYGA1UEAwwPTWF0dGVyIFRlc3Qg +UEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQBgqJ8AgIMBDAwQjEw +WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAT9uPJsWxYwrcpS0mtcc7s3DwRDEZfR +MUOIg6lqulLJ2bzQeI4BtZX6JYvhAjlT0imucW9dBiDIWi/SN4bxzy5go2YwZDAS +BgNVHRMBAf8ECDAGAQH/AgEBMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQU+d1A +fzG/FUROmmhd3VlyUPxc98UwHwYDVR0jBBgwFoAUav0idx9RH+y/FkGXZxDc3DGh +cX4wCgYIKoZIzj0EAwIDSAAwRQIhAJJoOjIa3djpK+12L0yQYATFgM2KLF4sFDkM +7WkYocMcAiBStcF5EaYWA7SrQLcsT+swA4e8OOl5BFQSu7JZWbkoxw== +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_06/pai-Key.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_06/pai-Key.der new file mode 100644 index 00000000000000..2ac2530392f257 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_06/pai-Key.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_06/pai-Key.pem b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_06/pai-Key.pem new file mode 100644 index 00000000000000..c39df828b4ccfd --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_06/pai-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEILKvUy9sTzpZox/SNY6a2HuB4LlRqQGB6ulfP0EQnJbPoAoGCCqGSM49 +AwEHoUQDQgAE/bjybFsWMK3KUtJrXHO7Nw8EQxGX0TFDiIOparpSydm80HiOAbWV ++iWL4QI5U9IprnFvXQYgyFov0jeG8c8uYA== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_06/test_case_vector.json b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_06/test_case_vector.json new file mode 100644 index 00000000000000..c4ae675a7367ca --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_06/test_case_vector.json @@ -0,0 +1,9 @@ +{ + "description": "DAC Test Vector: Fallback VID and PID encoding example from spec: invalid, since substring following Mvid: is not exactly 4 uppercase hexadecimal digits", + "is_success_case": "false", + "dac_cert": "308201db30820180a00302010202084aa39f086946ae13300a06082a8648ce3d04030230463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04303042313020170d3232303432363030303030305a180f39393939313233313233353935395a303c313a303806035504030c3141434d45204d617474657220446576656c20444143203543444139383939204d7669643a464631204d7069643a303042313059301306072a8648ce3d020106082a8648ce3d0301070342000491896324f57b7feba4e253ab82444d2b970f0ce1e76f48e91caadfae01d402fecb52045d419237899cd70c8093980e61d0e3f3879ebec28a4e7b7681769eae84a360305e300c0603551d130101ff04023000300e0603551d0f0101ff040403020780301d0603551d0e04160414d0b3ba15fb9423adbde211cd34afb65a464ee915301f0603551d23041830168014f9dd407f31bf15444e9a685ddd597250fc5cf7c5300a06082a8648ce3d0403020349003046022100f9f561a450c89939b5198730db58fe53dd7224f6bf69faa4c22b11985a9035ee022100bd3aeaf3c74fd6f77ee4e69a6f0d9f89804f6ad7532c5938a0f1fded052a4854", + "pai_cert": "308201d43082017aa003020102020872f9cd1e52b422e5300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414131143012060a2b0601040182a27c02010c04464646313020170d3232303432363030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04303042313059301306072a8648ce3d020106082a8648ce3d03010703420004fdb8f26c5b1630adca52d26b5c73bb370f04431197d131438883a96aba52c9d9bcd0788e01b595fa258be1023953d229ae716f5d0620c85a2fd23786f1cf2e60a366306430120603551d130101ff040830060101ff020101300e0603551d0f0101ff040403020106301d0603551d0e04160414f9dd407f31bf15444e9a685ddd597250fc5cf7c5301f0603551d230418301680146afd22771f511fecbf1641976710dcdc31a1717e300a06082a8648ce3d040302034800304502210092683a321addd8e92bed762f4c906004c580cd8a2c5e2c14390ced6918a1c31c022052b5c17911a61603b4ab40b72c4feb300387bc38e979045412bbb25959b928c7", + "certification_declaration": "3081e806092a864886f70d010702a081da3081d7020103310d300b0609608648016503040201304406092a864886f70d010701a0370435152400012501f1ff360204b118250334122c04135a494732303134315a423333303030312d32342405002406002507769824080018317d307b020103801462fa823359acfaa9963e1cfa140addf504f37160300b0609608648016503040201300a06082a8648ce3d040302044730450220516fb9c4ca69b1c6ce66887997b13c642c98e665a14461ff574df98d5c1c97ed022100ae1891a958893e44ae286511b311f7581d6d747769b0d77e28e65a02a6d7fc35", + "dac_private_key": "3bc48fe4f69399a40992f4b2004c7038518a5953f46abd6ad0539d9518d89321", + "dac_public_key": "0491896324f57b7feba4e253ab82444d2b970f0ce1e76f48e91caadfae01d402fecb52045d419237899cd70c8093980e61d0e3f3879ebec28a4e7b7681769eae84" +} diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_07/cd.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_07/cd.der new file mode 100644 index 00000000000000..35ce3c8f73e381 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_07/cd.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_07/dac-Cert.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_07/dac-Cert.der new file mode 100644 index 00000000000000..58ba42cae142cc Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_07/dac-Cert.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_07/dac-Cert.pem b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_07/dac-Cert.pem new file mode 100644 index 00000000000000..ac2bca3b8a9c30 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_07/dac-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIB2jCCAYGgAwIBAgIIbKeuaKF08lgwCgYIKoZIzj0EAwIwRjEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQB +gqJ8AgIMBDAwQjEwIBcNMjIwNDI2MDAwMDAwWhgPOTk5OTEyMzEyMzU5NTlaMD0x +OzA5BgNVBAMMMkFDTUUgTWF0dGVyIERldmVsIERBQyA1Q0RBOTg5OSBNdmlkOmZm +ZjEgTXBpZDowMEIxMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEBHO25Gq3qa3q +H5+aIp+SESBHQT5wpicG2+ZrIMcKAYO5hOLZnemEbFAXykCiBViJvNqxW1tPmmgB +Lb0yQvGjcKNgMF4wDAYDVR0TAQH/BAIwADAOBgNVHQ8BAf8EBAMCB4AwHQYDVR0O +BBYEFLbU8+V+zAYGKxNOf/nQXX4ST9S9MB8GA1UdIwQYMBaAFN5Kdl6IZ0NyJmnU +J9wQczq6XdskMAoGCCqGSM49BAMCA0cAMEQCID9dJ+t0DiL5JaWNWPPqm+GI4lCI +6LMV89Bo08s6xhxtAiBHHmDCPN8GBuWH7BMM7G3SzZhIzG6yp/zLs6nUCL/NjA== +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_07/dac-Key.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_07/dac-Key.der new file mode 100644 index 00000000000000..af27a14d4725f3 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_07/dac-Key.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_07/dac-Key.pem b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_07/dac-Key.pem new file mode 100644 index 00000000000000..4e61e9b1cce7e2 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_07/dac-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIN2vTMOSqJjSUKMP7+rGIMv+a9+5yIJuH/2FnSxB+Xw+oAoGCCqGSM49 +AwEHoUQDQgAEBHO25Gq3qa3qH5+aIp+SESBHQT5wpicG2+ZrIMcKAYO5hOLZnemE +bFAXykCiBViJvNqxW1tPmmgBLb0yQvGjcA== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_07/pai-Cert.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_07/pai-Cert.der new file mode 100644 index 00000000000000..2381513b3e6073 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_07/pai-Cert.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_07/pai-Cert.pem b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_07/pai-Cert.pem new file mode 100644 index 00000000000000..46bc037ccd9f61 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_07/pai-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIB0zCCAXqgAwIBAgIIWDwphVBcTAQwCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA0MjYw +MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowRjEYMBYGA1UEAwwPTWF0dGVyIFRlc3Qg +UEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQBgqJ8AgIMBDAwQjEw +WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAARBR2fwSoVH9HrVAauutRCld4OkLC/I +NZ9jGsLArEJQXdVWlbLEsCKcD0xcdw9w0ozLi46UaMpJ+NAJuXUFPXofo2YwZDAS +BgNVHRMBAf8ECDAGAQH/AgEBMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQU3kp2 +XohnQ3ImadQn3BBzOrpd2yQwHwYDVR0jBBgwFoAUav0idx9RH+y/FkGXZxDc3DGh +cX4wCgYIKoZIzj0EAwIDRwAwRAIgAUsC7NiWCz1xgIgRV4mg4DR2ko5gUFDUqQg9 +pU8gAGkCIEokyYhwIEK08Ix63IlJnRBzixitXdItDglflFNnGuUS +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_07/pai-Key.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_07/pai-Key.der new file mode 100644 index 00000000000000..d8bc1162ca4e03 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_07/pai-Key.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_07/pai-Key.pem b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_07/pai-Key.pem new file mode 100644 index 00000000000000..d62339af47b39b --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_07/pai-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIDKN2q+K9GdoDXuPd99IrBL6FdaD8zgWiOxtPbWPALK4oAoGCCqGSM49 +AwEHoUQDQgAEQUdn8EqFR/R61QGrrrUQpXeDpCwvyDWfYxrCwKxCUF3VVpWyxLAi +nA9MXHcPcNKMy4uOlGjKSfjQCbl1BT16Hw== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_07/test_case_vector.json b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_07/test_case_vector.json new file mode 100644 index 00000000000000..d96f20176be9b2 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_07/test_case_vector.json @@ -0,0 +1,9 @@ +{ + "description": "DAC Test Vector: Fallback VID and PID encoding example from spec: invalid, since substring following Mvid: is not exactly 4 uppercase hexadecimal digits", + "is_success_case": "false", + "dac_cert": "308201da30820181a00302010202086ca7ae68a174f258300a06082a8648ce3d04030230463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04303042313020170d3232303432363030303030305a180f39393939313233313233353935395a303d313b303906035504030c3241434d45204d617474657220446576656c20444143203543444139383939204d7669643a66666631204d7069643a303042313059301306072a8648ce3d020106082a8648ce3d030107034200040473b6e46ab7a9adea1f9f9a229f92112047413e70a62706dbe66b20c70a0183b984e2d99de9846c5017ca40a2055889bcdab15b5b4f9a68012dbd3242f1a370a360305e300c0603551d130101ff04023000300e0603551d0f0101ff040403020780301d0603551d0e04160414b6d4f3e57ecc06062b134e7ff9d05d7e124fd4bd301f0603551d23041830168014de4a765e886743722669d427dc10733aba5ddb24300a06082a8648ce3d040302034700304402203f5d27eb740e22f925a58d58f3ea9be188e25088e8b315f3d068d3cb3ac61c6d0220471e60c23cdf0606e587ec130cec6dd2cd9848cc6eb2a7fccbb3a9d408bfcd8c", + "pai_cert": "308201d33082017aa0030201020208583c2985505c4c04300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414131143012060a2b0601040182a27c02010c04464646313020170d3232303432363030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04303042313059301306072a8648ce3d020106082a8648ce3d03010703420004414767f04a8547f47ad501abaeb510a57783a42c2fc8359f631ac2c0ac42505dd55695b2c4b0229c0f4c5c770f70d28ccb8b8e9468ca49f8d009b975053d7a1fa366306430120603551d130101ff040830060101ff020101300e0603551d0f0101ff040403020106301d0603551d0e04160414de4a765e886743722669d427dc10733aba5ddb24301f0603551d230418301680146afd22771f511fecbf1641976710dcdc31a1717e300a06082a8648ce3d04030203470030440220014b02ecd8960b3d718088115789a0e03476928e605050d4a9083da54f20006902204a24c988702042b4f08c7adc89499d10738b18ad5dd22d0e095f9453671ae512", + "certification_declaration": "3081e806092a864886f70d010702a081da3081d7020103310d300b0609608648016503040201304406092a864886f70d010701a0370435152400012501f1ff360204b118250334122c04135a494732303134315a423333303030312d32342405002406002507769824080018317d307b020103801462fa823359acfaa9963e1cfa140addf504f37160300b0609608648016503040201300a06082a8648ce3d04030204473045022100c2c28f728a012835fe49a96cbcc7794538b5d3d4f5807f23770dd87dcd94022902207c1a32e7bc13812950142f0849ee137c9233e115985a0c6f74ac102174889a21", + "dac_private_key": "ddaf4cc392a898d250a30fefeac620cbfe6bdfb9c8826e1ffd859d2c41f97c3e", + "dac_public_key": "040473b6e46ab7a9adea1f9f9a229f92112047413e70a62706dbe66b20c70a0183b984e2d99de9846c5017ca40a2055889bcdab15b5b4f9a68012dbd3242f1a370" +} diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_08/cd.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_08/cd.der new file mode 100644 index 00000000000000..c15f8b2aefba41 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_08/cd.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_08/dac-Cert.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_08/dac-Cert.der new file mode 100644 index 00000000000000..c0d52b9e219bc8 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_08/dac-Cert.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_08/dac-Cert.pem b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_08/dac-Cert.pem new file mode 100644 index 00000000000000..6947252fe4808a --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_08/dac-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIB2DCCAX+gAwIBAgIIYgS2i2TzvpQwCgYIKoZIzj0EAwIwRjEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQB +gqJ8AgIMBDAwQjEwIBcNMjIwNDI2MDAwMDAwWhgPOTk5OTEyMzEyMzU5NTlaMDsx +OTA3BgNVBAMMMEFDTUUgTWF0dGVyIERldmVsIERBQyA1Q0RBOTg5OSBNdmlkOkZG +RjEgTXBpZDpCMTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABD4TQymMOP7bs/cE +zLgOO0gWghCTsUX3yn9NsFQ1sbZckg6myFPa1eirDb3QdMlnJbjWPBZVfJebHADm ++c+kHQCjYDBeMAwGA1UdEwEB/wQCMAAwDgYDVR0PAQH/BAQDAgeAMB0GA1UdDgQW +BBRoI7vtSSFFv8ASAQFP2wbuS4/7bjAfBgNVHSMEGDAWgBSjADSPmqg4M/TBnBMc +lDcq6iYhBTAKBggqhkjOPQQDAgNHADBEAiATWijDknkkazIKD/5xmcVJPlE2jk4G +Jya99sVnOFSB7gIgZaDB6PSrRTVuUOuVqIKsx2/gMiyaxwCbY7uH9yykW/I= +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_08/dac-Key.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_08/dac-Key.der new file mode 100644 index 00000000000000..fd2d508c5b871d Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_08/dac-Key.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_08/dac-Key.pem b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_08/dac-Key.pem new file mode 100644 index 00000000000000..b823e662025389 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_08/dac-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIPlsiyhfLSz2EEba7Yc4rmpyVOtNS8Iro2084HdfrgvkoAoGCCqGSM49 +AwEHoUQDQgAEPhNDKYw4/tuz9wTMuA47SBaCEJOxRffKf02wVDWxtlySDqbIU9rV +6KsNvdB0yWcluNY8FlV8l5scAOb5z6QdAA== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_08/pai-Cert.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_08/pai-Cert.der new file mode 100644 index 00000000000000..79410716bdfb5b Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_08/pai-Cert.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_08/pai-Cert.pem b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_08/pai-Cert.pem new file mode 100644 index 00000000000000..21cd7271464a39 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_08/pai-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIB0zCCAXqgAwIBAgIIBr5QU3nb9aIwCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA0MjYw +MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowRjEYMBYGA1UEAwwPTWF0dGVyIFRlc3Qg +UEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQBgqJ8AgIMBDAwQjEw +WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAASZ05hIjkmREDE31YzhHAqXH8taOt8W +IXQdeNgNyZntae2QYHz54pC/dBL04gWa/t7Fh8Rfiiq5T6G4unTXNqWho2YwZDAS +BgNVHRMBAf8ECDAGAQH/AgEBMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUowA0 +j5qoODP0wZwTHJQ3KuomIQUwHwYDVR0jBBgwFoAUav0idx9RH+y/FkGXZxDc3DGh +cX4wCgYIKoZIzj0EAwIDRwAwRAIgDZsw1OIeM6VImRk7oGs4Bb0H/yxccXHs7JFX +gSqSNegCIGJ6FHbqw+G51jc8ND5vU9kyh+zwK/iSwJqq1wcy+a8n +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_08/pai-Key.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_08/pai-Key.der new file mode 100644 index 00000000000000..e21a8f788ae27c Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_08/pai-Key.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_08/pai-Key.pem b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_08/pai-Key.pem new file mode 100644 index 00000000000000..43ce504a082dd9 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_08/pai-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIFdgHrg84ltLDGQPvR3CMmDH6YhnebHHSIIaxMx1ctpEoAoGCCqGSM49 +AwEHoUQDQgAEmdOYSI5JkRAxN9WM4RwKlx/LWjrfFiF0HXjYDcmZ7WntkGB8+eKQ +v3QS9OIFmv7exYfEX4oquU+huLp01zaloQ== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_08/test_case_vector.json b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_08/test_case_vector.json new file mode 100644 index 00000000000000..a686423cbc2100 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_08/test_case_vector.json @@ -0,0 +1,9 @@ +{ + "description": "DAC Test Vector: Fallback VID and PID encoding example from spec: invalid, since substring following Mpid: is not exactly 4 uppercase hexadecimal digits", + "is_success_case": "true", + "dac_cert": "308201d83082017fa00302010202086204b68b64f3be94300a06082a8648ce3d04030230463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04303042313020170d3232303432363030303030305a180f39393939313233313233353935395a303b3139303706035504030c3041434d45204d617474657220446576656c20444143203543444139383939204d7669643a46464631204d7069643a42313059301306072a8648ce3d020106082a8648ce3d030107034200043e1343298c38fedbb3f704ccb80e3b4816821093b145f7ca7f4db05435b1b65c920ea6c853dad5e8ab0dbdd074c96725b8d63c16557c979b1c00e6f9cfa41d00a360305e300c0603551d130101ff04023000300e0603551d0f0101ff040403020780301d0603551d0e041604146823bbed492145bfc01201014fdb06ee4b8ffb6e301f0603551d23041830168014a300348f9aa83833f4c19c131c94372aea262105300a06082a8648ce3d04030203470030440220135a28c39279246b320a0ffe7199c5493e51368e4e062726bdf6c567385481ee022065a0c1e8f4ab45356e50eb95a882acc76fe0322c9ac7009b63bb87f72ca45bf2", + "pai_cert": "308201d33082017aa003020102020806be505379dbf5a2300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414131143012060a2b0601040182a27c02010c04464646313020170d3232303432363030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04303042313059301306072a8648ce3d020106082a8648ce3d0301070342000499d398488e4991103137d58ce11c0a971fcb5a3adf1621741d78d80dc999ed69ed90607cf9e290bf7412f4e2059afedec587c45f8a2ab94fa1b8ba74d736a5a1a366306430120603551d130101ff040830060101ff020101300e0603551d0f0101ff040403020106301d0603551d0e04160414a300348f9aa83833f4c19c131c94372aea262105301f0603551d230418301680146afd22771f511fecbf1641976710dcdc31a1717e300a06082a8648ce3d040302034700304402200d9b30d4e21e33a54899193ba06b3805bd07ff2c5c7171ecec9157812a9235e80220627a1476eac3e1b9d6373c343e6f53d93287ecf02bf892c09aaad70732f9af27", + "certification_declaration": "3081e806092a864886f70d010702a081da3081d7020103310d300b0609608648016503040201304406092a864886f70d010701a0370435152400012501f1ff360204b118250334122c04135a494732303134315a423333303030312d32342405002406002507769824080018317d307b020103801462fa823359acfaa9963e1cfa140addf504f37160300b0609608648016503040201300a06082a8648ce3d04030204473045022100aad7460a58995e9ce586a4e55e33527e5c648ebdbf302f286755db27c3b923c602202cff9b9f050f4aeaa7468cf1b6af091c9c53f8389324cef10299d7ea9d363f96", + "dac_private_key": "f96c8b285f2d2cf61046daed8738ae6a7254eb4d4bc22ba36d3ce0775fae0be4", + "dac_public_key": "043e1343298c38fedbb3f704ccb80e3b4816821093b145f7ca7f4db05435b1b65c920ea6c853dad5e8ab0dbdd074c96725b8d63c16557c979b1c00e6f9cfa41d00" +} diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_09/cd.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_09/cd.der new file mode 100644 index 00000000000000..949464f60af0aa Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_09/cd.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_09/dac-Cert.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_09/dac-Cert.der new file mode 100644 index 00000000000000..59056056d7972f Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_09/dac-Cert.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_09/dac-Cert.pem b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_09/dac-Cert.pem new file mode 100644 index 00000000000000..c3edcecff7adc1 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_09/dac-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIB1zCCAX2gAwIBAgIIKJVPdN3JUvowCgYIKoZIzj0EAwIwRjEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQB +gqJ8AgIMBDAwQjEwIBcNMjIwNDI2MDAwMDAwWhgPOTk5OTEyMzEyMzU5NTlaMDkx +NzA1BgNVBAMMLkFDTUUgTWF0dGVyIERldmVsIERBQyA1Q0RBOTg5OSBNcGlkOiBN +dmlkOkZGRjEwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAQDJ9iFaO5SpXSY/wIT +LNCaxcOaGCl7F52pQkzj6n1OJpSfBXm+3kRjCyJvFLDzRh+gJF8amTGto3r58UMf +IkCio2AwXjAMBgNVHRMBAf8EAjAAMA4GA1UdDwEB/wQEAwIHgDAdBgNVHQ4EFgQU +fOkueohbDhcZJJoV5Di7K7+Vt60wHwYDVR0jBBgwFoAUCsd3nkBJAezBEyJ8o2ds +XXeMnOAwCgYIKoZIzj0EAwIDSAAwRQIhAOyBwISjUdtGxBhrXm2gvmUwGVYOw9dt +XFDFjC9ZNPPmAiAMuESHjH9mtNZwSmyvJn+CMemGywECQJKSsXIzQYdnGw== +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_09/dac-Key.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_09/dac-Key.der new file mode 100644 index 00000000000000..ed4ee9ba63722d Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_09/dac-Key.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_09/dac-Key.pem b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_09/dac-Key.pem new file mode 100644 index 00000000000000..8e1907324a3eab --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_09/dac-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIJCbQF9lQ/jioY/LNXorKpa7lamitNGRpVnkB6rmg9EFoAoGCCqGSM49 +AwEHoUQDQgAEAyfYhWjuUqV0mP8CEyzQmsXDmhgpexedqUJM4+p9TiaUnwV5vt5E +YwsibxSw80YfoCRfGpkxraN6+fFDHyJAog== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_09/pai-Cert.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_09/pai-Cert.der new file mode 100644 index 00000000000000..f904f36d436ccf Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_09/pai-Cert.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_09/pai-Cert.pem b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_09/pai-Cert.pem new file mode 100644 index 00000000000000..48106a72432ad6 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_09/pai-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIB1DCCAXqgAwIBAgIIZAFfKTmaTRowCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA0MjYw +MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowRjEYMBYGA1UEAwwPTWF0dGVyIFRlc3Qg +UEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQBgqJ8AgIMBDAwQjEw +WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAR/JHr1EkSXXob2EjYbaidr4bLL7NZv +9WYsXfwU+NkqkbZBU8+WCVV1jPO0iIx2dR6Ks6cwwhHRmAtILuCcyrUpo2YwZDAS +BgNVHRMBAf8ECDAGAQH/AgEBMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUCsd3 +nkBJAezBEyJ8o2dsXXeMnOAwHwYDVR0jBBgwFoAUav0idx9RH+y/FkGXZxDc3DGh +cX4wCgYIKoZIzj0EAwIDSAAwRQIhAKRHvnq99hOz2MSx2Mf2VaWnFbMkaSvFiyzj +jCLFLqSvAiAucRqgQ6X7vDYe8fG531dsGWgXAB5U7+dsOWekQnU6BA== +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_09/pai-Key.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_09/pai-Key.der new file mode 100644 index 00000000000000..ece31cc341ec9b Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_09/pai-Key.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_09/pai-Key.pem b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_09/pai-Key.pem new file mode 100644 index 00000000000000..9708b5852c27fd --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_09/pai-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIJvuhtmGa61fCXrwlKd4TSJvdsr9F0z6RaZ6DK8qZIp/oAoGCCqGSM49 +AwEHoUQDQgAEfyR69RJEl16G9hI2G2ona+Gyy+zWb/VmLF38FPjZKpG2QVPPlglV +dYzztIiMdnUeirOnMMIR0ZgLSC7gnMq1KQ== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_09/test_case_vector.json b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_09/test_case_vector.json new file mode 100644 index 00000000000000..5e8aca85c2f1a4 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_09/test_case_vector.json @@ -0,0 +1,9 @@ +{ + "description": "DAC Test Vector: Fallback VID and PID encoding example from spec: invalid, since substring following Mpid: is not exactly 4 uppercase hexadecimal digits", + "is_success_case": "true", + "dac_cert": "308201d73082017da003020102020828954f74ddc952fa300a06082a8648ce3d04030230463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04303042313020170d3232303432363030303030305a180f39393939313233313233353935395a30393137303506035504030c2e41434d45204d617474657220446576656c20444143203543444139383939204d7069643a204d7669643a464646313059301306072a8648ce3d020106082a8648ce3d030107034200040327d88568ee52a57498ff02132cd09ac5c39a18297b179da9424ce3ea7d4e26949f0579bede44630b226f14b0f3461fa0245f1a9931ada37af9f1431f2240a2a360305e300c0603551d130101ff04023000300e0603551d0f0101ff040403020780301d0603551d0e041604147ce92e7a885b0e1719249a15e438bb2bbf95b7ad301f0603551d230418301680140ac7779e404901ecc113227ca3676c5d778c9ce0300a06082a8648ce3d0403020348003045022100ec81c084a351db46c4186b5e6da0be653019560ec3d76d5c50c58c2f5934f3e602200cb844878c7f66b4d6704a6caf267f8231e986cb0102409292b172334187671b", + "pai_cert": "308201d43082017aa003020102020864015f29399a4d1a300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414131143012060a2b0601040182a27c02010c04464646313020170d3232303432363030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04303042313059301306072a8648ce3d020106082a8648ce3d030107034200047f247af51244975e86f612361b6a276be1b2cbecd66ff5662c5dfc14f8d92a91b64153cf960955758cf3b4888c76751e8ab3a730c211d1980b482ee09ccab529a366306430120603551d130101ff040830060101ff020101300e0603551d0f0101ff040403020106301d0603551d0e041604140ac7779e404901ecc113227ca3676c5d778c9ce0301f0603551d230418301680146afd22771f511fecbf1641976710dcdc31a1717e300a06082a8648ce3d0403020348003045022100a447be7abdf613b3d8c4b1d8c7f655a5a715b324692bc58b2ce38c22c52ea4af02202e711aa043a5fbbc361ef1f1b9df576c196817001e54efe76c3967a442753a04", + "certification_declaration": "3081e806092a864886f70d010702a081da3081d7020103310d300b0609608648016503040201304406092a864886f70d010701a0370435152400012501f1ff360204b118250334122c04135a494732303134315a423333303030312d32342405002406002507769824080018317d307b020103801462fa823359acfaa9963e1cfa140addf504f37160300b0609608648016503040201300a06082a8648ce3d040302044730450220198a36be3313adae2c88cecdef13a2d2dca812208e5edfe93fc1726e40035c56022100a7ddeb481a0d1d308761fd1e8aeaef5373b5d35dfd47c0cc1acb6a0a19a192c1", + "dac_private_key": "909b405f6543f8e2a18fcb357a2b2a96bb95a9a2b4d191a559e407aae683d105", + "dac_public_key": "040327d88568ee52a57498ff02132cd09ac5c39a18297b179da9424ce3ea7d4e26949f0579bede44630b226f14b0f3461fa0245f1a9931ada37af9f1431f2240a2" +} diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_10/cd.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_10/cd.der new file mode 100644 index 00000000000000..642ea6d873035a Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_10/cd.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_10/dac-Cert.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_10/dac-Cert.der new file mode 100644 index 00000000000000..ffe8421d85c547 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_10/dac-Cert.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_10/dac-Cert.pem b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_10/dac-Cert.pem new file mode 100644 index 00000000000000..2ed4d9923ea762 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_10/dac-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIBvTCCAWOgAwIBAgIIZP9G9qO4OqAwCgYIKoZIzj0EAwIwRjEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQB +gqJ8AgIMBDAwQjEwIBcNMjIwNDI2MDAwMDAwWhgPOTk5OTEyMzEyMzU5NTlaMB8x +HTAbBgNVBAMMFE12aWQ6RkZGIE1waWQ6MDBCMTB4MFkwEwYHKoZIzj0CAQYIKoZI +zj0DAQcDQgAE6dA7CLr2kD66givdQSxZpLKUnVoYEJtEdp+2xkUxfDZDD0SI2ldk +PMShDdok/mpjNJpeZ5I7L1so4rUCNCvwP6NgMF4wDAYDVR0TAQH/BAIwADAOBgNV +HQ8BAf8EBAMCB4AwHQYDVR0OBBYEFIXOYBMVg94Dd4WFg97if6ntGZu0MB8GA1Ud +IwQYMBaAFMx09ih0zGCPWoJAFjVCtn8N/THRMAoGCCqGSM49BAMCA0gAMEUCICAa ++iUQdc/y2kMdyJWa3UtzTJcgXUc43e8HgKOG/eqIAiEAhIUdCyo6p//THRBCgsoK +PAPDm8mhA6APkgGuEujWPNk= +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_10/dac-Key.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_10/dac-Key.der new file mode 100644 index 00000000000000..26247c900fbf5b Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_10/dac-Key.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_10/dac-Key.pem b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_10/dac-Key.pem new file mode 100644 index 00000000000000..020a32e4f45efc --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_10/dac-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIIS/1es6Y+H6vLCHYletNO0BjZQNz+RgKgIA0q+/MHcKoAoGCCqGSM49 +AwEHoUQDQgAE6dA7CLr2kD66givdQSxZpLKUnVoYEJtEdp+2xkUxfDZDD0SI2ldk +PMShDdok/mpjNJpeZ5I7L1so4rUCNCvwPw== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_10/pai-Cert.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_10/pai-Cert.der new file mode 100644 index 00000000000000..b4be77100fad6a Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_10/pai-Cert.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_10/pai-Cert.pem b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_10/pai-Cert.pem new file mode 100644 index 00000000000000..c5fbba8666a646 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_10/pai-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIB1TCCAXqgAwIBAgIIIgvLeyGt7cwwCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA0MjYw +MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowRjEYMBYGA1UEAwwPTWF0dGVyIFRlc3Qg +UEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQBgqJ8AgIMBDAwQjEw +WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAATXUUeBs+1u7Hf4ejvujV1LQtNGRosD +tOxCYsOFa56kLQUVBwPafW8cUE0ApxYL0Am4w5B05j5hViYgV86LoDQ2o2YwZDAS +BgNVHRMBAf8ECDAGAQH/AgEBMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUzHT2 +KHTMYI9agkAWNUK2fw39MdEwHwYDVR0jBBgwFoAUav0idx9RH+y/FkGXZxDc3DGh +cX4wCgYIKoZIzj0EAwIDSQAwRgIhAL5dR0BIJ/ukPyA8IlIYzEJXjz/z/0iAGSh5 +rwfpcEMGAiEA0agt1KTpCpNy3uk9M1IxaTv7AHwNoNV+yKyRa+TGMm8= +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_10/pai-Key.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_10/pai-Key.der new file mode 100644 index 00000000000000..c15d0ac15dc208 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_10/pai-Key.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_10/pai-Key.pem b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_10/pai-Key.pem new file mode 100644 index 00000000000000..f0282f4f766307 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_10/pai-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIBU8C6va07UFqLgVkCtBFaNws+UYZZCz/D0j9mSsnOddoAoGCCqGSM49 +AwEHoUQDQgAE11FHgbPtbux3+Ho77o1dS0LTRkaLA7TsQmLDhWuepC0FFQcD2n1v +HFBNAKcWC9AJuMOQdOY+YVYmIFfOi6A0Ng== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_10/test_case_vector.json b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_10/test_case_vector.json new file mode 100644 index 00000000000000..8ad8d83f1f4588 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_10/test_case_vector.json @@ -0,0 +1,9 @@ +{ + "description": "DAC Test Vector: Fallback VID and PID encoding example: invalid VID encoding", + "is_success_case": "false", + "dac_cert": "308201bd30820163a003020102020864ff46f6a3b83aa0300a06082a8648ce3d04030230463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04303042313020170d3232303432363030303030305a180f39393939313233313233353935395a301f311d301b06035504030c144d7669643a464646204d7069643a3030423130783059301306072a8648ce3d020106082a8648ce3d03010703420004e9d03b08baf6903eba822bdd412c59a4b2949d5a18109b44769fb6c645317c36430f4488da57643cc4a10dda24fe6a63349a5e67923b2f5b28e2b502342bf03fa360305e300c0603551d130101ff04023000300e0603551d0f0101ff040403020780301d0603551d0e0416041485ce60131583de0377858583dee27fa9ed199bb4301f0603551d23041830168014cc74f62874cc608f5a8240163542b67f0dfd31d1300a06082a8648ce3d04030203480030450220201afa251075cff2da431dc8959add4b734c97205d4738ddef0780a386fdea8802210084851d0b2a3aa7ffd31d104282ca0a3c03c39bc9a103a00f9201ae12e8d63cd9", + "pai_cert": "308201d53082017aa0030201020208220bcb7b21adedcc300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414131143012060a2b0601040182a27c02010c04464646313020170d3232303432363030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04303042313059301306072a8648ce3d020106082a8648ce3d03010703420004d7514781b3ed6eec77f87a3bee8d5d4b42d346468b03b4ec4262c3856b9ea42d05150703da7d6f1c504d00a7160bd009b8c39074e63e6156262057ce8ba03436a366306430120603551d130101ff040830060101ff020101300e0603551d0f0101ff040403020106301d0603551d0e04160414cc74f62874cc608f5a8240163542b67f0dfd31d1301f0603551d230418301680146afd22771f511fecbf1641976710dcdc31a1717e300a06082a8648ce3d0403020349003046022100be5d47404827fba43f203c225218cc42578f3ff3ff4880192879af07e9704306022100d1a82dd4a4e90a9372dee93d335231693bfb007c0da0d57ec8ac916be4c6326f", + "certification_declaration": "3081e706092a864886f70d010702a081d93081d6020103310d300b0609608648016503040201304406092a864886f70d010701a0370435152400012501f1ff360204b118250334122c04135a494732303134315a423333303030312d32342405002406002507769824080018317c307a020103801462fa823359acfaa9963e1cfa140addf504f37160300b0609608648016503040201300a06082a8648ce3d04030204463044022040c568f8ceb019c28a367be658c810b141d157b5a5f230efa87b44b18f585a8202205c926d1c740560d711162805ebf6cdf2748b06ab6ed7b06df3fc8a9b74d3cbe3", + "dac_private_key": "84bfd5eb3a63e1fabcb0876257ad34ed018d940dcfe4602a0200d2afbf30770a", + "dac_public_key": "04e9d03b08baf6903eba822bdd412c59a4b2949d5a18109b44769fb6c645317c36430f4488da57643cc4a10dda24fe6a63349a5e67923b2f5b28e2b502342bf03f" +} diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_11/cd.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_11/cd.der new file mode 100644 index 00000000000000..cf8fe1212bf401 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_11/cd.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_11/dac-Cert.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_11/dac-Cert.der new file mode 100644 index 00000000000000..62c61d3f88d928 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_11/dac-Cert.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_11/dac-Cert.pem b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_11/dac-Cert.pem new file mode 100644 index 00000000000000..7c01661796576a --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_11/dac-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIBzDCCAXOgAwIBAgIISkLC9P+6Q+owCgYIKoZIzj0EAwIwRjEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQB +gqJ8AgIMBDAwQjEwIBcNMjIwNDI2MDAwMDAwWhgPOTk5OTEyMzEyMzU5NTlaMC8x +LTArBgNVBAMMJE1waWRNdmlkOkZGRjEwIE1hdHRlciBUZXN0IE1waWQ6MDBCMTBZ +MBMGByqGSM49AgEGCCqGSM49AwEHA0IABIc5gnNpaWniW04145ipOmak7qNi8ZbI +y45jlFSnOOh8MBouSVjjVHmNbrzArvTUP3lU0fye1k2i32GbMg7z1PSjYDBeMAwG +A1UdEwEB/wQCMAAwDgYDVR0PAQH/BAQDAgeAMB0GA1UdDgQWBBTEOWH6WMNJ4/DF +/b6WhHp0ZldbSDAfBgNVHSMEGDAWgBQQ9ol7OcdtyE9RLopRRzCaMI0XbjAKBggq +hkjOPQQDAgNHADBEAiBg//cuhQzXwoyBHtoActTOW0HPUtjlecheCpI+VagKBAIg +FTaQ7nEaJsurfPR/vO5YFcrBjGZjFvENt3X7QCYhvpI= +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_11/dac-Key.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_11/dac-Key.der new file mode 100644 index 00000000000000..1e71cd4873961f Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_11/dac-Key.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_11/dac-Key.pem b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_11/dac-Key.pem new file mode 100644 index 00000000000000..2181a7af14217a --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_11/dac-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIDMP1h+oCu23qA2kzaSBCw9KwTZhEdC/zOZfjPHyug87oAoGCCqGSM49 +AwEHoUQDQgAEhzmCc2lpaeJbTjXjmKk6ZqTuo2LxlsjLjmOUVKc46HwwGi5JWONU +eY1uvMCu9NQ/eVTR/J7WTaLfYZsyDvPU9A== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_11/pai-Cert.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_11/pai-Cert.der new file mode 100644 index 00000000000000..64fce72dda703d Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_11/pai-Cert.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_11/pai-Cert.pem b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_11/pai-Cert.pem new file mode 100644 index 00000000000000..0430b6eac0b67b --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_11/pai-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIB1TCCAXqgAwIBAgIIFZB9AJHyl9gwCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA0MjYw +MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowRjEYMBYGA1UEAwwPTWF0dGVyIFRlc3Qg +UEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQBgqJ8AgIMBDAwQjEw +WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAROSsNc/c7iau7pIvFMIt03Yl52ohzl +XK/7w27B0hlB3z1b2nB21+0DsJmNTMIZTh2w7loD+ZjMgAOop/3u1ApQo2YwZDAS +BgNVHRMBAf8ECDAGAQH/AgEBMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUEPaJ +eznHbchPUS6KUUcwmjCNF24wHwYDVR0jBBgwFoAUav0idx9RH+y/FkGXZxDc3DGh +cX4wCgYIKoZIzj0EAwIDSQAwRgIhAJS0HhHT0TJ8kIYyy2IEMoCpHKg1vsBQcLMh +HnoLPsvlAiEA7pfIQwvQIBwajsUSSlpeWpiegCnAe3GwJAHmMfDuio0= +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_11/pai-Key.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_11/pai-Key.der new file mode 100644 index 00000000000000..caad95486b6737 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_11/pai-Key.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_11/pai-Key.pem b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_11/pai-Key.pem new file mode 100644 index 00000000000000..4455631c1f963d --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_11/pai-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIGcvW3ex+/f4PcvaNLgnmhUGsGsitmdmx8PStgo8RQZUoAoGCCqGSM49 +AwEHoUQDQgAETkrDXP3O4mru6SLxTCLdN2JedqIc5Vyv+8NuwdIZQd89W9pwdtft +A7CZjUzCGU4dsO5aA/mYzIADqKf97tQKUA== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_11/test_case_vector.json b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_11/test_case_vector.json new file mode 100644 index 00000000000000..4ccbe21446666b --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_11/test_case_vector.json @@ -0,0 +1,9 @@ +{ + "description": "DAC Test Vector: Fallback VID and PID encoding example: valid, but less human-readable", + "is_success_case": "true", + "dac_cert": "308201cc30820173a00302010202084a42c2f4ffba43ea300a06082a8648ce3d04030230463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04303042313020170d3232303432363030303030305a180f39393939313233313233353935395a302f312d302b06035504030c244d7069644d7669643a4646463130204d61747465722054657374204d7069643a303042313059301306072a8648ce3d020106082a8648ce3d0301070342000487398273696969e25b4e35e398a93a66a4eea362f196c8cb8e639454a738e87c301a2e4958e354798d6ebcc0aef4d43f7954d1fc9ed64da2df619b320ef3d4f4a360305e300c0603551d130101ff04023000300e0603551d0f0101ff040403020780301d0603551d0e04160414c43961fa58c349e3f0c5fdbe96847a7466575b48301f0603551d2304183016801410f6897b39c76dc84f512e8a5147309a308d176e300a06082a8648ce3d0403020347003044022060fff72e850cd7c28c811eda0072d4ce5b41cf52d8e579c85e0a923e55a80a040220153690ee711a26cbab7cf47fbcee5815cac18c666316f10db775fb402621be92", + "pai_cert": "308201d53082017aa003020102020815907d0091f297d8300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414131143012060a2b0601040182a27c02010c04464646313020170d3232303432363030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04303042313059301306072a8648ce3d020106082a8648ce3d030107034200044e4ac35cfdcee26aeee922f14c22dd37625e76a21ce55caffbc36ec1d21941df3d5bda7076d7ed03b0998d4cc2194e1db0ee5a03f998cc8003a8a7fdeed40a50a366306430120603551d130101ff040830060101ff020101300e0603551d0f0101ff040403020106301d0603551d0e0416041410f6897b39c76dc84f512e8a5147309a308d176e301f0603551d230418301680146afd22771f511fecbf1641976710dcdc31a1717e300a06082a8648ce3d040302034900304602210094b41e11d3d1327c908632cb62043280a91ca835bec05070b3211e7a0b3ecbe5022100ee97c8430bd0201c1a8ec5124a5a5e5a989e8029c07b71b02401e631f0ee8a8d", + "certification_declaration": "3081e806092a864886f70d010702a081da3081d7020103310d300b0609608648016503040201304406092a864886f70d010701a0370435152400012501f1ff360204b118250334122c04135a494732303134315a423333303030312d32342405002406002507769824080018317d307b020103801462fa823359acfaa9963e1cfa140addf504f37160300b0609608648016503040201300a06082a8648ce3d040302044730450220730959456261f2e70b55384204c77675d000e1e320b79d097af898b424afa507022100ddbbcc817de33a3197e059f1af924d8ef1d046d185010567b7be49af29e213bd", + "dac_private_key": "330fd61fa80aedb7a80da4cda4810b0f4ac1366111d0bfcce65f8cf1f2ba0f3b", + "dac_public_key": "0487398273696969e25b4e35e398a93a66a4eea362f196c8cb8e639454a738e87c301a2e4958e354798d6ebcc0aef4d43f7954d1fc9ed64da2df619b320ef3d4f4" +} diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_12/cd.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_12/cd.der new file mode 100644 index 00000000000000..1d1d4f9dfebb11 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_12/cd.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_12/dac-Cert.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_12/dac-Cert.der new file mode 100644 index 00000000000000..2bad5b91f5c1de Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_12/dac-Cert.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_12/dac-Cert.pem b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_12/dac-Cert.pem new file mode 100644 index 00000000000000..e593ced99edc2f --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_12/dac-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIByTCCAW6gAwIBAgIIAglJTHEE31swCgYIKoZIzj0EAwIwRjEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQB +gqJ8AgIMBDAwQjEwIBcNMjIwNDI2MDAwMDAwWhgPOTk5OTEyMzEyMzU5NTlaMCox +KDAmBgNVBAMMH01hdHRlciBEZXZlbCBEQUMgTXBpZDpNdmlkOkZmZjEwWTATBgcq +hkjOPQIBBggqhkjOPQMBBwNCAAQhY+w2hGrr3N2TrWxvMxnNq05O5yOZJtrOhd0p +d65t+xOAMY9ECXQjygljzmseAgUyIxFTOHQfnwTnEYeQiz/3o2AwXjAMBgNVHRMB +Af8EAjAAMA4GA1UdDwEB/wQEAwIHgDAdBgNVHQ4EFgQUxzMlsu45Jd9w3JvzMiOt +8mYZ1ZkwHwYDVR0jBBgwFoAUA62TF1Iu3Y7THSD9vtPskE7DUU4wCgYIKoZIzj0E +AwIDSQAwRgIhAOJCp3hosz041ly23xvcn08tCysjaT2giTVkUW2KdK1lAiEAwyEA +l3WKyVk2qLWshrRp1GxviZR/LGSUZ3QPr/OCUf4= +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_12/dac-Key.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_12/dac-Key.der new file mode 100644 index 00000000000000..d957248d4aa4c5 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_12/dac-Key.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_12/dac-Key.pem b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_12/dac-Key.pem new file mode 100644 index 00000000000000..2131b962d71a20 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_12/dac-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIGP1wZOcoMOnhYj4mHxravXji+YARuNdais53nVboSafoAoGCCqGSM49 +AwEHoUQDQgAEIWPsNoRq69zdk61sbzMZzatOTucjmSbazoXdKXeubfsTgDGPRAl0 +I8oJY85rHgIFMiMRUzh0H58E5xGHkIs/9w== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_12/pai-Cert.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_12/pai-Cert.der new file mode 100644 index 00000000000000..3357445da9e552 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_12/pai-Cert.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_12/pai-Cert.pem b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_12/pai-Cert.pem new file mode 100644 index 00000000000000..43e1047877e345 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_12/pai-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIB1DCCAXqgAwIBAgIIRmx3stYqJ8kwCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA0MjYw +MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowRjEYMBYGA1UEAwwPTWF0dGVyIFRlc3Qg +UEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQBgqJ8AgIMBDAwQjEw +WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAASBiFafy8nP5UBxvT4jtet7k7dLNPdb +0yHhmdMB7BcycwYuKPtvIlQMf+Aldyv/7BCidzdyn9098Z5tAtxMwd1Io2YwZDAS +BgNVHRMBAf8ECDAGAQH/AgEBMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUA62T +F1Iu3Y7THSD9vtPskE7DUU4wHwYDVR0jBBgwFoAUav0idx9RH+y/FkGXZxDc3DGh +cX4wCgYIKoZIzj0EAwIDSAAwRQIhAJHxbLJl1C/zlGc9puR06WR2yC6rLS5HwsZ7 +N9RfnHGkAiBxC7hPtYEDEl22wpXqqXUt3XzIqT9M2k4NxSDT3++atg== +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_12/pai-Key.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_12/pai-Key.der new file mode 100644 index 00000000000000..7e1375ea15b783 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_12/pai-Key.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_12/pai-Key.pem b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_12/pai-Key.pem new file mode 100644 index 00000000000000..1e9b241887e6b3 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_12/pai-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIH5YfhOlhdZB1j6HzI0D4od1djFFzaUMN2PwdAt0I1CzoAoGCCqGSM49 +AwEHoUQDQgAEgYhWn8vJz+VAcb0+I7Xre5O3SzT3W9Mh4ZnTAewXMnMGLij7byJU +DH/gJXcr/+wQonc3cp/dPfGebQLcTMHdSA== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_12/test_case_vector.json b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_12/test_case_vector.json new file mode 100644 index 00000000000000..6fb7a4d8d12b3f --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_12/test_case_vector.json @@ -0,0 +1,9 @@ +{ + "description": "DAC Test Vector: Fallback VID and PID encoding example: invalid, PID not present and VID not upper case", + "is_success_case": "false", + "dac_cert": "308201c93082016ea00302010202080209494c7104df5b300a06082a8648ce3d04030230463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04303042313020170d3232303432363030303030305a180f39393939313233313233353935395a302a3128302606035504030c1f4d617474657220446576656c20444143204d7069643a4d7669643a466666313059301306072a8648ce3d020106082a8648ce3d030107034200042163ec36846aebdcdd93ad6c6f3319cdab4e4ee7239926dace85dd2977ae6dfb1380318f44097423ca0963ce6b1e02053223115338741f9f04e71187908b3ff7a360305e300c0603551d130101ff04023000300e0603551d0f0101ff040403020780301d0603551d0e04160414c73325b2ee3925df70dc9bf33223adf26619d599301f0603551d2304183016801403ad9317522edd8ed31d20fdbed3ec904ec3514e300a06082a8648ce3d0403020349003046022100e242a77868b33d38d65cb6df1bdc9f4f2d0b2b23693da0893564516d8a74ad65022100c3210097758ac95936a8b5ac86b469d46c6f89947f2c649467740faff38251fe", + "pai_cert": "308201d43082017aa0030201020208466c77b2d62a27c9300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414131143012060a2b0601040182a27c02010c04464646313020170d3232303432363030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04303042313059301306072a8648ce3d020106082a8648ce3d030107034200048188569fcbc9cfe54071bd3e23b5eb7b93b74b34f75bd321e199d301ec173273062e28fb6f22540c7fe025772bffec10a27737729fdd3df19e6d02dc4cc1dd48a366306430120603551d130101ff040830060101ff020101300e0603551d0f0101ff040403020106301d0603551d0e0416041403ad9317522edd8ed31d20fdbed3ec904ec3514e301f0603551d230418301680146afd22771f511fecbf1641976710dcdc31a1717e300a06082a8648ce3d040302034800304502210091f16cb265d42ff394673da6e474e96476c82eab2d2e47c2c67b37d45f9c71a40220710bb84fb58103125db6c295eaa9752ddd7cc8a93f4cda4e0dc520d3dfef9ab6", + "certification_declaration": "3081e806092a864886f70d010702a081da3081d7020103310d300b0609608648016503040201304406092a864886f70d010701a0370435152400012501f1ff360204b118250334122c04135a494732303134315a423333303030312d32342405002406002507769824080018317d307b020103801462fa823359acfaa9963e1cfa140addf504f37160300b0609608648016503040201300a06082a8648ce3d0403020447304502201136b40647485b84f8c9a1b014b3dcb7143f0a1ce435595dd4904ccbdaea4e30022100b4c0f22e485f9014e75fea971b56fff5801eb2ea4971206614d7b4ab5954379c", + "dac_private_key": "63f5c1939ca0c3a78588f8987c6b6af5e38be60046e35d6a2b39de755ba1269f", + "dac_public_key": "042163ec36846aebdcdd93ad6c6f3319cdab4e4ee7239926dace85dd2977ae6dfb1380318f44097423ca0963ce6b1e02053223115338741f9f04e71187908b3ff7" +} diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_13/cd.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_13/cd.der new file mode 100644 index 00000000000000..a658123b4a2dc7 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_13/cd.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_13/dac-Cert.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_13/dac-Cert.der new file mode 100644 index 00000000000000..012341086e522f Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_13/dac-Cert.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_13/dac-Cert.pem b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_13/dac-Cert.pem new file mode 100644 index 00000000000000..b5ef594e1daddd --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_13/dac-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIBzTCCAXOgAwIBAgIIAwSbdenlXoowCgYIKoZIzj0EAwIwRjEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQB +gqJ8AgIMBDAwQjEwIBcNMjIwNDI2MDAwMDAwWhgPOTk5OTEyMzEyMzU5NTlaMC8x +LTArBgNVBAMMJE1hdHRlciBEZXZlbCBEQUMgTXBpZDowMEIxIE1WSUQ6RkZGMTBZ +MBMGByqGSM49AgEGCCqGSM49AwEHA0IABLERGMh2+VIec4ff3jXX/y+2K4B0xCng +bTi3AWuSZ54876kOaJtUgqyj49ExaPlFMAP52vxv9adtYObLRL/DN5ejYDBeMAwG +A1UdEwEB/wQCMAAwDgYDVR0PAQH/BAQDAgeAMB0GA1UdDgQWBBTHLGFQADuhhYAC +M9bAHTvQtfqt/DAfBgNVHSMEGDAWgBT8VbWSU75QgMHBhgz30F8SBEBh+DAKBggq +hkjOPQQDAgNIADBFAiAQCbDmDCyTy+kZNj0oFX+0ffMhS49MwyXHVUwsh/4VtQIh +AMyAxN6rNheGfIenXawbspz3Znm57QFIAguouchkbYTo +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_13/dac-Key.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_13/dac-Key.der new file mode 100644 index 00000000000000..1339956d09fdba Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_13/dac-Key.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_13/dac-Key.pem b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_13/dac-Key.pem new file mode 100644 index 00000000000000..1651b0ba2bbf2b --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_13/dac-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIOAkdz0MpRFbwd+AtPNMhhV2ueY9pV0s4AM/dN+kbMRRoAoGCCqGSM49 +AwEHoUQDQgAEsREYyHb5Uh5zh9/eNdf/L7YrgHTEKeBtOLcBa5JnnjzvqQ5om1SC +rKPj0TFo+UUwA/na/G/1p21g5stEv8M3lw== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_13/pai-Cert.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_13/pai-Cert.der new file mode 100644 index 00000000000000..4a129db6e99256 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_13/pai-Cert.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_13/pai-Cert.pem b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_13/pai-Cert.pem new file mode 100644 index 00000000000000..90d84795955556 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_13/pai-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIB0zCCAXqgAwIBAgIIewrFANQKBlIwCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA0MjYw +MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowRjEYMBYGA1UEAwwPTWF0dGVyIFRlc3Qg +UEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQBgqJ8AgIMBDAwQjEw +WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAARbkhHNEwr5Brl5QwxWqZzFnLQEg1KQ +hI14uPFUpfbyMOyf5v2CSQiZOLohzQIxllJa7DcyzFpYQMN5XjMbXaMFo2YwZDAS +BgNVHRMBAf8ECDAGAQH/AgEBMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQU/FW1 +klO+UIDBwYYM99BfEgRAYfgwHwYDVR0jBBgwFoAUav0idx9RH+y/FkGXZxDc3DGh +cX4wCgYIKoZIzj0EAwIDRwAwRAIgWHYqJem/PjwZnQG1BCJb+xwIfWSqkVfBoZE5 +X1MpQaoCIEKGmKEwVUmiAakXJdtwshVntjIkiRkDOS7PqxmmLyuy +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_13/pai-Key.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_13/pai-Key.der new file mode 100644 index 00000000000000..68110a9595883e Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_13/pai-Key.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_13/pai-Key.pem b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_13/pai-Key.pem new file mode 100644 index 00000000000000..8ada7674462ccd --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_13/pai-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIBq6xSBmvj8kIMUp0/VmXgURaSmP1Ce3aVLgaYcZTISSoAoGCCqGSM49 +AwEHoUQDQgAEW5IRzRMK+Qa5eUMMVqmcxZy0BINSkISNeLjxVKX28jDsn+b9gkkI +mTi6Ic0CMZZSWuw3MsxaWEDDeV4zG12jBQ== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_13/test_case_vector.json b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_13/test_case_vector.json new file mode 100644 index 00000000000000..05f2ece6d3c99d --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_13/test_case_vector.json @@ -0,0 +1,9 @@ +{ + "description": "DAC Test Vector: Fallback VID and PID encoding example: invalid VID prefix", + "is_success_case": "false", + "dac_cert": "308201cd30820173a003020102020803049b75e9e55e8a300a06082a8648ce3d04030230463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04303042313020170d3232303432363030303030305a180f39393939313233313233353935395a302f312d302b06035504030c244d617474657220446576656c20444143204d7069643a30304231204d5649443a464646313059301306072a8648ce3d020106082a8648ce3d03010703420004b11118c876f9521e7387dfde35d7ff2fb62b8074c429e06d38b7016b92679e3cefa90e689b5482aca3e3d13168f9453003f9dafc6ff5a76d60e6cb44bfc33797a360305e300c0603551d130101ff04023000300e0603551d0f0101ff040403020780301d0603551d0e04160414c72c6150003ba185800233d6c01d3bd0b5faadfc301f0603551d23041830168014fc55b59253be5080c1c1860cf7d05f12044061f8300a06082a8648ce3d040302034800304502201009b0e60c2c93cbe919363d28157fb47df3214b8f4cc325c7554c2c87fe15b5022100cc80c4deab3617867c87a75dac1bb29cf76679b9ed0148020ba8b9c8646d84e8", + "pai_cert": "308201d33082017aa00302010202087b0ac500d40a0652300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414131143012060a2b0601040182a27c02010c04464646313020170d3232303432363030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04303042313059301306072a8648ce3d020106082a8648ce3d030107034200045b9211cd130af906b979430c56a99cc59cb404835290848d78b8f154a5f6f230ec9fe6fd8249089938ba21cd023196525aec3732cc5a5840c3795e331b5da305a366306430120603551d130101ff040830060101ff020101300e0603551d0f0101ff040403020106301d0603551d0e04160414fc55b59253be5080c1c1860cf7d05f12044061f8301f0603551d230418301680146afd22771f511fecbf1641976710dcdc31a1717e300a06082a8648ce3d0403020347003044022058762a25e9bf3e3c199d01b504225bfb1c087d64aa9157c1a191395f532941aa0220428698a1305549a201a91725db70b21567b63224891903392ecfab19a62f2bb2", + "certification_declaration": "3081e806092a864886f70d010702a081da3081d7020103310d300b0609608648016503040201304406092a864886f70d010701a0370435152400012501f1ff360204b118250334122c04135a494732303134315a423333303030312d32342405002406002507769824080018317d307b020103801462fa823359acfaa9963e1cfa140addf504f37160300b0609608648016503040201300a06082a8648ce3d04030204473045022100d1ca7efb52e07bdeb3e3a050c5757339fa4975b939509071a10f58e09871a9e502201c8dc0b248afe230c69fc5bb178eac9d3946884064a47ac7a8f70a7a5fce561c", + "dac_private_key": "e024773d0ca5115bc1df80b4f34c861576b9e63da55d2ce0033f74dfa46cc451", + "dac_public_key": "04b11118c876f9521e7387dfde35d7ff2fb62b8074c429e06d38b7016b92679e3cefa90e689b5482aca3e3d13168f9453003f9dafc6ff5a76d60e6cb44bfc33797" +} diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_14/cd.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_14/cd.der new file mode 100644 index 00000000000000..4a6134d504a923 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_14/cd.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_14/dac-Cert.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_14/dac-Cert.der new file mode 100644 index 00000000000000..94f1f236421e65 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_14/dac-Cert.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_14/dac-Cert.pem b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_14/dac-Cert.pem new file mode 100644 index 00000000000000..11570b92365ed8 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_14/dac-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIBzDCCAXOgAwIBAgIIeUpZBB9o7VMwCgYIKoZIzj0EAwIwRjEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQB +gqJ8AgIMBDAwQjEwIBcNMjIwNDI2MDAwMDAwWhgPOTk5OTEyMzEyMzU5NTlaMC8x +LTArBgNVBAMMJE1hdHRlciBEZXZlbCBEQUMgTXBpZF8wMEIxIE12aWRfRkZGMTBZ +MBMGByqGSM49AgEGCCqGSM49AwEHA0IABJUPeKyFf7tQDod2AsD0Id03WTm8sQ5P +KowETH0rTL/MUQXhYLfIm70v7bQGNPJzt0OgtGALMuV8Qb4DNYY3qISjYDBeMAwG +A1UdEwEB/wQCMAAwDgYDVR0PAQH/BAQDAgeAMB0GA1UdDgQWBBT4cA4LwxTHokHM +yFdMN93HXDfTBTAfBgNVHSMEGDAWgBQnCLl4sQ5OPiOcrw2Ud+CWGwSPqzAKBggq +hkjOPQQDAgNHADBEAiA2+ixT5wJc0ygfmhIL+94ortWkEisDppqHn763DEWEwQIg +JRE6jAeHmJVk1sYmeF/vPlfSZHE98z4Gj5bmh/x/IVQ= +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_14/dac-Key.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_14/dac-Key.der new file mode 100644 index 00000000000000..9af57982c7e956 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_14/dac-Key.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_14/dac-Key.pem b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_14/dac-Key.pem new file mode 100644 index 00000000000000..68490b693e41fb --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_14/dac-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIDzgnsKU5+31EKGlbMTI/K+6MkXtdBct9K+6OJqtGiItoAoGCCqGSM49 +AwEHoUQDQgAElQ94rIV/u1AOh3YCwPQh3TdZObyxDk8qjARMfStMv8xRBeFgt8ib +vS/ttAY08nO3Q6C0YAsy5XxBvgM1hjeohA== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_14/pai-Cert.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_14/pai-Cert.der new file mode 100644 index 00000000000000..981e9c8ed772f4 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_14/pai-Cert.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_14/pai-Cert.pem b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_14/pai-Cert.pem new file mode 100644 index 00000000000000..7ab49654cb6156 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_14/pai-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIB1DCCAXqgAwIBAgIIZxAvvLVv4dAwCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA0MjYw +MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowRjEYMBYGA1UEAwwPTWF0dGVyIFRlc3Qg +UEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQBgqJ8AgIMBDAwQjEw +WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAATq3AEM9Uyw89EUy5pPmK7741N0t1Aa +MInOnCjXTGn/Dy9dDDBFB6AazqzCD/tcXwAjCxF0YHTIelaPippagmC4o2YwZDAS +BgNVHRMBAf8ECDAGAQH/AgEBMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUJwi5 +eLEOTj4jnK8NlHfglhsEj6swHwYDVR0jBBgwFoAUav0idx9RH+y/FkGXZxDc3DGh +cX4wCgYIKoZIzj0EAwIDSAAwRQIgMRC6Nx5N1EEcRYC5D8t1oid/Ln6jCW/Ok5Ld +KEnLQIUCIQCv04dnG5Z9SpkMXQQOg0Qvwep1rO/5erCd5j3xilOPxg== +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_14/pai-Key.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_14/pai-Key.der new file mode 100644 index 00000000000000..78b6a10d8a70e5 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_14/pai-Key.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_14/pai-Key.pem b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_14/pai-Key.pem new file mode 100644 index 00000000000000..a78f411d039915 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_14/pai-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIMywPXTBNUAMKAyii/HEVEfiAxZxJs3/R8wbgt1mqCs4oAoGCCqGSM49 +AwEHoUQDQgAE6twBDPVMsPPRFMuaT5iu++NTdLdQGjCJzpwo10xp/w8vXQwwRQeg +Gs6swg/7XF8AIwsRdGB0yHpWj4qaWoJguA== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_14/test_case_vector.json b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_14/test_case_vector.json new file mode 100644 index 00000000000000..d620ab73a7729d --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_14/test_case_vector.json @@ -0,0 +1,9 @@ +{ + "description": "DAC Test Vector: Fallback VID and PID encoding example: invalid PID and VID prefixes", + "is_success_case": "false", + "dac_cert": "308201cc30820173a0030201020208794a59041f68ed53300a06082a8648ce3d04030230463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04303042313020170d3232303432363030303030305a180f39393939313233313233353935395a302f312d302b06035504030c244d617474657220446576656c20444143204d7069645f30304231204d7669645f464646313059301306072a8648ce3d020106082a8648ce3d03010703420004950f78ac857fbb500e877602c0f421dd375939bcb10e4f2a8c044c7d2b4cbfcc5105e160b7c89bbd2fedb40634f273b743a0b4600b32e57c41be03358637a884a360305e300c0603551d130101ff04023000300e0603551d0f0101ff040403020780301d0603551d0e04160414f8700e0bc314c7a241ccc8574c37ddc75c37d305301f0603551d230418301680142708b978b10e4e3e239caf0d9477e0961b048fab300a06082a8648ce3d0403020347003044022036fa2c53e7025cd3281f9a120bfbde28aed5a4122b03a69a879fbeb70c4584c1022025113a8c0787989564d6c626785fef3e57d264713df33e068f96e687fc7f2154", + "pai_cert": "308201d43082017aa003020102020867102fbcb56fe1d0300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414131143012060a2b0601040182a27c02010c04464646313020170d3232303432363030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04303042313059301306072a8648ce3d020106082a8648ce3d03010703420004eadc010cf54cb0f3d114cb9a4f98aefbe35374b7501a3089ce9c28d74c69ff0f2f5d0c304507a01aceacc20ffb5c5f00230b11746074c87a568f8a9a5a8260b8a366306430120603551d130101ff040830060101ff020101300e0603551d0f0101ff040403020106301d0603551d0e041604142708b978b10e4e3e239caf0d9477e0961b048fab301f0603551d230418301680146afd22771f511fecbf1641976710dcdc31a1717e300a06082a8648ce3d040302034800304502203110ba371e4dd4411c4580b90fcb75a2277f2e7ea3096fce9392dd2849cb4085022100afd387671b967d4a990c5d040e83442fc1ea75aceff97ab09de63df18a538fc6", + "certification_declaration": "3081e806092a864886f70d010702a081da3081d7020103310d300b0609608648016503040201304406092a864886f70d010701a0370435152400012501f1ff360204b118250334122c04135a494732303134315a423333303030312d32342405002406002507769824080018317d307b020103801462fa823359acfaa9963e1cfa140addf504f37160300b0609608648016503040201300a06082a8648ce3d04030204473045022100831b9b9b9c6d589cdd0ec80ba19c5984a4cb81b6491d0000d8f589eeb3adf10e02201c040145b7d4979cb5e5927f80e9896ca1a2f4472ac719c401d57ee670acafae", + "dac_private_key": "3ce09ec294e7edf510a1a56cc4c8fcafba3245ed74172df4afba389aad1a222d", + "dac_public_key": "04950f78ac857fbb500e877602c0f421dd375939bcb10e4f2a8c044c7d2b4cbfcc5105e160b7c89bbd2fedb40634f273b743a0b4600b32e57c41be03358637a884" +} diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_15/cd.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_15/cd.der new file mode 100644 index 00000000000000..5c361a1e4f80d3 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_15/cd.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_15/dac-Cert.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_15/dac-Cert.der new file mode 100644 index 00000000000000..3c702f3f89104c Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_15/dac-Cert.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_15/dac-Cert.pem b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_15/dac-Cert.pem new file mode 100644 index 00000000000000..dfaa5701772e1e --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_15/dac-Cert.pem @@ -0,0 +1,13 @@ +-----BEGIN CERTIFICATE----- +MIICBjCCAa2gAwIBAgIIXOBk8tjorLgwCgYIKoZIzj0EAwIwRjEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQB +gqJ8AgIMBDAwQjEwIBcNMjIwNDI2MDAwMDAwWhgPOTk5OTEyMzEyMzU5NTlaMGkx +OzA5BgNVBAMMMkFDTUUgTWF0dGVyIERldmVsIERBQyA1Q0RBOTg5OSBNdmlkOkZG +RjIgTXBpZDowMEIyMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQBgqJ8 +AgIMBDAwQjEwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAQgikx7krvdtSEwdPi4 +n7UtOqb4mL5VqNTsSKsmQ8wlkncxk9Ooo4r5xjqL7LowIOm3ccr9pjiAf6GHeZ6b +NU+1o2AwXjAMBgNVHRMBAf8EAjAAMA4GA1UdDwEB/wQEAwIHgDAdBgNVHQ4EFgQU +YiIUdqU9XdAcJWekJ5REHhoa8zAwHwYDVR0jBBgwFoAUNy+xQBmn4BRgXsWV8KCk +qDGXUOUwCgYIKoZIzj0EAwIDRwAwRAIgGJhA7y8O0PIUHbBROtjPiyD2t+4XeE4T +L9gVJmfLzwACIFa8SOpbfM0nghumx4j5MgulI57DQIbG51wVi5zJAWbH +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_15/dac-Key.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_15/dac-Key.der new file mode 100644 index 00000000000000..3c59f4b2737d9f Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_15/dac-Key.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_15/dac-Key.pem b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_15/dac-Key.pem new file mode 100644 index 00000000000000..a2247638c089aa --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_15/dac-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIGPbdbiSSx/vROE6fxto6bmJX7jSrHkFdSeT6H6x2ZqEoAoGCCqGSM49 +AwEHoUQDQgAEIIpMe5K73bUhMHT4uJ+1LTqm+Ji+VajU7EirJkPMJZJ3MZPTqKOK ++cY6i+y6MCDpt3HK/aY4gH+hh3memzVPtQ== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_15/pai-Cert.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_15/pai-Cert.der new file mode 100644 index 00000000000000..095bc05771f6da Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_15/pai-Cert.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_15/pai-Cert.pem b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_15/pai-Cert.pem new file mode 100644 index 00000000000000..9c16d6d630d4b3 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_15/pai-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIB1TCCAXqgAwIBAgIINVF/vWchoNkwCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA0MjYw +MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowRjEYMBYGA1UEAwwPTWF0dGVyIFRlc3Qg +UEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQBgqJ8AgIMBDAwQjEw +WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAATP50OEIQVguxPWTavLBUzB+6crthjI +LwzgB6pHcP6kczcJw1Za4NSe/9qtyzTya/g+OZszQ45MNrQcwYSQrOkgo2YwZDAS +BgNVHRMBAf8ECDAGAQH/AgEBMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUNy+x +QBmn4BRgXsWV8KCkqDGXUOUwHwYDVR0jBBgwFoAUav0idx9RH+y/FkGXZxDc3DGh +cX4wCgYIKoZIzj0EAwIDSQAwRgIhAMAXQNTtb5XAHQRgsuGvsmUkVIE0BvWMgdY+ +Gn1nZqZsAiEAuj4SrJnXdJAY6824t64nXjO/garMmjRgiJQCmQoPlrA= +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_15/pai-Key.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_15/pai-Key.der new file mode 100644 index 00000000000000..f0aace17a2b462 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_15/pai-Key.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_15/pai-Key.pem b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_15/pai-Key.pem new file mode 100644 index 00000000000000..be28bcbd23feda --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_15/pai-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIPCWnpyZnQ5NB97gK7YenfteJeYV3msaywO5JzUm0jo9oAoGCCqGSM49 +AwEHoUQDQgAEz+dDhCEFYLsT1k2rywVMwfunK7YYyC8M4AeqR3D+pHM3CcNWWuDU +nv/arcs08mv4PjmbM0OOTDa0HMGEkKzpIA== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_15/test_case_vector.json b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_15/test_case_vector.json new file mode 100644 index 00000000000000..d45b0f7f232403 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_15/test_case_vector.json @@ -0,0 +1,9 @@ +{ + "description": "DAC Test Vector: Mix of Fallback and Matter OID encoding for VID and PID: valid, Matter OIDs are used and wrong values in the common-name are ignored", + "is_success_case": "true", + "dac_cert": "30820206308201ada00302010202085ce064f2d8e8acb8300a06082a8648ce3d04030230463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04303042313020170d3232303432363030303030305a180f39393939313233313233353935395a3069313b303906035504030c3241434d45204d617474657220446576656c20444143203543444139383939204d7669643a46464632204d7069643a3030423231143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04303042313059301306072a8648ce3d020106082a8648ce3d03010703420004208a4c7b92bbddb5213074f8b89fb52d3aa6f898be55a8d4ec48ab2643cc2592773193d3a8a38af9c63a8becba3020e9b771cafda638807fa187799e9b354fb5a360305e300c0603551d130101ff04023000300e0603551d0f0101ff040403020780301d0603551d0e0416041462221476a53d5dd01c2567a42794441e1a1af330301f0603551d23041830168014372fb14019a7e014605ec595f0a0a4a8319750e5300a06082a8648ce3d04030203470030440220189840ef2f0ed0f2141db0513ad8cf8b20f6b7ee17784e132fd8152667cbcf00022056bc48ea5b7ccd27821ba6c788f9320ba5239ec34086c6e75c158b9cc90166c7", + "pai_cert": "308201d53082017aa003020102020835517fbd6721a0d9300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414131143012060a2b0601040182a27c02010c04464646313020170d3232303432363030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04303042313059301306072a8648ce3d020106082a8648ce3d03010703420004cfe74384210560bb13d64dabcb054cc1fba72bb618c82f0ce007aa4770fea4733709c3565ae0d49effdaadcb34f26bf83e399b33438e4c36b41cc18490ace920a366306430120603551d130101ff040830060101ff020101300e0603551d0f0101ff040403020106301d0603551d0e04160414372fb14019a7e014605ec595f0a0a4a8319750e5301f0603551d230418301680146afd22771f511fecbf1641976710dcdc31a1717e300a06082a8648ce3d0403020349003046022100c01740d4ed6f95c01d0460b2e1afb2652454813406f58c81d63e1a7d6766a66c022100ba3e12ac99d7749018ebcdb8b7ae275e33bf81aacc9a3460889402990a0f96b0", + "certification_declaration": "3081e806092a864886f70d010702a081da3081d7020103310d300b0609608648016503040201304406092a864886f70d010701a0370435152400012501f1ff360204b118250334122c04135a494732303134315a423333303030312d32342405002406002507769824080018317d307b020103801462fa823359acfaa9963e1cfa140addf504f37160300b0609608648016503040201300a06082a8648ce3d04030204473045022100c85114f6f5bac678c8b5ff3b150623fab2b07962d8d92d73bdad561f5b90595f02200283d0b54387d1159584ea27058def8ad90d03b54215a5a410b3d6c8d44e81ba", + "dac_private_key": "63db75b8924b1fef44e13a7f1b68e9b9895fb8d2ac7905752793e87eb1d99a84", + "dac_public_key": "04208a4c7b92bbddb5213074f8b89fb52d3aa6f898be55a8d4ec48ab2643cc2592773193d3a8a38af9c63a8becba3020e9b771cafda638807fa187799e9b354fb5" +} diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_16/cd.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_16/cd.der new file mode 100644 index 00000000000000..f62cfd3a0cf303 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_16/cd.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_16/dac-Cert.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_16/dac-Cert.der new file mode 100644 index 00000000000000..f952cd10ae841b Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_16/dac-Cert.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_16/dac-Cert.pem b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_16/dac-Cert.pem new file mode 100644 index 00000000000000..36a8ac156322db --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_16/dac-Cert.pem @@ -0,0 +1,13 @@ +-----BEGIN CERTIFICATE----- +MIICBjCCAa2gAwIBAgIIfJsNKbSLL4gwCgYIKoZIzj0EAwIwRjEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQB +gqJ8AgIMBDAwQjEwIBcNMjIwNDI2MDAwMDAwWhgPOTk5OTEyMzEyMzU5NTlaMGkx +OzA5BgNVBAMMMkFDTUUgTWF0dGVyIERldmVsIERBQyA1Q0RBOTg5OSBNdmlkOkZG +RjEgTXBpZDowMEIxMRQwEgYKKwYBBAGConwCAQwERkZGMjEUMBIGCisGAQQBgqJ8 +AgIMBDAwQjIwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAQU67sqfpnukPi6K+y6 +yZ+kKtk3TtZ15N4RWgdutyCipyYfhmUOZeoSpFr2NSomM1Qp94/E0LkUU4wHrU4b +ZDNIo2AwXjAMBgNVHRMBAf8EAjAAMA4GA1UdDwEB/wQEAwIHgDAdBgNVHQ4EFgQU +b9p2D5OWgSFrKcmGzrpRTwi1gxswHwYDVR0jBBgwFoAUxJz+iNYtb8mQZfOAj9bU +boODNXowCgYIKoZIzj0EAwIDRwAwRAIfRuhtyH1xvBiWb1BFQbduKnID6+P+fXCj +zRKCsc+0BAIhAL8DvN/k/pl918K/lPcJOqvtoea+3COrGtZVH80oYtnN +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_16/dac-Key.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_16/dac-Key.der new file mode 100644 index 00000000000000..7e153e59f71d27 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_16/dac-Key.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_16/dac-Key.pem b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_16/dac-Key.pem new file mode 100644 index 00000000000000..2fc5c4ddb3977f --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_16/dac-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIJYTRDd36VhGuLqgOtJcCH27ONwP6KhGPBcSoQQDuevBoAoGCCqGSM49 +AwEHoUQDQgAEFOu7Kn6Z7pD4uivsusmfpCrZN07WdeTeEVoHbrcgoqcmH4ZlDmXq +EqRa9jUqJjNUKfePxNC5FFOMB61OG2QzSA== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_16/pai-Cert.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_16/pai-Cert.der new file mode 100644 index 00000000000000..d1eb3294ece5fd Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_16/pai-Cert.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_16/pai-Cert.pem b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_16/pai-Cert.pem new file mode 100644 index 00000000000000..aa0694250038b5 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_16/pai-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIB1DCCAXqgAwIBAgIIDyU+ifcHv/4wCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA0MjYw +MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowRjEYMBYGA1UEAwwPTWF0dGVyIFRlc3Qg +UEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQBgqJ8AgIMBDAwQjEw +WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAARE+E0LUeBEQ02ysB0ZhSSHzlVBWR/K +lo7GY6h9sAtcn+ojskC5BOffjI5v87MTqQJ82C7ebRN/2pRACHqBDIiTo2YwZDAS +BgNVHRMBAf8ECDAGAQH/AgEBMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUxJz+ +iNYtb8mQZfOAj9bUboODNXowHwYDVR0jBBgwFoAUav0idx9RH+y/FkGXZxDc3DGh +cX4wCgYIKoZIzj0EAwIDSAAwRQIhALW+yUHOg5xQSBDYUT+w9GiuSKc/eO2MfNwT +OFRlK0RvAiBEprksKitIzAtdw1X5QF8Xr1eOfsrReV9vAi8J9CRWJQ== +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_16/pai-Key.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_16/pai-Key.der new file mode 100644 index 00000000000000..d8f71fc5013113 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_16/pai-Key.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_16/pai-Key.pem b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_16/pai-Key.pem new file mode 100644 index 00000000000000..ed06b7031256c8 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_16/pai-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIJj/fN2bymJaAeuHXmXo69HAZxW4oMChvE0oPGMlU9f0oAoGCCqGSM49 +AwEHoUQDQgAERPhNC1HgRENNsrAdGYUkh85VQVkfypaOxmOofbALXJ/qI7JAuQTn +34yOb/OzE6kCfNgu3m0Tf9qUQAh6gQyIkw== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_16/test_case_vector.json b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_16/test_case_vector.json new file mode 100644 index 00000000000000..91b2dada402562 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_16/test_case_vector.json @@ -0,0 +1,9 @@ +{ + "description": "DAC Test Vector: Mix of Fallback and Matter OID encoding for VID and PID: wrong, Correct values encoded in the common-name are ignored", + "is_success_case": "false", + "dac_cert": "30820206308201ada00302010202087c9b0d29b48b2f88300a06082a8648ce3d04030230463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04303042313020170d3232303432363030303030305a180f39393939313233313233353935395a3069313b303906035504030c3241434d45204d617474657220446576656c20444143203543444139383939204d7669643a46464631204d7069643a3030423131143012060a2b0601040182a27c02010c044646463231143012060a2b0601040182a27c02020c04303042323059301306072a8648ce3d020106082a8648ce3d0301070342000414ebbb2a7e99ee90f8ba2becbac99fa42ad9374ed675e4de115a076eb720a2a7261f86650e65ea12a45af6352a26335429f78fc4d0b914538c07ad4e1b643348a360305e300c0603551d130101ff04023000300e0603551d0f0101ff040403020780301d0603551d0e041604146fda760f939681216b29c986ceba514f08b5831b301f0603551d23041830168014c49cfe88d62d6fc99065f3808fd6d46e8383357a300a06082a8648ce3d0403020347003044021f46e86dc87d71bc18966f504541b76e2a7203ebe3fe7d70a3cd1282b1cfb404022100bf03bcdfe4fe997dd7c2bf94f7093aabeda1e6bedc23ab1ad6551fcd2862d9cd", + "pai_cert": "308201d43082017aa00302010202080f253e89f707bffe300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414131143012060a2b0601040182a27c02010c04464646313020170d3232303432363030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04303042313059301306072a8648ce3d020106082a8648ce3d0301070342000444f84d0b51e044434db2b01d19852487ce5541591fca968ec663a87db00b5c9fea23b240b904e7df8c8e6ff3b313a9027cd82ede6d137fda9440087a810c8893a366306430120603551d130101ff040830060101ff020101300e0603551d0f0101ff040403020106301d0603551d0e04160414c49cfe88d62d6fc99065f3808fd6d46e8383357a301f0603551d230418301680146afd22771f511fecbf1641976710dcdc31a1717e300a06082a8648ce3d0403020348003045022100b5bec941ce839c504810d8513fb0f468ae48a73f78ed8c7cdc133854652b446f022044a6b92c2a2b48cc0b5dc355f9405f17af578e7ecad1795f6f022f09f4245625", + "certification_declaration": "3081e806092a864886f70d010702a081da3081d7020103310d300b0609608648016503040201304406092a864886f70d010701a0370435152400012501f1ff360204b118250334122c04135a494732303134315a423333303030312d32342405002406002507769824080018317d307b020103801462fa823359acfaa9963e1cfa140addf504f37160300b0609608648016503040201300a06082a8648ce3d040302044730450220317baf225761234a94320298ee01c255742e3ee44f8000593c3972a4b076fedd022100c2e1e3e5332e12306c9b7106921fbb66bab28fb4f14da1135ed0e1b885a683f4", + "dac_private_key": "9613443777e95846b8baa03ad25c087dbb38dc0fe8a8463c1712a10403b9ebc1", + "dac_public_key": "0414ebbb2a7e99ee90f8ba2becbac99fa42ad9374ed675e4de115a076eb720a2a7261f86650e65ea12a45af6352a26335429f78fc4d0b914538c07ad4e1b643348" +} diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_17/cd.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_17/cd.der new file mode 100644 index 00000000000000..7a1ba7907db3f7 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_17/cd.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_17/dac-Cert.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_17/dac-Cert.der new file mode 100644 index 00000000000000..0e431fb8371fc3 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_17/dac-Cert.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_17/dac-Cert.pem b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_17/dac-Cert.pem new file mode 100644 index 00000000000000..f4462bff80da84 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_17/dac-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIByDCCAW6gAwIBAgIIXdG00VUDD6IwCgYIKoZIzj0EAwIwRjEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQB +gqJ8AgIMBDAwQjEwIBcNMjIwNDI2MDAwMDAwWhgPOTk5OTEyMzEyMzU5NTlaMCox +EjAQBgNVBAMMCU12aWQ6RkZGMTEUMBIGCisGAQQBgqJ8AgIMBDAwQjEwWTATBgcq +hkjOPQIBBggqhkjOPQMBBwNCAAS73wKHoikvW0tlwSlYPoMbJle5eXjPCsRaMGvP +2BmjwjBEWWTrskTtZXrdyS94KUnNhRZ4w/bmppMj0NRSQkg8o2AwXjAMBgNVHRMB +Af8EAjAAMA4GA1UdDwEB/wQEAwIHgDAdBgNVHQ4EFgQUiRfYHNvrM9JHBvoCgTFk +MbqYiJ4wHwYDVR0jBBgwFoAU7qywzSqs/erUx9kxt9sZ2fjX9YswCgYIKoZIzj0E +AwIDSAAwRQIgP9HXg5huHtYD2HLRnW42tbK/HSXuS5TVuI8dw9hH9SMCIQCuG8VS +7sEf1leaOpV5qCoYXowCHqrDKgafbrgUvialXQ== +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_17/dac-Key.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_17/dac-Key.der new file mode 100644 index 00000000000000..e613ac65347ea8 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_17/dac-Key.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_17/dac-Key.pem b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_17/dac-Key.pem new file mode 100644 index 00000000000000..567cfdf9572fbc --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_17/dac-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIACoFPEU5VFGtqn7mUUXXEy084aLzmvde5WsNF6Ua9inoAoGCCqGSM49 +AwEHoUQDQgAEu98Ch6IpL1tLZcEpWD6DGyZXuXl4zwrEWjBrz9gZo8IwRFlk67JE +7WV63ckveClJzYUWeMP25qaTI9DUUkJIPA== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_17/pai-Cert.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_17/pai-Cert.der new file mode 100644 index 00000000000000..ecdf398b3f75a1 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_17/pai-Cert.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_17/pai-Cert.pem b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_17/pai-Cert.pem new file mode 100644 index 00000000000000..1ec11f3f0a6dc3 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_17/pai-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIB1TCCAXqgAwIBAgIIAsAW2xzYp+QwCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA0MjYw +MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowRjEYMBYGA1UEAwwPTWF0dGVyIFRlc3Qg +UEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQBgqJ8AgIMBDAwQjEw +WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAQK06E3EaPnABJxv99fv6fIn9J7obIN +0/8gHTT+X0cLQszc3RWrtFqBXla62TwjM/+T8KKdSHsEKM7bKrVZOBV6o2YwZDAS +BgNVHRMBAf8ECDAGAQH/AgEBMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQU7qyw +zSqs/erUx9kxt9sZ2fjX9YswHwYDVR0jBBgwFoAUav0idx9RH+y/FkGXZxDc3DGh +cX4wCgYIKoZIzj0EAwIDSQAwRgIhAP3kuG+TMl8STCkXwCw01bhfqX8LsTW+zP9s +QKSgzl8AAiEAhpFT9cxaJQ7Paxr6r5jQfPwXlADsaMZGkHw7cH94JmM= +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_17/pai-Key.der b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_17/pai-Key.der new file mode 100644 index 00000000000000..bc92a6f500746a Binary files /dev/null and b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_17/pai-Key.der differ diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_17/pai-Key.pem b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_17/pai-Key.pem new file mode 100644 index 00000000000000..0180add7908744 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_17/pai-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEICf17u9PCqqaR3ID40KIUtjJcf6jf8ipyle/SU3csaJpoAoGCCqGSM49 +AwEHoUQDQgAECtOhNxGj5wAScb/fX7+nyJ/Se6GyDdP/IB00/l9HC0LM3N0Vq7Ra +gV5Wutk8IzP/k/CinUh7BCjO2yq1WTgVeg== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_17/test_case_vector.json b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_17/test_case_vector.json new file mode 100644 index 00000000000000..03b5471905d8d5 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_17/test_case_vector.json @@ -0,0 +1,9 @@ +{ + "description": "DAC Test Vector: Mix of Fallback and Matter OID encoding for VID and PID: invalid, PID is using Matter OID then VID must also use Matter OID", + "is_success_case": "false", + "dac_cert": "308201c83082016ea00302010202085dd1b4d155030fa2300a06082a8648ce3d04030230463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04303042313020170d3232303432363030303030305a180f39393939313233313233353935395a302a3112301006035504030c094d7669643a4646463131143012060a2b0601040182a27c02020c04303042313059301306072a8648ce3d020106082a8648ce3d03010703420004bbdf0287a2292f5b4b65c129583e831b2657b97978cf0ac45a306bcfd819a3c230445964ebb244ed657addc92f782949cd851678c3f6e6a69323d0d45242483ca360305e300c0603551d130101ff04023000300e0603551d0f0101ff040403020780301d0603551d0e041604148917d81cdbeb33d24706fa0281316431ba98889e301f0603551d23041830168014eeacb0cd2aacfdead4c7d931b7db19d9f8d7f58b300a06082a8648ce3d040302034800304502203fd1d783986e1ed603d872d19d6e36b5b2bf1d25ee4b94d5b88f1dc3d847f523022100ae1bc552eec11fd6579a3a9579a82a185e8c021eaac32a069f6eb814be26a55d", + "pai_cert": "308201d53082017aa003020102020802c016db1cd8a7e4300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414131143012060a2b0601040182a27c02010c04464646313020170d3232303432363030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04303042313059301306072a8648ce3d020106082a8648ce3d030107034200040ad3a13711a3e7001271bfdf5fbfa7c89fd27ba1b20dd3ff201d34fe5f470b42ccdcdd15abb45a815e56bad93c2333ff93f0a29d487b0428cedb2ab55938157aa366306430120603551d130101ff040830060101ff020101300e0603551d0f0101ff040403020106301d0603551d0e04160414eeacb0cd2aacfdead4c7d931b7db19d9f8d7f58b301f0603551d230418301680146afd22771f511fecbf1641976710dcdc31a1717e300a06082a8648ce3d0403020349003046022100fde4b86f93325f124c2917c02c34d5b85fa97f0bb135beccff6c40a4a0ce5f00022100869153f5cc5a250ecf6b1afaaf98d07cfc179400ec68c646907c3b707f782663", + "certification_declaration": "3081e706092a864886f70d010702a081d93081d6020103310d300b0609608648016503040201304406092a864886f70d010701a0370435152400012501f1ff360204b118250334122c04135a494732303134315a423333303030312d32342405002406002507769824080018317c307a020103801462fa823359acfaa9963e1cfa140addf504f37160300b0609608648016503040201300a06082a8648ce3d04030204463044022060bf2a921c8883fa2cb925882511878b90b17b4fe38f5734cb94f66162a50fd8022014a54c3bdf86bddecb42efb620d88c7dfff9ad7ac863ea5442fc784b45b65032", + "dac_private_key": "00a814f114e55146b6a9fb9945175c4cb4f3868bce6bdd7b95ac345e946bd8a7", + "dac_public_key": "04bbdf0287a2292f5b4b65c129583e831b2657b97978cf0ac45a306bcfd819a3c230445964ebb244ed657addc92f782949cd851678c3f6e6a69323d0d45242483c" +} diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_01/cd.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_01/cd.der new file mode 100644 index 00000000000000..ac7f6b4b0c5bfe Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_01/cd.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_01/dac-Cert.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_01/dac-Cert.der new file mode 100644 index 00000000000000..9951eedcd29de1 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_01/dac-Cert.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_01/dac-Cert.pem b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_01/dac-Cert.pem new file mode 100644 index 00000000000000..c38b326ae18b4f --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_01/dac-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIB2zCCAYGgAwIBAgIIJWSTHFoTGyIwCgYIKoZIzj0EAwIwPTE7MDkGA1UEAwwy +QUNNRSBNYXR0ZXIgRGV2ZWwgUEFJIDVDREE5ODk5IE12aWQ6RkZGMSBNcGlkOjAw +QjEwIBcNMjIwNDI2MDAwMDAwWhgPOTk5OTEyMzEyMzU5NTlaMEYxGDAWBgNVBAMM +D01hdHRlciBUZXN0IERBQzEUMBIGCisGAQQBgqJ8AgEMBEZGRjExFDASBgorBgEE +AYKifAICDAQwMEIxMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEzOyyidrRoEZv +msDnjCDyijl4ep/cBb7Hby1xEiQkCve+cFyqM6e55KG0caqvDlBPrYnVo9Hben+m +FcqOW9q216NgMF4wDAYDVR0TAQH/BAIwADAOBgNVHQ8BAf8EBAMCB4AwHQYDVR0O +BBYEFJglK6ltMcHphTlBRaOO5m9PwxU/MB8GA1UdIwQYMBaAFPJ6ElYXhG+6sk7/ +04xJjIrqOJbxMAoGCCqGSM49BAMCA0gAMEUCIE0e+bYs0PZEfw9osBSRq09pX0W6 +rPIhBZ8KoUCAw2j/AiEAhH8YNVEn/JMf+zSDy+WdA4QGRVIJNt2tBDW6/BUY8FY= +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_01/dac-Key.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_01/dac-Key.der new file mode 100644 index 00000000000000..1e5f5e9e716688 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_01/dac-Key.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_01/dac-Key.pem b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_01/dac-Key.pem new file mode 100644 index 00000000000000..25691ede042346 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_01/dac-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIKbPXvFnV3sAPKbkLDIOP2iEsCu0HZzuiDubnUJC7UgBoAoGCCqGSM49 +AwEHoUQDQgAEzOyyidrRoEZvmsDnjCDyijl4ep/cBb7Hby1xEiQkCve+cFyqM6e5 +5KG0caqvDlBPrYnVo9Hben+mFcqOW9q21w== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_01/pai-Cert.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_01/pai-Cert.der new file mode 100644 index 00000000000000..c615d491a5b1bc Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_01/pai-Cert.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_01/pai-Cert.pem b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_01/pai-Cert.pem new file mode 100644 index 00000000000000..a186767fa4925b --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_01/pai-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIBzDCCAXGgAwIBAgIIA5WLXoxgP1owCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA0MjYw +MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowPTE7MDkGA1UEAwwyQUNNRSBNYXR0ZXIg +RGV2ZWwgUEFJIDVDREE5ODk5IE12aWQ6RkZGMSBNcGlkOjAwQjEwWTATBgcqhkjO +PQIBBggqhkjOPQMBBwNCAAQG22pQ7NQmEZdX2kiEcyIrekzSyjzCoceu1YSn3Fir +mqhOdrwvm8sGV8rMF3b7VpIThocYZwhCabTN8lfu/Ggfo2YwZDASBgNVHRMBAf8E +CDAGAQH/AgEBMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQU8noSVheEb7qyTv/T +jEmMiuo4lvEwHwYDVR0jBBgwFoAUav0idx9RH+y/FkGXZxDc3DGhcX4wCgYIKoZI +zj0EAwIDSQAwRgIhAOjNEYPFrLNGPEol9t+bKbqnOasaeUWbLE8QzizKfLKcAiEA +mktpm0BoQA3fy4YHLdpN3iM++MHK22OSilKPPa/Px80= +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_01/pai-Key.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_01/pai-Key.der new file mode 100644 index 00000000000000..24589775e07298 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_01/pai-Key.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_01/pai-Key.pem b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_01/pai-Key.pem new file mode 100644 index 00000000000000..c2348fd8baa76a --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_01/pai-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIAutAseWnSeHbh/IxsJpRarnRXVUGJ82+lt57ohNWHP1oAoGCCqGSM49 +AwEHoUQDQgAEBttqUOzUJhGXV9pIhHMiK3pM0so8wqHHrtWEp9xYq5qoTna8L5vL +BlfKzBd2+1aSE4aHGGcIQmm0zfJX7vxoHw== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_01/test_case_vector.json b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_01/test_case_vector.json new file mode 100644 index 00000000000000..fec0c5e72522d4 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_01/test_case_vector.json @@ -0,0 +1,9 @@ +{ + "description": "PAI Test Vector: Fallback VID and PID encoding example from spec: valid and recommended since easily human-readable", + "is_success_case": "true", + "dac_cert": "308201db30820181a00302010202082564931c5a131b22300a06082a8648ce3d040302303d313b303906035504030c3241434d45204d617474657220446576656c20504149203543444139383939204d7669643a46464631204d7069643a303042313020170d3232303432363030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742044414331143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04303042313059301306072a8648ce3d020106082a8648ce3d03010703420004ccecb289dad1a0466f9ac0e78c20f28a39787a9fdc05bec76f2d711224240af7be705caa33a7b9e4a1b471aaaf0e504fad89d5a3d1db7a7fa615ca8e5bdab6d7a360305e300c0603551d130101ff04023000300e0603551d0f0101ff040403020780301d0603551d0e0416041498252ba96d31c1e985394145a38ee66f4fc3153f301f0603551d23041830168014f27a125617846fbab24effd38c498c8aea3896f1300a06082a8648ce3d040302034800304502204d1ef9b62cd0f6447f0f68b01491ab4f695f45baacf221059f0aa14080c368ff022100847f18355127fc931ffb3483cbe59d03840645520936ddad0435bafc1518f056", + "pai_cert": "308201cc30820171a003020102020803958b5e8c603f5a300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414131143012060a2b0601040182a27c02010c04464646313020170d3232303432363030303030305a180f39393939313233313233353935395a303d313b303906035504030c3241434d45204d617474657220446576656c20504149203543444139383939204d7669643a46464631204d7069643a303042313059301306072a8648ce3d020106082a8648ce3d0301070342000406db6a50ecd426119757da488473222b7a4cd2ca3cc2a1c7aed584a7dc58ab9aa84e76bc2f9bcb0657cacc1776fb56921386871867084269b4cdf257eefc681fa366306430120603551d130101ff040830060101ff020101300e0603551d0f0101ff040403020106301d0603551d0e04160414f27a125617846fbab24effd38c498c8aea3896f1301f0603551d230418301680146afd22771f511fecbf1641976710dcdc31a1717e300a06082a8648ce3d0403020349003046022100e8cd1183c5acb3463c4a25f6df9b29baa739ab1a79459b2c4f10ce2cca7cb29c0221009a4b699b4068400ddfcb86072dda4dde233ef8c1cadb63928a528f3dafcfc7cd", + "certification_declaration": "3081e806092a864886f70d010702a081da3081d7020103310d300b0609608648016503040201304406092a864886f70d010701a0370435152400012501f1ff360204b118250334122c04135a494732303134315a423333303030312d32342405002406002507769824080018317d307b020103801462fa823359acfaa9963e1cfa140addf504f37160300b0609608648016503040201300a06082a8648ce3d04030204473045022100cf6cf48426e5ea170e6ab8d6d480e09f79371d53b988faaf6e33e0319336beb10220315948c43018d4c5ea4390911a90b4b669623fdad630a8269c79071f08f26497", + "dac_private_key": "a6cf5ef167577b003ca6e42c320e3f6884b02bb41d9cee883b9b9d4242ed4801", + "dac_public_key": "04ccecb289dad1a0466f9ac0e78c20f28a39787a9fdc05bec76f2d711224240af7be705caa33a7b9e4a1b471aaaf0e504fad89d5a3d1db7a7fa615ca8e5bdab6d7" +} diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_02/cd.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_02/cd.der new file mode 100644 index 00000000000000..065d2501c4b43c Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_02/cd.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_02/dac-Cert.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_02/dac-Cert.der new file mode 100644 index 00000000000000..f3537cdc6f2ddc Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_02/dac-Cert.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_02/dac-Cert.pem b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_02/dac-Cert.pem new file mode 100644 index 00000000000000..538c17533a78a7 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_02/dac-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIB2jCCAYGgAwIBAgIIRMPXZ3PmGeYwCgYIKoZIzj0EAwIwPTE7MDkGA1UEAwwy +QUNNRSBNYXR0ZXIgRGV2ZWwgUEFJIDVDREE5ODk5IE1waWQ6MDBCMSBNdmlkOkZG +RjEwIBcNMjIwNDI2MDAwMDAwWhgPOTk5OTEyMzEyMzU5NTlaMEYxGDAWBgNVBAMM +D01hdHRlciBUZXN0IERBQzEUMBIGCisGAQQBgqJ8AgEMBEZGRjExFDASBgorBgEE +AYKifAICDAQwMEIxMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEDjJBlKbsn0Zy +E76fMVrcDL/7Bt4BH/dfwxD51ruARr6nJgyQM1KTTiBa/qfUsmBeiGau3El0T2Qx +/GDg8h0vd6NgMF4wDAYDVR0TAQH/BAIwADAOBgNVHQ8BAf8EBAMCB4AwHQYDVR0O +BBYEFOsEP9dm5Pcz0f24dY1LAINWw+hRMB8GA1UdIwQYMBaAFLAKSO4ly46iX5Vn +6yrKMS+sMKZQMAoGCCqGSM49BAMCA0cAMEQCIDlqS0tY/nZ73BTw7HiwABHAJZmX +oxkiSvvglBdRWYA1AiA3xfwqOCN8vy2MVpLdxal6Q8whAcpXlCa1sxcy/D7EeQ== +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_02/dac-Key.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_02/dac-Key.der new file mode 100644 index 00000000000000..605662e7d86f5a Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_02/dac-Key.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_02/dac-Key.pem b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_02/dac-Key.pem new file mode 100644 index 00000000000000..6a9d99bdbd09af --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_02/dac-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIC5W9Q79UVpUu0Hs+bOwDxiFyK4PqgvYYrE5eT6y6U5koAoGCCqGSM49 +AwEHoUQDQgAEDjJBlKbsn0ZyE76fMVrcDL/7Bt4BH/dfwxD51ruARr6nJgyQM1KT +TiBa/qfUsmBeiGau3El0T2Qx/GDg8h0vdw== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_02/pai-Cert.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_02/pai-Cert.der new file mode 100644 index 00000000000000..e3ef2c59806e7e Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_02/pai-Cert.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_02/pai-Cert.pem b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_02/pai-Cert.pem new file mode 100644 index 00000000000000..f991b111a24358 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_02/pai-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIByzCCAXGgAwIBAgIIaA2BrelEAHQwCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA0MjYw +MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowPTE7MDkGA1UEAwwyQUNNRSBNYXR0ZXIg +RGV2ZWwgUEFJIDVDREE5ODk5IE1waWQ6MDBCMSBNdmlkOkZGRjEwWTATBgcqhkjO +PQIBBggqhkjOPQMBBwNCAARFYW4gYKDnKFbkSOfIFmM3MnEptgOh1xk9Gt4MxLwR +mJ4W5IvEdbx6VSK7aB72QTeBrXtASPGbKVUqXX6k0y4zo2YwZDASBgNVHRMBAf8E +CDAGAQH/AgEBMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUsApI7iXLjqJflWfr +KsoxL6wwplAwHwYDVR0jBBgwFoAUav0idx9RH+y/FkGXZxDc3DGhcX4wCgYIKoZI +zj0EAwIDSAAwRQIgP4xhZR9SMTgihef6DXpjxCL7B9iWtRu+wOHS3X/wPrgCIQCH +MHjxq4XL0pRlfDS2WHID0ObJhyvetJ2aoXZFcKlamA== +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_02/pai-Key.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_02/pai-Key.der new file mode 100644 index 00000000000000..8a6011fadfdc07 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_02/pai-Key.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_02/pai-Key.pem b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_02/pai-Key.pem new file mode 100644 index 00000000000000..0f4a052627fb5e --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_02/pai-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIMwXelSwd1QCXyTg9c6Qu1lZxeUMJcvCnQ2laZMOQGF4oAoGCCqGSM49 +AwEHoUQDQgAERWFuIGCg5yhW5EjnyBZjNzJxKbYDodcZPRreDMS8EZieFuSLxHW8 +elUiu2ge9kE3ga17QEjxmylVKl1+pNMuMw== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_02/test_case_vector.json b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_02/test_case_vector.json new file mode 100644 index 00000000000000..ecea932cea0169 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_02/test_case_vector.json @@ -0,0 +1,9 @@ +{ + "description": "PAI Test Vector: Fallback VID and PID encoding example from spec: valid and recommended since easily human-readable", + "is_success_case": "true", + "dac_cert": "308201da30820181a003020102020844c3d76773e619e6300a06082a8648ce3d040302303d313b303906035504030c3241434d45204d617474657220446576656c20504149203543444139383939204d7069643a30304231204d7669643a464646313020170d3232303432363030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742044414331143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04303042313059301306072a8648ce3d020106082a8648ce3d030107034200040e324194a6ec9f467213be9f315adc0cbffb06de011ff75fc310f9d6bb8046bea7260c903352934e205afea7d4b2605e8866aedc49744f6431fc60e0f21d2f77a360305e300c0603551d130101ff04023000300e0603551d0f0101ff040403020780301d0603551d0e04160414eb043fd766e4f733d1fdb8758d4b008356c3e851301f0603551d23041830168014b00a48ee25cb8ea25f9567eb2aca312fac30a650300a06082a8648ce3d04030203470030440220396a4b4b58fe767bdc14f0ec78b00011c0259997a319224afbe0941751598035022037c5fc2a38237cbf2d8c5692ddc5a97a43cc2101ca579426b5b31732fc3ec479", + "pai_cert": "308201cb30820171a0030201020208680d81ade9440074300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414131143012060a2b0601040182a27c02010c04464646313020170d3232303432363030303030305a180f39393939313233313233353935395a303d313b303906035504030c3241434d45204d617474657220446576656c20504149203543444139383939204d7069643a30304231204d7669643a464646313059301306072a8648ce3d020106082a8648ce3d0301070342000445616e2060a0e72856e448e7c8166337327129b603a1d7193d1ade0cc4bc11989e16e48bc475bc7a5522bb681ef6413781ad7b4048f19b29552a5d7ea4d32e33a366306430120603551d130101ff040830060101ff020101300e0603551d0f0101ff040403020106301d0603551d0e04160414b00a48ee25cb8ea25f9567eb2aca312fac30a650301f0603551d230418301680146afd22771f511fecbf1641976710dcdc31a1717e300a06082a8648ce3d040302034800304502203f8c61651f5231382285e7fa0d7a63c422fb07d896b51bbec0e1d2dd7ff03eb8022100873078f1ab85cbd294657c34b6587203d0e6c9872bdeb49d9aa1764570a95a98", + "certification_declaration": "3081e806092a864886f70d010702a081da3081d7020103310d300b0609608648016503040201304406092a864886f70d010701a0370435152400012501f1ff360204b118250334122c04135a494732303134315a423333303030312d32342405002406002507769824080018317d307b020103801462fa823359acfaa9963e1cfa140addf504f37160300b0609608648016503040201300a06082a8648ce3d04030204473045022029431f456f6300daa80ee3ed50efeeae7859c60e359a5747e3382581bc2e6975022100a880db22d4ab21c0ce31d1151fcabc94dcc84c7b0559c141628eaa8795254b93", + "dac_private_key": "2e56f50efd515a54bb41ecf9b3b00f1885c8ae0faa0bd862b139793eb2e94e64", + "dac_public_key": "040e324194a6ec9f467213be9f315adc0cbffb06de011ff75fc310f9d6bb8046bea7260c903352934e205afea7d4b2605e8866aedc49744f6431fc60e0f21d2f77" +} diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_03/cd.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_03/cd.der new file mode 100644 index 00000000000000..5b676aa358cc7f Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_03/cd.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_03/dac-Cert.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_03/dac-Cert.der new file mode 100644 index 00000000000000..0a7182f9b4a47a Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_03/dac-Cert.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_03/dac-Cert.pem b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_03/dac-Cert.pem new file mode 100644 index 00000000000000..65d5cc54515508 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_03/dac-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIB2jCCAYGgAwIBAgIIdhrM0vpKbn4wCgYIKoZIzj0EAwIwPTE7MDkGA1UEAwwy +TXBpZDowMEIxLEFDTUUgTWF0dGVyIERldmVsIFBBSSA1Q0RBOTg5OSxNdmlkOkZG +RjEwIBcNMjIwNDI2MDAwMDAwWhgPOTk5OTEyMzEyMzU5NTlaMEYxGDAWBgNVBAMM +D01hdHRlciBUZXN0IERBQzEUMBIGCisGAQQBgqJ8AgEMBEZGRjExFDASBgorBgEE +AYKifAICDAQwMEIxMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEY+o/ejueqTD3 +OlD9FbhWiS2td/6GzvnyS1paOqxYb1EOBgvEih75iIveqScrbumVRPL5Y8FSShms +dSPhauQ2GqNgMF4wDAYDVR0TAQH/BAIwADAOBgNVHQ8BAf8EBAMCB4AwHQYDVR0O +BBYEFABv5OT3JDNw26+XIvMRT0x0NUnAMB8GA1UdIwQYMBaAFGfHAhJMp+BHhrbb +5dgW4v3TrAI9MAoGCCqGSM49BAMCA0cAMEQCIEF4S2EQ7r3chtxfD/nmvrOFHDZL +FKWKk4eViSTUt6O9AiB2w0NXSmp2ODVJ8LZcZ2KX124l1OwWhCsa2mx7UFMI6w== +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_03/dac-Key.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_03/dac-Key.der new file mode 100644 index 00000000000000..33787ace308dcf Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_03/dac-Key.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_03/dac-Key.pem b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_03/dac-Key.pem new file mode 100644 index 00000000000000..ecabcc51aa1634 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_03/dac-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIJk13nv5gcRvSc8DoKdKGSW3bEWQtOCcsQVaa4neYrVsoAoGCCqGSM49 +AwEHoUQDQgAEY+o/ejueqTD3OlD9FbhWiS2td/6GzvnyS1paOqxYb1EOBgvEih75 +iIveqScrbumVRPL5Y8FSShmsdSPhauQ2Gg== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_03/pai-Cert.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_03/pai-Cert.der new file mode 100644 index 00000000000000..67f8b2700e3ffa Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_03/pai-Cert.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_03/pai-Cert.pem b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_03/pai-Cert.pem new file mode 100644 index 00000000000000..fd49f7170fd0e7 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_03/pai-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIBzDCCAXGgAwIBAgIIbtFAKVfeaS0wCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA0MjYw +MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowPTE7MDkGA1UEAwwyTXBpZDowMEIxLEFD +TUUgTWF0dGVyIERldmVsIFBBSSA1Q0RBOTg5OSxNdmlkOkZGRjEwWTATBgcqhkjO +PQIBBggqhkjOPQMBBwNCAATgYZeGkDKGF/WkNylbIDtlDeePCsRWgcy1ajH+1s9h +4rPu3G1F8X9agzpwbwQucmikZ4MFESoP/xcqaXf/cVVgo2YwZDASBgNVHRMBAf8E +CDAGAQH/AgEBMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUZ8cCEkyn4EeGttvl +2Bbi/dOsAj0wHwYDVR0jBBgwFoAUav0idx9RH+y/FkGXZxDc3DGhcX4wCgYIKoZI +zj0EAwIDSQAwRgIhALZ2x5tTVUge/r17tB8h6MYvvYwNwFNor1h96pU9la4MAiEA +/dp4DAz182k5O/0mMRxE+ph142zz6YqeKYTi44BAAG8= +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_03/pai-Key.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_03/pai-Key.der new file mode 100644 index 00000000000000..fed6e7d37092ad Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_03/pai-Key.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_03/pai-Key.pem b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_03/pai-Key.pem new file mode 100644 index 00000000000000..80fc4e7291dd3e --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_03/pai-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIFVYA7mysZJF6hirtCnAsGw1xkTv+OdQudwmHzy9o9WhoAoGCCqGSM49 +AwEHoUQDQgAE4GGXhpAyhhf1pDcpWyA7ZQ3njwrEVoHMtWox/tbPYeKz7txtRfF/ +WoM6cG8ELnJopGeDBREqD/8XKml3/3FVYA== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_03/test_case_vector.json b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_03/test_case_vector.json new file mode 100644 index 00000000000000..cf61bfb1b5b094 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_03/test_case_vector.json @@ -0,0 +1,9 @@ +{ + "description": "PAI Test Vector: Fallback VID and PID encoding example from spec: valid example showing that order or separators are not considered at all for the overall validity of the embedded fields", + "is_success_case": "true", + "dac_cert": "308201da30820181a0030201020208761accd2fa4a6e7e300a06082a8648ce3d040302303d313b303906035504030c324d7069643a303042312c41434d45204d617474657220446576656c205041492035434441393839392c4d7669643a464646313020170d3232303432363030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742044414331143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04303042313059301306072a8648ce3d020106082a8648ce3d0301070342000463ea3f7a3b9ea930f73a50fd15b856892dad77fe86cef9f24b5a5a3aac586f510e060bc48a1ef9888bdea9272b6ee99544f2f963c1524a19ac7523e16ae4361aa360305e300c0603551d130101ff04023000300e0603551d0f0101ff040403020780301d0603551d0e04160414006fe4e4f7243370dbaf9722f3114f4c743549c0301f0603551d2304183016801467c702124ca7e04786b6dbe5d816e2fdd3ac023d300a06082a8648ce3d0403020347003044022041784b6110eebddc86dc5f0ff9e6beb3851c364b14a58a9387958924d4b7a3bd022076c343574a6a76383549f0b65c676297d76e25d4ec16842b1ada6c7b505308eb", + "pai_cert": "308201cc30820171a00302010202086ed1402957de692d300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414131143012060a2b0601040182a27c02010c04464646313020170d3232303432363030303030305a180f39393939313233313233353935395a303d313b303906035504030c324d7069643a303042312c41434d45204d617474657220446576656c205041492035434441393839392c4d7669643a464646313059301306072a8648ce3d020106082a8648ce3d03010703420004e061978690328617f5a437295b203b650de78f0ac45681ccb56a31fed6cf61e2b3eedc6d45f17f5a833a706f042e7268a4678305112a0fff172a6977ff715560a366306430120603551d130101ff040830060101ff020101300e0603551d0f0101ff040403020106301d0603551d0e0416041467c702124ca7e04786b6dbe5d816e2fdd3ac023d301f0603551d230418301680146afd22771f511fecbf1641976710dcdc31a1717e300a06082a8648ce3d0403020349003046022100b676c79b5355481efebd7bb41f21e8c62fbd8c0dc05368af587dea953d95ae0c022100fdda780c0cf5f369393bfd26311c44fa9875e36cf3e98a9e2984e2e38040006f", + "certification_declaration": "3081e906092a864886f70d010702a081db3081d8020103310d300b0609608648016503040201304406092a864886f70d010701a0370435152400012501f1ff360204b118250334122c04135a494732303134315a423333303030312d32342405002406002507769824080018317e307c020103801462fa823359acfaa9963e1cfa140addf504f37160300b0609608648016503040201300a06082a8648ce3d040302044830460221009c5b3aaf0d6b791fc2e6a0bff4d2a89a1a4cc6a26dc2e0170251770abedeed15022100a6eb35c80095141e1313aaa533af268fd85e33d7a9622fa609447a34ce1cb166", + "dac_private_key": "9935de7bf981c46f49cf03a0a74a1925b76c4590b4e09cb1055a6b89de62b56c", + "dac_public_key": "0463ea3f7a3b9ea930f73a50fd15b856892dad77fe86cef9f24b5a5a3aac586f510e060bc48a1ef9888bdea9272b6ee99544f2f963c1524a19ac7523e16ae4361a" +} diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_04/cd.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_04/cd.der new file mode 100644 index 00000000000000..d9a64470e1f146 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_04/cd.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_04/dac-Cert.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_04/dac-Cert.der new file mode 100644 index 00000000000000..0fc1b56b0e9bea Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_04/dac-Cert.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_04/dac-Cert.pem b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_04/dac-Cert.pem new file mode 100644 index 00000000000000..375b53b19ae085 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_04/dac-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIB2TCCAYCgAwIBAgIISz4jQKYEhbQwCgYIKoZIzj0EAwIwPDE6MDgGA1UEAwwx +QUNNRSBNYXR0ZXIgRGV2ZWwgUEFJIDVDREE5ODk5IE12aWQ6RkZGMU1waWQ6MDBC +MTAgFw0yMjA0MjYwMDAwMDBaGA85OTk5MTIzMTIzNTk1OVowRjEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgREFDMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQB +gqJ8AgIMBDAwQjEwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAARCAbHwhHx7NO8a +9G4t5iOaZO1eUk0rCp6JqN7cg5aDt9zP7SZ2WFrEv2K0xbGcgYFFMQDj08e6fjKN +PNGySW/Mo2AwXjAMBgNVHRMBAf8EAjAAMA4GA1UdDwEB/wQEAwIHgDAdBgNVHQ4E +FgQU907/Shbf8N6a20JgWZm6Z7BYdqYwHwYDVR0jBBgwFoAUUeeFcbyYiKv+h14B +93huj1U9Ns4wCgYIKoZIzj0EAwIDRwAwRAIgK02xc0Jn2M/SzQ4AqfZNPyVGN3D0 +9NFOp3yeyCaAnQcCIA9D+lyVsl8PIAPjo84WtJgbl6i4cYHN5NsadEDOnxUD +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_04/dac-Key.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_04/dac-Key.der new file mode 100644 index 00000000000000..b07ed544a57b5e Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_04/dac-Key.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_04/dac-Key.pem b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_04/dac-Key.pem new file mode 100644 index 00000000000000..80e11d941da0b1 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_04/dac-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIOlvBBNBR3y0HvqHT8HxORxc1vmLKyZXUh20aAUqt3aqoAoGCCqGSM49 +AwEHoUQDQgAEQgGx8IR8ezTvGvRuLeYjmmTtXlJNKwqeiaje3IOWg7fcz+0mdlha +xL9itMWxnIGBRTEA49PHun4yjTzRsklvzA== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_04/pai-Cert.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_04/pai-Cert.der new file mode 100644 index 00000000000000..05dac3e5c03328 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_04/pai-Cert.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_04/pai-Cert.pem b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_04/pai-Cert.pem new file mode 100644 index 00000000000000..fc684df5c03c8a --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_04/pai-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIByjCCAXCgAwIBAgIICYnn4yHkPDIwCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA0MjYw +MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowPDE6MDgGA1UEAwwxQUNNRSBNYXR0ZXIg +RGV2ZWwgUEFJIDVDREE5ODk5IE12aWQ6RkZGMU1waWQ6MDBCMTBZMBMGByqGSM49 +AgEGCCqGSM49AwEHA0IABHsdr5vAG9ATHJW5aFmVP3DXJerjmyIda2XomjZBa0bK +8KV1jaoneQDW6vRVMbiu4wy0HOYTK5K4zFCAXCv/6VmjZjBkMBIGA1UdEwEB/wQI +MAYBAf8CAQEwDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBRR54VxvJiIq/6HXgH3 +eG6PVT02zjAfBgNVHSMEGDAWgBRq/SJ3H1Ef7L8WQZdnENzcMaFxfjAKBggqhkjO +PQQDAgNIADBFAiEAwWiVk5YtfnnU6IlZ2EdAznVf7HfkEqFdL4o1Xuk4GNQCIGps +DQ2ATk1yWPOy0rpE/hOwm+B2I4MTlM8dPK48lQLm +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_04/pai-Key.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_04/pai-Key.der new file mode 100644 index 00000000000000..a1fdb37a2ddd4a Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_04/pai-Key.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_04/pai-Key.pem b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_04/pai-Key.pem new file mode 100644 index 00000000000000..551c68e53d42af --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_04/pai-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEICShO6KDwKb7mREJnZFruaMQ1PSTwhe+Q+SHvcQKtWrkoAoGCCqGSM49 +AwEHoUQDQgAEex2vm8Ab0BMclbloWZU/cNcl6uObIh1rZeiaNkFrRsrwpXWNqid5 +ANbq9FUxuK7jDLQc5hMrkrjMUIBcK//pWQ== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_04/test_case_vector.json b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_04/test_case_vector.json new file mode 100644 index 00000000000000..63a61008e06485 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_04/test_case_vector.json @@ -0,0 +1,9 @@ +{ + "description": "PAI Test Vector: Fallback VID and PID encoding example from spec: valid, but less readable", + "is_success_case": "true", + "dac_cert": "308201d930820180a00302010202084b3e2340a60485b4300a06082a8648ce3d040302303c313a303806035504030c3141434d45204d617474657220446576656c20504149203543444139383939204d7669643a464646314d7069643a303042313020170d3232303432363030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742044414331143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04303042313059301306072a8648ce3d020106082a8648ce3d030107034200044201b1f0847c7b34ef1af46e2de6239a64ed5e524d2b0a9e89a8dedc839683b7dccfed2676585ac4bf62b4c5b19c8181453100e3d3c7ba7e328d3cd1b2496fcca360305e300c0603551d130101ff04023000300e0603551d0f0101ff040403020780301d0603551d0e04160414f74eff4a16dff0de9adb42605999ba67b05876a6301f0603551d2304183016801451e78571bc9888abfe875e01f7786e8f553d36ce300a06082a8648ce3d040302034700304402202b4db1734267d8cfd2cd0e00a9f64d3f25463770f4f4d14ea77c9ec826809d0702200f43fa5c95b25f0f2003e3a3ce16b4981b97a8b87181cde4db1a7440ce9f1503", + "pai_cert": "308201ca30820170a00302010202080989e7e321e43c32300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414131143012060a2b0601040182a27c02010c04464646313020170d3232303432363030303030305a180f39393939313233313233353935395a303c313a303806035504030c3141434d45204d617474657220446576656c20504149203543444139383939204d7669643a464646314d7069643a303042313059301306072a8648ce3d020106082a8648ce3d030107034200047b1daf9bc01bd0131c95b96859953f70d725eae39b221d6b65e89a36416b46caf0a5758daa277900d6eaf45531b8aee30cb41ce6132b92b8cc50805c2bffe959a366306430120603551d130101ff040830060101ff020101300e0603551d0f0101ff040403020106301d0603551d0e0416041451e78571bc9888abfe875e01f7786e8f553d36ce301f0603551d230418301680146afd22771f511fecbf1641976710dcdc31a1717e300a06082a8648ce3d0403020348003045022100c1689593962d7e79d4e88959d84740ce755fec77e412a15d2f8a355ee93818d402206a6c0d0d804e4d7258f3b2d2ba44fe13b09be07623831394cf1d3cae3c9502e6", + "certification_declaration": "3081e706092a864886f70d010702a081d93081d6020103310d300b0609608648016503040201304406092a864886f70d010701a0370435152400012501f1ff360204b118250334122c04135a494732303134315a423333303030312d32342405002406002507769824080018317c307a020103801462fa823359acfaa9963e1cfa140addf504f37160300b0609608648016503040201300a06082a8648ce3d04030204463044022051705b5e1cafae17429cab045bd72ddeb367c42fb0885db889f31f4173f7c7ff02205588e0de8417d085581ad20b8356f8eee2be0b43915e5754676585332d25d244", + "dac_private_key": "e96f041341477cb41efa874fc1f1391c5cd6f98b2b2657521db468052ab776aa", + "dac_public_key": "044201b1f0847c7b34ef1af46e2de6239a64ed5e524d2b0a9e89a8dedc839683b7dccfed2676585ac4bf62b4c5b19c8181453100e3d3c7ba7e328d3cd1b2496fcc" +} diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_05/cd.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_05/cd.der new file mode 100644 index 00000000000000..56471dc1fe00ad Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_05/cd.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_05/dac-Cert.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_05/dac-Cert.der new file mode 100644 index 00000000000000..95a09623105aed Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_05/dac-Cert.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_05/dac-Cert.pem b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_05/dac-Cert.pem new file mode 100644 index 00000000000000..5b75f40191d7b6 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_05/dac-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIB2TCCAX+gAwIBAgIIEfL1+DrVPVQwCgYIKoZIzj0EAwIwOzE5MDcGA1UEAwww +TXZpZDpGRkYxQUNNRSBNYXR0ZXIgRGV2ZWwgUEFJIDVDREFNcGlkOjAwQjE5ODk5 +MCAXDTIyMDQyNjAwMDAwMFoYDzk5OTkxMjMxMjM1OTU5WjBGMRgwFgYDVQQDDA9N +YXR0ZXIgVGVzdCBEQUMxFDASBgorBgEEAYKifAIBDARGRkYxMRQwEgYKKwYBBAGC +onwCAgwEMDBCMTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABDeVSKUQ2yaplw8e +vf9z+TEOE+c25KtzyJaucM2DG4uyGcAOq2cHt7Tz9qPkJ03AYgNYcQvCxUL6pJnw +JOoqsbWjYDBeMAwGA1UdEwEB/wQCMAAwDgYDVR0PAQH/BAQDAgeAMB0GA1UdDgQW +BBTUmfe6+pbulJkh/Y0okYw8Kv3uzTAfBgNVHSMEGDAWgBSWPHCs3Kw9sqkA2vwY +9X+TH6bV5TAKBggqhkjOPQQDAgNIADBFAiEAvO868ML1Qewl5ZK6lFdMU73P8znD +7JfXJzQmHepasAkCIHehY+G4puEqWSXe69P17d4SvuRjo+UoYicIWHoBAqjF +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_05/dac-Key.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_05/dac-Key.der new file mode 100644 index 00000000000000..49fcc40d7a69f8 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_05/dac-Key.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_05/dac-Key.pem b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_05/dac-Key.pem new file mode 100644 index 00000000000000..c1f5192be5a7ac --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_05/dac-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIBwpRFRQYqwOjz4b1m1YzF1vkZ5TAgBl5Hf1QmuvCbTXoAoGCCqGSM49 +AwEHoUQDQgAEN5VIpRDbJqmXDx69/3P5MQ4T5zbkq3PIlq5wzYMbi7IZwA6rZwe3 +tPP2o+QnTcBiA1hxC8LFQvqkmfAk6iqxtQ== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_05/pai-Cert.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_05/pai-Cert.der new file mode 100644 index 00000000000000..93f3039c7540f3 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_05/pai-Cert.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_05/pai-Cert.pem b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_05/pai-Cert.pem new file mode 100644 index 00000000000000..bfc3e26709415c --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_05/pai-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIByTCCAW+gAwIBAgIIdiAuwg211FAwCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA0MjYw +MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowOzE5MDcGA1UEAwwwTXZpZDpGRkYxQUNN +RSBNYXR0ZXIgRGV2ZWwgUEFJIDVDREFNcGlkOjAwQjE5ODk5MFkwEwYHKoZIzj0C +AQYIKoZIzj0DAQcDQgAErqaQ/uwmeO9WtSa3g6YEqaCctdijwIpzo4VU1+DCWtzh +RfkkmhGLYigiSPXJQ9K3kDGCidRL7uN8HaHq88h0AaNmMGQwEgYDVR0TAQH/BAgw +BgEB/wIBATAOBgNVHQ8BAf8EBAMCAQYwHQYDVR0OBBYEFJY8cKzcrD2yqQDa/Bj1 +f5MfptXlMB8GA1UdIwQYMBaAFGr9IncfUR/svxZBl2cQ3NwxoXF+MAoGCCqGSM49 +BAMCA0gAMEUCIQCivuV+LZzohupspr6cF06bxLnKzXr6Avkq4S/G4ZA92AIgUXDx +E5fjIZRlFudPyi1K1UHqDlUU2ARAnB3x+KK1wMs= +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_05/pai-Key.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_05/pai-Key.der new file mode 100644 index 00000000000000..ded399851d776a Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_05/pai-Key.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_05/pai-Key.pem b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_05/pai-Key.pem new file mode 100644 index 00000000000000..c0053bd9f7291a --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_05/pai-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIPPx1XNMIlV3hJC6GMLwyPIh4c8xMIgnBUnbThesSOE5oAoGCCqGSM49 +AwEHoUQDQgAErqaQ/uwmeO9WtSa3g6YEqaCctdijwIpzo4VU1+DCWtzhRfkkmhGL +YigiSPXJQ9K3kDGCidRL7uN8HaHq88h0AQ== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_05/test_case_vector.json b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_05/test_case_vector.json new file mode 100644 index 00000000000000..8be57ef22b8665 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_05/test_case_vector.json @@ -0,0 +1,9 @@ +{ + "description": "PAI Test Vector: Fallback VID and PID encoding example from spec: valid, but highly discouraged, since embedding of substrings within other substrings may be confusing to human readers", + "is_success_case": "true", + "dac_cert": "308201d93082017fa003020102020811f2f5f83ad53d54300a06082a8648ce3d040302303b3139303706035504030c304d7669643a4646463141434d45204d617474657220446576656c2050414920354344414d7069643a30304231393839393020170d3232303432363030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742044414331143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04303042313059301306072a8648ce3d020106082a8648ce3d03010703420004379548a510db26a9970f1ebdff73f9310e13e736e4ab73c896ae70cd831b8bb219c00eab6707b7b4f3f6a3e4274dc0620358710bc2c542faa499f024ea2ab1b5a360305e300c0603551d130101ff04023000300e0603551d0f0101ff040403020780301d0603551d0e04160414d499f7bafa96ee949921fd8d28918c3c2afdeecd301f0603551d23041830168014963c70acdcac3db2a900dafc18f57f931fa6d5e5300a06082a8648ce3d0403020348003045022100bcef3af0c2f541ec25e592ba94574c53bdcff339c3ec97d72734261dea5ab009022077a163e1b8a6e12a5925deebd3f5edde12bee463a3e528622708587a0102a8c5", + "pai_cert": "308201c93082016fa003020102020876202ec20db5d450300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414131143012060a2b0601040182a27c02010c04464646313020170d3232303432363030303030305a180f39393939313233313233353935395a303b3139303706035504030c304d7669643a4646463141434d45204d617474657220446576656c2050414920354344414d7069643a30304231393839393059301306072a8648ce3d020106082a8648ce3d03010703420004aea690feec2678ef56b526b783a604a9a09cb5d8a3c08a73a38554d7e0c25adce145f9249a118b62282248f5c943d2b790318289d44beee37c1da1eaf3c87401a366306430120603551d130101ff040830060101ff020101300e0603551d0f0101ff040403020106301d0603551d0e04160414963c70acdcac3db2a900dafc18f57f931fa6d5e5301f0603551d230418301680146afd22771f511fecbf1641976710dcdc31a1717e300a06082a8648ce3d0403020348003045022100a2bee57e2d9ce886ea6ca6be9c174e9bc4b9cacd7afa02f92ae12fc6e1903dd802205170f11397e321946516e74fca2d4ad541ea0e5514d804409c1df1f8a2b5c0cb", + "certification_declaration": "3081e906092a864886f70d010702a081db3081d8020103310d300b0609608648016503040201304406092a864886f70d010701a0370435152400012501f1ff360204b118250334122c04135a494732303134315a423333303030312d32342405002406002507769824080018317e307c020103801462fa823359acfaa9963e1cfa140addf504f37160300b0609608648016503040201300a06082a8648ce3d04030204483046022100987cc5f60c64e2e2f7293d7a86c67b4e8adc169364eb20ccb99412fe80624562022100d0a5f78a6088a5f829637e9e21dc3c7ed81a2b4056264e7105a9b7136410126a", + "dac_private_key": "1c2944545062ac0e8f3e1bd66d58cc5d6f919e53020065e477f5426baf09b4d7", + "dac_public_key": "04379548a510db26a9970f1ebdff73f9310e13e736e4ab73c896ae70cd831b8bb219c00eab6707b7b4f3f6a3e4274dc0620358710bc2c542faa499f024ea2ab1b5" +} diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_06/cd.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_06/cd.der new file mode 100644 index 00000000000000..65288d6a4d76fb Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_06/cd.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_06/dac-Cert.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_06/dac-Cert.der new file mode 100644 index 00000000000000..eca523ad250d82 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_06/dac-Cert.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_06/dac-Cert.pem b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_06/dac-Cert.pem new file mode 100644 index 00000000000000..bad92cdbd9a7c3 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_06/dac-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIB2jCCAYCgAwIBAgIIcYHgrw7hftkwCgYIKoZIzj0EAwIwPDE6MDgGA1UEAwwx +QUNNRSBNYXR0ZXIgRGV2ZWwgUEFJIDVDREE5ODk5IE12aWQ6RkYxIE1waWQ6MDBC +MTAgFw0yMjA0MjYwMDAwMDBaGA85OTk5MTIzMTIzNTk1OVowRjEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgREFDMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQB +gqJ8AgIMBDAwQjEwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAR1M7GiDZMLlhlV +iOcEanv7449W0ctaVgD1F9JVrYnMtTc8LrZuyE+y1PKFhI0Lx77abCWzz8+O0N0A +62BxLXl/o2AwXjAMBgNVHRMBAf8EAjAAMA4GA1UdDwEB/wQEAwIHgDAdBgNVHQ4E +FgQUJ/LmVKg2NWVJBaVLHi42RmjIgZQwHwYDVR0jBBgwFoAU8SHC3MWnwIBI7xmU +qc1P154sxbwwCgYIKoZIzj0EAwIDSAAwRQIgL7Sj3ALYitpNlgjoaJA0jAxm5+bd +pw3Acu+Mx3w0Q24CIQDf/SsDDsrUPBSZhNUGzHqynXLATY5k1qXZ0w+hQtdzxA== +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_06/dac-Key.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_06/dac-Key.der new file mode 100644 index 00000000000000..3bdd66b3b8ee7f Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_06/dac-Key.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_06/dac-Key.pem b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_06/dac-Key.pem new file mode 100644 index 00000000000000..e9ea8da085cf04 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_06/dac-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIAahUwfljT3bbI/XdZ1s6vw1szHffWyUDfy/yKgCcgmwoAoGCCqGSM49 +AwEHoUQDQgAEdTOxog2TC5YZVYjnBGp7++OPVtHLWlYA9RfSVa2JzLU3PC62bshP +stTyhYSNC8e+2mwls8/PjtDdAOtgcS15fw== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_06/pai-Cert.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_06/pai-Cert.der new file mode 100644 index 00000000000000..a64e91ec491f68 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_06/pai-Cert.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_06/pai-Cert.pem b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_06/pai-Cert.pem new file mode 100644 index 00000000000000..e16e8dbef0a380 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_06/pai-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIByjCCAXCgAwIBAgIINiU96XmJW7QwCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA0MjYw +MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowPDE6MDgGA1UEAwwxQUNNRSBNYXR0ZXIg +RGV2ZWwgUEFJIDVDREE5ODk5IE12aWQ6RkYxIE1waWQ6MDBCMTBZMBMGByqGSM49 +AgEGCCqGSM49AwEHA0IABGf2xRU3gddyoPyR/4Ra6LXnKUw4ij+XJRHe56T5Gta3 +Nk5bGeh+8ZxUQ31MCzmQ1GhRcTBqmMUdNxBb7RAiYY2jZjBkMBIGA1UdEwEB/wQI +MAYBAf8CAQEwDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBTxIcLcxafAgEjvGZSp +zU/XnizFvDAfBgNVHSMEGDAWgBRq/SJ3H1Ef7L8WQZdnENzcMaFxfjAKBggqhkjO +PQQDAgNIADBFAiEAnXQdYiaWxxGjX3jU/mOmAHMmnpkRV/G6H5ztvts5OTMCIDGX +d57TgtPJTOfDD59QPKFfzIBXqroZ1htsZmcXth9m +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_06/pai-Key.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_06/pai-Key.der new file mode 100644 index 00000000000000..86bc1e3b1cd551 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_06/pai-Key.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_06/pai-Key.pem b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_06/pai-Key.pem new file mode 100644 index 00000000000000..4f976401bf05d1 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_06/pai-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIJXex4pXG7Q5oXUEyZwLpRZ7euSmXC8yDv0TN7q0666roAoGCCqGSM49 +AwEHoUQDQgAEZ/bFFTeB13Kg/JH/hFrotecpTDiKP5clEd7npPka1rc2TlsZ6H7x +nFRDfUwLOZDUaFFxMGqYxR03EFvtECJhjQ== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_06/test_case_vector.json b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_06/test_case_vector.json new file mode 100644 index 00000000000000..7e67b313f80969 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_06/test_case_vector.json @@ -0,0 +1,9 @@ +{ + "description": "PAI Test Vector: Fallback VID and PID encoding example from spec: invalid, since substring following Mvid: is not exactly 4 uppercase hexadecimal digits", + "is_success_case": "false", + "dac_cert": "308201da30820180a00302010202087181e0af0ee17ed9300a06082a8648ce3d040302303c313a303806035504030c3141434d45204d617474657220446576656c20504149203543444139383939204d7669643a464631204d7069643a303042313020170d3232303432363030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742044414331143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04303042313059301306072a8648ce3d020106082a8648ce3d030107034200047533b1a20d930b96195588e7046a7bfbe38f56d1cb5a5600f517d255ad89ccb5373c2eb66ec84fb2d4f285848d0bc7beda6c25b3cfcf8ed0dd00eb60712d797fa360305e300c0603551d130101ff04023000300e0603551d0f0101ff040403020780301d0603551d0e0416041427f2e654a83635654905a54b1e2e364668c88194301f0603551d23041830168014f121c2dcc5a7c08048ef1994a9cd4fd79e2cc5bc300a06082a8648ce3d040302034800304502202fb4a3dc02d88ada4d9608e86890348c0c66e7e6dda70dc072ef8cc77c34436e022100dffd2b030ecad43c149984d506cc7ab29d72c04d8e64d6a5d9d30fa142d773c4", + "pai_cert": "308201ca30820170a003020102020836253de979895bb4300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414131143012060a2b0601040182a27c02010c04464646313020170d3232303432363030303030305a180f39393939313233313233353935395a303c313a303806035504030c3141434d45204d617474657220446576656c20504149203543444139383939204d7669643a464631204d7069643a303042313059301306072a8648ce3d020106082a8648ce3d0301070342000467f6c5153781d772a0fc91ff845ae8b5e7294c388a3f972511dee7a4f91ad6b7364e5b19e87ef19c54437d4c0b3990d4685171306a98c51d37105bed1022618da366306430120603551d130101ff040830060101ff020101300e0603551d0f0101ff040403020106301d0603551d0e04160414f121c2dcc5a7c08048ef1994a9cd4fd79e2cc5bc301f0603551d230418301680146afd22771f511fecbf1641976710dcdc31a1717e300a06082a8648ce3d04030203480030450221009d741d622696c711a35f78d4fe63a60073269e991157f1ba1f9cedbedb39393302203197779ed382d3c94ce7c30f9f503ca15fcc8057aaba19d61b6c666717b61f66", + "certification_declaration": "3081e806092a864886f70d010702a081da3081d7020103310d300b0609608648016503040201304406092a864886f70d010701a0370435152400012501f1ff360204b118250334122c04135a494732303134315a423333303030312d32342405002406002507769824080018317d307b020103801462fa823359acfaa9963e1cfa140addf504f37160300b0609608648016503040201300a06082a8648ce3d0403020447304502207459a61ef788f81f603ad09c636ee5bc08104337bd7232ff18a67de790fc9162022100c2edf2f726d8bbff61aa1ee51ab612196f219411ce13960eb12d693eca99ae74", + "dac_private_key": "06a15307e58d3ddb6c8fd7759d6ceafc35b331df7d6c940dfcbfc8a8027209b0", + "dac_public_key": "047533b1a20d930b96195588e7046a7bfbe38f56d1cb5a5600f517d255ad89ccb5373c2eb66ec84fb2d4f285848d0bc7beda6c25b3cfcf8ed0dd00eb60712d797f" +} diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_07/cd.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_07/cd.der new file mode 100644 index 00000000000000..a00f657fc2ace2 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_07/cd.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_07/dac-Cert.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_07/dac-Cert.der new file mode 100644 index 00000000000000..09a520d100ef71 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_07/dac-Cert.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_07/dac-Cert.pem b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_07/dac-Cert.pem new file mode 100644 index 00000000000000..53efde115e9d29 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_07/dac-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIB2zCCAYGgAwIBAgIIUv4C66MtyOAwCgYIKoZIzj0EAwIwPTE7MDkGA1UEAwwy +QUNNRSBNYXR0ZXIgRGV2ZWwgUEFJIDVDREE5ODk5IE12aWQ6ZmZmMSBNcGlkOjAw +QjEwIBcNMjIwNDI2MDAwMDAwWhgPOTk5OTEyMzEyMzU5NTlaMEYxGDAWBgNVBAMM +D01hdHRlciBUZXN0IERBQzEUMBIGCisGAQQBgqJ8AgEMBEZGRjExFDASBgorBgEE +AYKifAICDAQwMEIxMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEgNc1wT2D4Asg +/Q9Ro+HI/YqwrsJxYlFQYekoEvJel31H8VpankXZlE4xB/u3J9FXdzFDbuNvYWzP +UXmWygrC36NgMF4wDAYDVR0TAQH/BAIwADAOBgNVHQ8BAf8EBAMCB4AwHQYDVR0O +BBYEFFnU6HIX3tvbrJJD8KPrQ81nJToHMB8GA1UdIwQYMBaAFILAErgm9J3dVYDt +05NGu/QeRdqxMAoGCCqGSM49BAMCA0gAMEUCIHq4W7Lr8wrppxyhtVWp3EZ+WAqI +XXMFWXAFyRVm1ks/AiEA92sL8koVDDvsKubF+0UXg/znLxX5xWxUZxUjd3Z6ua8= +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_07/dac-Key.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_07/dac-Key.der new file mode 100644 index 00000000000000..64d944489bb3db Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_07/dac-Key.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_07/dac-Key.pem b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_07/dac-Key.pem new file mode 100644 index 00000000000000..c266c35a73bfc2 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_07/dac-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIDHVQmw8OLBHHnF0RM85zbvStw2/Safz9z2BX1bCrh4WoAoGCCqGSM49 +AwEHoUQDQgAEgNc1wT2D4Asg/Q9Ro+HI/YqwrsJxYlFQYekoEvJel31H8VpankXZ +lE4xB/u3J9FXdzFDbuNvYWzPUXmWygrC3w== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_07/pai-Cert.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_07/pai-Cert.der new file mode 100644 index 00000000000000..2509b59478ed23 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_07/pai-Cert.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_07/pai-Cert.pem b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_07/pai-Cert.pem new file mode 100644 index 00000000000000..e2ab5d4dcc07df --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_07/pai-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIBzDCCAXGgAwIBAgIIJdqBy8pYfVswCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA0MjYw +MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowPTE7MDkGA1UEAwwyQUNNRSBNYXR0ZXIg +RGV2ZWwgUEFJIDVDREE5ODk5IE12aWQ6ZmZmMSBNcGlkOjAwQjEwWTATBgcqhkjO +PQIBBggqhkjOPQMBBwNCAAR9pkt01FEQ793SPm2CkZ9qzYmoLPbBcUpovS31Zj2r +fsEZqTk1D8UNj0xdbWPmTTbQGHaJ4OIQ++HfCzQJyUDFo2YwZDASBgNVHRMBAf8E +CDAGAQH/AgEBMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUgsASuCb0nd1VgO3T +k0a79B5F2rEwHwYDVR0jBBgwFoAUav0idx9RH+y/FkGXZxDc3DGhcX4wCgYIKoZI +zj0EAwIDSQAwRgIhAPZOfTDhie8bTB8XFfAgZfJcldpDS/7Uw34JZGPrBzAFAiEA +6raQso+szvdCxmFzBX0VzqL+4AtSq+F7fuZxkHhrL3M= +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_07/pai-Key.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_07/pai-Key.der new file mode 100644 index 00000000000000..168d5fc233e22d Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_07/pai-Key.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_07/pai-Key.pem b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_07/pai-Key.pem new file mode 100644 index 00000000000000..f8cb918dbaf37c --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_07/pai-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIH8g/3Xng1EcUJ84fxKDUdk1IW34cXhGK4e/bvC+TZWloAoGCCqGSM49 +AwEHoUQDQgAEfaZLdNRREO/d0j5tgpGfas2JqCz2wXFKaL0t9WY9q37BGak5NQ/F +DY9MXW1j5k020Bh2ieDiEPvh3ws0CclAxQ== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_07/test_case_vector.json b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_07/test_case_vector.json new file mode 100644 index 00000000000000..6749e289bef619 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_07/test_case_vector.json @@ -0,0 +1,9 @@ +{ + "description": "PAI Test Vector: Fallback VID and PID encoding example from spec: invalid, since substring following Mvid: is not exactly 4 uppercase hexadecimal digits", + "is_success_case": "false", + "dac_cert": "308201db30820181a003020102020852fe02eba32dc8e0300a06082a8648ce3d040302303d313b303906035504030c3241434d45204d617474657220446576656c20504149203543444139383939204d7669643a66666631204d7069643a303042313020170d3232303432363030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742044414331143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04303042313059301306072a8648ce3d020106082a8648ce3d0301070342000480d735c13d83e00b20fd0f51a3e1c8fd8ab0aec27162515061e92812f25e977d47f15a5a9e45d9944e3107fbb727d1577731436ee36f616ccf517996ca0ac2dfa360305e300c0603551d130101ff04023000300e0603551d0f0101ff040403020780301d0603551d0e0416041459d4e87217dedbdbac9243f0a3eb43cd67253a07301f0603551d2304183016801482c012b826f49ddd5580edd39346bbf41e45dab1300a06082a8648ce3d040302034800304502207ab85bb2ebf30ae9a71ca1b555a9dc467e580a885d7305597005c91566d64b3f022100f76b0bf24a150c3bec2ae6c5fb451783fce72f15f9c56c5467152377767ab9af", + "pai_cert": "308201cc30820171a003020102020825da81cbca587d5b300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414131143012060a2b0601040182a27c02010c04464646313020170d3232303432363030303030305a180f39393939313233313233353935395a303d313b303906035504030c3241434d45204d617474657220446576656c20504149203543444139383939204d7669643a66666631204d7069643a303042313059301306072a8648ce3d020106082a8648ce3d030107034200047da64b74d45110efddd23e6d82919f6acd89a82cf6c1714a68bd2df5663dab7ec119a939350fc50d8f4c5d6d63e64d36d0187689e0e210fbe1df0b3409c940c5a366306430120603551d130101ff040830060101ff020101300e0603551d0f0101ff040403020106301d0603551d0e0416041482c012b826f49ddd5580edd39346bbf41e45dab1301f0603551d230418301680146afd22771f511fecbf1641976710dcdc31a1717e300a06082a8648ce3d0403020349003046022100f64e7d30e189ef1b4c1f1715f02065f25c95da434bfed4c37e096463eb073005022100eab690b28faccef742c66173057d15cea2fee00b52abe17b7ee67190786b2f73", + "certification_declaration": "3081e806092a864886f70d010702a081da3081d7020103310d300b0609608648016503040201304406092a864886f70d010701a0370435152400012501f1ff360204b118250334122c04135a494732303134315a423333303030312d32342405002406002507769824080018317d307b020103801462fa823359acfaa9963e1cfa140addf504f37160300b0609608648016503040201300a06082a8648ce3d0403020447304502206a29cd43a2ef5ddd4888871ad80780bc68beb131dfda05164dc7fd020f42ba9702210094176364681750bf624a6f4f4b6a446b2411c3ef2f8774d240ddd6d2b288fd01", + "dac_private_key": "31d5426c3c38b0471e717444cf39cdbbd2b70dbf49a7f3f73d815f56c2ae1e16", + "dac_public_key": "0480d735c13d83e00b20fd0f51a3e1c8fd8ab0aec27162515061e92812f25e977d47f15a5a9e45d9944e3107fbb727d1577731436ee36f616ccf517996ca0ac2df" +} diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_08/cd.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_08/cd.der new file mode 100644 index 00000000000000..420ffdea253a36 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_08/cd.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_08/dac-Cert.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_08/dac-Cert.der new file mode 100644 index 00000000000000..b952325b34a490 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_08/dac-Cert.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_08/dac-Cert.pem b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_08/dac-Cert.pem new file mode 100644 index 00000000000000..d621e7fd6a1c83 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_08/dac-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIB2TCCAX+gAwIBAgIIaFZ8/Qjzb0UwCgYIKoZIzj0EAwIwOzE5MDcGA1UEAwww +QUNNRSBNYXR0ZXIgRGV2ZWwgUEFJIDVDREE5ODk5IE12aWQ6RkZGMSBNcGlkOkIx +MCAXDTIyMDQyNjAwMDAwMFoYDzk5OTkxMjMxMjM1OTU5WjBGMRgwFgYDVQQDDA9N +YXR0ZXIgVGVzdCBEQUMxFDASBgorBgEEAYKifAIBDARGRkYxMRQwEgYKKwYBBAGC +onwCAgwEMDBCMTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABOEvJ6qnb2wx3dUQ +W77+RxOmgMVWIYIgEGhminNLTTRjWPfsN8qwjbZWeBRwLsAjHPLZNSzTzXjfV4W4 +G/O2aFyjYDBeMAwGA1UdEwEB/wQCMAAwDgYDVR0PAQH/BAQDAgeAMB0GA1UdDgQW +BBTB3dc8DLX7geVsanqZ8adaihVh5jAfBgNVHSMEGDAWgBTW+r87bYPEIkYHDlti +YwZsEQlm3zAKBggqhkjOPQQDAgNIADBFAiEAlqXgqJK9CUSX8qYlTYJ8b0r/S/Ok +nNHkgZ+1p2/iWzkCICcOKAojmHWrJodtXI+/y+MNmcBLpt7nVmXTiJtGy9ng +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_08/dac-Key.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_08/dac-Key.der new file mode 100644 index 00000000000000..7100fe99b50d28 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_08/dac-Key.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_08/dac-Key.pem b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_08/dac-Key.pem new file mode 100644 index 00000000000000..3902757ef517e0 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_08/dac-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIMLwDcMRKFgspl1l8FXI4ZOztmlLEnNdvkon4AKii5JwoAoGCCqGSM49 +AwEHoUQDQgAE4S8nqqdvbDHd1RBbvv5HE6aAxVYhgiAQaGaKc0tNNGNY9+w3yrCN +tlZ4FHAuwCMc8tk1LNPNeN9Xhbgb87ZoXA== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_08/pai-Cert.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_08/pai-Cert.der new file mode 100644 index 00000000000000..c63b2b1e47a9c1 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_08/pai-Cert.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_08/pai-Cert.pem b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_08/pai-Cert.pem new file mode 100644 index 00000000000000..a1ef421fcb43ed --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_08/pai-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIByTCCAW+gAwIBAgIII8uf1L9fw3UwCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA0MjYw +MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowOzE5MDcGA1UEAwwwQUNNRSBNYXR0ZXIg +RGV2ZWwgUEFJIDVDREE5ODk5IE12aWQ6RkZGMSBNcGlkOkIxMFkwEwYHKoZIzj0C +AQYIKoZIzj0DAQcDQgAETXFqZpoYt5fCqNaoJH9Lkju67NOTwDlkEzKrVX9nMyFf +dlU6jvPSqEBXUq+g4w7xmrSGt685HpGMHcNPHNTH4KNmMGQwEgYDVR0TAQH/BAgw +BgEB/wIBATAOBgNVHQ8BAf8EBAMCAQYwHQYDVR0OBBYEFNb6vzttg8QiRgcOW2Jj +BmwRCWbfMB8GA1UdIwQYMBaAFGr9IncfUR/svxZBl2cQ3NwxoXF+MAoGCCqGSM49 +BAMCA0gAMEUCIAFWH3uC8eEawZ0sjXYUqC1RRUxgkjKFUQYiEXHzwahvAiEAhz8t +bFPtUaXXWClIsQ8jLsZgbKKl5FkzEGM6ngc0muc= +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_08/pai-Key.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_08/pai-Key.der new file mode 100644 index 00000000000000..c5c940fb3f2285 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_08/pai-Key.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_08/pai-Key.pem b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_08/pai-Key.pem new file mode 100644 index 00000000000000..94729f11cd3563 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_08/pai-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIOM1fyMxOpTEzyuv/0F/kSsnnYls0LfprjZ2sUg3fV2UoAoGCCqGSM49 +AwEHoUQDQgAETXFqZpoYt5fCqNaoJH9Lkju67NOTwDlkEzKrVX9nMyFfdlU6jvPS +qEBXUq+g4w7xmrSGt685HpGMHcNPHNTH4A== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_08/test_case_vector.json b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_08/test_case_vector.json new file mode 100644 index 00000000000000..528876589b8ecd --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_08/test_case_vector.json @@ -0,0 +1,9 @@ +{ + "description": "PAI Test Vector: Fallback VID and PID encoding example from spec: invalid, since substring following Mpid: is not exactly 4 uppercase hexadecimal digits", + "is_success_case": "true", + "dac_cert": "308201d93082017fa003020102020868567cfd08f36f45300a06082a8648ce3d040302303b3139303706035504030c3041434d45204d617474657220446576656c20504149203543444139383939204d7669643a46464631204d7069643a42313020170d3232303432363030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742044414331143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04303042313059301306072a8648ce3d020106082a8648ce3d03010703420004e12f27aaa76f6c31ddd5105bbefe4713a680c5562182201068668a734b4d346358f7ec37cab08db6567814702ec0231cf2d9352cd3cd78df5785b81bf3b6685ca360305e300c0603551d130101ff04023000300e0603551d0f0101ff040403020780301d0603551d0e04160414c1ddd73c0cb5fb81e56c6a7a99f1a75a8a1561e6301f0603551d23041830168014d6fabf3b6d83c42246070e5b6263066c110966df300a06082a8648ce3d040302034800304502210096a5e0a892bd094497f2a6254d827c6f4aff4bf3a49cd1e4819fb5a76fe25b390220270e280a239875ab26876d5c8fbfcbe30d99c04ba6dee75665d3889b46cbd9e0", + "pai_cert": "308201c93082016fa003020102020823cb9fd4bf5fc375300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414131143012060a2b0601040182a27c02010c04464646313020170d3232303432363030303030305a180f39393939313233313233353935395a303b3139303706035504030c3041434d45204d617474657220446576656c20504149203543444139383939204d7669643a46464631204d7069643a42313059301306072a8648ce3d020106082a8648ce3d030107034200044d716a669a18b797c2a8d6a8247f4b923bbaecd393c039641332ab557f6733215f76553a8ef3d2a8405752afa0e30ef19ab486b7af391e918c1dc34f1cd4c7e0a366306430120603551d130101ff040830060101ff020101300e0603551d0f0101ff040403020106301d0603551d0e04160414d6fabf3b6d83c42246070e5b6263066c110966df301f0603551d230418301680146afd22771f511fecbf1641976710dcdc31a1717e300a06082a8648ce3d0403020348003045022001561f7b82f1e11ac19d2c8d7614a82d51454c609232855106221171f3c1a86f022100873f2d6c53ed51a5d7582948b10f232ec6606ca2a5e4593310633a9e07349ae7", + "certification_declaration": "3081e806092a864886f70d010702a081da3081d7020103310d300b0609608648016503040201304406092a864886f70d010701a0370435152400012501f1ff360204b118250334122c04135a494732303134315a423333303030312d32342405002406002507769824080018317d307b020103801462fa823359acfaa9963e1cfa140addf504f37160300b0609608648016503040201300a06082a8648ce3d0403020447304502206e33fb7643aeac6e3d3ff6dc0a26ef8d2cd065fdda15d8d37bbee58b046393a2022100e036e291ff58e0eb52e710af572628925990f8c52ef02cbb5482f4a284ccb0d2", + "dac_private_key": "c2f00dc31128582ca65d65f055c8e193b3b6694b12735dbe4a27e002a28b9270", + "dac_public_key": "04e12f27aaa76f6c31ddd5105bbefe4713a680c5562182201068668a734b4d346358f7ec37cab08db6567814702ec0231cf2d9352cd3cd78df5785b81bf3b6685c" +} diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_09/cd.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_09/cd.der new file mode 100644 index 00000000000000..c93c21e10ad505 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_09/cd.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_09/dac-Cert.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_09/dac-Cert.der new file mode 100644 index 00000000000000..1d09cf28ef0215 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_09/dac-Cert.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_09/dac-Cert.pem b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_09/dac-Cert.pem new file mode 100644 index 00000000000000..67da084326b855 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_09/dac-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIB2DCCAX2gAwIBAgIIFiE5DwA71aYwCgYIKoZIzj0EAwIwOTE3MDUGA1UEAwwu +QUNNRSBNYXR0ZXIgRGV2ZWwgUEFJIDVDREE5ODk5IE1waWQ6IE12aWQ6RkZGMTAg +Fw0yMjA0MjYwMDAwMDBaGA85OTk5MTIzMTIzNTk1OVowRjEYMBYGA1UEAwwPTWF0 +dGVyIFRlc3QgREFDMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQBgqJ8 +AgIMBDAwQjEwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAASAsYU0qUArFmL6XuLn +JAcgdDWSwz8LGycxc8dp6nx0gZ3J/HbrIOjQURFHYE1KW+zxBTN37F7kHJMv8bp2 +XPlmo2AwXjAMBgNVHRMBAf8EAjAAMA4GA1UdDwEB/wQEAwIHgDAdBgNVHQ4EFgQU +ySwQTGeeZsDBb4slgX0klbD71zgwHwYDVR0jBBgwFoAUTepRMjDxiPkeP8znBmbS +ya34Fd0wCgYIKoZIzj0EAwIDSQAwRgIhAKvMRGF7+m4FxeiiGKOg8t/etNQjdTMF +0/0LkT3LJbIDAiEAseZNma0SBYCIBVfWTeOmw+dZDYlZIMDW9zvldWaWq+M= +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_09/dac-Key.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_09/dac-Key.der new file mode 100644 index 00000000000000..9a1c5a4b638c14 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_09/dac-Key.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_09/dac-Key.pem b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_09/dac-Key.pem new file mode 100644 index 00000000000000..4c8ac71d015903 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_09/dac-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIEMd3bZMGCwblq7Uy3t1uSjMRPnWkj4tTF1mcOugTQSjoAoGCCqGSM49 +AwEHoUQDQgAEgLGFNKlAKxZi+l7i5yQHIHQ1ksM/CxsnMXPHaep8dIGdyfx26yDo +0FERR2BNSlvs8QUzd+xe5ByTL/G6dlz5Zg== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_09/pai-Cert.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_09/pai-Cert.der new file mode 100644 index 00000000000000..da0ab7826a58ac Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_09/pai-Cert.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_09/pai-Cert.pem b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_09/pai-Cert.pem new file mode 100644 index 00000000000000..89c9a54c96adba --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_09/pai-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIBxzCCAW2gAwIBAgIISirY6F5qrpQwCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA0MjYw +MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowOTE3MDUGA1UEAwwuQUNNRSBNYXR0ZXIg +RGV2ZWwgUEFJIDVDREE5ODk5IE1waWQ6IE12aWQ6RkZGMTBZMBMGByqGSM49AgEG +CCqGSM49AwEHA0IABFlILyUeePP5A8UcsTV5puByLXQNhjbLQKi3ck8AhFXrmjet +LiwG6l6UBbYqqe6qQCCcf9tobpFvj85QR6iM6NOjZjBkMBIGA1UdEwEB/wQIMAYB +Af8CAQEwDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBRN6lEyMPGI+R4/zOcGZtLJ +rfgV3TAfBgNVHSMEGDAWgBRq/SJ3H1Ef7L8WQZdnENzcMaFxfjAKBggqhkjOPQQD +AgNIADBFAiANtyxFkdwy05Txb8i9IwLXaxT8tED3vpREuayOFXnAlgIhANPlrfJ8 +eXYG9BgrrZVRfUTXYA1YCOVmW4XvxCETNFie +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_09/pai-Key.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_09/pai-Key.der new file mode 100644 index 00000000000000..4c042fdda07e1c Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_09/pai-Key.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_09/pai-Key.pem b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_09/pai-Key.pem new file mode 100644 index 00000000000000..6c017590474bda --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_09/pai-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIKwxwp4smfEXSn9mTzd6ZFBYn0Xs3KZ68sjvgxty1vtSoAoGCCqGSM49 +AwEHoUQDQgAEWUgvJR548/kDxRyxNXmm4HItdA2GNstAqLdyTwCEVeuaN60uLAbq +XpQFtiqp7qpAIJx/22hukW+PzlBHqIzo0w== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_09/test_case_vector.json b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_09/test_case_vector.json new file mode 100644 index 00000000000000..f71ac861706587 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_09/test_case_vector.json @@ -0,0 +1,9 @@ +{ + "description": "PAI Test Vector: Fallback VID and PID encoding example from spec: invalid, since substring following Mpid: is not exactly 4 uppercase hexadecimal digits", + "is_success_case": "true", + "dac_cert": "308201d83082017da00302010202081621390f003bd5a6300a06082a8648ce3d04030230393137303506035504030c2e41434d45204d617474657220446576656c20504149203543444139383939204d7069643a204d7669643a464646313020170d3232303432363030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742044414331143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04303042313059301306072a8648ce3d020106082a8648ce3d0301070342000480b18534a9402b1662fa5ee2e7240720743592c33f0b1b273173c769ea7c74819dc9fc76eb20e8d0511147604d4a5becf1053377ec5ee41c932ff1ba765cf966a360305e300c0603551d130101ff04023000300e0603551d0f0101ff040403020780301d0603551d0e04160414c92c104c679e66c0c16f8b25817d2495b0fbd738301f0603551d230418301680144dea513230f188f91e3fcce70666d2c9adf815dd300a06082a8648ce3d0403020349003046022100abcc44617bfa6e05c5e8a218a3a0f2dfdeb4d423753305d3fd0b913dcb25b203022100b1e64d99ad120580880557d64de3a6c3e7590d895920c0d6f73be5756696abe3", + "pai_cert": "308201c73082016da00302010202084a2ad8e85e6aae94300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414131143012060a2b0601040182a27c02010c04464646313020170d3232303432363030303030305a180f39393939313233313233353935395a30393137303506035504030c2e41434d45204d617474657220446576656c20504149203543444139383939204d7069643a204d7669643a464646313059301306072a8648ce3d020106082a8648ce3d0301070342000459482f251e78f3f903c51cb13579a6e0722d740d8636cb40a8b7724f008455eb9a37ad2e2c06ea5e9405b62aa9eeaa40209c7fdb686e916f8fce5047a88ce8d3a366306430120603551d130101ff040830060101ff020101300e0603551d0f0101ff040403020106301d0603551d0e041604144dea513230f188f91e3fcce70666d2c9adf815dd301f0603551d230418301680146afd22771f511fecbf1641976710dcdc31a1717e300a06082a8648ce3d040302034800304502200db72c4591dc32d394f16fc8bd2302d76b14fcb440f7be9444b9ac8e1579c096022100d3e5adf27c797606f4182bad95517d44d7600d5808e5665b85efc4211334589e", + "certification_declaration": "3081e706092a864886f70d010702a081d93081d6020103310d300b0609608648016503040201304406092a864886f70d010701a0370435152400012501f1ff360204b118250334122c04135a494732303134315a423333303030312d32342405002406002507769824080018317c307a020103801462fa823359acfaa9963e1cfa140addf504f37160300b0609608648016503040201300a06082a8648ce3d0403020446304402206d8806cbd7b0d97504689e462af1cca52a562731311dc432103ce96eb4e05731022070b8559869e8fa233584039f89d3606eea228a331bc76f78c458354648435f46", + "dac_private_key": "431dddb64c182c1b96aed4cb7b75b928cc44f9d6923e2d4c5d6670eba04d04a3", + "dac_public_key": "0480b18534a9402b1662fa5ee2e7240720743592c33f0b1b273173c769ea7c74819dc9fc76eb20e8d0511147604d4a5becf1053377ec5ee41c932ff1ba765cf966" +} diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_10/cd.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_10/cd.der new file mode 100644 index 00000000000000..de76cea0d34229 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_10/cd.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_10/dac-Cert.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_10/dac-Cert.der new file mode 100644 index 00000000000000..69cabfe9a963fd Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_10/dac-Cert.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_10/dac-Cert.pem b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_10/dac-Cert.pem new file mode 100644 index 00000000000000..74b1e7a54ec926 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_10/dac-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIBvTCCAWOgAwIBAgIIAohmcBfsChYwCgYIKoZIzj0EAwIwHzEdMBsGA1UEAwwU +TXZpZDpGRkYgTXBpZDowMEIxMHgwIBcNMjIwNDI2MDAwMDAwWhgPOTk5OTEyMzEy +MzU5NTlaMEYxGDAWBgNVBAMMD01hdHRlciBUZXN0IERBQzEUMBIGCisGAQQBgqJ8 +AgEMBEZGRjExFDASBgorBgEEAYKifAICDAQwMEIxMFkwEwYHKoZIzj0CAQYIKoZI +zj0DAQcDQgAElYDTDK6SWtp6VmxGhs/zmLVrjGxEmL0NT5JbKnA9IlbaEoUSrrpU +oeIWJigVqPTU/YhXnmWy965TEFGPAUoNZaNgMF4wDAYDVR0TAQH/BAIwADAOBgNV +HQ8BAf8EBAMCB4AwHQYDVR0OBBYEFP8zRPosB0aexbO7dlAedlNQ0BG9MB8GA1Ud +IwQYMBaAFPm85870XJhwaFBtAUFiUs6CWssgMAoGCCqGSM49BAMCA0gAMEUCIFP+ +PMfhrsTNZgoNJX1xvr7zk1xYY7dS/DShHapf9izNAiEAlOYZmVrKX0AGqhv+9CNA +QUwYoDrJ0XvnxONRP5fWN4w= +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_10/dac-Key.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_10/dac-Key.der new file mode 100644 index 00000000000000..d172c5c34fd3b2 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_10/dac-Key.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_10/dac-Key.pem b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_10/dac-Key.pem new file mode 100644 index 00000000000000..5d1c3166d22afb --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_10/dac-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIKtLJo0BWNvTENpCVr6/d5ftinOoPZvzuyvM+tjPMSNuoAoGCCqGSM49 +AwEHoUQDQgAElYDTDK6SWtp6VmxGhs/zmLVrjGxEmL0NT5JbKnA9IlbaEoUSrrpU +oeIWJigVqPTU/YhXnmWy965TEFGPAUoNZQ== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_10/pai-Cert.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_10/pai-Cert.der new file mode 100644 index 00000000000000..0588d260033214 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_10/pai-Cert.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_10/pai-Cert.pem b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_10/pai-Cert.pem new file mode 100644 index 00000000000000..49a028d71e5ab0 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_10/pai-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIBrTCCAVOgAwIBAgIITTZvoDp/BYUwCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA0MjYw +MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowHzEdMBsGA1UEAwwUTXZpZDpGRkYgTXBp +ZDowMEIxMHgwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAARUvJifrmSUAv01R/hV +jZ8OFZQnDPjpvCzyiXJ/7O4p4JSf8R2QcWkmCF92iPzP4Lqw2+3N2lJ8yCJm59lK +IL56o2YwZDASBgNVHRMBAf8ECDAGAQH/AgEBMA4GA1UdDwEB/wQEAwIBBjAdBgNV +HQ4EFgQU+bznzvRcmHBoUG0BQWJSzoJayyAwHwYDVR0jBBgwFoAUav0idx9RH+y/ +FkGXZxDc3DGhcX4wCgYIKoZIzj0EAwIDSAAwRQIhANScF7FYXB15j6Dy+1pqLlkT +soxanlngYPcActSiXQcVAiBPzBkTELU8lVRBiTKuMIAp21SnJ6bk9fKmGaD5gnFT +pQ== +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_10/pai-Key.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_10/pai-Key.der new file mode 100644 index 00000000000000..78387a94b17b50 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_10/pai-Key.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_10/pai-Key.pem b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_10/pai-Key.pem new file mode 100644 index 00000000000000..c326467a523e51 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_10/pai-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIJaqGi8EUJl4IvTalyIKQL+bQbDKIETi3eWPMeERmt5zoAoGCCqGSM49 +AwEHoUQDQgAEVLyYn65klAL9NUf4VY2fDhWUJwz46bws8olyf+zuKeCUn/EdkHFp +Jghfdoj8z+C6sNvtzdpSfMgiZufZSiC+eg== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_10/test_case_vector.json b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_10/test_case_vector.json new file mode 100644 index 00000000000000..dc039efb45ffa9 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_10/test_case_vector.json @@ -0,0 +1,9 @@ +{ + "description": "PAI Test Vector: Fallback VID and PID encoding example: invalid VID encoding", + "is_success_case": "false", + "dac_cert": "308201bd30820163a00302010202080288667017ec0a16300a06082a8648ce3d040302301f311d301b06035504030c144d7669643a464646204d7069643a3030423130783020170d3232303432363030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742044414331143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04303042313059301306072a8648ce3d020106082a8648ce3d030107034200049580d30cae925ada7a566c4686cff398b56b8c6c4498bd0d4f925b2a703d2256da128512aeba54a1e216262815a8f4d4fd88579e65b2f7ae5310518f014a0d65a360305e300c0603551d130101ff04023000300e0603551d0f0101ff040403020780301d0603551d0e04160414ff3344fa2c07469ec5b3bb76501e765350d011bd301f0603551d23041830168014f9bce7cef45c987068506d01416252ce825acb20300a06082a8648ce3d0403020348003045022053fe3cc7e1aec4cd660a0d257d71bebef3935c5863b752fc34a11daa5ff62ccd02210094e619995aca5f4006aa1bfef42340414c18a03ac9d17be7c4e3513f97d6378c", + "pai_cert": "308201ad30820153a00302010202084d366fa03a7f0585300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414131143012060a2b0601040182a27c02010c04464646313020170d3232303432363030303030305a180f39393939313233313233353935395a301f311d301b06035504030c144d7669643a464646204d7069643a3030423130783059301306072a8648ce3d020106082a8648ce3d0301070342000454bc989fae649402fd3547f8558d9f0e1594270cf8e9bc2cf289727fecee29e0949ff11d90716926085f7688fccfe0bab0dbedcdda527cc82266e7d94a20be7aa366306430120603551d130101ff040830060101ff020101300e0603551d0f0101ff040403020106301d0603551d0e04160414f9bce7cef45c987068506d01416252ce825acb20301f0603551d230418301680146afd22771f511fecbf1641976710dcdc31a1717e300a06082a8648ce3d0403020348003045022100d49c17b1585c1d798fa0f2fb5a6a2e5913b28c5a9e59e060f70072d4a25d071502204fcc191310b53c9554418932ae308029db54a727a6e4f5f2a619a0f9827153a5", + "certification_declaration": "3081e706092a864886f70d010702a081d93081d6020103310d300b0609608648016503040201304406092a864886f70d010701a0370435152400012501f1ff360204b118250334122c04135a494732303134315a423333303030312d32342405002406002507769824080018317c307a020103801462fa823359acfaa9963e1cfa140addf504f37160300b0609608648016503040201300a06082a8648ce3d04030204463044022064dae669b1ef497ae474fdb619341e6fd101eea88981a8d9738b734581d7bee802206e56129ccdde62d326657513b8df72d68f03abbe4a8a1804133152bb9f4fa4e7", + "dac_private_key": "ab4b268d0158dbd310da4256bebf7797ed8a73a83d9bf3bb2bccfad8cf31236e", + "dac_public_key": "049580d30cae925ada7a566c4686cff398b56b8c6c4498bd0d4f925b2a703d2256da128512aeba54a1e216262815a8f4d4fd88579e65b2f7ae5310518f014a0d65" +} diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_11/cd.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_11/cd.der new file mode 100644 index 00000000000000..05b85250fda0c3 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_11/cd.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_11/dac-Cert.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_11/dac-Cert.der new file mode 100644 index 00000000000000..4f0f7e2fff0741 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_11/dac-Cert.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_11/dac-Cert.pem b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_11/dac-Cert.pem new file mode 100644 index 00000000000000..d50fb43ae471cc --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_11/dac-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIBzTCCAXOgAwIBAgIIApaNWRtV+w8wCgYIKoZIzj0EAwIwLzEtMCsGA1UEAwwk +TXBpZE12aWQ6RkZGMTAgTWF0dGVyIFRlc3QgTXBpZDowMEIxMCAXDTIyMDQyNjAw +MDAwMFoYDzk5OTkxMjMxMjM1OTU5WjBGMRgwFgYDVQQDDA9NYXR0ZXIgVGVzdCBE +QUMxFDASBgorBgEEAYKifAIBDARGRkYxMRQwEgYKKwYBBAGConwCAgwEMDBCMTBZ +MBMGByqGSM49AgEGCCqGSM49AwEHA0IABBLCMqMecDtCJ1fqu+otkUFs51FRs1JZ +L/WTM1YhUrzGhtlhOmgxCcqqI4SkzAnqaKMc7vrIvrRNICn2a66H6yKjYDBeMAwG +A1UdEwEB/wQCMAAwDgYDVR0PAQH/BAQDAgeAMB0GA1UdDgQWBBTl0GyJmpgxUnYQ +QPwVr+bcEIl4+zAfBgNVHSMEGDAWgBTOumiwuvvPhGpFyqpcVsQO6AMQSzAKBggq +hkjOPQQDAgNIADBFAiAgL4brJQ+ktob3h0QWzRqNXNkdUeC3XUrHqO6447gNNgIh +AMbE0NRiSFahl/FfndsndSYD068TWTvKHgtYRQI+mpfQ +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_11/dac-Key.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_11/dac-Key.der new file mode 100644 index 00000000000000..402a47cabd846a Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_11/dac-Key.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_11/dac-Key.pem b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_11/dac-Key.pem new file mode 100644 index 00000000000000..a81ed1242ae512 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_11/dac-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIFCTHbDb4bQYSCg5iqNd7TRr8hbrEHJ5Es6fxYuSq6BRoAoGCCqGSM49 +AwEHoUQDQgAEEsIyox5wO0InV+q76i2RQWznUVGzUlkv9ZMzViFSvMaG2WE6aDEJ +yqojhKTMCepooxzu+si+tE0gKfZrrofrIg== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_11/pai-Cert.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_11/pai-Cert.der new file mode 100644 index 00000000000000..b0244b514c2696 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_11/pai-Cert.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_11/pai-Cert.pem b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_11/pai-Cert.pem new file mode 100644 index 00000000000000..d87dd23f7b205c --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_11/pai-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIBvTCCAWOgAwIBAgIIAiEhQzrd4ygwCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA0MjYw +MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowLzEtMCsGA1UEAwwkTXBpZE12aWQ6RkZG +MTAgTWF0dGVyIFRlc3QgTXBpZDowMEIxMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcD +QgAEtCVifrAkpZst153MTGwMR7AaVoob6S4GoDjDPDp7n85e90y3b2otAt+A79bL +rAGL+aCJJrPsyBpFRjQqaQgDNqNmMGQwEgYDVR0TAQH/BAgwBgEB/wIBATAOBgNV +HQ8BAf8EBAMCAQYwHQYDVR0OBBYEFM66aLC6+8+EakXKqlxWxA7oAxBLMB8GA1Ud +IwQYMBaAFGr9IncfUR/svxZBl2cQ3NwxoXF+MAoGCCqGSM49BAMCA0gAMEUCIQDG +rauFUt0KTEIFj2EJL+LlvT4cm8HnZ1z4yHvrxcJCZwIgPu2ptKkRl0KByP55PUC8 +pvUQA5z8sji4APhLWSpgLPg= +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_11/pai-Key.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_11/pai-Key.der new file mode 100644 index 00000000000000..69f207f4b8f9cd Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_11/pai-Key.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_11/pai-Key.pem b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_11/pai-Key.pem new file mode 100644 index 00000000000000..f4f06d388c6c20 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_11/pai-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIDI8lzHsONOcoX8XxQLyobfK1pr+ctG1lv9v/oHWiReYoAoGCCqGSM49 +AwEHoUQDQgAEtCVifrAkpZst153MTGwMR7AaVoob6S4GoDjDPDp7n85e90y3b2ot +At+A79bLrAGL+aCJJrPsyBpFRjQqaQgDNg== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_11/test_case_vector.json b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_11/test_case_vector.json new file mode 100644 index 00000000000000..b61f2aef1d6f84 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_11/test_case_vector.json @@ -0,0 +1,9 @@ +{ + "description": "PAI Test Vector: Fallback VID and PID encoding example: valid, but less human-readable", + "is_success_case": "true", + "dac_cert": "308201cd30820173a003020102020802968d591b55fb0f300a06082a8648ce3d040302302f312d302b06035504030c244d7069644d7669643a4646463130204d61747465722054657374204d7069643a303042313020170d3232303432363030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742044414331143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04303042313059301306072a8648ce3d020106082a8648ce3d0301070342000412c232a31e703b422757eabbea2d91416ce75151b352592ff59333562152bcc686d9613a683109caaa2384a4cc09ea68a31ceefac8beb44d2029f66bae87eb22a360305e300c0603551d130101ff04023000300e0603551d0f0101ff040403020780301d0603551d0e04160414e5d06c899a983152761040fc15afe6dc108978fb301f0603551d23041830168014ceba68b0bafbcf846a45caaa5c56c40ee803104b300a06082a8648ce3d04030203480030450220202f86eb250fa4b686f7874416cd1a8d5cd91d51e0b75d4ac7a8eeb8e3b80d36022100c6c4d0d4624856a197f15f9ddb27752603d3af13593bca1e0b5845023e9a97d0", + "pai_cert": "308201bd30820163a0030201020208022121433adde328300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414131143012060a2b0601040182a27c02010c04464646313020170d3232303432363030303030305a180f39393939313233313233353935395a302f312d302b06035504030c244d7069644d7669643a4646463130204d61747465722054657374204d7069643a303042313059301306072a8648ce3d020106082a8648ce3d03010703420004b425627eb024a59b2dd79dcc4c6c0c47b01a568a1be92e06a038c33c3a7b9fce5ef74cb76f6a2d02df80efd6cbac018bf9a08926b3ecc81a4546342a69080336a366306430120603551d130101ff040830060101ff020101300e0603551d0f0101ff040403020106301d0603551d0e04160414ceba68b0bafbcf846a45caaa5c56c40ee803104b301f0603551d230418301680146afd22771f511fecbf1641976710dcdc31a1717e300a06082a8648ce3d0403020348003045022100c6adab8552dd0a4c42058f61092fe2e5bd3e1c9bc1e7675cf8c87bebc5c2426702203eeda9b4a911974281c8fe793d40bca6f510039cfcb238b800f84b592a602cf8", + "certification_declaration": "3081e806092a864886f70d010702a081da3081d7020103310d300b0609608648016503040201304406092a864886f70d010701a0370435152400012501f1ff360204b118250334122c04135a494732303134315a423333303030312d32342405002406002507769824080018317d307b020103801462fa823359acfaa9963e1cfa140addf504f37160300b0609608648016503040201300a06082a8648ce3d0403020447304502207123dec390756ed1a255d63ec6b5f3c4a2411f8bcc3b8cf9d8cc4533685a59dd02210092faf12630b030dc3f79fcc6540df0ac2b5802c8c853ba78e50c6d6548644f4e", + "dac_private_key": "50931db0dbe1b4184828398aa35ded346bf216eb10727912ce9fc58b92aba051", + "dac_public_key": "0412c232a31e703b422757eabbea2d91416ce75151b352592ff59333562152bcc686d9613a683109caaa2384a4cc09ea68a31ceefac8beb44d2029f66bae87eb22" +} diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_12/cd.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_12/cd.der new file mode 100644 index 00000000000000..f9759cba671ea6 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_12/cd.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_12/dac-Cert.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_12/dac-Cert.der new file mode 100644 index 00000000000000..4b9a81421ba95f Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_12/dac-Cert.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_12/dac-Cert.pem b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_12/dac-Cert.pem new file mode 100644 index 00000000000000..1fac79129522c3 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_12/dac-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIByDCCAW6gAwIBAgIIItdoXf2ZHBIwCgYIKoZIzj0EAwIwKjEoMCYGA1UEAwwf +TWF0dGVyIERldmVsIFBBSSBNcGlkOk12aWQ6RmZmMTAgFw0yMjA0MjYwMDAwMDBa +GA85OTk5MTIzMTIzNTk1OVowRjEYMBYGA1UEAwwPTWF0dGVyIFRlc3QgREFDMRQw +EgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQBgqJ8AgIMBDAwQjEwWTATBgcq +hkjOPQIBBggqhkjOPQMBBwNCAAS94h/X1LfkQhnk32xOr0Z4qXw0FoxjqTjP99tl +ajo0jhZsBz1ev19HQJ0a6hTqbUU60AdArV+p6xMr04lse2PZo2AwXjAMBgNVHRMB +Af8EAjAAMA4GA1UdDwEB/wQEAwIHgDAdBgNVHQ4EFgQUEdkf9vaR/KlrGFPBR+Et +Nc0nPBwwHwYDVR0jBBgwFoAUlSwFcRiKTKwk2UVPIOdyWdvb8nQwCgYIKoZIzj0E +AwIDSAAwRQIgOWcp59ShsB+duaNt4p+LzuUkMsAjOXYvdlgsTwjGjx0CIQCnoJdt +F5weKLDE6UqcgU2QEmJLtNzZIMkkly98wHCfIg== +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_12/dac-Key.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_12/dac-Key.der new file mode 100644 index 00000000000000..bc43da8611fa00 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_12/dac-Key.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_12/dac-Key.pem b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_12/dac-Key.pem new file mode 100644 index 00000000000000..5a24aec0546a9d --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_12/dac-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIDEbJ5etJtQuRxRAVYKyxcYUR3uHeRn0czgIK4Rn28+noAoGCCqGSM49 +AwEHoUQDQgAEveIf19S35EIZ5N9sTq9GeKl8NBaMY6k4z/fbZWo6NI4WbAc9Xr9f +R0CdGuoU6m1FOtAHQK1fqesTK9OJbHtj2Q== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_12/pai-Cert.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_12/pai-Cert.der new file mode 100644 index 00000000000000..47c6393bbcf10c Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_12/pai-Cert.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_12/pai-Cert.pem b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_12/pai-Cert.pem new file mode 100644 index 00000000000000..21d4d315c3b64a --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_12/pai-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIBuTCCAV6gAwIBAgIIMoYaEdEBWvowCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA0MjYw +MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowKjEoMCYGA1UEAwwfTWF0dGVyIERldmVs +IFBBSSBNcGlkOk12aWQ6RmZmMTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABL+Z +yFyaL2YFF589DfXPyP/3i7ukC6NteJXnfGLZnKAVftdCB+KVfzEJTuIE6C0gLwgo +62CVvhft66z+mSU8ItOjZjBkMBIGA1UdEwEB/wQIMAYBAf8CAQEwDgYDVR0PAQH/ +BAQDAgEGMB0GA1UdDgQWBBSVLAVxGIpMrCTZRU8g53JZ29vydDAfBgNVHSMEGDAW +gBRq/SJ3H1Ef7L8WQZdnENzcMaFxfjAKBggqhkjOPQQDAgNJADBGAiEApme/dUTd +1UuDBiXaaOEHs4Mz5Ky5VzFvATgrweAX2CICIQCN+qJHJszIKD6cu8CvPZ0kxZI2 +Dgn9y7gZg2g9x7WG3g== +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_12/pai-Key.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_12/pai-Key.der new file mode 100644 index 00000000000000..4511c58ade52e2 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_12/pai-Key.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_12/pai-Key.pem b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_12/pai-Key.pem new file mode 100644 index 00000000000000..87c65ac4aa87fa --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_12/pai-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIMNr5OClGS3Mj2TGrST024dh+roG6eDVYCYtOi2upe2IoAoGCCqGSM49 +AwEHoUQDQgAEv5nIXJovZgUXnz0N9c/I//eLu6QLo214led8YtmcoBV+10IH4pV/ +MQlO4gToLSAvCCjrYJW+F+3rrP6ZJTwi0w== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_12/test_case_vector.json b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_12/test_case_vector.json new file mode 100644 index 00000000000000..99fd3b3477f6d4 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_12/test_case_vector.json @@ -0,0 +1,9 @@ +{ + "description": "PAI Test Vector: Fallback VID and PID encoding example: invalid, PID not present and VID not upper case", + "is_success_case": "false", + "dac_cert": "308201c83082016ea003020102020822d7685dfd991c12300a06082a8648ce3d040302302a3128302606035504030c1f4d617474657220446576656c20504149204d7069643a4d7669643a466666313020170d3232303432363030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742044414331143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04303042313059301306072a8648ce3d020106082a8648ce3d03010703420004bde21fd7d4b7e44219e4df6c4eaf4678a97c34168c63a938cff7db656a3a348e166c073d5ebf5f47409d1aea14ea6d453ad00740ad5fa9eb132bd3896c7b63d9a360305e300c0603551d130101ff04023000300e0603551d0f0101ff040403020780301d0603551d0e0416041411d91ff6f691fca96b1853c147e12d35cd273c1c301f0603551d23041830168014952c0571188a4cac24d9454f20e77259dbdbf274300a06082a8648ce3d04030203480030450220396729e7d4a1b01f9db9a36de29f8bcee52432c02339762f76582c4f08c68f1d022100a7a0976d179c1e28b0c4e94a9c814d9012624bb4dcd920c924972f7cc0709f22", + "pai_cert": "308201b93082015ea003020102020832861a11d1015afa300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414131143012060a2b0601040182a27c02010c04464646313020170d3232303432363030303030305a180f39393939313233313233353935395a302a3128302606035504030c1f4d617474657220446576656c20504149204d7069643a4d7669643a466666313059301306072a8648ce3d020106082a8648ce3d03010703420004bf99c85c9a2f6605179f3d0df5cfc8fff78bbba40ba36d7895e77c62d99ca0157ed74207e2957f31094ee204e82d202f0828eb6095be17edebacfe99253c22d3a366306430120603551d130101ff040830060101ff020101300e0603551d0f0101ff040403020106301d0603551d0e04160414952c0571188a4cac24d9454f20e77259dbdbf274301f0603551d230418301680146afd22771f511fecbf1641976710dcdc31a1717e300a06082a8648ce3d0403020349003046022100a667bf7544ddd54b830625da68e107b38333e4acb957316f01382bc1e017d8220221008dfaa24726ccc8283e9cbbc0af3d9d24c592360e09fdcbb81983683dc7b586de", + "certification_declaration": "3081e806092a864886f70d010702a081da3081d7020103310d300b0609608648016503040201304406092a864886f70d010701a0370435152400012501f1ff360204b118250334122c04135a494732303134315a423333303030312d32342405002406002507769824080018317d307b020103801462fa823359acfaa9963e1cfa140addf504f37160300b0609608648016503040201300a06082a8648ce3d04030204473045022006a4bc3650f895fb97909e557a37cf612d8dc4586d17207ce56ef875f6ac6869022100d511c007746a94f1d888a4fe177312b03dc63a5a6fda02a6129818e9c2d2f055", + "dac_private_key": "311b2797ad26d42e4714405582b2c5c614477b877919f47338082b8467dbcfa7", + "dac_public_key": "04bde21fd7d4b7e44219e4df6c4eaf4678a97c34168c63a938cff7db656a3a348e166c073d5ebf5f47409d1aea14ea6d453ad00740ad5fa9eb132bd3896c7b63d9" +} diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_13/cd.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_13/cd.der new file mode 100644 index 00000000000000..28e8d922f36fa2 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_13/cd.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_13/dac-Cert.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_13/dac-Cert.der new file mode 100644 index 00000000000000..0827de6153dcf5 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_13/dac-Cert.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_13/dac-Cert.pem b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_13/dac-Cert.pem new file mode 100644 index 00000000000000..a8f9a9f92e9bed --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_13/dac-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIBzTCCAXOgAwIBAgIIaCAOuhemK8cwCgYIKoZIzj0EAwIwLzEtMCsGA1UEAwwk +TWF0dGVyIERldmVsIFBBSSBNcGlkOjAwQjEgTVZJRDpGRkYxMCAXDTIyMDQyNjAw +MDAwMFoYDzk5OTkxMjMxMjM1OTU5WjBGMRgwFgYDVQQDDA9NYXR0ZXIgVGVzdCBE +QUMxFDASBgorBgEEAYKifAIBDARGRkYxMRQwEgYKKwYBBAGConwCAgwEMDBCMTBZ +MBMGByqGSM49AgEGCCqGSM49AwEHA0IABA/ws/JsRwLcWnIvttkuni75rVSnnrUE +h1q9eI5Eew6hKsTkmVJL2HP8XqZqdjll5BPFYOiIwSWNlLdDrb95xTejYDBeMAwG +A1UdEwEB/wQCMAAwDgYDVR0PAQH/BAQDAgeAMB0GA1UdDgQWBBS5xDcjtwAeJ2BI +5bJbLxwTXGT94DAfBgNVHSMEGDAWgBR+XvN0Teomu/pOwfzfD9oYR6YtjzAKBggq +hkjOPQQDAgNIADBFAiEAzqmIPTlJ2CTMg92jrNEuB3lMGZgZWc9gYZ2mDy/KjKEC +IAly1dEownebdTBR/BnWjplMfKjC9QEnieP6byaXrdY4 +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_13/dac-Key.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_13/dac-Key.der new file mode 100644 index 00000000000000..00d07e88618c6a Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_13/dac-Key.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_13/dac-Key.pem b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_13/dac-Key.pem new file mode 100644 index 00000000000000..a7a13622895dc1 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_13/dac-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIFqxNPqW+MqE4RmtESiePv1k//L8IfqhmF7DTS/yiiXPoAoGCCqGSM49 +AwEHoUQDQgAED/Cz8mxHAtxaci+22S6eLvmtVKeetQSHWr14jkR7DqEqxOSZUkvY +c/xepmp2OWXkE8Vg6IjBJY2Ut0Otv3nFNw== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_13/pai-Cert.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_13/pai-Cert.der new file mode 100644 index 00000000000000..49a72f16d2eeb3 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_13/pai-Cert.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_13/pai-Cert.pem b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_13/pai-Cert.pem new file mode 100644 index 00000000000000..6ffd82ea11a649 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_13/pai-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIBvjCCAWOgAwIBAgIIfHa4eKuGKbMwCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA0MjYw +MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowLzEtMCsGA1UEAwwkTWF0dGVyIERldmVs +IFBBSSBNcGlkOjAwQjEgTVZJRDpGRkYxMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcD +QgAEA+3u4Ke8fVEH77YLnBciTZMw/duZhg8/g16AyBfvCqV5LYeTpGzfUhk0lKvz +NLmP/5z8ctoCiFOlhiF/GcA/s6NmMGQwEgYDVR0TAQH/BAgwBgEB/wIBATAOBgNV +HQ8BAf8EBAMCAQYwHQYDVR0OBBYEFH5e83RN6ia7+k7B/N8P2hhHpi2PMB8GA1Ud +IwQYMBaAFGr9IncfUR/svxZBl2cQ3NwxoXF+MAoGCCqGSM49BAMCA0kAMEYCIQCK +xygXR994Iy7HY2etnh/TAoizyMOZZNpEfWWS7HSvWQIhAMKGL2rXlTXkC/0rv588 +ob+Te5F+TIEs1YJFjiufWc4y +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_13/pai-Key.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_13/pai-Key.der new file mode 100644 index 00000000000000..26767357ed87fb Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_13/pai-Key.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_13/pai-Key.pem b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_13/pai-Key.pem new file mode 100644 index 00000000000000..29a735e2dc5db7 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_13/pai-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIABTniS5MQbSle4mmyn1g2MWguoDPiPW57Z8p93veFyloAoGCCqGSM49 +AwEHoUQDQgAEA+3u4Ke8fVEH77YLnBciTZMw/duZhg8/g16AyBfvCqV5LYeTpGzf +Uhk0lKvzNLmP/5z8ctoCiFOlhiF/GcA/sw== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_13/test_case_vector.json b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_13/test_case_vector.json new file mode 100644 index 00000000000000..ead78ca3c62027 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_13/test_case_vector.json @@ -0,0 +1,9 @@ +{ + "description": "PAI Test Vector: Fallback VID and PID encoding example: invalid VID prefix", + "is_success_case": "false", + "dac_cert": "308201cd30820173a003020102020868200eba17a62bc7300a06082a8648ce3d040302302f312d302b06035504030c244d617474657220446576656c20504149204d7069643a30304231204d5649443a464646313020170d3232303432363030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742044414331143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04303042313059301306072a8648ce3d020106082a8648ce3d030107034200040ff0b3f26c4702dc5a722fb6d92e9e2ef9ad54a79eb504875abd788e447b0ea12ac4e499524bd873fc5ea66a763965e413c560e888c1258d94b743adbf79c537a360305e300c0603551d130101ff04023000300e0603551d0f0101ff040403020780301d0603551d0e04160414b9c43723b7001e276048e5b25b2f1c135c64fde0301f0603551d230418301680147e5ef3744dea26bbfa4ec1fcdf0fda1847a62d8f300a06082a8648ce3d0403020348003045022100cea9883d3949d824cc83dda3acd12e07794c19981959cf60619da60f2fca8ca102200972d5d128c2779b753051fc19d68e994c7ca8c2f5012789e3fa6f2697add638", + "pai_cert": "308201be30820163a00302010202087c76b878ab8629b3300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414131143012060a2b0601040182a27c02010c04464646313020170d3232303432363030303030305a180f39393939313233313233353935395a302f312d302b06035504030c244d617474657220446576656c20504149204d7069643a30304231204d5649443a464646313059301306072a8648ce3d020106082a8648ce3d0301070342000403edeee0a7bc7d5107efb60b9c17224d9330fddb99860f3f835e80c817ef0aa5792d8793a46cdf52193494abf334b98fff9cfc72da028853a586217f19c03fb3a366306430120603551d130101ff040830060101ff020101300e0603551d0f0101ff040403020106301d0603551d0e041604147e5ef3744dea26bbfa4ec1fcdf0fda1847a62d8f301f0603551d230418301680146afd22771f511fecbf1641976710dcdc31a1717e300a06082a8648ce3d04030203490030460221008ac7281747df78232ec76367ad9e1fd30288b3c8c39964da447d6592ec74af59022100c2862f6ad79535e40bfd2bbf9f3ca1bf937b917e4c812cd582458e2b9f59ce32", + "certification_declaration": "3081e706092a864886f70d010702a081d93081d6020103310d300b0609608648016503040201304406092a864886f70d010701a0370435152400012501f1ff360204b118250334122c04135a494732303134315a423333303030312d32342405002406002507769824080018317c307a020103801462fa823359acfaa9963e1cfa140addf504f37160300b0609608648016503040201300a06082a8648ce3d0403020446304402201de2c1eedc8e4f7116da63d49f9a2d234af051e37cbe32aa4c540e3eb6295b3502201676f8a689e946d9877d170db0ffe3106b8910f1d8e0bbc5a6fdda46bbe116e6", + "dac_private_key": "5ab134fa96f8ca84e119ad11289e3efd64fff2fc21faa1985ec34d2ff28a25cf", + "dac_public_key": "040ff0b3f26c4702dc5a722fb6d92e9e2ef9ad54a79eb504875abd788e447b0ea12ac4e499524bd873fc5ea66a763965e413c560e888c1258d94b743adbf79c537" +} diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_14/cd.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_14/cd.der new file mode 100644 index 00000000000000..d15e2a3e751e98 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_14/cd.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_14/dac-Cert.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_14/dac-Cert.der new file mode 100644 index 00000000000000..0ac96c50bdf26c Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_14/dac-Cert.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_14/dac-Cert.pem b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_14/dac-Cert.pem new file mode 100644 index 00000000000000..f7a633e625c8ad --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_14/dac-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIBzjCCAXOgAwIBAgIIP/JlM2SwXdAwCgYIKoZIzj0EAwIwLzEtMCsGA1UEAwwk +TWF0dGVyIERldmVsIFBBSSBNcGlkXzAwQjEgTXZpZF9GRkYxMCAXDTIyMDQyNjAw +MDAwMFoYDzk5OTkxMjMxMjM1OTU5WjBGMRgwFgYDVQQDDA9NYXR0ZXIgVGVzdCBE +QUMxFDASBgorBgEEAYKifAIBDARGRkYxMRQwEgYKKwYBBAGConwCAgwEMDBCMTBZ +MBMGByqGSM49AgEGCCqGSM49AwEHA0IABJ1MrsIndENIbkjCx2xMT10mk0+9xzd4 +ANcbNjnKOLajHNIs9C0I/id0iTgGT+ImwolGIW9KFgYkYzRJnr4QB0+jYDBeMAwG +A1UdEwEB/wQCMAAwDgYDVR0PAQH/BAQDAgeAMB0GA1UdDgQWBBSMk0e1bI59f/8z +v1uAjpy4VemStjAfBgNVHSMEGDAWgBR9E3W8jxCtZ0MeEQ02PTG7P4waxjAKBggq +hkjOPQQDAgNJADBGAiEAxkGicBORYb2BIBKdRkW8+UaVkQErsxwQtTwTJ0HlBwwC +IQCPqm0IsqGeHwLSTpNzR59jq8+BfblhhuCfAKnYXjfJfw== +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_14/dac-Key.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_14/dac-Key.der new file mode 100644 index 00000000000000..af1beeec21269b Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_14/dac-Key.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_14/dac-Key.pem b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_14/dac-Key.pem new file mode 100644 index 00000000000000..dc327a12001af1 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_14/dac-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIAxh+JYV81CsxE8dKdH5Vxh5Z39nbW8rYnIZ3+YSFMg6oAoGCCqGSM49 +AwEHoUQDQgAEnUyuwid0Q0huSMLHbExPXSaTT73HN3gA1xs2Oco4tqMc0iz0LQj+ +J3SJOAZP4ibCiUYhb0oWBiRjNEmevhAHTw== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_14/pai-Cert.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_14/pai-Cert.der new file mode 100644 index 00000000000000..9c13101ed01ad7 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_14/pai-Cert.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_14/pai-Cert.pem b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_14/pai-Cert.pem new file mode 100644 index 00000000000000..82f557bb4f8164 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_14/pai-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIBvjCCAWOgAwIBAgIIe62L+k82JCUwCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA0MjYw +MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowLzEtMCsGA1UEAwwkTWF0dGVyIERldmVs +IFBBSSBNcGlkXzAwQjEgTXZpZF9GRkYxMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcD +QgAE/lq8M9Vgw3CNVzRHkpGfhA3wg6iEdXUVsghUBROPMHWQfcD2A2b/Vs/gW34D +fHrEo6J5LN8C+jD69LoWu1o7WqNmMGQwEgYDVR0TAQH/BAgwBgEB/wIBATAOBgNV +HQ8BAf8EBAMCAQYwHQYDVR0OBBYEFH0TdbyPEK1nQx4RDTY9Mbs/jBrGMB8GA1Ud +IwQYMBaAFGr9IncfUR/svxZBl2cQ3NwxoXF+MAoGCCqGSM49BAMCA0kAMEYCIQDD +0SjjodPDuOxmdmOf/8oFrpHi9lOO0B5BOhFBHcy4MQIhAK5cMcDcZAzLgtL3MyyU +7lvFINA2fh9pAjkYGQemFuOw +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_14/pai-Key.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_14/pai-Key.der new file mode 100644 index 00000000000000..a769b2be1547de Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_14/pai-Key.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_14/pai-Key.pem b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_14/pai-Key.pem new file mode 100644 index 00000000000000..2fd5d28bfd7bc6 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_14/pai-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIFpvUCzTjrIDO9wXfeSlVsBuR3hIUsPSTCVhAWfUCtuMoAoGCCqGSM49 +AwEHoUQDQgAE/lq8M9Vgw3CNVzRHkpGfhA3wg6iEdXUVsghUBROPMHWQfcD2A2b/ +Vs/gW34DfHrEo6J5LN8C+jD69LoWu1o7Wg== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_14/test_case_vector.json b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_14/test_case_vector.json new file mode 100644 index 00000000000000..ac005b11e2aa27 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_14/test_case_vector.json @@ -0,0 +1,9 @@ +{ + "description": "PAI Test Vector: Fallback VID and PID encoding example: invalid PID and VID prefixes", + "is_success_case": "false", + "dac_cert": "308201ce30820173a00302010202083ff2653364b05dd0300a06082a8648ce3d040302302f312d302b06035504030c244d617474657220446576656c20504149204d7069645f30304231204d7669645f464646313020170d3232303432363030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742044414331143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04303042313059301306072a8648ce3d020106082a8648ce3d030107034200049d4caec2277443486e48c2c76c4c4f5d26934fbdc7377800d71b3639ca38b6a31cd22cf42d08fe27748938064fe226c28946216f4a1606246334499ebe10074fa360305e300c0603551d130101ff04023000300e0603551d0f0101ff040403020780301d0603551d0e041604148c9347b56c8e7d7fff33bf5b808e9cb855e992b6301f0603551d230418301680147d1375bc8f10ad67431e110d363d31bb3f8c1ac6300a06082a8648ce3d0403020349003046022100c641a270139161bd8120129d4645bcf9469591012bb31c10b53c132741e5070c0221008faa6d08b2a19e1f02d24e9373479f63abcf817db96186e09f00a9d85e37c97f", + "pai_cert": "308201be30820163a00302010202087bad8bfa4f362425300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414131143012060a2b0601040182a27c02010c04464646313020170d3232303432363030303030305a180f39393939313233313233353935395a302f312d302b06035504030c244d617474657220446576656c20504149204d7069645f30304231204d7669645f464646313059301306072a8648ce3d020106082a8648ce3d03010703420004fe5abc33d560c3708d57344792919f840df083a884757515b2085405138f3075907dc0f60366ff56cfe05b7e037c7ac4a3a2792cdf02fa30faf4ba16bb5a3b5aa366306430120603551d130101ff040830060101ff020101300e0603551d0f0101ff040403020106301d0603551d0e041604147d1375bc8f10ad67431e110d363d31bb3f8c1ac6301f0603551d230418301680146afd22771f511fecbf1641976710dcdc31a1717e300a06082a8648ce3d0403020349003046022100c3d128e3a1d3c3b8ec6676639fffca05ae91e2f6538ed01e413a11411dccb831022100ae5c31c0dc640ccb82d2f7332c94ee5bc520d0367e1f690239181907a616e3b0", + "certification_declaration": "3081e806092a864886f70d010702a081da3081d7020103310d300b0609608648016503040201304406092a864886f70d010701a0370435152400012501f1ff360204b118250334122c04135a494732303134315a423333303030312d32342405002406002507769824080018317d307b020103801462fa823359acfaa9963e1cfa140addf504f37160300b0609608648016503040201300a06082a8648ce3d04030204473045022100866e52aacfc33af9fa4f1e482a005350cefdd7d5213fcf7710dc5fdcb63feb0e022004e41d872bb8ef89c2aa41226ddc92389d4beaa9efd6fd98c022aaea0f202c75", + "dac_private_key": "0c61f89615f350acc44f1d29d1f9571879677f676d6f2b627219dfe61214c83a", + "dac_public_key": "049d4caec2277443486e48c2c76c4c4f5d26934fbdc7377800d71b3639ca38b6a31cd22cf42d08fe27748938064fe226c28946216f4a1606246334499ebe10074f" +} diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_15/cd.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_15/cd.der new file mode 100644 index 00000000000000..412a2aa399d170 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_15/cd.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_15/dac-Cert.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_15/dac-Cert.der new file mode 100644 index 00000000000000..06bc6f5da35dbc Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_15/dac-Cert.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_15/dac-Cert.pem b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_15/dac-Cert.pem new file mode 100644 index 00000000000000..eedc82bebe4ba0 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_15/dac-Cert.pem @@ -0,0 +1,13 @@ +-----BEGIN CERTIFICATE----- +MIICBjCCAa2gAwIBAgIILsXaBxBEioMwCgYIKoZIzj0EAwIwaTE7MDkGA1UEAwwy +QUNNRSBNYXR0ZXIgRGV2ZWwgUEFJIDVDREE5ODk5IE12aWQ6RkZGMiBNcGlkOjAw +QjIxFDASBgorBgEEAYKifAIBDARGRkYxMRQwEgYKKwYBBAGConwCAgwEMDBCMTAg +Fw0yMjA0MjYwMDAwMDBaGA85OTk5MTIzMTIzNTk1OVowRjEYMBYGA1UEAwwPTWF0 +dGVyIFRlc3QgREFDMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQBgqJ8 +AgIMBDAwQjEwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAQvQ3tkebVZ/SI/Zuea +PSLZeCtemL8oiQ6bnZAjrGnrDONrzFjDC8HcIJ8SEbK9IbYcsgSvuyYV2uqIa9K4 +d0dio2AwXjAMBgNVHRMBAf8EAjAAMA4GA1UdDwEB/wQEAwIHgDAdBgNVHQ4EFgQU +jCSMuEfsdG7tox6gCeqK0GEXsk0wHwYDVR0jBBgwFoAUZv4kfFxg+Nnf7K9Fnpeu +0euIqx0wCgYIKoZIzj0EAwIDRwAwRAIgfpO1sGKsm9euiUFXPieBGdLykPG0gcIw +cxIF4lCNuD4CIBygq1ckDzI2lXssLV0TGJBvfRFaWVhLnL19INKoMWUx +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_15/dac-Key.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_15/dac-Key.der new file mode 100644 index 00000000000000..cce09210806453 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_15/dac-Key.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_15/dac-Key.pem b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_15/dac-Key.pem new file mode 100644 index 00000000000000..78efa252cd77e2 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_15/dac-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIGsHiGb5z+52p/hULzex2ttM+Jx5trDQLVRH/ab+NNsJoAoGCCqGSM49 +AwEHoUQDQgAEL0N7ZHm1Wf0iP2bnmj0i2XgrXpi/KIkOm52QI6xp6wzja8xYwwvB +3CCfEhGyvSG2HLIEr7smFdrqiGvSuHdHYg== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_15/pai-Cert.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_15/pai-Cert.der new file mode 100644 index 00000000000000..0426beabf3700a Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_15/pai-Cert.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_15/pai-Cert.pem b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_15/pai-Cert.pem new file mode 100644 index 00000000000000..caf128f4dfbca1 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_15/pai-Cert.pem @@ -0,0 +1,13 @@ +-----BEGIN CERTIFICATE----- +MIIB+DCCAZ2gAwIBAgIIU7UO1LGKayEwCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA0MjYw +MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowaTE7MDkGA1UEAwwyQUNNRSBNYXR0ZXIg +RGV2ZWwgUEFJIDVDREE5ODk5IE12aWQ6RkZGMiBNcGlkOjAwQjIxFDASBgorBgEE +AYKifAIBDARGRkYxMRQwEgYKKwYBBAGConwCAgwEMDBCMTBZMBMGByqGSM49AgEG +CCqGSM49AwEHA0IABJowGZbl6ZLqL57pSSOOSnpW7p7jfsVViHiC21vxjywf5bq/ +yEH/t72pccl9BsEjlwa+W+zdWtqj0pLh60mSEHCjZjBkMBIGA1UdEwEB/wQIMAYB +Af8CAQEwDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBRm/iR8XGD42d/sr0Wel67R +64irHTAfBgNVHSMEGDAWgBRq/SJ3H1Ef7L8WQZdnENzcMaFxfjAKBggqhkjOPQQD +AgNJADBGAiEAk6KjC43pD+vI95k/gtIavcVCsGivQugc/QG6fnY8oj0CIQC8/lHN +NdSoKUSGGbKOBX0KGIIeqnkhj5OA9g17iRdBSw== +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_15/pai-Key.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_15/pai-Key.der new file mode 100644 index 00000000000000..6a880329e6e2d1 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_15/pai-Key.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_15/pai-Key.pem b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_15/pai-Key.pem new file mode 100644 index 00000000000000..89d4493eb388df --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_15/pai-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIGCGabgXvJ8UtWx5My99aui8xH6ZiNxwKQDtGPh7qen+oAoGCCqGSM49 +AwEHoUQDQgAEmjAZluXpkuovnulJI45KelbunuN+xVWIeILbW/GPLB/lur/IQf+3 +valxyX0GwSOXBr5b7N1a2qPSkuHrSZIQcA== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_15/test_case_vector.json b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_15/test_case_vector.json new file mode 100644 index 00000000000000..4a52fac7a614ae --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_15/test_case_vector.json @@ -0,0 +1,9 @@ +{ + "description": "PAI Test Vector: Mix of Fallback and Matter OID encoding for VID and PID: valid, Matter OIDs are used and wrong values in the common-name are ignored", + "is_success_case": "true", + "dac_cert": "30820206308201ada00302010202082ec5da0710448a83300a06082a8648ce3d0403023069313b303906035504030c3241434d45204d617474657220446576656c20504149203543444139383939204d7669643a46464632204d7069643a3030423231143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04303042313020170d3232303432363030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742044414331143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04303042313059301306072a8648ce3d020106082a8648ce3d030107034200042f437b6479b559fd223f66e79a3d22d9782b5e98bf28890e9b9d9023ac69eb0ce36bcc58c30bc1dc209f1211b2bd21b61cb204afbb2615daea886bd2b8774762a360305e300c0603551d130101ff04023000300e0603551d0f0101ff040403020780301d0603551d0e041604148c248cb847ec746eeda31ea009ea8ad06117b24d301f0603551d2304183016801466fe247c5c60f8d9dfecaf459e97aed1eb88ab1d300a06082a8648ce3d040302034700304402207e93b5b062ac9bd7ae8941573e278119d2f290f1b481c230731205e2508db83e02201ca0ab57240f3236957b2c2d5d1318906f7d115a59584b9cbd7d20d2a8316531", + "pai_cert": "308201f83082019da003020102020853b50ed4b18a6b21300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414131143012060a2b0601040182a27c02010c04464646313020170d3232303432363030303030305a180f39393939313233313233353935395a3069313b303906035504030c3241434d45204d617474657220446576656c20504149203543444139383939204d7669643a46464632204d7069643a3030423231143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04303042313059301306072a8648ce3d020106082a8648ce3d030107034200049a301996e5e992ea2f9ee949238e4a7a56ee9ee37ec555887882db5bf18f2c1fe5babfc841ffb7bda971c97d06c1239706be5becdd5adaa3d292e1eb49921070a366306430120603551d130101ff040830060101ff020101300e0603551d0f0101ff040403020106301d0603551d0e0416041466fe247c5c60f8d9dfecaf459e97aed1eb88ab1d301f0603551d230418301680146afd22771f511fecbf1641976710dcdc31a1717e300a06082a8648ce3d040302034900304602210093a2a30b8de90febc8f7993f82d21abdc542b068af42e81cfd01ba7e763ca23d022100bcfe51cd35d4a829448619b28e057d0a18821eaa79218f9380f60d7b8917414b", + "certification_declaration": "3081e906092a864886f70d010702a081db3081d8020103310d300b0609608648016503040201304406092a864886f70d010701a0370435152400012501f1ff360204b118250334122c04135a494732303134315a423333303030312d32342405002406002507769824080018317e307c020103801462fa823359acfaa9963e1cfa140addf504f37160300b0609608648016503040201300a06082a8648ce3d04030204483046022100dd0c93fbafd3f8813c819c8101765a565c4bd7286790d708ad74ed7d45acf0e60221008e798c1bc09334d26a85f77ede890e590998f8bd56295615e2034136bbecc2de", + "dac_private_key": "6b078866f9cfee76a7f8542f37b1dadb4cf89c79b6b0d02d5447fda6fe34db09", + "dac_public_key": "042f437b6479b559fd223f66e79a3d22d9782b5e98bf28890e9b9d9023ac69eb0ce36bcc58c30bc1dc209f1211b2bd21b61cb204afbb2615daea886bd2b8774762" +} diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_16/cd.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_16/cd.der new file mode 100644 index 00000000000000..9dd836f2b70f8c Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_16/cd.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_16/dac-Cert.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_16/dac-Cert.der new file mode 100644 index 00000000000000..9e5f03b65c1d77 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_16/dac-Cert.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_16/dac-Cert.pem b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_16/dac-Cert.pem new file mode 100644 index 00000000000000..ccdce33b61e588 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_16/dac-Cert.pem @@ -0,0 +1,13 @@ +-----BEGIN CERTIFICATE----- +MIICBjCCAa2gAwIBAgIINjaikl6utsowCgYIKoZIzj0EAwIwaTE7MDkGA1UEAwwy +QUNNRSBNYXR0ZXIgRGV2ZWwgUEFJIDVDREE5ODk5IE12aWQ6RkZGMSBNcGlkOjAw +QjExFDASBgorBgEEAYKifAIBDARGRkYyMRQwEgYKKwYBBAGConwCAgwEMDBCMjAg +Fw0yMjA0MjYwMDAwMDBaGA85OTk5MTIzMTIzNTk1OVowRjEYMBYGA1UEAwwPTWF0 +dGVyIFRlc3QgREFDMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQBgqJ8 +AgIMBDAwQjEwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAATeHQ8QmLgYBgIdhwkp +/w3H5GUHYzStdaienUh2Wr6OTO94SD4lVHjjcn4RESJ+ngrixDNGbEh3FCoiaaaE +9WuFo2AwXjAMBgNVHRMBAf8EAjAAMA4GA1UdDwEB/wQEAwIHgDAdBgNVHQ4EFgQU +kUAXwbSmhvp9wZP5YUPmaXP78nIwHwYDVR0jBBgwFoAU3MrsF3b8JdXWtby8F7jX +AYmKW+kwCgYIKoZIzj0EAwIDRwAwRAIgJE4iLT2CDZ1G0Ad6Qjo0mhh88UD7Zwkk +uCAfoe3lma8CIFtUKbA0BpTqsaJLisdD7wV0Az5FKeIis5WG9MrkmeCs +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_16/dac-Key.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_16/dac-Key.der new file mode 100644 index 00000000000000..4a0b6824688860 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_16/dac-Key.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_16/dac-Key.pem b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_16/dac-Key.pem new file mode 100644 index 00000000000000..ca3fbdfe79a816 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_16/dac-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIKPyuGWkdHixqy8cXQBTIvjhJyZTM4MZDZJ6HHLYnWRioAoGCCqGSM49 +AwEHoUQDQgAE3h0PEJi4GAYCHYcJKf8Nx+RlB2M0rXWonp1Idlq+jkzveEg+JVR4 +43J+EREifp4K4sQzRmxIdxQqImmmhPVrhQ== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_16/pai-Cert.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_16/pai-Cert.der new file mode 100644 index 00000000000000..44f83f7f47216e Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_16/pai-Cert.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_16/pai-Cert.pem b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_16/pai-Cert.pem new file mode 100644 index 00000000000000..5d4c359ace3e5a --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_16/pai-Cert.pem @@ -0,0 +1,13 @@ +-----BEGIN CERTIFICATE----- +MIIB9zCCAZ2gAwIBAgIIdGAndxnb2YUwCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA0MjYw +MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowaTE7MDkGA1UEAwwyQUNNRSBNYXR0ZXIg +RGV2ZWwgUEFJIDVDREE5ODk5IE12aWQ6RkZGMSBNcGlkOjAwQjExFDASBgorBgEE +AYKifAIBDARGRkYyMRQwEgYKKwYBBAGConwCAgwEMDBCMjBZMBMGByqGSM49AgEG +CCqGSM49AwEHA0IABAh7Y6SkNgnCOoYzYHx+cYD8opD1hS52ePYau+Gbrz+uX7Or +zEeYCrNPgkaf+R/6OTnMR8H6l4V4b0JWu46BwjGjZjBkMBIGA1UdEwEB/wQIMAYB +Af8CAQEwDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBTcyuwXdvwl1da1vLwXuNcB +iYpb6TAfBgNVHSMEGDAWgBRq/SJ3H1Ef7L8WQZdnENzcMaFxfjAKBggqhkjOPQQD +AgNIADBFAiEAtNbuCr+9ZOfkCmvKVfW1cF2XJfmgRV+0e8tkinnl/SoCICMY8QQ8 +vND3TzkKHWP0lkU7rFeVcMM8R0HVaWSbQhM7 +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_16/pai-Key.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_16/pai-Key.der new file mode 100644 index 00000000000000..4fbb73a3d0b09c Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_16/pai-Key.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_16/pai-Key.pem b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_16/pai-Key.pem new file mode 100644 index 00000000000000..3beb7f644e7dda --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_16/pai-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIL361TpOyUphrFDGATk+gQmnhy91ZPfP2ovb9x32PMHhoAoGCCqGSM49 +AwEHoUQDQgAECHtjpKQ2CcI6hjNgfH5xgPyikPWFLnZ49hq74ZuvP65fs6vMR5gK +s0+CRp/5H/o5OcxHwfqXhXhvQla7joHCMQ== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_16/test_case_vector.json b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_16/test_case_vector.json new file mode 100644 index 00000000000000..50f0f0919ebea9 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_16/test_case_vector.json @@ -0,0 +1,9 @@ +{ + "description": "PAI Test Vector: Mix of Fallback and Matter OID encoding for VID and PID: wrong, Correct values encoded in the common-name are ignored", + "is_success_case": "false", + "dac_cert": "30820206308201ada00302010202083636a2925eaeb6ca300a06082a8648ce3d0403023069313b303906035504030c3241434d45204d617474657220446576656c20504149203543444139383939204d7669643a46464631204d7069643a3030423131143012060a2b0601040182a27c02010c044646463231143012060a2b0601040182a27c02020c04303042323020170d3232303432363030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742044414331143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04303042313059301306072a8648ce3d020106082a8648ce3d03010703420004de1d0f1098b81806021d870929ff0dc7e465076334ad75a89e9d48765abe8e4cef78483e255478e3727e1111227e9e0ae2c433466c4877142a2269a684f56b85a360305e300c0603551d130101ff04023000300e0603551d0f0101ff040403020780301d0603551d0e04160414914017c1b4a686fa7dc193f96143e66973fbf272301f0603551d23041830168014dccaec1776fc25d5d6b5bcbc17b8d701898a5be9300a06082a8648ce3d04030203470030440220244e222d3d820d9d46d0077a423a349a187cf140fb670924b8201fa1ede599af02205b5429b0340694eab1a24b8ac743ef0574033e4529e222b39586f4cae499e0ac", + "pai_cert": "308201f73082019da00302010202087460277719dbd985300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414131143012060a2b0601040182a27c02010c04464646313020170d3232303432363030303030305a180f39393939313233313233353935395a3069313b303906035504030c3241434d45204d617474657220446576656c20504149203543444139383939204d7669643a46464631204d7069643a3030423131143012060a2b0601040182a27c02010c044646463231143012060a2b0601040182a27c02020c04303042323059301306072a8648ce3d020106082a8648ce3d03010703420004087b63a4a43609c23a8633607c7e7180fca290f5852e7678f61abbe19baf3fae5fb3abcc47980ab34f82469ff91ffa3939cc47c1fa9785786f4256bb8e81c231a366306430120603551d130101ff040830060101ff020101300e0603551d0f0101ff040403020106301d0603551d0e04160414dccaec1776fc25d5d6b5bcbc17b8d701898a5be9301f0603551d230418301680146afd22771f511fecbf1641976710dcdc31a1717e300a06082a8648ce3d0403020348003045022100b4d6ee0abfbd64e7e40a6bca55f5b5705d9725f9a0455fb47bcb648a79e5fd2a02202318f1043cbcd0f74f390a1d63f496453bac579570c33c4741d569649b42133b", + "certification_declaration": "3081e806092a864886f70d010702a081da3081d7020103310d300b0609608648016503040201304406092a864886f70d010701a0370435152400012501f1ff360204b118250334122c04135a494732303134315a423333303030312d32342405002406002507769824080018317d307b020103801462fa823359acfaa9963e1cfa140addf504f37160300b0609608648016503040201300a06082a8648ce3d04030204473045022100bccdb1e0d981ea6ab96d081c148b792bf27d7a3247dab9c0a625405721468de1022072c250a3f69b2211a8e580f3d3d27f54b646cbb5c88a9486be07cc5651ee8904", + "dac_private_key": "a3f2b865a47478b1ab2f1c5d005322f8e12726533383190d927a1c72d89d6462", + "dac_public_key": "04de1d0f1098b81806021d870929ff0dc7e465076334ad75a89e9d48765abe8e4cef78483e255478e3727e1111227e9e0ae2c433466c4877142a2269a684f56b85" +} diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_17/cd.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_17/cd.der new file mode 100644 index 00000000000000..dbd1ce1c0b539d Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_17/cd.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_17/dac-Cert.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_17/dac-Cert.der new file mode 100644 index 00000000000000..10780ec5dd26a8 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_17/dac-Cert.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_17/dac-Cert.pem b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_17/dac-Cert.pem new file mode 100644 index 00000000000000..c7d16cce6c68ea --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_17/dac-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIByTCCAW6gAwIBAgIIaWRWJl7M4oQwCgYIKoZIzj0EAwIwKjESMBAGA1UEAwwJ +TXZpZDpGRkYxMRQwEgYKKwYBBAGConwCAgwEMDBCMTAgFw0yMjA0MjYwMDAwMDBa +GA85OTk5MTIzMTIzNTk1OVowRjEYMBYGA1UEAwwPTWF0dGVyIFRlc3QgREFDMRQw +EgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQBgqJ8AgIMBDAwQjEwWTATBgcq +hkjOPQIBBggqhkjOPQMBBwNCAARLkvF7+FxWjNxOTTEGTp2wXwnZQjrWYfaS817o +X/0jgZb6+0rFiCrFnK99r99TorOuOBbNqXZXbKDp/+J/4C2Mo2AwXjAMBgNVHRMB +Af8EAjAAMA4GA1UdDwEB/wQEAwIHgDAdBgNVHQ4EFgQUoJdo8ecGaTL8kvT79KfD +rLZJGCUwHwYDVR0jBBgwFoAUDdb4OWpTLIeli/ovEsM6++RG+2kwCgYIKoZIzj0E +AwIDSQAwRgIhAJ3mAbmIL676/fJ8Oh35uJ4ptlGtEUxmK/MBdjfHq6j+AiEAhAht +TPKkThK5JaNiHTcLK2gyl9CC73HXhNr5xKJfKbA= +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_17/dac-Key.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_17/dac-Key.der new file mode 100644 index 00000000000000..c3bbbe10e7afc7 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_17/dac-Key.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_17/dac-Key.pem b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_17/dac-Key.pem new file mode 100644 index 00000000000000..1dcb62c3a25769 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_17/dac-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEILWCfY3cjxpS8POyTOojrTPXJKt6W76MhnpFRhg7w01KoAoGCCqGSM49 +AwEHoUQDQgAES5Lxe/hcVozcTk0xBk6dsF8J2UI61mH2kvNe6F/9I4GW+vtKxYgq +xZyvfa/fU6KzrjgWzal2V2yg6f/if+AtjA== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_17/pai-Cert.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_17/pai-Cert.der new file mode 100644 index 00000000000000..748e8d64b3e262 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_17/pai-Cert.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_17/pai-Cert.pem b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_17/pai-Cert.pem new file mode 100644 index 00000000000000..a36fc3e4df3520 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_17/pai-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIBtzCCAV6gAwIBAgIIBmfvGkKEKAswCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA0MjYw +MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowKjESMBAGA1UEAwwJTXZpZDpGRkYxMRQw +EgYKKwYBBAGConwCAgwEMDBCMTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABBvQ +clzbzGk3Er+VbXdcSq/3DhnX28M5d9rg14/ldxIwLGUUAGPMwAMdtr6l9dbxO8bZ +EShbsS4RZNvP4cvImmejZjBkMBIGA1UdEwEB/wQIMAYBAf8CAQEwDgYDVR0PAQH/ +BAQDAgEGMB0GA1UdDgQWBBQN1vg5alMsh6WL+i8Swzr75Eb7aTAfBgNVHSMEGDAW +gBRq/SJ3H1Ef7L8WQZdnENzcMaFxfjAKBggqhkjOPQQDAgNHADBEAiBuLs2UXYzE +q8WUfaUEogUv1w7oXQti62az6vOQyHZeLAIgcRdtrn3B7vHZr4TWoGlykHjbxeyd +ORfyxwt9W6Ri+hw= +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_17/pai-Key.der b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_17/pai-Key.der new file mode 100644 index 00000000000000..0a2ff5c6f40462 Binary files /dev/null and b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_17/pai-Key.der differ diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_17/pai-Key.pem b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_17/pai-Key.pem new file mode 100644 index 00000000000000..6ecb67b51062d2 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_17/pai-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIOsLfErihojvByHetHApvIeb4jDnrrOgyf03bUznemw5oAoGCCqGSM49 +AwEHoUQDQgAEG9ByXNvMaTcSv5Vtd1xKr/cOGdfbwzl32uDXj+V3EjAsZRQAY8zA +Ax22vqX11vE7xtkRKFuxLhFk28/hy8iaZw== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_17/test_case_vector.json b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_17/test_case_vector.json new file mode 100644 index 00000000000000..3fb21bd1b51b1e --- /dev/null +++ b/credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_17/test_case_vector.json @@ -0,0 +1,9 @@ +{ + "description": "PAI Test Vector: Mix of Fallback and Matter OID encoding for VID and PID: invalid, PID is using Matter OID then VID must also use Matter OID", + "is_success_case": "false", + "dac_cert": "308201c93082016ea0030201020208696456265ecce284300a06082a8648ce3d040302302a3112301006035504030c094d7669643a4646463131143012060a2b0601040182a27c02020c04303042313020170d3232303432363030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742044414331143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04303042313059301306072a8648ce3d020106082a8648ce3d030107034200044b92f17bf85c568cdc4e4d31064e9db05f09d9423ad661f692f35ee85ffd238196fafb4ac5882ac59caf7dafdf53a2b3ae3816cda976576ca0e9ffe27fe02d8ca360305e300c0603551d130101ff04023000300e0603551d0f0101ff040403020780301d0603551d0e04160414a09768f1e7066932fc92f4fbf4a7c3acb6491825301f0603551d230418301680140dd6f8396a532c87a58bfa2f12c33afbe446fb69300a06082a8648ce3d04030203490030460221009de601b9882faefafdf27c3a1df9b89e29b651ad114c662bf3017637c7aba8fe02210084086d4cf2a44e12b925a3621d370b2b683297d082ef71d784daf9c4a25f29b0", + "pai_cert": "308201b73082015ea00302010202080667ef1a4284280b300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414131143012060a2b0601040182a27c02010c04464646313020170d3232303432363030303030305a180f39393939313233313233353935395a302a3112301006035504030c094d7669643a4646463131143012060a2b0601040182a27c02020c04303042313059301306072a8648ce3d020106082a8648ce3d030107034200041bd0725cdbcc693712bf956d775c4aaff70e19d7dbc33977dae0d78fe57712302c65140063ccc0031db6bea5f5d6f13bc6d911285bb12e1164dbcfe1cbc89a67a366306430120603551d130101ff040830060101ff020101300e0603551d0f0101ff040403020106301d0603551d0e041604140dd6f8396a532c87a58bfa2f12c33afbe446fb69301f0603551d230418301680146afd22771f511fecbf1641976710dcdc31a1717e300a06082a8648ce3d040302034700304402206e2ecd945d8cc4abc5947da504a2052fd70ee85d0b62eb66b3eaf390c8765e2c022071176dae7dc1eef1d9af84d6a069729078dbc5ec9d3917f2c70b7d5ba462fa1c", + "certification_declaration": "3081e806092a864886f70d010702a081da3081d7020103310d300b0609608648016503040201304406092a864886f70d010701a0370435152400012501f1ff360204b118250334122c04135a494732303134315a423333303030312d32342405002406002507769824080018317d307b020103801462fa823359acfaa9963e1cfa140addf504f37160300b0609608648016503040201300a06082a8648ce3d0403020447304502206f09b8e0c3b8fb4490ccdeadd3895e809cba70319cdb75ccf5fc66b51072b5ae0221009f3db6aefce25aa3f7f36e596ffbff48e9475248841be737cffe62eada8f6813", + "dac_private_key": "b5827d8ddc8f1a52f0f3b24cea23ad33d724ab7a5bbe8c867a4546183bc34d4a", + "dac_public_key": "044b92f17bf85c568cdc4e4d31064e9db05f09d9423ad661f692f35ee85ffd238196fafb4ac5882ac59caf7dafdf53a2b3ae3816cda976576ca0e9ffe27fe02d8c" +} diff --git a/src/tools/chip-cert/gen_com_dut_test_vectors.py b/src/tools/chip-cert/gen_com_dut_test_vectors.py index 0cace7f4192b74..bf33c2b16e00cb 100755 --- a/src/tools/chip-cert/gen_com_dut_test_vectors.py +++ b/src/tools/chip-cert/gen_com_dut_test_vectors.py @@ -12,6 +12,9 @@ from binascii import hexlify, unhexlify from enum import Enum +VID_NOT_PRESENT = 0xFFFF +PID_NOT_PRESENT = 0x0000 + class CertType(Enum): PAA = 1 @@ -195,6 +198,119 @@ class CertType(Enum): }, ] +VIDPID_FALLBACK_ENCODING_TEST_CASES = [ + # Valid/Invalid encoding examples from the spec: + { + "description": 'Fallback VID and PID encoding example from spec: valid and recommended since easily human-readable', + "common_name": 'ACME Matter Devel DAC 5CDA9899 Mvid:FFF1 Mpid:00B1', + "test_folder": 'vidpid_fallback_encoding_01', + "is_success_case": 'true', + }, + { + "description": 'Fallback VID and PID encoding example from spec: valid and recommended since easily human-readable', + "common_name": 'ACME Matter Devel DAC 5CDA9899 Mpid:00B1 Mvid:FFF1', + "test_folder": 'vidpid_fallback_encoding_02', + "is_success_case": 'true', + }, + { + "description": 'Fallback VID and PID encoding example from spec: valid example showing that order or separators are not considered at all for the overall validity of the embedded fields', + "common_name": 'Mpid:00B1,ACME Matter Devel DAC 5CDA9899,Mvid:FFF1', + "test_folder": 'vidpid_fallback_encoding_03', + "is_success_case": 'true', + }, + { + "description": 'Fallback VID and PID encoding example from spec: valid, but less readable', + "common_name": 'ACME Matter Devel DAC 5CDA9899 Mvid:FFF1Mpid:00B1', + "test_folder": 'vidpid_fallback_encoding_04', + "is_success_case": 'true', + }, + { + "description": 'Fallback VID and PID encoding example from spec: valid, but highly discouraged, since embedding of substrings within other substrings may be confusing to human readers', + "common_name": 'Mvid:FFF1ACME Matter Devel DAC 5CDAMpid:00B19899', + "test_folder": 'vidpid_fallback_encoding_05', + "is_success_case": 'true', + }, + { + "description": 'Fallback VID and PID encoding example from spec: invalid, since substring following Mvid: is not exactly 4 uppercase hexadecimal digits', + "common_name": 'ACME Matter Devel DAC 5CDA9899 Mvid:FF1 Mpid:00B1', + "test_folder": 'vidpid_fallback_encoding_06', + "is_success_case": 'false', + }, + { + "description": 'Fallback VID and PID encoding example from spec: invalid, since substring following Mvid: is not exactly 4 uppercase hexadecimal digits', + "common_name": 'ACME Matter Devel DAC 5CDA9899 Mvid:fff1 Mpid:00B1', + "test_folder": 'vidpid_fallback_encoding_07', + "is_success_case": 'false', + }, + { + "description": 'Fallback VID and PID encoding example from spec: invalid, since substring following Mpid: is not exactly 4 uppercase hexadecimal digits', + "common_name": 'ACME Matter Devel DAC 5CDA9899 Mvid:FFF1 Mpid:B1', + "test_folder": 'vidpid_fallback_encoding_08', + "is_success_case": 'true', + }, + { + "description": 'Fallback VID and PID encoding example from spec: invalid, since substring following Mpid: is not exactly 4 uppercase hexadecimal digits', + "common_name": 'ACME Matter Devel DAC 5CDA9899 Mpid: Mvid:FFF1', + "test_folder": 'vidpid_fallback_encoding_09', + "is_success_case": 'true', + }, + # More valid/invalid fallback encoding examples: + { + "description": 'Fallback VID and PID encoding example: invalid VID encoding', + "common_name": 'Mvid:FFF Mpid:00B10x', + "test_folder": 'vidpid_fallback_encoding_10', + "is_success_case": 'false', + }, + { + "description": 'Fallback VID and PID encoding example: valid, but less human-readable', + "common_name": 'MpidMvid:FFF10 Matter Test Mpid:00B1', + "test_folder": 'vidpid_fallback_encoding_11', + "is_success_case": 'true', + }, + { + "description": 'Fallback VID and PID encoding example: invalid, PID not present and VID not upper case', + "common_name": 'Matter Devel DAC Mpid:Mvid:Fff1', + "test_folder": 'vidpid_fallback_encoding_12', + "is_success_case": 'false', + }, + { + "description": 'Fallback VID and PID encoding example: invalid VID prefix', + "common_name": 'Matter Devel DAC Mpid:00B1 MVID:FFF1', + "test_folder": 'vidpid_fallback_encoding_13', + "is_success_case": 'false', + }, + { + "description": 'Fallback VID and PID encoding example: invalid PID and VID prefixes', + "common_name": 'Matter Devel DAC Mpid_00B1 Mvid_FFF1', + "test_folder": 'vidpid_fallback_encoding_14', + "is_success_case": 'false', + }, + # Examples with both fallback encoding in the common name and using Matter specific OIDs + { + "description": 'Mix of Fallback and Matter OID encoding for VID and PID: valid, Matter OIDs are used and wrong values in the common-name are ignored', + "common_name": 'ACME Matter Devel DAC 5CDA9899 Mvid:FFF2 Mpid:00B2', + "vid": 0xFFF1, + "pid": 0x00B1, + "test_folder": 'vidpid_fallback_encoding_15', + "is_success_case": 'true', + }, + { + "description": 'Mix of Fallback and Matter OID encoding for VID and PID: wrong, Correct values encoded in the common-name are ignored', + "common_name": 'ACME Matter Devel DAC 5CDA9899 Mvid:FFF1 Mpid:00B1', + "vid": 0xFFF2, + "pid": 0x00B2, + "test_folder": 'vidpid_fallback_encoding_16', + "is_success_case": 'false', + }, + { + "description": 'Mix of Fallback and Matter OID encoding for VID and PID: invalid, PID is using Matter OID then VID must also use Matter OID', + "common_name": 'Mvid:FFF1', + "pid": 0x00B1, + "test_folder": 'vidpid_fallback_encoding_17', + "is_success_case": 'false', + }, +] + class Names: def __init__(self, cert_type: CertType, paa_path, test_case_out_dir): @@ -210,12 +326,13 @@ def __init__(self, cert_type: CertType, paa_path, test_case_out_dir): class DevCertBuilder: - def __init__(self, cert_type: CertType, error_type: str, paa_path: str, test_case_out_dir: str, chip_cert: str, vid: int, pid: int): + def __init__(self, cert_type: CertType, error_type: str, paa_path: str, test_case_out_dir: str, chip_cert: str, vid: int, pid: int, custom_cn_attribute: str): self.vid = vid self.pid = pid self.cert_type = cert_type self.error_type = error_type self.chipcert = chip_cert + self.custom_cn_attribute = custom_cn_attribute if not os.path.exists(self.chipcert): raise Exception('Path not found: %s' % self.chipcert) @@ -236,16 +353,17 @@ def __init__(self, cert_type: CertType, error_type: str, paa_path: str, test_cas def make_certs_and_keys(self) -> None: """Creates the PEM and DER certs and keyfiles""" error_type_flag = ' -i -e' + self.error_type + subject_name = self.custom_cn_attribute + vid_flag = ' -V 0x{:X}'.format(self.vid) + pid_flag = ' -P 0x{:X}'.format(self.pid) if self.cert_type == CertType.PAI: - subject_name = 'Matter Test PAI' - vid_flag = ' -V 0x{:X}'.format(self.vid) - pid_flag = '' + if (len(subject_name) == 0): + subject_name = 'Matter Test PAI' type_flag = '-t i' elif self.cert_type == CertType.DAC: - subject_name = 'Matter Test DAC' - vid_flag = ' -V 0x{:X}'.format(self.vid) - pid_flag = ' -P 0x{:X}'.format(self.pid) + if (len(subject_name) == 0): + subject_name = 'Matter Test DAC' type_flag = '-t d' else: return @@ -363,7 +481,7 @@ def main(): # Generate PAI Cert/Key builder = DevCertBuilder(CertType.PAI, error_type_pai, args.paapath, test_case_out_dir, - chipcert, vid, pid) + chipcert, vid, PID_NOT_PRESENT, '') builder.make_certs_and_keys() if test_cert == 'pai': @@ -374,7 +492,7 @@ def main(): # Generate DAC Cert/Key builder = DevCertBuilder(CertType.DAC, error_type_dac, args.paapath, test_case_out_dir, - chipcert, vid, pid) + chipcert, vid, pid, '') builder.make_certs_and_keys() # Generate Certification Declaration (CD) @@ -387,6 +505,55 @@ def main(): # Generate Test Case Data Container in JSON Format generate_test_case_vector_json(test_case_out_dir, test_cert, test_case) + for test_cert in ['dac', 'pai']: + for test_case in VIDPID_FALLBACK_ENCODING_TEST_CASES: + test_case_out_dir = args.outdir + '/struct_' + test_cert + '_' + test_case["test_folder"] + if test_cert == 'dac': + common_name_dac = test_case["common_name"] + common_name_pai = '' + if "vid" in test_case: + vid_dac = test_case["vid"] + else: + vid_dac = VID_NOT_PRESENT + if "pid" in test_case: + pid_dac = test_case["pid"] + else: + pid_dac = PID_NOT_PRESENT + vid_pai = 0xFFF1 + pid_pai = 0x00B1 + else: + common_name_dac = '' + common_name_pai = test_case["common_name"] + common_name_pai = common_name_pai.replace('DAC', 'PAI') + vid_dac = 0xFFF1 + pid_dac = 0x00B1 + if "vid" in test_case: + vid_pai = test_case["vid"] + else: + vid_pai = VID_NOT_PRESENT + if "pid" in test_case: + pid_pai = test_case["pid"] + else: + pid_pai = PID_NOT_PRESENT + + # Generate PAI Cert/Key + builder = DevCertBuilder(CertType.PAI, 'no-error', args.paapath, test_case_out_dir, + chipcert, vid_pai, pid_pai, common_name_pai) + builder.make_certs_and_keys() + + # Generate DAC Cert/Key + builder = DevCertBuilder(CertType.DAC, 'no-error', args.paapath, test_case_out_dir, + chipcert, vid_dac, pid_dac, common_name_dac) + builder.make_certs_and_keys() + + # Generate Certification Declaration (CD) + cmd = chipcert + ' gen-cd -K ' + cd_key + ' -C ' + cd_cert + ' -O ' + test_case_out_dir + '/cd.der' + \ + ' -f 1 -V 0xFFF1 -p 0x00B1 -d 0x1234 -c "ZIG20141ZB330001-24" -l 0 -i 0 -n 9876 -t 0' + subprocess.run(cmd, shell=True) + + # Generate Test Case Data Container in JSON Format + generate_test_case_vector_json(test_case_out_dir, test_cert, test_case) + if __name__ == '__main__': sys.exit(main())