From 21017465d87010a878c62d9775b55bf9e9b5182f Mon Sep 17 00:00:00 2001 From: Evgeny Margolis Date: Mon, 2 May 2022 12:05:11 -0700 Subject: [PATCH] Added Test Vectors to Validate Fallback Encoding Method for VID and PID. (#17772) --- .../cd.der | Bin 0 -> 235 bytes .../dac-Cert.der | Bin 0 -> 479 bytes .../dac-Cert.pem | 12 ++ .../dac-Key.der | Bin 0 -> 121 bytes .../dac-Key.pem | 5 + .../pai-Cert.der | Bin 0 -> 471 bytes .../pai-Cert.pem | 12 ++ .../pai-Key.der | Bin 0 -> 121 bytes .../pai-Key.pem | 5 + .../test_case_vector.json | 9 + .../cd.der | Bin 0 -> 235 bytes .../dac-Cert.der | Bin 0 -> 479 bytes .../dac-Cert.pem | 12 ++ .../dac-Key.der | Bin 0 -> 121 bytes .../dac-Key.pem | 5 + .../pai-Cert.der | Bin 0 -> 472 bytes .../pai-Cert.pem | 12 ++ .../pai-Key.der | Bin 0 -> 121 bytes .../pai-Key.pem | 5 + .../test_case_vector.json | 9 + .../cd.der | Bin 0 -> 235 bytes .../dac-Cert.der | Bin 0 -> 479 bytes .../dac-Cert.pem | 12 ++ .../dac-Key.der | Bin 0 -> 121 bytes .../dac-Key.pem | 5 + .../pai-Cert.der | Bin 0 -> 471 bytes .../pai-Cert.pem | 12 ++ .../pai-Key.der | Bin 0 -> 121 bytes .../pai-Key.pem | 5 + .../test_case_vector.json | 9 + .../cd.der | Bin 0 -> 236 bytes .../dac-Cert.der | Bin 0 -> 478 bytes .../dac-Cert.pem | 12 ++ .../dac-Key.der | Bin 0 -> 121 bytes .../dac-Key.pem | 5 + .../pai-Cert.der | Bin 0 -> 471 bytes .../pai-Cert.pem | 12 ++ .../pai-Key.der | Bin 0 -> 121 bytes .../pai-Key.pem | 5 + .../test_case_vector.json | 9 + .../cd.der | Bin 0 -> 235 bytes .../dac-Cert.der | Bin 0 -> 477 bytes .../dac-Cert.pem | 12 ++ .../dac-Key.der | Bin 0 -> 121 bytes .../dac-Key.pem | 5 + .../pai-Cert.der | Bin 0 -> 472 bytes .../pai-Cert.pem | 12 ++ .../pai-Key.der | Bin 0 -> 121 bytes .../pai-Key.pem | 5 + .../test_case_vector.json | 9 + .../cd.der | Bin 0 -> 235 bytes .../dac-Cert.der | Bin 0 -> 479 bytes .../dac-Cert.pem | 12 ++ .../dac-Key.der | Bin 0 -> 121 bytes .../dac-Key.pem | 5 + .../pai-Cert.der | Bin 0 -> 472 bytes .../pai-Cert.pem | 12 ++ .../pai-Key.der | Bin 0 -> 121 bytes .../pai-Key.pem | 5 + .../test_case_vector.json | 9 + .../cd.der | Bin 0 -> 235 bytes .../dac-Cert.der | Bin 0 -> 478 bytes .../dac-Cert.pem | 12 ++ .../dac-Key.der | Bin 0 -> 121 bytes .../dac-Key.pem | 5 + .../pai-Cert.der | Bin 0 -> 471 bytes .../pai-Cert.pem | 12 ++ .../pai-Key.der | Bin 0 -> 121 bytes .../pai-Key.pem | 5 + .../test_case_vector.json | 9 + .../cd.der | Bin 0 -> 235 bytes .../dac-Cert.der | Bin 0 -> 476 bytes .../dac-Cert.pem | 12 ++ .../dac-Key.der | Bin 0 -> 121 bytes .../dac-Key.pem | 5 + .../pai-Cert.der | Bin 0 -> 471 bytes .../pai-Cert.pem | 12 ++ .../pai-Key.der | Bin 0 -> 121 bytes .../pai-Key.pem | 5 + .../test_case_vector.json | 9 + .../cd.der | Bin 0 -> 235 bytes .../dac-Cert.der | Bin 0 -> 475 bytes .../dac-Cert.pem | 12 ++ .../dac-Key.der | Bin 0 -> 121 bytes .../dac-Key.pem | 5 + .../pai-Cert.der | Bin 0 -> 472 bytes .../pai-Cert.pem | 12 ++ .../pai-Key.der | Bin 0 -> 121 bytes .../pai-Key.pem | 5 + .../test_case_vector.json | 9 + .../cd.der | Bin 0 -> 234 bytes .../dac-Cert.der | Bin 0 -> 449 bytes .../dac-Cert.pem | 12 ++ .../dac-Key.der | Bin 0 -> 121 bytes .../dac-Key.pem | 5 + .../pai-Cert.der | Bin 0 -> 473 bytes .../pai-Cert.pem | 12 ++ .../pai-Key.der | Bin 0 -> 121 bytes .../pai-Key.pem | 5 + .../test_case_vector.json | 9 + .../cd.der | Bin 0 -> 235 bytes .../dac-Cert.der | Bin 0 -> 464 bytes .../dac-Cert.pem | 12 ++ .../dac-Key.der | Bin 0 -> 121 bytes .../dac-Key.pem | 5 + .../pai-Cert.der | Bin 0 -> 473 bytes .../pai-Cert.pem | 12 ++ .../pai-Key.der | Bin 0 -> 121 bytes .../pai-Key.pem | 5 + .../test_case_vector.json | 9 + .../cd.der | Bin 0 -> 235 bytes .../dac-Cert.der | Bin 0 -> 461 bytes .../dac-Cert.pem | 12 ++ .../dac-Key.der | Bin 0 -> 121 bytes .../dac-Key.pem | 5 + .../pai-Cert.der | Bin 0 -> 472 bytes .../pai-Cert.pem | 12 ++ .../pai-Key.der | Bin 0 -> 121 bytes .../pai-Key.pem | 5 + .../test_case_vector.json | 9 + .../cd.der | Bin 0 -> 235 bytes .../dac-Cert.der | Bin 0 -> 465 bytes .../dac-Cert.pem | 12 ++ .../dac-Key.der | Bin 0 -> 121 bytes .../dac-Key.pem | 5 + .../pai-Cert.der | Bin 0 -> 471 bytes .../pai-Cert.pem | 12 ++ .../pai-Key.der | Bin 0 -> 121 bytes .../pai-Key.pem | 5 + .../test_case_vector.json | 9 + .../cd.der | Bin 0 -> 235 bytes .../dac-Cert.der | Bin 0 -> 464 bytes .../dac-Cert.pem | 12 ++ .../dac-Key.der | Bin 0 -> 121 bytes .../dac-Key.pem | 5 + .../pai-Cert.der | Bin 0 -> 472 bytes .../pai-Cert.pem | 12 ++ .../pai-Key.der | Bin 0 -> 121 bytes .../pai-Key.pem | 5 + .../test_case_vector.json | 9 + .../cd.der | Bin 0 -> 235 bytes .../dac-Cert.der | Bin 0 -> 522 bytes .../dac-Cert.pem | 13 ++ .../dac-Key.der | Bin 0 -> 121 bytes .../dac-Key.pem | 5 + .../pai-Cert.der | Bin 0 -> 473 bytes .../pai-Cert.pem | 12 ++ .../pai-Key.der | Bin 0 -> 121 bytes .../pai-Key.pem | 5 + .../test_case_vector.json | 9 + .../cd.der | Bin 0 -> 235 bytes .../dac-Cert.der | Bin 0 -> 522 bytes .../dac-Cert.pem | 13 ++ .../dac-Key.der | Bin 0 -> 121 bytes .../dac-Key.pem | 5 + .../pai-Cert.der | Bin 0 -> 472 bytes .../pai-Cert.pem | 12 ++ .../pai-Key.der | Bin 0 -> 121 bytes .../pai-Key.pem | 5 + .../test_case_vector.json | 9 + .../cd.der | Bin 0 -> 234 bytes .../dac-Cert.der | Bin 0 -> 460 bytes .../dac-Cert.pem | 12 ++ .../dac-Key.der | Bin 0 -> 121 bytes .../dac-Key.pem | 5 + .../pai-Cert.der | Bin 0 -> 473 bytes .../pai-Cert.pem | 12 ++ .../pai-Key.der | Bin 0 -> 121 bytes .../pai-Key.pem | 5 + .../test_case_vector.json | 9 + .../cd.der | Bin 0 -> 235 bytes .../dac-Cert.der | Bin 0 -> 479 bytes .../dac-Cert.pem | 12 ++ .../dac-Key.der | Bin 0 -> 121 bytes .../dac-Key.pem | 5 + .../pai-Cert.der | Bin 0 -> 464 bytes .../pai-Cert.pem | 12 ++ .../pai-Key.der | Bin 0 -> 121 bytes .../pai-Key.pem | 5 + .../test_case_vector.json | 9 + .../cd.der | Bin 0 -> 235 bytes .../dac-Cert.der | Bin 0 -> 478 bytes .../dac-Cert.pem | 12 ++ .../dac-Key.der | Bin 0 -> 121 bytes .../dac-Key.pem | 5 + .../pai-Cert.der | Bin 0 -> 463 bytes .../pai-Cert.pem | 12 ++ .../pai-Key.der | Bin 0 -> 121 bytes .../pai-Key.pem | 5 + .../test_case_vector.json | 9 + .../cd.der | Bin 0 -> 236 bytes .../dac-Cert.der | Bin 0 -> 478 bytes .../dac-Cert.pem | 12 ++ .../dac-Key.der | Bin 0 -> 121 bytes .../dac-Key.pem | 5 + .../pai-Cert.der | Bin 0 -> 464 bytes .../pai-Cert.pem | 12 ++ .../pai-Key.der | Bin 0 -> 121 bytes .../pai-Key.pem | 5 + .../test_case_vector.json | 9 + .../cd.der | Bin 0 -> 234 bytes .../dac-Cert.der | Bin 0 -> 477 bytes .../dac-Cert.pem | 12 ++ .../dac-Key.der | Bin 0 -> 121 bytes .../dac-Key.pem | 5 + .../pai-Cert.der | Bin 0 -> 462 bytes .../pai-Cert.pem | 12 ++ .../pai-Key.der | Bin 0 -> 121 bytes .../pai-Key.pem | 5 + .../test_case_vector.json | 9 + .../cd.der | Bin 0 -> 236 bytes .../dac-Cert.der | Bin 0 -> 477 bytes .../dac-Cert.pem | 12 ++ .../dac-Key.der | Bin 0 -> 121 bytes .../dac-Key.pem | 5 + .../pai-Cert.der | Bin 0 -> 461 bytes .../pai-Cert.pem | 12 ++ .../pai-Key.der | Bin 0 -> 121 bytes .../pai-Key.pem | 5 + .../test_case_vector.json | 9 + .../cd.der | Bin 0 -> 235 bytes .../dac-Cert.der | Bin 0 -> 478 bytes .../dac-Cert.pem | 12 ++ .../dac-Key.der | Bin 0 -> 121 bytes .../dac-Key.pem | 5 + .../pai-Cert.der | Bin 0 -> 462 bytes .../pai-Cert.pem | 12 ++ .../pai-Key.der | Bin 0 -> 121 bytes .../pai-Key.pem | 5 + .../test_case_vector.json | 9 + .../cd.der | Bin 0 -> 235 bytes .../dac-Cert.der | Bin 0 -> 479 bytes .../dac-Cert.pem | 12 ++ .../dac-Key.der | Bin 0 -> 121 bytes .../dac-Key.pem | 5 + .../pai-Cert.der | Bin 0 -> 464 bytes .../pai-Cert.pem | 12 ++ .../pai-Key.der | Bin 0 -> 121 bytes .../pai-Key.pem | 5 + .../test_case_vector.json | 9 + .../cd.der | Bin 0 -> 235 bytes .../dac-Cert.der | Bin 0 -> 477 bytes .../dac-Cert.pem | 12 ++ .../dac-Key.der | Bin 0 -> 121 bytes .../dac-Key.pem | 5 + .../pai-Cert.der | Bin 0 -> 461 bytes .../pai-Cert.pem | 12 ++ .../pai-Key.der | Bin 0 -> 121 bytes .../pai-Key.pem | 5 + .../test_case_vector.json | 9 + .../cd.der | Bin 0 -> 234 bytes .../dac-Cert.der | Bin 0 -> 476 bytes .../dac-Cert.pem | 12 ++ .../dac-Key.der | Bin 0 -> 121 bytes .../dac-Key.pem | 5 + .../pai-Cert.der | Bin 0 -> 459 bytes .../pai-Cert.pem | 12 ++ .../pai-Key.der | Bin 0 -> 121 bytes .../pai-Key.pem | 5 + .../test_case_vector.json | 9 + .../cd.der | Bin 0 -> 234 bytes .../dac-Cert.der | Bin 0 -> 449 bytes .../dac-Cert.pem | 12 ++ .../dac-Key.der | Bin 0 -> 121 bytes .../dac-Key.pem | 5 + .../pai-Cert.der | Bin 0 -> 433 bytes .../pai-Cert.pem | 12 ++ .../pai-Key.der | Bin 0 -> 121 bytes .../pai-Key.pem | 5 + .../test_case_vector.json | 9 + .../cd.der | Bin 0 -> 235 bytes .../dac-Cert.der | Bin 0 -> 465 bytes .../dac-Cert.pem | 12 ++ .../dac-Key.der | Bin 0 -> 121 bytes .../dac-Key.pem | 5 + .../pai-Cert.der | Bin 0 -> 449 bytes .../pai-Cert.pem | 12 ++ .../pai-Key.der | Bin 0 -> 121 bytes .../pai-Key.pem | 5 + .../test_case_vector.json | 9 + .../cd.der | Bin 0 -> 235 bytes .../dac-Cert.der | Bin 0 -> 460 bytes .../dac-Cert.pem | 12 ++ .../dac-Key.der | Bin 0 -> 121 bytes .../dac-Key.pem | 5 + .../pai-Cert.der | Bin 0 -> 445 bytes .../pai-Cert.pem | 12 ++ .../pai-Key.der | Bin 0 -> 121 bytes .../pai-Key.pem | 5 + .../test_case_vector.json | 9 + .../cd.der | Bin 0 -> 234 bytes .../dac-Cert.der | Bin 0 -> 465 bytes .../dac-Cert.pem | 12 ++ .../dac-Key.der | Bin 0 -> 121 bytes .../dac-Key.pem | 5 + .../pai-Cert.der | Bin 0 -> 450 bytes .../pai-Cert.pem | 12 ++ .../pai-Key.der | Bin 0 -> 121 bytes .../pai-Key.pem | 5 + .../test_case_vector.json | 9 + .../cd.der | Bin 0 -> 235 bytes .../dac-Cert.der | Bin 0 -> 466 bytes .../dac-Cert.pem | 12 ++ .../dac-Key.der | Bin 0 -> 121 bytes .../dac-Key.pem | 5 + .../pai-Cert.der | Bin 0 -> 450 bytes .../pai-Cert.pem | 12 ++ .../pai-Key.der | Bin 0 -> 121 bytes .../pai-Key.pem | 5 + .../test_case_vector.json | 9 + .../cd.der | Bin 0 -> 236 bytes .../dac-Cert.der | Bin 0 -> 522 bytes .../dac-Cert.pem | 13 ++ .../dac-Key.der | Bin 0 -> 121 bytes .../dac-Key.pem | 5 + .../pai-Cert.der | Bin 0 -> 508 bytes .../pai-Cert.pem | 13 ++ .../pai-Key.der | Bin 0 -> 121 bytes .../pai-Key.pem | 5 + .../test_case_vector.json | 9 + .../cd.der | Bin 0 -> 235 bytes .../dac-Cert.der | Bin 0 -> 522 bytes .../dac-Cert.pem | 13 ++ .../dac-Key.der | Bin 0 -> 121 bytes .../dac-Key.pem | 5 + .../pai-Cert.der | Bin 0 -> 507 bytes .../pai-Cert.pem | 13 ++ .../pai-Key.der | Bin 0 -> 121 bytes .../pai-Key.pem | 5 + .../test_case_vector.json | 9 + .../cd.der | Bin 0 -> 235 bytes .../dac-Cert.der | Bin 0 -> 461 bytes .../dac-Cert.pem | 12 ++ .../dac-Key.der | Bin 0 -> 121 bytes .../dac-Key.pem | 5 + .../pai-Cert.der | Bin 0 -> 443 bytes .../pai-Cert.pem | 12 ++ .../pai-Key.der | Bin 0 -> 121 bytes .../pai-Key.pem | 5 + .../test_case_vector.json | 9 + .../chip-cert/gen_com_dut_test_vectors.py | 185 +++++++++++++++++- 341 files changed, 1644 insertions(+), 9 deletions(-) create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_01/cd.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_01/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_01/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_01/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_01/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_01/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_01/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_01/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_01/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_01/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_02/cd.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_02/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_02/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_02/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_02/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_02/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_02/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_02/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_02/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_02/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_03/cd.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_03/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_03/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_03/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_03/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_03/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_03/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_03/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_03/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_03/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_04/cd.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_04/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_04/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_04/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_04/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_04/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_04/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_04/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_04/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_04/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_05/cd.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_05/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_05/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_05/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_05/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_05/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_05/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_05/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_05/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_05/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_06/cd.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_06/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_06/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_06/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_06/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_06/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_06/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_06/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_06/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_06/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_07/cd.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_07/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_07/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_07/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_07/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_07/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_07/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_07/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_07/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_07/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_08/cd.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_08/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_08/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_08/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_08/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_08/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_08/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_08/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_08/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_08/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_09/cd.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_09/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_09/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_09/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_09/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_09/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_09/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_09/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_09/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_09/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_10/cd.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_10/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_10/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_10/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_10/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_10/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_10/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_10/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_10/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_10/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_11/cd.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_11/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_11/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_11/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_11/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_11/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_11/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_11/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_11/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_11/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_12/cd.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_12/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_12/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_12/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_12/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_12/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_12/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_12/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_12/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_12/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_13/cd.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_13/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_13/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_13/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_13/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_13/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_13/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_13/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_13/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_13/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_14/cd.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_14/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_14/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_14/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_14/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_14/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_14/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_14/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_14/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_14/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_15/cd.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_15/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_15/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_15/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_15/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_15/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_15/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_15/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_15/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_15/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_16/cd.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_16/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_16/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_16/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_16/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_16/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_16/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_16/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_16/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_16/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_17/cd.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_17/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_17/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_17/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_17/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_17/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_17/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_17/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_17/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_dac_vidpid_fallback_encoding_17/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_01/cd.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_01/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_01/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_01/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_01/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_01/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_01/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_01/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_01/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_01/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_02/cd.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_02/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_02/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_02/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_02/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_02/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_02/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_02/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_02/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_02/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_03/cd.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_03/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_03/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_03/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_03/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_03/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_03/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_03/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_03/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_03/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_04/cd.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_04/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_04/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_04/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_04/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_04/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_04/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_04/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_04/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_04/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_05/cd.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_05/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_05/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_05/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_05/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_05/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_05/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_05/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_05/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_05/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_06/cd.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_06/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_06/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_06/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_06/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_06/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_06/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_06/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_06/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_06/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_07/cd.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_07/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_07/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_07/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_07/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_07/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_07/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_07/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_07/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_07/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_08/cd.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_08/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_08/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_08/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_08/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_08/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_08/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_08/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_08/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_08/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_09/cd.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_09/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_09/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_09/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_09/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_09/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_09/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_09/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_09/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_09/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_10/cd.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_10/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_10/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_10/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_10/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_10/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_10/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_10/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_10/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_10/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_11/cd.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_11/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_11/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_11/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_11/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_11/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_11/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_11/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_11/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_11/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_12/cd.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_12/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_12/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_12/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_12/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_12/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_12/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_12/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_12/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_12/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_13/cd.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_13/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_13/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_13/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_13/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_13/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_13/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_13/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_13/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_13/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_14/cd.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_14/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_14/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_14/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_14/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_14/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_14/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_14/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_14/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_14/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_15/cd.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_15/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_15/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_15/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_15/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_15/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_15/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_15/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_15/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_15/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_16/cd.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_16/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_16/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_16/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_16/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_16/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_16/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_16/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_16/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_16/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_17/cd.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_17/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_17/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_17/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_17/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_17/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_17/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_17/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_17/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_pai_vidpid_fallback_encoding_17/test_case_vector.json 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 0000000000000000000000000000000000000000..8712acdd3d56be0bed363227aa62390188c26104 GIT binary patch literal 235 zcmXqLe8I-4)#lOmotKfFX+h&HgU0JjjLe3-2Hb3%32h#Xsmv@)j0P?UMT`r~SxiM$ z7#LL273TXkr-UWNd6;U|^_gWTL{#pu)zW%3d}@g@ZxD zu-2d&Xm*20(yu1t$Th!KPP3EwCBk+0E6eA?1XTOD*f@ZWI%mtm%*5hu;L4=H>dk*H z!>3`#woMldBu}y*aocF>bnPVX{-mID746RqU6~Xa7GAjAZ(5iATq|orfp5Y-LFp9d Se(%-%xsO{{rt3;?_@1tM&_;9SY?@PRL`c@b7>x%m}t`4WzFUoMPj;VX?@?pK{pEarSd9}Q+R+k$D zE>19rGvEQbOjekY@jnZb0fPY_h{q4&0mF#B!9W(o=VK9L5!s{1)+N5{{`^hzxGtPo z*{aa#*H~{L50X}90fuCQNcGFsU0h=CBy(3uGs`F!r>?H~`UyG2nLQW`T$vOZ8rDwh zKFZhZ)y=`%(lGOoz?P)nXSq+;WM{SomI-KYzssbcJbn56pVgagc(xl%+?*`B$v)`0 SQJqu7>wk)O`jw0GcL4wvd6XFd literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..0a62948ead46edb7eb6a9fa6ed0bd2579d3722b6 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1RzkYHNk+$j>KUTCxzopE>t4iS&K=m6G#1x2l)q6N)w<81_&yK zNX|V20SBQ(13~}<&#aT1{ngJnPeo}@All3RFnsS@>P$=st3Qrm)XUn61M7I-JVijt b2hkh}t6YBTMDVXQ{H$dkZhZ~vt9LL_P3bd; literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..873f9ac73279c5696b1d4498c9b88aa267eb3f56 GIT binary patch literal 471 zcmXqLV!Uk7#8|a}nTe5!i6bJwR{xQ?{2>D_HV&;ek8`#x%uEIbh7ty1Y|No7%sl+Q zi6teeMG7IQ#U%;>j*f;R210CH+H8z0j7^Jbm>79j+}zv@4HU$Ajf@OTjLZzcAWDMY z5(o^9jDg71($q4_zzwIFp4iPq6J_FIF)(m4G>9}1W@87tl!+1QWM)QoW+w)gXVX(F zU#va)?YfchtVOePSN@sB9&-2Dsadx@7Wh2;nUng{>HdMUlX(RS-8yBmcKa;-#J2wC z?C)n@Z>x=XeugJ*-QqNZ6rksrLuG{-8UM3z7_b2;CPqdBK9CqcNDLS_jBEz7AU+?9 z7>h{t%hp|7V(%n#S4lI=C>N)$uKD`OKprHm%mNI;29d14O6Br_@^AKwIZjU(xO2yF zVPPF|P&2zT7`QMgR61y%|0gibQjoA=D?wtZOV%nV+x4L&=| literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..b8a4a36688658dd1da10e5495672505ede4dd658 GIT binary patch literal 235 zcmXqLe8I-4)#lOmotKfFX+h&HgU0JjjLe3-2Hb3%32h#Xsmv@)j0P?UMT`r~SxiM$ z7#LL273TXkr-UWNd6;U|^_gWTL{#pu)zW%3d}@g@ZxD zu-2d&Xm*20(yu1t$Th!KPP3EwCBk+0E6eA?1XTOD*f@ZWI%mtm%*5hu;L4<65@Wmj z;1srnIt*I-^yfd9Qq^{hecclJX4<0Hf$lBNicE?O$F^-R-}NDHUH*%EU&Jp~u6BGG TvSsbcJ$jS<_I;oAdvYxR#e++l literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..f606ba35e187b2ad872040b0662122e3035ec44c GIT binary patch literal 479 zcmXqLV!Un8#MroinTe5!iK8&Pj-G}h210CH+H8z0j7^Jbm>79j+}zv@(L|YeSPTrD3=I^-d5w$= zOpMG7z#vM3-x3H6jf{cF)Y8;4%D~pp+Q1TGlaZsdud4#oI+xV4)EosDM`s07XBS6H z3rkA{--65(E0D1YzGXlb$XbI)17S9Hu(O#Mq3&m9WM_6_VA(alYTKK)eNq_`ZYAP7 zBANE^%N|>tp}US To4g brC{;f@51B)@`*71?VfJW^ZbWm-nT+5esnn- literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..8ab81ac300ff01bfdf2e27d3e138e693e9008cae GIT binary patch literal 472 zcmXqLV!UF|#8|a}nTe5!iGwZ6k43_+_qPET8;4e#$2nUTW+npzLkR;hHs(+kW*&au z#FCQKB88CD;u3`bM@K^u10gmpZ8k<0#->FzOpH7%Zf`F7aUM}FSbm98`e#?wa8*j)n zgjTHokeR#v*OpbSi_;8JfSzLxl@(@W{LjK+zy_q47#R)tKw|tLF<{^@vKh#N_fMLS@@3y=T(wH;kB+m`KPK4X&iC?V>O;H}Ce@fgl?-Ya~tVz&NU;qMHr8R)_4+kFJIyJWg%G}m_! bM273TXkr-UWNd6;U|^_gWTL{#pu)zW%3d}@g@ZxD zu-2d&Xm*20(yu1t$Th!KPP3EwCBk+0E6eA?1XTOD*f@ZWI%mtm%*5hu;L4=nC4Z)& zMdtLUm$P>Lzx%e_=gKPi9JB7f$8@Hd1Zt{YIm@KT(6#lCK&;6%1(Wwp-X~@9xm;I; S-Q8pEx83aUyuTqy92x*gL`m`h literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..0560f3369f75347cdcb39a465f50d55ee97f1c2e GIT binary patch literal 479 zcmXqLV!Un8#MroinTe5!iKF&tHB-+GA29j-G}h210CH+H8z0j7^Jbm>79j+}zv@(L|YeSPTrD3=I^-d5w$= zOpMG7z#vM3-x3H6jf{cF)Y8;4%D~pp+Q1TGlaX&hW{MR^pN^xmud4#oVwcpi)EosD zM`s07XBS6H3rkBK-!h;=khKPp2EuIYU}rNiLfy~I$jZ+ba%NQS>4DaoysbI{-a+kgVC22 z&le{c#2N4aT_!8c$oQXy$$-It55(gK@ql5(-e4dL;`6bHv543UDI0&Qb9J6`>2>hm zFH3)wd7o-GkOxUCvj9V~K_u^N_!70vkvfkq`W^e{T5^i5vLFpP#F;%93|yHMaWcX)~D=8GeWyWUI3|`Yd-r;GK}}@N`qV Td*$Nl5jGM+i~EGL^&bKNRj!lk literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..773a58fcd13e8b7867febc74aa45a51cd6392e39 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1Rxc9p_T&k98Cw#6nafiJd*1*2@Zpc1H$P02ab04?p2@)1_&yK zNX|V20SBQ(13~}P3?hQ-Vet!~O!O=Z3NImpoM bAUTYgM?~LQdw~KQWd$G4@lIU;GW4kDKGQR? literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..40a583fb36602d97975066fb628c36cd490ad673 GIT binary patch literal 471 zcmXqLV!Uk7#8|a}nTe5!i6hnN)R&%3)3zFLv2kd%d7QIlVP-NgFqAM5V`C0wVdmlY zO)M!%Em86mZp|b25vab^u%r^nkW+wi-CcYp+Tg9FdIAArA&-aCo?m$GdnS`G|Vnb zJaB;_TJzPLs`PVgx*|I}{R3_&vo+1so_$IoXGzE2JEDu%a&D}1U*sLV(((GHTSD)z zx_Fk&eBJm$^f;&1;xvO4py!xFWrZ0T|FduyumLG1Mn(fZkQhHm3>Y|!YzDF*J|Bx1 zi%8zt@Fi-SBXu5K^gH&?wd53AWkH&OJV;uZ1sH@4B3XZx%H;#)-|QE2oSrUl=Z@jR z!aC%jW_D*VaA8tN-NNP@UKLsW$cf|Yr;_BWw%*r%EjQX*C-OE<;X`JJDU*Wm&eL*L hChN{riRLfoJ273TXkr-UWNd6;U|^_gWTL{#pu)zW%3d}@g@ZxD zu+E?cXm*20(yu1t$Th!KPP3EwCBk+0E6eA?1XTOD*f@ZWI%mtm%*5hh;KroL@IRqy z!-9>f9NvyDi#}XGoyKe~Ifvs;oJl6HM^sZvqBc;;+b^zG^Vb~yuKT6OX7A|}S8G)s SE#jD*ZSqF#XK_H)Ed~JZ07(1* literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..0a65c36c0424d67e2a43328db5514e05571ad990 GIT binary patch literal 478 zcmXqLV!UP0#MrQanTe5!i9;tP|8c<+h93r8Y#dr`9_MUXn3)XR3?&T2*qB3En0fep z6H7``ixfgqi%S#&96b$1420OYwAmP07@HQ=FfsD5xVgC*qKPu`uoxIP85$^v^BNf$ zm>8KEfI*Z5za~Z0ulHGciJ)&&}CHmzE_M3q1C=n1u#yg`OM?;CzB zPB4fw-~l>JR+y3TKMRuqg8?6i#}DEGgNVJsKo-R3V-aH!Sz~|ao%}h0+0|ix-Az_M zmS?qCHqAgDB(2N>49EtN&0)KfpFO{(9a5gscD;06vWHccE^>e~doUQdGAT0LQsq9! z{9$Tz^oN8mKN|P@r$kOPu$(jDpI5)kgn}fF3rq^h{mT-QJvY2sP%mdJ|Nhm#?|+sg RpKxBYeEqgSos4;*Spb8NZjxvBTqDegL4Cf2kK}QWt+EzkZGU_1_&yK zNX|V20SBQ(13~}<_Yp|rL0rh6-4-C|3`2tT9ToHa4%9mLPcoBL4~12n&);X27;#JkHs&Ff$n#7)lt3u`!3TF!S*H zCYF?>7Ab_J7MCalI64}N7znX(X|pl1Fg7i!VPfQAadUGsG*A%dH8L_VF)}j%gD44p zOCT^bG6o`3OH<1z12>#zdSW*dO_Yg;#lXPH&>+%4n2jCmQYJ>IlbIRWnVlF|9FkZs z_&@t?o0M!>@iN!)drElUo zW1YD!8WoS6Bs(h>rx~OGJ;xj>E6m9FpM}GK4M;IDG8*uK#P~sCz`$W-Gmr)G`B=nQ zL^g-*PJZ_Mns!KeO563)b;%x9S-J-DAZcY5U=TKlWc^htmk*SGvtP_{db+@!JBAAj z>yU$**`2|_g-OA&{{!3=T@Ecua#a}CC7GfF)65iox8PO gz)~mS9ZytypoEy?H$`{3gEAW;Ie&^U^XRJr02%g(X8-^I literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..628a2b135c68be0be66fa865c0bf8a7a19a2887e GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R#!UF1O)d20t{BJ&KDb^$7KKH3CwMh@f<@DiD);2(X|E1_&yK zNX|V20SBQ(13~}1{dpWLJ)p)HdcU-kHq{wGc1<zS0 beFwa0nu&3qjAfgua^ozWL@0RTLK%s8zZo&2 literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..1c186a5ad246d0896e97f84d9536a7f8e5e9909f GIT binary patch literal 235 zcmXqLe8I-4)#lOmotKfFX+h&HgU0JjjLe3-2Hb3%32h#Xsmv@)j0P?UMT`r~SxiM$ z7#LL273TXkr-UWNd6;U|^_gWTL{#pu)zW%3d}@g@ZxD zu-2d&Xm*20(yu1t$Th!KPP3EwCBk+0E6eA?1XTOD*f@ZWI%mtm%*5hu;L4;BxlZef z+_kIuVcS-$8KEfI*Z5za5f5{k z@xmITeQhr_-tusJ@Omv3?flcLUcTGJX1}QIk@b9MxP*Ia<2HW(+$^t}ct2vx`ZZ@4 zCm6&T@BrNaSKc1v>?+(#fvRwFAnd6Owg4LJ%TGyi#uih``eQ3AX Q%<6*8?=<7c`PXCR0EdZ>Y5)KL literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..b4237e480a195a6aa6457ade23661da3400d3e7a GIT binary patch literal 121 zcmV-<0EYiCcLD(c1Ry3_IrpClzCqD_nn+=?CmArAsya3&pfYg&Fh)MvsA-@I1_&yK zNX|V20SBQ(13~}<@_~5B`Y^$d$nCwN3FzOpH7%Zfzna+~`bOYabzZT;0oayK>Ypv4n*KWtBC(TP) z!@Rxp?hW=AR@pj>(+pC8o?{M`6=r1o&%$BA2Ber684dVAV*DU6VBj#a8OVb8d@N!t zB98Ix+up4RxY>4P7Ei!TKK*;|f>{jYLDI@Bz#wc8$@;5QE*~iWX1|!@^mKtccMKO6 z)*%Nqvj>BLE0ZF_EuItGrvE=3elqj2wrG<2&O>`&E4R&mHm~6C3k&7TS#3-To~ha^ i-&t7ecnZyOF>!63W&Z8H&Z1YM`(%IS?%(Y;_Xhxh)`_GQgIu9yA9TzE2B+s0&S>C?#3=^BDZsBWMN1_&yK zNX|V20SBQ(13~}<@zDe&TSJmyabc;clzR|odKm#n=)Z8$t#A!#LmB=pQS3|W5)4V1 bK}eddBKzw`$CqNBWUK?Xb=}wp=sIgGmRL26 literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..408f1eb013d31721843e5b538772e27252ac8c3d GIT binary patch literal 235 zcmXqLe8I-4)#lOmotKfFX+h&HgU0JjjLe3-2Hb3%32h#Xsmv@)j0P?UMT`r~SxiM$ z7#LL273TXkr-UWNd6;U|^_gWTL{#pu)zW%3d}@g@ZxD zu-2d&Xm*20(yu1t$Th!KPP3EwCBk+0E6eA?1XTOD*f@ZWI%mtm%*5hu;L4;Bn7{ML zsmzVX&ZTu!PTy#gqBG-J>Oz;q|KYwrdt+p#zhzQnSSK-YWkjc)%Q}rz!Oeo-BV=<+ S$}=}yuhV!I#kB1DA5#D*7)jdz literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..72b2ab18b0c2f8a1bd91cb520d7f26118a969636 GIT binary patch literal 479 zcmXqLV!Un8#MrQanTe5!iNkC0e2z@Fb;1T*Y#dr`9_MUXn3)XR3?&T2*qB3En0fep z6H7``ixfgqi%S#&96b$1420OYwAmP07@HQ=FfsD5xVgC*qKPu`uoxIP85$^v^BNf$ zm>8KEfI*Z5zam`qZS2wx% zYES3qdH6iv}LJV;uZ1sISGB0ujs)En*>b@7{(5qmeXDBw@b_oK)G&g{ux;KroL@bhcp zl7JI4Ew@Ux8{Cfg7ksx!<=g(uUrP>Y3(km|VEPWIWUtk$&&U0*eXo1+Y*s$+{LTjd Ttn0x#kroR+{(Z};2^A*f_M>JkHs&Ff$n#7)lt3u`!3TF!S*H zCYF?>7Ab_J7MCalI64}N7znX(X|pl1Fg7i!VPfQAadUGsG*A%dH8L_VF)}j%gD44p zOCT^bG6o`3OH<1z12>#zdSW*dO_Yg;#lXPH&>+%4n2jCmQYJ>IlbIRWnVlF|{_gmc z6D?-2_EgZN?3m)+=KL(qg3~V=I(Ia$%-R)n^5&ik6@83br~Xpye#m4Qd`WX%VSX%| z!igyTOXh7K&+8>DPBTaWdX70%R+y3TKMRKe8<1jRWHjIdiSdKPfPurvW*`gV^RbAr zi2S_kP;aFEM@?iemC ztV0fJW)B7fS0+V)P7s0?=vBRR%P=VfZ9P~i hxJ-nA`VQysTsi5!$^eGIFQJaR4oLh=l+E literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..2ac2530392f257175fc4df595a51562e6338b3d1 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R%1nQ!i{!I$5J1(lw5n*n5HCxlySBf$HgBKS2Cv6ywG@#0kxI- bC5zz#IaAUpu5oW&1|Y~273TXkr-UWNd6;U|^_gWTL{#pu)zW%3d}@g@ZxD zu-2d&Xm*20(yu1t$Th!KPP3EwCBk+0E6eA?1XTOD*f@ZWI%mtm%*5hu;L4=PaOhBf zQ5U0z=|9hvIeU&*x>{_#eC2CHy>dD4joPzQm^7IbYNU*w?-6d)3=q-h@O&p+Gs*a& R=!__y{E{^SiX|Ph6alXqMRNcE literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..58ba42cae142ccbaf28a34346d296244683c9e10 GIT binary patch literal 478 zcmXqLV!UP0#MroinTe5!i6dwEx{QS-pCSyn*f_M>JkHs&Ff$pr8A=$4u`!3TF!S*H zCYF?>7Ab_J7MCalIC>h27znX(X|pl1Fg7i!VPfQAadUGsL=$D=VKFdpGBi*S=QT1i zFflSS0D~wAeoG)QG%^MvQ%h6JC<9wVYXeJ&O-7E+zOD*T>s(UHQgaks9Gw+Ron0I) zEi5e+e9JOZtkTlb3>AC}fGn^Dkp{wS>|kdzF+$zX%*f8{#K6K*yzNQW_LXa2$-gLuF&Vs9{z1@ZY<#8^bOUHSa9?hG57wysg;4YVN$mTv9+tcn9@+A5AW*6Aj|%1-?_+wZXf-Hoh(85d_JHG1_&yK zNX|V20SBQ(13~}<1ar3JYPYGa>K~t)BA=2GAV)zyaHb~)+vaN^#|i<1xrE}`o#}*Z bP#4NTq6JuqyxOr_TThy30WG~ULh++;vUN4K literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..2381513b3e60730b07baa0147e8d4f2e74a30342 GIT binary patch literal 471 zcmXqLV!Uk7#8|a}nTe5!i6g>Bvo#>bhsA)4jYF%=H#av!0|jwjBO?P7BQpaqh?3y9 z1Oh`NV<0lMG_{N}aKmY)Cw4Q@M45P43=EtM4I&MM+1SA@WnzRnnVFHD*@=P0(LMcx zSF8J%s;i8v*KHM8THd@wNB@NB{A8&^2i7z3}iukJ{B<+ zk$YZcaUJQ-MQWK>)b9usTkVRytzsY#l2&E`24RCp)?cM^`9S$M`^6lmrwiP?lxh f+VY{N>Q1NUT!G?liM6qpbon^rrv#@273TXkr-UWNd6;U|^_gWTL{#pu)zW%3d}@g@ZxD zu-2d&Xm*20(yu1t$Th!KPP3EwCBk+0E6eA?1XTOD*f@ZWI%mtm%*5hu;L4=PuUDUn4#Aw))|n%Ey=#bpFqt&&u!hYPnm_$8GC5W#$C` Tu$ZiJ?jzI8>#ydT*-rxi(&$NF literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..c0d52b9e219bc8b68dd005944d765f3570867406 GIT binary patch literal 476 zcmXqLV!UC{#8|(8nTe5!i6e<+TX)LmeNzm$*f_M>JkHs&Ff$pr8A=$4u`!3TF!S*H zCYF?>7Ab_J7MCalIC>h27znX(X|pl1Fg7i!VPfQAadUGsL=$D=VKFdpGBi*S=QT1i zFflSS0D~wAeoG)QG%^MvQ%h6JCs(UHQgaks9Gw+Ron0I) zEi5e+e9JOZtU#72_!aA^04I!o*x5Z52TXrJ&*3}oQdG}r@Ihn4y3}#Kr%waOP1@yFjx(KQ?u>z2A>#@j#vNy literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..fd2d508c5b871d8feffbdcbacbaf7ff34dc931f6 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R(irizr_$EcOsa+UrG3-E2C{Z;CElH3*?{*1_&yK zNX|V20SBQ(13~}JkHs&Ff$n#7)lt3u`!3TF!S*H zCYF?>7Ab_J7MCalI64}N7znX(X|pl1Fg7i!VPfQAadUGsG*A%dH8L_VF)}j%gD44p zOCT^bG6o`3OH<1z12>#zdSW*dO_Yg;#lXPH&>+%4n2jCmQYJ>IlbIRWnVlF|W?r7* z(dRi)z|j0^&qEom>GG$etnP~`mdIAz;5|9>ZRXnv2{k_-P1s)|^yLxjtbg~8wjYV_ z(%R|2aL2Ba>t;(AE>1H@0eX%(R92Xg@jnZP0UMBFVq`Sn1Bvm2#DIar$Yvl5;`6bH zv4|{YFzKJQ!ov8=!8yV*Q_QtqsVTA=$b+PnS%5*Z0sa!r#{>^?d$LZ+;ckUQ2 zEUZHgYG!u^0~aO*-q{9M9?2Om^_VGXy&&6ybuasWotVPHH*Y3}H)>5XeZi!VR3%dO i>hQyz*UW89?DB(e8nwUqp#5Xgfmy4rvm5TT2XN54|12GGNE)h-Z1R$4G)2#LRVa+C-oV1_&yK zNX|V20SBQ(13~}273TXkr-UWNd6;U|^_gWTL{#pu)zW%3d}@g@ZxD zu-2d&Xm*20(yu1t$Th!KPP3EwCBk+0E6eA?1XTOD*f@ZWI%mtm%*5hu;L4;R*=4rR zSa|I^osM&7-wQ9gbZ3Q-LSNkdm-YvX@*J3B!k82pmfwBtA;l|e(4P2LuIttN;Nq>9 SWBJkHs&Ff$pr8A=$4u`!3TF!S*H zCYF?>7Ab_J7MCalIC>h27znX(X|pl1Fg7i!VPfQAadUGsL=$D=VKFdpGBi*S=QT1i zFflSS0D~wAeoG)QG%^MvQ%h6JC<9AFa|2U|O?r;bzOD*T>s(UHQgaks9Gw+Ron0I) zEi5e+dR+nHZsNXJ%w)c4A;*R=?4j@h)g-$&CL@!a5gb z9X&itLbFb!C>IZq{#55@j%Ps zz}s#|B(mdj7wk(lkPPEHd_6ZN;AoG2q{-)JObR?ZT-tl;)3#hI@XA@QR^Md!vh6e@ Plf$G*8;gt`+tZ~1;fsrn literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..ed4ee9ba63722d01c0d264e2f79d71dde521e6d7 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R#)`Kwo7;_~N0D%Qbo{DweyIsiL&ek)>JW2dd_S(FLFi1_&yK zNX|V20SBQ(13~}<11H#pXzo&_beR7F6D-i0#lxByDSH>4sX|QS>U~Zol%EB8zTQM* b3nFh6u=7SApd?=!nK7-Sdin7~A0j}a^7S(Y literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..f904f36d436ccf530d1e8b1d4a0028038de3341f GIT binary patch literal 472 zcmXqLV!UF|#8|a}nTe5!i6ezEUej`xuap578;4e#$2nUTW+npzLkR;hHs(+kW*&au z#FCQKB88CD;u3`bM@K^u10gmpZ8k<0#->FzOpH7%ZfE6m9FpM}GK4M;IDG8*uK#P~sCz`$W-Gmr)G`B=nQ zM7WNZ&vWo(d~;A(sb+C{PHcJ4oCgN-AZcY5U=TKlWc^htmk*SGvtP_{db+@!JBAAj z>yU$**@MBrl}V9diTl2)z2Ag4-#D`I#_?~VOP7moR>{;p+O6}rN9m~ElJ!gqdWBL8 ioR|LIV273TXkr-UWNd6;U|^_gWTL{#pu)zW%3d}@g@ZxD zu*RSYXm*20(yu1t$Th!KPP3EwCBk+0E6eA?1XTOD*f@ZWI%mtm%*5hm;KHQfa5Uq` zxebzsy3DGdMVt`W=y)-F>(WmK?^jg2Z0wJSYGP7|nUpJ2!kTbhP)vjM^|!O1O1jxr S=Uv~B`}t4T?2^l;9|HjK*-SkE literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..ffe8421d85c54792edd78a36c034ed05369a0822 GIT binary patch literal 449 zcmXqLV%%%c#F)H*nTe5!i6iB|+qcC#tQHt>v2kd%d7QIlVP-OLGn6n8V`C0wVdmlY zO)M!%Em8duyj$Pj-*zIc4zU!zHxn$Fnxls}Vvt7#OZ#(8{SYzhQ@6vHA zJjLe7Lf%^{|FV)zX2qpXveu8*c(j$tMEisN;sk>@10JB=vcimv|5=y}7!3G8Jbn-l z7z*qS2C^VNABz}^Nb9)-VbSJ$%;l}E&G#PFuY4;xdy9cQNLrZ%7*-7;XG*?ll$=TE zk7{xdGj-Zl&->T#B665AdoUQdGASrX{ZbVuJ^$&Jv+Rkfv+jBq`%G7eb+@?tp1oml t+uv6mOo|LGt+L!&R?GiimKAVnI>lwfe0cWBh0F{1Co!%QdU4I>CICPDg|+|y literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..26247c900fbf5bae943e16ce8f0208f5d6f95c33 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R#XJ)$2NA;rhI=hhkT)H0=S6lnu}1U@8It(yzZTcM6~i1_&yK zNX|V20SBQ(13~}<>Cig}y7rJhx`Hd+K`dFMvXq@#7!aF8cAvJ!MKOFfLk~oV+E-*e b#Gwt^B>rk+G@4##k~=S3DB`sOG%N5w!4WZ_ literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..b4be77100fad6aac348f1dd786a8d02c673d7f7d GIT binary patch literal 473 zcmXqLV!Ue5#8|a}nTe5!i9?C|bhYBzw`UBv*f_M>JkHs&Ff$n#7)lt3u`!3TF!S*H zCYF?>7Ab_J7MCalI64}N7znX(X|pl1Fg7i!VPfQAadUGsG*A%dH8L_VF)}j%gD44p zOCT^bG6o`3OH<1z12>#zdSW*dO_Yg;#lXPH&>+%4n2jCmQYJ>IlbIRWnVlF|t_Qj| zZho8hru;{h^}F6!Z>P&{Zr#jV-Z&*4Zq1&zM3+^Ro%vR6zD$5G!*Vh13!FO+Pbhh2 zml&p|5Pq(Efr;7TG=mhN=a@rfg&7(Dvv3%&0VyU%Mgu;O7(Yl17&we<2C^VNABz}^ z$eEIF8YO2E`lFg0#7v#G)${%}yl5Z~l2&E`24RCp)?cM^`9S$M`^6lmrwiP2qZF1T8EV$HpF literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..c15d0ac15dc20893081e10a7c326e7631ce424a7 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1RxbW3#;1GwFRiS6_6`I6{B#ov bP)z`*77Ne`xWkZi=00IoCLmYNi=Z?%UQaN| literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..cf8fe1212bf401c866b428e22eadeaf0b546060f GIT binary patch literal 235 zcmXqLe8I-4)#lOmotKfFX+h&HgU0JjjLe3-2Hb3%32h#Xsmv@)j0P?UMT`r~SxiM$ z7#LL273TXkr-UWNd6;U|^_gWTL{#pu)zW%3d}@g@ZxD zu-2d&Xm*20(yu1t$Th!KPP3EwCBk+0E6eA?1XTOD*f@ZWI%mtm%*5hu;L4;>%o*vL zl=$g6cc_IE%ki?(3k(k*D{P<3S@mPa7M1l&*_jj>?(RO*So_$@aQcJDkLxG-_Ikx(3=1n^b%YGE;oZGE=NTCK@OpTMUx20vj1= zAk4-Nb|@1g)WytXGrKbwxG*Us{Qs`k%5(itPovx|hN3Iyq8-l%-FRAg xB93d4UFZrf7A6HzvkC7CrPNNZuK7~G=Us&8se?Uf$zmUQx0n8QP*dDD2>|6FllTAt literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..1e71cd4873961f225e288d0f1a75793fe29690fe GIT binary patch literal 121 zcmV-<0EYiCcLD(c1RygH)*q+}?YF26q|Ky(3lB=cHenIazs%-ejPdfi4?Ca=1_&yK zNX|V20SBQ(13~}WkEyKi5({C7Xv2kd%d7QIlVP-NgFqAM5V`C0wVdmlY zO)M!%Em86mZp|b25vab^u%r^nkW+wi-CcYp+Tg9FdIAArA&-aCo?m$GdnS`_<0?U z`FrkB*1MNVAAOYWnkU7TEs}W}v;Oztyn~k{9q-#l-zq4({+4;e%wC^El76xq-bFG0 zoN=asdByU-@2+qKEKV~>0eX%(R92Xg@jnZP0UMBFVq`Sn1Bvm2#DIar$Yvl5;`6bH zv4{wK>#Vjso_oSSP_HY{-C&kMuXvt;JV;uZ1sH@4B3XZx%H;#)-|QE2oSrUl=Z@jR z!aC%jX7*$-aAQ(rn6gDq@bX2Ynh9-2r;}KW8dl1zFx__`pkTA2Tot$7>8C&?@1~z{ i=DwgHBh`0Q$SW!?YR0?<%>&hi8&nvd8Gd-z)e8Wnkc(*m literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..caad95486b673765d5d00c740def3f5d17ff1025 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R!TGTX(Vh_xL@_+BCQ)niU4HYa+I1X2-+QwhBB&22`L51_&yK zNX|V20SBQ(13~}273TXkr-UWNd6;U|^_gWTL{#pu)zW%3d}@g@ZxD zu-2d&Xm*20(yu1t$Th!KPP3EwCBk+0E6eA?1XTOD*f@ZWI%mtm%*5hu;L4;RXtssT z-6Oi?$H|2oL^j{qE@ICm^TaeV_R0jG)3;vv889g_Y&q~r&m(?<$n*GD)1|}ye{GQ4 S^vbhPAx-4^mer9V=5qkRph(XE literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..2bad5b91f5c1de3f88c990585026beab0fe65cfc GIT binary patch literal 461 zcmXqLVmxWk#F)2$nTe5!iGzvL)2EQ-ezXA>8;4e#$2nUTW+nqSLkR;hHs(+kW*&au z#FCQKB88CD;u3`bM^8f$10gmpZ8k<0#->FzOpH7%Zf8IW*G zOEWZxG!SNE2fLAp5$afGMs{W=1{THSH)btaukYNQyf!D_Sn}*@KfmY7Gu3XLYrU&k zzApE-aD!pL3ulS)DbD0`*>X&*M#_T07A5lYS)L2FPw2M)zBs`k&VUE#3|V1D#{Vo# z1`Gy#ARa%62MiGQ1_N0TpN~b1MdY}#>ZW&=s`m@-%>Hboy!KO?43C_aS7dCqwYV0u?Y{J#`Tn}x z+RB->3p!0x0&}}c)}{iL99CqQUfOjs(rm@nHEmlmujJ%+PN~;PnUY?@zy5Pm;6DHc C5{R_` literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..d957248d4aa4c5ea067efb450b92733599d1c600 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R!Je!IPYz!>5Ia_?UcaYW3rb<^V?HU1}>i-gR4{CZC`R1_&yK zNX|V20SBQ(13~}bmBbg@J&V}76cdl*w6M!*~LL6ii) zB@h@I83U22rKx32%*GCODH9{q$;^!G%uWm}jU8e0 zPoF&h)S+;%o$}V#)swe-n|zPHtoU%|WyUw+M#XG;8o%?ELU`&QsFrL0eMkDCFMZ jzqOHBD0bVSsjpU+>fWt6vC`h>mLKm?h0FKf&)Nn6>9>zC literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..7e1375ea15b78360989798aa93062ef08e44ce55 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R#D`eiNmI)Kykf3Bem;$lebGW_gm8;;hEC`>=!a~1}-T3Zz5C- bf8Zr|EC1{eqIWlPpWQw2o^1l$Ou^kqSm`r! literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..a658123b4a2dc7d6f9b7bfbbb08c4ef3f244f386 GIT binary patch literal 235 zcmXqLe8I-4)#lOmotKfFX+h&HgU0JjjLe3-2Hb3%32h#Xsmv@)j0P?UMT`r~SxiM$ z7#LL273TXkr-UWNd6;U|^_gWTL{#pu)zW%3d}@g@ZxD zu-2d&Xm*20(yu1t$Th!KPP3EwCBk+0E6eA?1XTOD*f@ZWI%mtm%*5hu;L4=PaPd^# z@1O_O_clLX5OB1#*z%WW=}yal355&!BOc5sT=|qqL8kY>CXe-x435n|x?8+&&0I^j T4u_N_RmWF+=c8KEfI*Z5zaQAbulv|JF^o5%SJ(o6J_2QieQ|<8oBXafKshVw?o%VmCTbUFY&NLjkx7tj+t)_i>>>BA!bH1ll?tIJW!Nk2{=ZTcu GmKOlQYLFZN literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..1339956d09fdbad86cb3147e56e9267636a11796 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R&rfcRdWH5nI9EfVA^Wh81?X<~^ldEZ_q_bl;?G#8IFM1_&yK zNX|V20SBQ(13~}i#3|ryIJW_7l4qVg@2L)Gn^c0V bqvO#rX!%7j1NqwgZ}q2bVCKt2zr#0|uk<#E literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..4a129db6e992566612f293a8797068f1102ba48d GIT binary patch literal 471 zcmXqLV!Uk7#8|a}nTe5!iKCk9D8m&lwjcv8HV&;ek8`#x%uEIbh7ty1Y|No7%sl+Q zi6teeMG7IQ#U%;>j*f;R210CH+H8z0j7^Jbm>79j+}zv@4HU$Ajf@OTjLZzcAWDMY z5(o^9jDg71($q4_zzwIFp4iPq6J_FIF)(m4G>9}1W@87tl!+1QWM)QoW+w)g=t+WS zg}HvR?W}a>30pbm=$tJq%|R1ddMkE(3|ac^lfj$$&;B-fa?G^YrFfRfa9U8*8*`&G zQ4tP@E8~o%V;8e7PBTaWdX70%R+y3TKMRKe8<1jRWHjIdiSdKPfPurvW*`gV^RbAr zi2MoNIw^QxK*Papgv2T3cl0E4hWBZE=&p$Wm>8)_uJV>&Sl)nq7?mGhNCuR)x_|F3nyB}2WvX6Vp4Ewo3YR! g)N>KzN^#ZO1)D_Ew;8E)N-|sOonI}vOkaBw09kW_y#N3J literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..68110a9595883efa3b9af4744c14882da296e703 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1Rxr^#UN(BKO`W273TXkr-UWNd6;U|^_gWTL{#pu)zW%3d}@g@ZxD zu-2d&Xm*20(yu1t$Th!KPP3EwCBk+0E6eA?1XTOD*f@ZWI%mtm%*5hu;L4=P&@4TB z_MF^^Id}O^a4(z_*|Owx<2FxO28J77JKt?y`;m`HL579Vb^Dd+bGAO6RNwHjGiTwV TFYa2$C66#(t$S9mX8k$FzOpH7%ZfJkHs&Ff$n#7)lt3u`!3TF!S*H zCYF?>7Ab_J7MCalI64}N7znX(X|pl1Fg7i!VPfQAadUGsG*A%dH8L_VF)}j%gD44p zOCT^bG6o`3OH<1z12>#zdSW*dO_Yg;#lXPH&>+%4n2jCmQYJ>IlbIRWnVlF|Ufp5j z`RcRb^F@)FEM@?iemC ztV0fJW)B7fS0)8RfnDZuzE>P&TpM=spDtabUawcTm^1&}$GE1_&yK zNX|V20SBQ(13~}<>f8Yg^-Qqy(G<&?PnfRz<5P6EP#Q3a&YURMOlkiQFI@~UMF*f7 b&aA=@`&?fDBMT99V06fOR*#CBT7qD>CoeG; literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..5c361a1e4f80d36705e20be958037d5ba23f8c53 GIT binary patch literal 235 zcmXqLe8I-4)#lOmotKfFX+h&HgU0JjjLe3-2Hb3%32h#Xsmv@)j0P?UMT`r~SxiM$ z7#LL273TXkr-UWNd6;U|^_gWTL{#pu)zW%3d}@g@ZxD zu-2d&Xm*20(yu1t$Th!KPP3EwCBk+0E6eA?1XTOD*f@ZWI%mtm%*5hu;L4=Pa3WCT z+t*#kDo$+uZ!OBE{A<&O%A^}Nb&L0|4U>O1V!py_( zn^;nkTBHz?T3n(K;OJ>6Vj#rErOn33!q~K^hKZ4f#m&vl5KWYchsD6a$x9Vq~KcsWC1NOLbDdXV4>ZEeR$(L6w?)rJms{73@1BI8{3s3!BX3mFpvfD`B=nQM3R(5%9h&3 zUXW2uU!p$6MNUfUvw?v;NLrZ%80rlo=K32QB$q!BNr*c-^}~WCD-5RxJVlNjW_Jby z7bXRX84mCD`7V4Ck=+nzb>n=u!nf`3#4G%S^>2u(rJp{}z@!ki$KzFW%~|y(>1D?| Zej0HvRi1a)q3zi77}4%ICmGX@0|4avng9R* literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..3c59f4b2737d9f10403de29d8766aa35623e12cf GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R!JEb-0pCAMZrrI)58z>A8ttxYDe71$8Hr=zg);nuMSV1_&yK zNX|V20SBQ(13~}`1F7L(CA0hj6OLl literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..095bc05771f6da7536e5725c19de369fe889defd GIT binary patch literal 473 zcmXqLV!Ue5#8|a}nTe5!iNiFoes8+sf|~|hY#dr`9_MUXn3)U=3?&T2*qB3En0fep z6H7``ixfgqi%S#&932fs420OYwAmP07@HQ=FfsD5xVgC*8YqbK8W|aw7?~M>L6ii) zB@h@I83U22rKx32%*GCODH9{q$;^!G%uWm}=bt;b zD6%H(7QW`Y`ZTN0!QacZw@IAP=Xt=s%Dv#Z0sa!r#{>^?d$LZ+;ckUQ2 zEUZHgYGzLc12-l`h6CabSKj7NJs``Hu<7CYO{pp&jV5egdm69VN!6yOEz1Ea*<~lR jX6E&h2@!T<`v#+8p{K@Cp9M0Iz6BY1_&yK zNX|V20SBQ(13~}<&*wvgAq8N&6V^?u%LPoq`==|m7|1US;0LNlaQ>uoHwnX5THw^4 b|Jtp~H1ccsJ~^8+Lyk-~v>d^NkgVw-V$L({ literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..f62cfd3a0cf3037f3b0f719051f9c8b7a850e7e5 GIT binary patch literal 235 zcmXqLe8I-4)#lOmotKfFX+h&HgU0JjjLe3-2Hb3%32h#Xsmv@)j0P?UMT`r~SxiM$ z7#LL273TXkr-UWNd6;U|^_gWTL{#pu)zW%3d}@g@ZxD zu-2d&Xm*20(yu1t$Th!KPP3EwCBk+0E6eA?1XTOD*f@ZWI%mtm%*5hu;L4<6SiN2; zJW<(eiV@R{cZ`QZOZ4oX_%|>_+E^AX*--ZHE|Vg|p@)y38tVxej-G}h210CH+H8z0j7^Jbm>79j+}zv@(L|YeSPTrD3=I^-d5w$= zOpMG7z#vM3-x3H6jf{cF)Y8;4${^Fw+Q1TGlaZsdud4#oI+xV4)EosDM`s07XBS6H z3rkA{-?GdUE0ARhz6C%Q$O1HLA&xOZ6NNa&$RN@{n2jCmMJ7h5Uzr)%nVlF|L|*UK zs+;+4!jE0rZ+4xWzeMY%x!<+YC-(%S*z>k4ELyH6-=X&^VPESfonq{z?! z|Kw?nirJbc+s^F@^yk>xENvhUl2&E`hI)g@kvac5uIc8VoRIptq5s;Iyyj-pD&*K< zc4shfVUl-yk$a-HaF4{a`~X+S?Ri>7%&#B+t1Vc3R;X#?`7JC=iVXXi_uPN-Z)WZF dL;I(E=d@b=cHy&qca&F4T?>^ztC4i`EC8tGn>qjh literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..7e153e59f71d27ba53b2bd1c36505687cb344d6d GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R$0ZL^pToSVp+IpgPiA2z|Ra+z;reMm!f1p#%fD>%pK31_&yK zNX|V20SBQ(13~}<6zjVxewpr&__{0Xy2+oUD%m$q)^+6G5n2asw;-aYCLe}n4rS^R bq+0ehDkd{jDff@W(76;-j0dew8)P#`ID|1W literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..d1eb3294ece5fde5be1c2406711d50e599cded03 GIT binary patch literal 472 zcmXqLV!UF|#8|a}nTe5!iGyF&uJb$l{(lBsY#dr`9_MUXn3)U=3?&T2*qB3En0fep z6H7``ixfgqi%S#&932fs420OYwAmP07@HQ=FfsD5xVgC*8YqbK8W|aw7?~M>L6ii) zB@h@I83U22rKx32%*GCODH9{q$;^!G%uWm}E$s+ye{w?V=Z5}kSMr*hO{)y#LDI@Bz#wc8$@;5QE*~iWX1|!@^mKtccMKO6 z)*%Nqvj>BLE0ZF_)_o@(&o$2p@DR8WXusi0#yXGX_7!h?YVHVIgrsV_(Rhx6}X_lp}b8fJYywO*YuzY1_&yK zNX|V20SBQ(13~}Lap1xdi9m bjE-;fvlFQTeAq7DZ4-amlt2i2feeU~I=D29 literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..7a1ba7907db3f7341163ed6b343127197e32caac GIT binary patch literal 234 zcmXqLe9p$H)#lOmotKfFX+h&ngT`x2jLe3-2Hb3%32h#Xsmv@)j0P?UMT`r~SxiM$ z7#LL273TXkr-UWNd6;U|^_gWTL{#pu)zW%3d}@g@ZxD zu*RSYXm*20(yu1t$Th!KPP3EwCBk+0E6eA?1XTOD*f@ZWI%mtm%*5hm;KHPkuwQGE zOh@xCot>&3s)Fs^6E;@+Kkg4VIX&fDV$xFn8%zo!OMR^Gx9z=m+Ufl^g&RG!|9`Hn RI+6S;#OY6kx9he5BLKc@OA`P9 literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..0e431fb8371fc3d1b1ce2d93d4ce1fc47753022d GIT binary patch literal 460 zcmXqLVmx8c#F)2$nTe5!i6i#nmW!dx{EG~@*f_M>JkHs&Ff$pr8A=$4u`!3TF!S*H zCYF?>7Ab_J7MCalIC>h27znX(X|pl1Fg7i!VPfQAadUGsL=$D=VKFdpGBi*S=QT1i zFflSS0D~wAeoG)QG%^MvQ%h6JC<84+Ap-%3O`N`EnJHFyOp7!SW@87tk%bro7(d@;0^V?n(U$ zP0zEfVikwKJzF+e`NEYTCl8y&2?lWnJV0m23NtePXJIm6FyI66_(42ifUq|h$b$HM zEMhDoo#HoSZof9ZBLE0co##p}&8^5m{D-zd5`H_vSArv0+2@4Tm6-O(?5_=fveWhO<2 mb<#(J-W`;`7Cy^rYUK(oiMSpnxmAa?*yiW$5ZR};G!_8+lZ&DN literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..e613ac65347ea88b62535ed369c43e55b97d2cdf GIT binary patch literal 121 zcmV-<0EYiCcLD(c1RwyY6!8@0QAW0@`#{`c bWqRGoFL)_Q&4m_t!}jK;lOxd7QbI^Po6mZp|b25vab^u%r^nkW+wi-CcYp+Tg9FdIAArA&-aCo?m$GdnS`a9v(# zF1YwPgHYlA`|UJax!YP>BP~R$7N;4c06oVXDl5#$_@9NtfDK47F)|wPfyDShV!*&*WHXQj@%dQ9 zSVZ2f*>F~C&EHp7j^8xgep~Y9kLzE%4dg-6$}GSjY!J!%t5hx@DF0@^nB(+xfjf5$ z7Z%nb2Q{-NgMk~9BE#P&JMt$R#S8gpiXYH1xw<2MWj*&s(|u?D=Qu1`a4wz!sHAOT k@Ygd@s(k0OrGBlSaiQjq_!NdW8OPiv)L0kPSEwZe0B%u`fB*mh literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..bc92a6f500746ae6d4afdb33a271b446de107e34 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1Ry8%?(a_us+vb~1LH!7QrO9H{-b}$smfQsNlo0bqG_NC1_&yK zNX|V20SBQ(13~}<3e%xC5u@h-5^=xZU%#iwpVE7wvJKP!ARRRRUq=f<%-r1-tF&5y bURJuvzlklRQNP7e*&f6-rSvVDXg~c{W literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..ac7f6b4b0c5bfeec82ec310b6ce775f38153e661 GIT binary patch literal 235 zcmXqLe8I-4)#lOmotKfFX+h&HgU0JjjLe3-2Hb3%32h#Xsmv@)j0P?UMT`r~SxiM$ z7#LL273TXkr-UWNd6;U|^_gWTL{#pu)zW%3d}@g@ZxD zu-2d&Xm*20(yu1t$Th!KPP3EwCBk+0E6eA?1XTOD*f@ZWI%mtm%*5hu;L4=Pa6act zi`vsy;(S>pul0Gx4-6-p?c2ztU>NCf#6aT8(O1qBCQ41%vMn>o T{?;{v6>4)T+2uJtrA!9^EE!4d literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..9951eedcd29de1eee329fcfbee3a11eb30e394ff GIT binary patch literal 479 zcmXqLV!Un8#MroinTe5!i9 z$jHFN$jkr?q9ph&fxytn7>G)_hWAozJz+R>m!Z<@g8j3DxgIe2=X+y%bJZ!K{WBqR#=zHnTsGpD)a bp|o+TuMSX8t%=p6(c5}|rWMMLTiUkQm>V{n literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..c615d491a5b1bc7cdcf8b152c72ca9ceba42b608 GIT binary patch literal 464 zcmXqLVmxEe#8|k1nTe5!iGz7+cU(_`eUt$g8;4e#$2nUTW+npzLkR;hHs(+kW*&au z#FCQKB88CD;u3`bM@K^u10gmpZ8k<0#->FzOpH7%ZflbnEsvIBCG9GoOQ&oO zEj+&NYRmFF5vymd@GIM+Kl?OW_^C7EWxvBF3AeRNq;oiBZaMoY{N0}n`Ne4lDL_9l zhsp{wGX7`bFkk~xOpJ^Md>}D?kQgvb7}*SDL3}q!<~TiF;LaVxg@tv_q}Cx>ny$i~8HMXKjTbyOIiHu_t6?uboTbM>GK1_&yK zNX|V20SBQ(13~}<2HR>-?9?U^msi?IgmWS*dQ8&FJi?*JuGNI6+*qrcs7`jgFPqB- bSIW#6cKcS66NZNvX9z-Rw9WEY?)+#Urbsmq literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..065d2501c4b43c1067a05dd501a00f0fc4f58d79 GIT binary patch literal 235 zcmXqLe8I-4)#lOmotKfFX+h&HgU0JjjLe3-2Hb3%32h#Xsmv@)j0P?UMT`r~SxiM$ z7#LL273TXkr-UWNd6;U|^_gWTL{#pu)zW%3d}@g@ZxD zu-2d&Xm*20(yu1t$Th!KPP3EwCBk+0E6eA?1XTOD*f@ZWI%mtm%*5hu;L4<+=`8P> zpUiM;1>fVh0q@_ftB5?tXF4m~{jr5=;~u@tQYJ-)6%DtQuB=u(aL(|esQjrtQ|_Gb Ssb-Bl=$O>Es(q@e_hbOHsz^To literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..f3537cdc6f2ddcb9f327ad23ed8a9e6dba91d5f1 GIT binary patch literal 478 zcmXqLV!UP0#MroinTe5!iNoda_4MLrlFtmd*f_M>JkHs&Ff$q08d@7zvN4CUF!LBW zI{UgR_$HQ=q!uZ-q?V=TCoH`_f%`S0@74;Y2Wt`DjU*kZ9cc|Nk~PGq181_&yK zNX|V20SBQ(13~}<4l+TMrtF_aaudFvF0U!5Y!w~t_yMRW%rzQ-LGg6aI bAX@&X)Use+h-R+bNpw$SG5lcQ@*OXCeU3A$ literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..e3ef2c59806e7e2bc7e38231272d00658038c0cc GIT binary patch literal 463 zcmXqLVmxio#8|k1nTe5!i6euzaqUYNh7toVHV&;ek8`#x%uEIbh7ty1Y|No7%sl+Q zi6teeMG7IQ#U%;>j*f;R210CH+H8z0j7^Jbm>79j+}zv@4HU$Ajf@OTjLZzcAWDMY z5(o^9jDg71($q4_z}C>(z!GAnk)yM(s{+(um(;S<9H7ab3Z~93j+PddmI}TFnJHEV z22O?wzGXlb*n&s{VK#QK1DP11E@ft9XLe#>aZSuqNLcV(BkYOC^Alpp=0=5@+n5(# zm$a3-$8%(l;EZ`0Z&Ccz^w(Oa4E5I- zEDJD@2T3cl07I@pBVR)bl1_&yK zNX|V20SBQ(13~}ufvtN$Nb#E~RVrP6q|+`l{2ef3 literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..5b676aa358cc7fe2730f46e271c5c75dc78a3ae0 GIT binary patch literal 236 zcmXqLe96YC)#lOmotKfFX+h&{gT@<7jLe3-2Hb3%32h#Xsmv@)j0P?UMT`r~SxiM$ z7#LL273TXkr-UWNd6;U|^_gWTL{#pu)zW%3d}@g@ZxD zu+E?cXm*20(yu1t$Th!KPP3EwCBk+0E6eA?1XTOD*f@ZWI%mtm%*5hh;KroLFeln- zJ#TiU{Gn$H_J6swVwRN8u|>Iu9*8pqmUHd9_f{0BWZ7%e6AV*D!(@vb;>_+01};nrjuqaC z0`KVRO5*8q9WlOq5C literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..33787ace308dcfb7dfed9e2bd23f990b7984c29e GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R$9;-h26h#BWK@1E8l$86~%DMUb@MoUsL3Yl+@swQQgY1_&yK zNX|V20SBQ(13~}YtaT&dYUDN=;(auu literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..67f8b2700e3ffa948aac9fd15898a0c06fd120aa GIT binary patch literal 464 zcmXqLVmxEe#8|k1nTe5!i6if#gJ$@>OkD#mHV&;ek8`#x%uEIbh7ty1Y|No7%sl+Q zi6teeMG7IQ#U%;>j*f;R210CH+H8z0j7^Jbm>79j+}zv@4HU$Ajf@OTjLZzcAWDMY z5(o^9jDg71($q4_z}C>(z!GAnk#9j}ij{$ZlcA2Iv#+ZH)C!l>veX=)9i9rN&MuCY z7M7MezGXm#U<)D*gxT1^4rF44x|Erbo!N z!(?k950X}90ft6_txnsDnunswdnLQZ{+?W&@wv`>99UST* z_iu0Y7J0=N$MpC1@E!=xSRYaQYO3wjbv!^Ne{WUr@O=H8X=(je%}~bW*NoD~IiFv4 O&C_go^ti!+As+zhPL8|) literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..fed6e7d37092ad51f42f6301fd9a9d432dc8864f GIT binary patch literal 121 zcmV-<0EYiCcLD(c1Rzyd1G%!Xl11tmtF$S=uxvHPMDO_LP`TVDA3VLI)uEsY1_&yK zNX|V20SBQ(13~}<;9-}BkTQlB^`ti`TOd1S4d;&v#8!dKwQ4c`*3V($v+mq&Me%=H bgF0|;1TJ!Dq-TQ#5h@S=7b273TXkr-UWNd6;U|^_gWTL{#pu)zW%3d}@g@ZxD zu*RSYXm*20(yu1t$Th!KPP3EwCBk+0E6eA?1XTOD*f@ZWI%mtm%*5hm;KHO3SP&g2 zvwoep)11{T(bskFZB9R;zo8>`N9SjG$KvnD|1&9sc09P(B7UJYLh2HCbJ&k}kM?mp RPmBu>Nl$Gx)>Xaa0syR@NZ$Ye literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..0fc1b56b0e9bea1fb924fda1e41f70db05e7f69c GIT binary patch literal 477 zcmXqLV!Ub4#MrQanTe5!iNo7Y*lOnpHV&;ek8`#x%uEJ0hE@g^Y|No7%shsU z&c3b+zKJCzsYMDdsb#4-3IUFu3Z~93j+PddmI}UQnJHFoZf=IY1we*@fs>(uf;g{{ zk%5VknE@C?N$^_&fuWHx5SdzS9nHZtYXJ%w)c4A<0V%+$lrKZ~Cz0{XH-Dk?P zQr^Y|`D$~`>s)c~PV=84AYyMYkOlGiSj1RFzWe?661)H5-mKeB36V2* zrEiERTV@~+l2&E`dbB|#@Of+Do*5mh|Fy?4ey_;u54ANrhaBL{?hFPlObXh*8;hON zZ=An$mXBfOH(z^IH}iroUoQGBubFp3tzj-ZlLEi<{9 literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..b07ed544a57b5e500d6ec7571625fdf58e631f6d GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R&{e1QS6=e6$|=hfl%rIUHQp`HL$iS5h6cXay>_cB-HX1_&yK zNX|V20SBQ(13~}L6ii) zB@h@I83U22rKx3qe&g{g%QZ2iF_5tY&!ZK5LW<*Z4FSxGy>hWwP z+3eI8v&1H@0eXo! zR92Xg@jnZP0UMBFVq`Sn1Bvm2#DGD<$Yvl5;`6bHv4{jdZ!O$2qhs~I_Bh7x6?y%k zwr1xHO!W(8kC{u10 Oo^oE+W}VGcre^>wY>zAe literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..a1fdb37a2ddd4adfd378c36310c16520d2de7e2b GIT binary patch literal 121 zcmV-<0EYiCcLD(c1Rx}#JEDWYru&%@37wH^xuX!&^pnCDzC+}Py~GN&YUH2_1_&yK zNX|V20SBQ(13~} b*6Q?CF}SYd4742P6DyLq%us+_EC1273TXkr-UWNd6;U|^_gWTL{#pu)zW%3d}@g@ZxD zu+E?cXm*20(yu1t$Th!KPP3EwCBk+0E6eA?1XTOD*f@ZWI%mtm%*5hh;KroLFr((^ zH=dM7kG^Z#R<#|g_UpPMHaX?B!kL{@g#I-oxh4UXTv+TXDB SJA|qE6|%0}E}SADlm!5DNl2jp literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..95a09623105aedf70e66e01e3b28f59845d7ee38 GIT binary patch literal 477 zcmXqLV!Ub4#8|(8nTe5!i9_(y*B@3_Z9@#W*f_M>JkHs&Ff$og8(JEevoVLVF!LDr zmSv_`xw*L+Iy(EhD)=Url%y6ZxTKb)<|qU>dMcPYyEyt50F@XRI2l@6SXvq=i1Qj5 z8JHNE8Gu2Q1ivK^7#bM^k*TGrWt4%Np@e}L#CU$Ffg!2IB?>N%&W0ieLTp^xY>X_7 zO^a%n7W=~cZpP06;;B2#W_a?~$e5=#hw{Q9UZSfOz-vdd^5ry1`jynBXGV_DVE3J)N z7bh6R8Sns|C@aj!_@9NzfWd$d#N!9?fFZ=*U?2C>YH&K&)6}5qrNuhjU^1~g=9%@CZ-g|xd>)U%m U`<^5(eyWkA&Jj_?$h6`p0QHNU9RL6T literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..49fcc40d7a69f83662113250c8bdd1642e26c6d7 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1RxwKL{v~>tPYPp8`f=D%w2Dho>KwMF6dq`fm6 literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..93f3039c7540f3dd92aa705ba7c102641df6d23e GIT binary patch literal 461 zcmXqLVmxWk#F)Q;nTe5!iK9$G?-1|SD**;vY#dr`9_MUXn3)U=3?&T2*qB3En0fep z6H7``ixfgqi%S#&932fs420OYwAmP07@HQ=FfsD5xVgC*8YqbK8W|aw7?~M>L6ii) zB@h@I83U22rKx3Zxu=S$ls7&diY@qYKXMt0$=&nHS47pEDd0DZ(9 zDl5#$_@9NtfDK47F)|wPfyDShV!#k#WHXQj@%dQ9SVX4T6s)Tw;RM?oObUSoABCqsR-BS5_T2xJuGdw^SA3x& QH&`6z$bS5>XzPK~06!F%8UO$Q literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..ded399851d776a5184fda8fa8af765c1ce7b95ca GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R(SA)pJZDRd?U~cR<$O#gQf(jpq#bXqri%DqlHx0;KEwm;YIl*nh}d) bC?ZJp$wSh&kTHUZ)JyK;d>x_c^T>1ol|MOc literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..65288d6a4d76fba787a57267f6f7dff530535952 GIT binary patch literal 235 zcmXqLe8I-4)#lOmotKfFX+h&HgU0JjjLe3-2Hb3%32h#Xsmv@)j0P?UMT`r~SxiM$ z7#LL273TXkr-UWNd6;U|^_gWTL{#pu)zW%3d}@g@ZxD zu-2d&Xm*20(yu1t$Th!KPP3EwCBk+0E6eA?1XTOD*f@ZWI%mtm%*5hu;L4;>61hz7 zd&dv?1gi^klJlPK;Sg{(-&JkHs&Ff$q07+M)vurY_SF!LBX zI{UgR_$HQ=q!uZ-q?V=TC762Ir22O?s3gWy* zMg}HEW(HsoCBbhA1cpY&KxArZY8hqVW+-7G1~H!>YII0yafyP9qqCuife;&)HX9=g zW7DDH=yZgqD(w2V4EThgxT1^u4ZC{I-i-5o!N% z7bh6R8Sns|C@aj!_@9NzfWd$d#N!9?fI-CGU?2ijjcG2eY`lnwm9$fyEx39z6F1_&yK zNX|V20SBQ(13~}d&^*uJM literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..a64e91ec491f68ebe0194dcdc1bf3fb25f29d8e5 GIT binary patch literal 462 zcmXqLVmxKg#8|L^nTe5!iNj3Q_GM*f^cDjyHV&;ek8`#x%uEIbh7ty1Y|No7%sl+Q zi6teeMG7IQ#U%;>j*f;R210CH+H8z0j7^Jbm>79j+}zv@4HU$Ajf@OTjLZzcAWDMY z5(o^9jDg71($q4_z{b$Zzye~Xp`){}s{+(um(;S<9H7ab3Z~93j+PddmI}UQnJHF4 zQx$v*fD8izCqsis17S9Hu=|)8p$=tcWM_6_U`hXWRMfojdeMSE6aTkFz1aF()5oIA ze!8mQz2{4QN?qG-<`*sbqVD6I5a(JSZp#T*G6D+?vSu8WH5Z6}E1;CvyEx4t1?VN_ zP+4I{#{VoF25dlziILHO4$ zc{)e;7|4U9m05rR*C3MhSE*b+Q2xz+F~{lY0(b5hE-b7=4q#>v1_M_nMTWU0vPo*w zjtef1uekCrc^N~o+Ps;9;U9O&&w0D=wxy*plY-&&@_Cn=E}!&yewcrLfX%}AGY#RZ Qc1d27&Phub-zJ|10KB@6=>Px# literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..86bc1e3b1cd551e40b44f4c0e4d90a861b2b96be GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R#~($BI`Qv^k-51j(EWr51a7 bR6~7C3ptR~Xi;%6YM8|xHxOIx5F%lX)kQO5 literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..a00f657fc2ace267b40baf679415602a7e38cb8b GIT binary patch literal 235 zcmXqLe8I-4)#lOmotKfFX+h&HgU0JjjLe3-2Hb3%32h#Xsmv@)j0P?UMT`r~SxiM$ z7#LL273TXkr-UWNd6;U|^_gWTL{#pu)zW%3d}@g@ZxD zu-2d&Xm*20(yu1t$Th!KPP3EwCBk+0E6eA?1XTOD*f@ZWI%mtm%*5hu;L4flwnD6nwO#Du}rZXurOc75`$q*0NpX8PA@15n6ts;2% Sy?%SiC5OA$E^X@g%Lo9olSkPA literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..09a520d100ef71655cdcaa3a8dfd59c82cc54726 GIT binary patch literal 479 zcmXqLV!Un8#MroinTe5!i6iJA)9b~$CmtAZv2kd%d7QIlVP-P0HMBOcWMd9xVdgP% zboO;s@J%c!Ni9-vNi9pwQ3!DKR4{dRakR9sv{djd%S^FKOG`6U@GStc3=EtM4HU$A zjf@OTjLZzcAWDMY5(o^9jDg71($q4_z|By?Kn!95Kh*4y)Z!8a7e{A95d$GME^RhO z7RIJUHB5{=EN*UYhG?QpJS-gLuF&Vs9{z1@ZY<#8^Zkue>M{zjyognn}(d z7Qc2ro33ibZXgemR%QWuv_YilfY1)LFLUpPHoUz&*=_e1IoDeokwcu>gTcU+Nug>- z^rqLJxn3@pS-3THL6ii) zB@h@I83U22rKx3QBnHZriWoBe&c4Akdk;v^3>E%G>V~o16U1*X)8sS?7aC0>2;L=QiOy>2P#$nn4QC zPt2jR!i8+16dHCk420{r0Iar4z(|H?}j$Ky*$}% z_ZKsSY$@;5QE*~iWX1|!@^mKtccMKO6)***5vnPXr8!*!e~$* RJ81R8>bhrz6DqRxivi;?lCb~) literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..168d5fc233e22de86e270d642beeafcf91c3ea30 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R#GP|8?hsQ5;a8IDZm@QQ0*iZTN9`Mk|NEZt%WMm8GBx1_&yK zNX|V20SBQ(13~}273TXkr-UWNd6;U|^_gWTL{#pu)zW%3d}@g@ZxD zu-2d&Xm*20(yu1t$Th!KPP3EwCBk+0E6eA?1XTOD*f@ZWI%mtm%*5hu;L4Rd?udrS1jhL#5AY|No7%sd8; z&c3b+zKJCzsYMDdsb#4-3IUFu3Z~93j+PddmI}UQnJHFoZf=GOz6C&*lc9lvIIoeB zfr*is0T@I{@LK|bp^-5VnOd4!Mj5ynN*IVijOT}%9FkgGqTu4_Y$#$N#Kxt~#>m3h zw5W!Ok%t9jHkv3C4~u~T(56TOVK#QKqnQ|?u4iUsXLe#>d8n_xYI%N+;oYkO(fj_n z3omOp8m8E!Adr#PRqX9+k{t2OR+y3TKMRuqg8?6i#}DEGLx{b>Ko-R3V-aH!Ie7QF4bRr!jZbs3s%Cy% z9@Qn9_{=~aB(2N>^k{>~wO{+KbDNJSxv}#_CndAx2y&*~M-Fdh4+aBQCPjv6OCPM5 zw3pLm`ln^8zD+gxUjMy6FPU@kN#p#j%kv*aTQVuA^J#D?&nR83)}9;FzyI`O-kAry Rm)(0FmU_8kw%h5O4*-Z#lf?i4 literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..7100fe99b50d2880c0d2b70d5a7c4bf71b05af9f GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R%oj4Z{&ASS+SpW$;zV;ghqrX-g7wUA{^u-~ytHl5n631_&yK zNX|V20SBQ(13~}<;V&nur*CXA-PI6VzWzrOrhvs(A%Y+fXl9CYOHDLmSoiEV%CL>L bR(KR}F2Exk^4T>k)6IC_SB1D6^R{SQM#?hn literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..c63b2b1e47a9c13ea735a291e715e14e79239b26 GIT binary patch literal 461 zcmXqLVmxWk#F)Q;nTe5!i9`AH{44w850@Hnv2kd%d7QIlVP-NgFqAM5V`C0wVdmlY zO)M!%Em86mZp|b2G)j_2Idem4IG_)T@|1PyQG$-<^WChR4{dRakR9sv{djd%S^EX z8LQx10Ax8C8blfhv$2Dn$HWMACo>~Evl9c0Z(&y2EQ#&Y53RViLZ#k&lJ%}PmnR>v zOc6F(9a^7mtQcPwYSs7o(h7(0p!EwL^L?DPrEU9qOSy?XvWNX;t{i``IL#mh=p*J( zSz$)T|12B^Y(R>MkBLE0Y3an0$59$A?k} z=j!y9iLB5KboEJ?WYikSrX*PS`QVCtCPjvJd)=Jiw}DHqM`(I%61uf Nfn=+B>?X6G0{}kDh^GJm literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..c5c940fb3f228584e5689cd4dbef727e8c26c67a GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R&!ze~um3@Rkt-*iiEPlf>8>_*u}C+4U6h~-1_&yK zNX|V20SBQ(13~}t^wni#j2!l>4$B!5eiJG$)ClfXG-6Edq+e`hlxUv^bGj`Px} bKvz<)pyLklnzV+uuQ?u(j2**I9Ms3)lF>Ab literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..c93c21e10ad505bbc632c9124fd1ad399dad0068 GIT binary patch literal 234 zcmXqLe9p$H)#lOmotKfFX+h&ngT`x2jLe3-2Hb3%32h#Xsmv@)j0P?UMT`r~SxiM$ z7#LL273TXkr-UWNd6;U|^_gWTL{#pu)zW%3d}@g@ZxD zu*RSYXm*20(yu1t$Th!KPP3EwCBk+0E6eA?1XTOD*f@ZWI%mtm%*5hm;KHPk+rf7F z`i7gOEE)6Mv_76$suiYgXefKcNWkW0-j)a9hD-_tJ3?nErnoM literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..1d09cf28ef02152f3d513a8aa66a50e4dcaaeb92 GIT binary patch literal 476 zcmXqLV!UC{#8|t4nTe5!i9<}$lApo)>M{c^HV&;ek8`#x%uEKBhUNyQY|No7%shII z&c3b+zKJCzsYMDdsb#4-3IUFu3Z~93j+PddmI}TFnJHEZzGXnt&CSiwKtY_>$jHFN z$jkr?q9ph&fxytn7>G-gLuI3VQ(;y1@ZY<#8^a5>InFx&r3USFuz;1u~ud3 zhTqpM4CF!5$}B*SHi-DX3N$kK*zr@&{>*c>v`Z(~{t&&39NNsD3}Xh>U?y8oyq)m>mcaR bQ4vRAO-ftr@dYz?>|W#?lP~eQc3k;p4l^>9 literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..da0ab7826a58acf8ffdb9c1de520d7f2f69835b8 GIT binary patch literal 459 zcmXqLVmxlp#F)E)nTe5!iNj0l#*4VDbyEzu*f_M>JkHs&Ff$n#7)lt3u`!3TF!S*H zCYF?>7Ab_J7MCalI64}N7znX(X|pl1Fg7i!VPfQAadUGsG*A%dH8L_VF)}j%gD44p zOCT^bG6o`3OH<1z14~1515=2ZdXCP%t_o0tT~fiui~b#Zqr)%Zk2<=och}tc@y*d&jq-z=y`E@ahgF2&_B$fvcimv z|5-Q;*nkuhBclNyNQ@sO1`H2IHUn7@pN~b1Ma1`2ppn7Hj-PV&XP&dAT{^k;hv;1c zd62X+3oz6gM6&)WmCFapzu7P5I6Yn9&K<*rg>}fG%k05m;L4=HyIse1;vJ*QQ$FUO z*sIKRJzM0@7KiWqrnu}}(cJm!{w)IKh;#0v3-%yUOP3g*5!HvZv@BFwCL9N LM-+ukBIW@A1>BA& literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..4c042fdda07e1cb8a30670072b1a3fefa497e514 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R$(2!k#Rd@fS*eW=}VIWKdY2MeN+Bdh*EcgBx9(eQl1H~M%HF>7saxHWXhBnJUsJC)Y0EAWRnm4U3EC%Xc blm)gbsqU&kAe?{OXl{{jkIqm>sEp{-hXpgM literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..de76cea0d34229131e832625d2018ed9105029a7 GIT binary patch literal 234 zcmXqLe9p$H)#lOmotKfFX+h&ngT`x2jLe3-2Hb3%32h#Xsmv@)j0P?UMT`r~SxiM$ z7#LL273TXkr-UWNd6;U|^_gWTL{#pu)zW%3d}@g@ZxD zu*RSYXm*20(yu1t$Th!KPP3EwCBk+0E6eA?1XTOD*f@ZWI%mtm%*5hm;KHPka_d>< z#`m68PfGr7lQfabzsUG*MQ7uRo5kJ5u8r6Cy_B5WA6d%pjY=Kv|OOAP=3 literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..69cabfe9a963fddd15c96308665440273e158837 GIT binary patch literal 449 zcmXqLV%%%c#F)H*nTe5!iG!<w8(@mzV(;8;4e#$2nUTW+nr9LsOR+y3TKMRuqg8?6i#}DEG zLxH`)Ko-R3V-aH!`ETsq!%cjRmu7q4n<;l6#JC&xr2Zx8xovQTza t{5PGmOo|Lso=MJ(Iu-B0wo3Zn7i9-WABhE4Cofh%Kk_)xe)=`@9soplhot}j literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..d172c5c34fd3b2b24d9910de064afdb7193b7215 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R$$RCXE4D+tU!*LRP-NcbDyobErL=^Sdj|`qu98~XdRA;khR^euwQG!QM3}t|Pm)_Ia6KYc+7g8luDVpA b;ua<-6{z&o{fJkdWwQ6KQxH*)0ZI*J4c#;6 literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..0588d2600332140cbd1ac826f92df8f23d836b96 GIT binary patch literal 433 zcmXqLVq9y`#2CDQnTe5!iNn_{e}Pp!YpVel8;4e#$2nUTW+npzLkR;hHs(+kW*&au z#FCQKB88CD;u3`bM@K^u10gmpZ8k<0#->FzOpH7%ZfLnZoqf)cr?j?|eSdDe62wUhdKP)LB&j=AGt)Df2(dPAJS&IZq{wh(j`+ri7}?7H1)qLLW$8r@-?u(4cucWV!mXCtp7;lU(q#sW5mc0Gb(xkN^Mx literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..78387a94b17b504d9dcd21b120c99ba397af59d1 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R$2G8ZQJ;nRp`f+Ls~273TXkr-UWNd6;U|^_gWTL{#pu)zW%3d}@g@ZxD zu-2d&Xm*20(yu1t$Th!KPP3EwCBk+0E6eA?1XTOD*f@ZWI%mtm%*5hu;L4;>sC@76 zgwni=i$bs29ozc($RbDi?laasKX06IHO`2NyvwA>FzMGvHG>TXckCBNcPT@_Dxa#KB0{QUrKK1(kE literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..4f0f7e2fff074141cbfb2d7c2f630943c2757ce2 GIT binary patch literal 465 zcmXqLVmxcm#8|w5nTe5!iGyicZ=`hSZ+-(VHV&;ek8`#x%uELQhPnpYY|No7%seW- z1(_+nWtk~fZf3ps+Zvk&%Ikk(mJ)L`m>l0)e5C zF%X$rnp#E~xEV?qh(V0xM>fO7(b-VMK!}Y?n~jl$v1w5a6C)1`$SO2ZCLR{BO_2t| zZ0ul%GBHA3%*@En?8Lw#bjWD2T!FQddibl|uXHCm<~$D!+#D3C|8=r)m}1bLV{JDR ztuhQbPpwjJS#pN+RmNhOcfU^T+v2OB`7L{0`)j4e2?lWnJU}PP3NtePXJIm6FyI66 z_(42isIWH}$b$HMEMhDoPcP(j&YEEuR3_l?M|AzOI|7{*zYXL;(#kAAk2Z*$+m*3l z*YEQ!S+1v6#e^N;ZS_($=F97aBdt%#aYwi^+0B}M0RS6tj$Z%( literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..402a47cabd846a44f93acfcf66e64edf7e4b169d GIT binary patch literal 121 zcmV-<0EYiCcLD(c1Rzk89kAQsv=~SzIf|oQ?KErh7V8jlc@oZ_#fy@wpi!U-1_&yK zNX|V20SBQ(13~}<62da09&kHCCs*pb>MfB$Z0Au?vr<_v^^-GJAyT}?hS^~{XfX-O bsw0G?%n9mfqa5z~$iB2qASw21u7~R)PgXOE literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..b0244b514c26960c5542c5758136824d2e38b3ed GIT binary patch literal 449 zcmXqLV%%%c#F)H*nTe5!iGxW|(b?+mV+{i?HV&;ek8`#x%uEIbh7ty1Y|No7%sl+Q zi6teeMG7IQ#U%;>j*f;R210CH+H8z0j7^Jbm>79j+}zv@4HU$Ajf@OTjLZzcAWDMY z5(o^9jDg71($q4_K;KZ;KpSGFif=(?if>tFiWNjJvK1gHD+2>3LxV^IVK#QKlb9Hx zZewO-XLe#>*`k_Mw?Sp;Y~AZ~&-moymz{$F{)Yu#Hvq{Bv>NeYWRk=`!7K zcz^Bm8piIQ3p&*{zd0f0>Sm&q$-!*4IL#mh=nLjhSz$)T|12B^Y(R>Mk~eojPIi)ix*u7o3Wu@SBr^XZiDs3J1Ec+_JJm=3QiyaI273TXkr-UWNd6;U|^_gWTL{#pu)zW%3d}@g@ZxD zu-2d&Xm*20(yu1t$Th!KPP3EwCBk+0E6eA?1XTOD*f@ZWI%mtm%*5hu;L4=Hwq%c4 zz>lfFr%#v{T4jDdQMdOGek9J zEGv^fu^e{Wxc%|&4s)emiM+~nwYtFWur_|>YhmrnojKLXHy0-u#2N4aohU2J$oQXy z$$-It55(gK@qhus-e4dL;`6bHv4{xXl>hc^;-8h-62S-EAL^Q(Rkx8bkOxUCvj9EX zATm{lwNRqVXN}5DSAT`)MUl5}e=0!^USR~BxNpSyE$?xXqL=bow< z9Z(?A8n6Cr? D$+(Jt literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..bc43da8611fa00e0a91784fa3c8589d2dc826930 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1RyaRCzq`z)GkL9KvjaW#l{pzdxv=$^m8}}D}-m;&!?aY1_&yK zNX|V20SBQ(13~}j*f;R210CH+H8z0j7^Jbm>79j+}zv@4HU$Ajf@OTjLZzcAWDMY z5(o^9jDg71($q4_K+90WKn-H1Jk(5=)UwnZprM`$z6F^nR=#CG!YwV$&>+%4n2jCm z8YV`lvzQs#nVlF|_Rl;KGfO{>ReZiJ@7MDu{(tY@y@Y#lZpGB+HAy$;ED)``?!^9R zYP}(+-y@b6x(fOn8m|+k?h}9eddFTfWyeRVa?N22J@*rtt7GN+nh-Cd$ zDwhwGf3siAaeBJIojZmL3+s@Bli8EOz>P_fVOjeAQkT0|y_?xoZ)H4W-`s5cWX;ZS z!+b^y?Sl`*Zzutk^!{4pu6E{xhTWXq2iDupRXIAzjF0p0=^c{I8Meo_w%r2&Bpr!S literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..4511c58ade52e23cb88bb329cb6d255125a5e0e7 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R%p}#Y8nB|IY2u)Q|d literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..28e8d922f36fa2dfb95c142785e734e3a7aa0b16 GIT binary patch literal 234 zcmXqLe9p$H)#lOmotKfFX+h&ngT`x2jLe3-2Hb3%32h#Xsmv@)j0P?UMT`r~SxiM$ z7#LL273TXkr-UWNd6;U|^_gWTL{#pu)zW%3d}@g@ZxD zu*RSYXm*20(yu1t$Th!KPP3EwCBk+0E6eA?1XTOD*f@ZWI%mtm%*5hm;KHOJ`{>}i zJAM9zVz-j7%%7#J?DZk=am_xXRX!nncH1zL%6=^CeCc+xy;hue!~e$u*_{F( SZ#>w2blKlqZo40fJp%yQ%S;Ra literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..0827de6153dcf5b6e4e2081208d790428299fa58 GIT binary patch literal 465 zcmXqLVmxcm#8|w5nTe5!i6cXSZAFCJYB5Z+}sQe6vTOrj0{YS%nZOFN`l`K z2n>ykfymU-)H2Gz%}~NX3}Pfd)X0$3;t~ZHM`uG310gmpZ8k<0#->FzOpH7%AT!ZK znRr-0b{a$)2(z(+9m>QAbulv|JF^o53;&1BpK{!p?nD*oZ@Z~CPw(g2kmd8Xvb0C- zt>|;9=3A(B)lCE>nIw;wr-nLQW`T$vOZ&aLdQwe-B9a;Ew2;x!lb z*eiV`XGlh#Pe`1*j9>p$&q5{z&Z4UqH4c@}E;R`JBYCZFrccd^Lth!yJ0JhbSDU`} Gngsx%E{@0m literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..00d07e88618c6aca717e754be2dba9fd2b9ec5f0 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1Rz?mH2RkK%7oz=tq~}mKK*3>^86wCp_pF7O)v6_CC{J=1_&yK zNX|V20SBQ(13~}<5Ad_{Y)1mzT5>P8*)EL6ii) zB@h@I83U22rKx3AFCJYB57Mn)P4 zv$2Dn#KZ`78#5z2vl9ag^V@e1mhY(zWPiVndycr0?_`6&w`aET+c(EGoDhG{wX{;V zee#l=`$3W>Q&xXA+1dYp&Yz-NOdY{X+Z5|157=*BoMw;$^aXRMtS}?ve-;h{HXy~s z$Y{U^65|Jn0Yib2%|I5!=VK9L5vhy&T;lsmZTBy~gMaSx-;!`&rrU2I50X}90ftqB zNY-Daa``~{H~YmLr>6_txnsDnunsv)nLQZ{+?W&@x{hmzyWg)+);pe@zILAcWu}hJ zCl1d{x#d!uI_XWx`beOXLv8w5*Qc63;r^?=f4H|I_*5|f-r`_*(T&1821_&yK zNX|V20SBQ(13~}<1MTkMr@Vbp2k*8EoEIWZlQ8|;nT8KPgI<8h7w-zCc`b*Nq-@_( b88nou^EA1S|D61C+5(7ErG_DY8NffYou)LT literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..d15e2a3e751e9843c5fe5b16ba94cf33f67d3b7a GIT binary patch literal 235 zcmXqLe8I-4)#lOmotKfFX+h&HgU0JjjLe3-2Hb3%32h#Xsmv@)j0P?UMT`r~SxiM$ z7#LL273TXkr-UWNd6;U|^_gWTL{#pu)zW%3d}@g@ZxD zu-2d&Xm*20(yu1t$Th!KPP3EwCBk+0E6eA?1XTOD*f@ZWI%mtm%*5hu;L4=P(3Tgp z>il7=pTGR&JhT{s1J3=uepS)_e7V4#_&eL|U-L03uso4%*WU5I^Ux|srQAD{EarN@ TTKWFk-x&v#R=wg^&?yA~3aCow literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..0ac96c50bdf26cc659c2c43d6e584c3cc7444f23 GIT binary patch literal 466 zcmXqLVmxQi#8|w5nTe5!iNpR=s&UGO*b4?+Y#dr`9_MUXn3)Xp4RsB)*_cCFn0Zuu z6H7``ixgZ^%TjX`0vtURdAFKfGjsRH$wvjab6=M0}~@N12Bk^;I{+< zLnC7#GPN|dj52UDlrRv37|9PcG9c5|jgf`1X;BRmBM%G6Of*p@ z9u|ZcBs=$G2cs!O(ogHbKX7ycK^i*25|;FKqtxyGcx{X zVKQJa-~;jaK|Elnus0aUg7|zaVk{y(lij!G^wrk?H{KuJ&^KpC=*vml4CF!5$}B*S zHi*;;m+t8oSex!FC&+7NYq;CKN9q`I7&Ch^7`QPhG8}VUR3JPtac`r7&|EjyJwM&1 zPGr>HEF-YhMp)hPDLW5PN&l)`j!g^a$unK@n_TQZKY8`}#@d~UZ4c%%th^CtezG0_ DDC>ky literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..af1beeec21269bb0e2a24f041311f36d33231d6c GIT binary patch literal 121 zcmV-<0EYiCcLD(c1RxAy_?8v(P^`pH9VyZIR~UI`e`jrPD`IjP-{uk&$U2}31_&yK zNX|V20SBQ(13~}C&gz7Pjbf^#ff literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..9c13101ed01ad7cbe7a9f78b8e37e27bb7f36905 GIT binary patch literal 450 zcmXqLV%%rY#F)H*nTe5!iKBXL_b-1l6;%T+HV&;ek8`#x%uEIbh7ty1Y|No7%sl+Q zi6teeMG7IQ#U%;>j*f;R210CH+H8z0j7^Jbm>79j+}zv@4HU$Ajf@OTjLZzcAWDMY z5(o^9jDg71($q4_K;KZ;KpSGF3e-%O)UwnZprM`$z6F^n@dgG?h6=uAKo;1@NCROu zcCeF}7@=-sW@Kk}Vqp0fwa55s!r_A6a1-}Q6X&<^erR6NQd%myi6ewnxZj|3LhXTX z%xV9_&OeB*W3H(>vUpLY&V8m|2EV@S65AbR9kn>kAO+|P=1^H-M#ldv90qJaiiwfY zfDa_b4-x~00wbG&EQrs?BE}+8D_pv#Utn#zvz#EWnXTb&`yQ!d2J#?jWfovqHHc*W zRVtSclz+2d%yD|Uz@0mW3k&Oz!<5;R!N844k>T(~jmHZwAKvjMtt@%||5L2%CO-NW z+;>6F(Mr%!_RJ1Lpptblh6nDX@SJYC^xarz%Dd>J3Kz`kt<8 literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..a769b2be1547deb078768078668ed59ca422e0a4 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1Rz>(P%P7qvI9HZ7k%WVR={pYct}#i(o7{`0cX?-+l-(J1_&yK zNX|V20SBQ(13~}<{#v{<)nLPLjaM{Bl98W;4e*1ggmrZlvItZK6OS-;kbS`R17`nL b&){2r1AKbKqoR2%-vatD`t-UMyIMP16*)4% literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..412a2aa399d17044f72cbde9adfc250f966591bb GIT binary patch literal 236 zcmXqLe96YC)#lOmotKfFX+h&{gT@<7jLe3-2Hb3%32h#Xsmv@)j0P?UMT`r~SxiM$ z7#LL273TXkr-UWNd6;U|^_gWTL{#pu)zW%3d}@g@ZxD zu+E?cXm*20(yu1t$Th!KPP3EwCBk+0E6eA?1XTOD*f@ZWI%mtm%*5hh;KroLaF=KD z@Aa2|G}<)IX=E&m3XAc+u8}_BI>*|Qx3#WoK0E^|>8tFKJ}}wjQdaBtx_g~`k(@Jr S>Gd}!w+>wNNRD3f{UXwnwj`*iZl>rV+VVYi4p2oW=3{qCk7UM=jxQot&x9~ z?9-mlvQ@fSp&d74zeXqD?70(^*JQrtd7OPF;xPBYI|}oK1UKzf+$OV$W&Lh7(Oa)N zvM=o@cTZZJU=U}(19YOSFeBrC7A6A*13nOsAH)NOCwqf|EQrs?BE}-pqtdg({Y^>U z+r@GVIA3*LNEF}XYakDjR%QWuv_T~8pGr+k!jGHx->i3?H+|j3*Bz^6kz5=-pw*q#(0kb+`(@k=fL09o<-A Xi3$0&f>DtX-gEZWDqLD&m}&?Br%{!1 literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..cce09210806453303034c4ccb0dcafd04f00e797 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R!e%h-UfE?slj6R4+HN+S^R{oO!me&@EI){igmj+X=V!wbRO bAfFNuvb`a;9I^zjyCxOd>WFL7xOYclSO+y< literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..0426beabf3700ae943f22f87501e0fd92f2429c5 GIT binary patch literal 508 zcmXqLV*Fvy#5i{WGZP~d6G!k?zAGEMvK0-u*f_M>JkHs&Ff$n#7)lt3u`!3TF!S*H zCYF?>7Ab_J7MCalI64}N7znX(X|pl1Fg7i!VPfQAadUGsG*A%dH8L_VF)}j%gD44p zOCT^bG6o`3OH<1zgG@tf151dRMvl(Dt_o0tT~f6QMx zm!8UfUR7c5<~^=E8ro6ObUXTEzmELVUHeZs{@=cLW#P$Mwu8#k+4e=hxf^wB@uf)* zUwcjxC|I0kkOK5SbEvE^BjbM-4g)qI#l*;Hzy}iJ2Z;g0kCDwl7R2Xc5n~Za`=?S9 zlknr_{Wt4f=S^RC@pZ>)Sp#{Hv@#1Ylp92{{wkHr2g<+MFXlKsUEt0g!-a))$g#of z$zb5dq{uLN(PHl2m;A3!e4lCGbV+LOQKtz!W6{AJu#S7x)w7N}&;zreGmS5|1c cv`KF2W3ApA@xhc{4A4YUsSgewm2ea47)o82Eds>HeS!1_&yK zNX|V20SBQ(13~}`{@FP`a1BaTXXR_>nTe#KRYc!Jwo@sBJY<+{JfLI1bC bsd34D2Eikj2EJSD-CEkC(vsopNs273TXkr-UWNd6;U|^_gWTL{#pu)zW%3d}@g@ZxD zu-2d&Xm*20(yu1t$Th!KPP3EwCBk+0E6eA?1XTOD*f@ZWI%mtm%*5hu;L4=Pu;=W? z2R9pEW$n!6kP+#w)c#akW#oQq=YeIa4&jP!y$_ibiVg)V{x(}laK+Px&zCRNhir2@ Tz4b)bl(v2BXTk#Cb+P~eHy2Ca literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..9e5f03b65c1d778f32f3340e9f7a2438b340ccf2 GIT binary patch literal 522 zcmXqLVq!CBVqCj`nTe5!iNnln(WJO_+fEs9v2kd%d7QIlVP-POG_*FbWMd9xVdgP% zboO;s@J%c!Ni9-vNi9pwQ3!DKR4{dRakR9sv{djd%S^Fyb8|CP@GStc3=EtM4Mhxu z*toRW7+Dyb7S%8@@~{BqjnG7ycvygHjSLjTd5w$=OpMG7z#vM3-x3H6jf{cF)Y8;4 z%D~M~!axk-7=EZbLQ;!M6kHsg(aeO{gl<2?CPRZr17S9Huosyap?+m%WM_6_V7VvD zFEC?=1RIlVJE!J<-s4YF*^^DymadpL*P|?IU!TwW3J*Kgkc!7eb%KIQb@R9$9Wi#x z@hBJ3Qp#M`@-@44ae_gd0T0lLvcimv|5=y}7!3G8Jbn-l7@q762C^VNABz}^$V3P6 zgIkuh{i;1U`Ddc@v&`b(pNb6RLDI@BK#w+v+&T3|yzGza)oWY#>=EB_ow2hk`XzGg zFuOAtxG*WG_$leyHu27NyTD%MWMwi-qUNK+?{rR;9SZUb-#(qWo=G7(M00})+mu%u d7kPIbcYe=W!ffZN`ABK=)V43Dp3Ho(1^`Com16(^ literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..4a0b6824688860da77d7b7d51901328bc38e9146 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R$gGxMietc(JQ599;lYBKYAaCQ~zm84Z$p9CFy5WMZHS1_&yK zNX|V20SBQ(13~}<-W?ARn79}Q0v(45DgO<}0sXY)E$$Dk5p7g!OBMB3Uf8 literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..44f83f7f47216ed01b81881e6470697f651aaf1d GIT binary patch literal 507 zcmXqLV*GB<#5i{WGZP~d6Guscdb#B7o2>?1Y#dr`9_MUXn3)U=3?&T2*qB3En0fep z6H7``ixfgqi%S#&932fs420OYwAmP07@HQ=FfsD5xVgC*8YqbK8W|aw7?~M>L6ii) zB@h@I83U22rKx3mH9`|*;$Z=*H8O}a5N2ZsdxnV->MLeOc4j9A7LMxVB}>dW4_UPt zC)CsxHvCyM;cKg2S;aT0-4AE4w_g{(dG#6h8C;wFo80FAl>cREdB*+Vuj#E7`A%WG z`x*}!E>1H@0s5agR92Xg@jnZP0UMBFVq`Sn1Bvm2#DL+)$Yvl5;`6bHv54F`^+vqx zkLuNHTlee{-*KI>vn%?gfjmfBnFSci4I){8mCEG<<=^ZVbDW+oaOaNU!ooV_*kJZx zFmPp3WY}`;9oPQ7DbJs9WuFTDy0sv7y6VpbuJK!{Pp5QMKK-l3q@XPEk;P`uh422B bT(Zeurny?L37=YU*v8%QYG%r8Ct+&@xZ$ehPj)B54G(tAb literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..dbd1ce1c0b539d7ce5c88cd8ab4b82043235c305 GIT binary patch literal 235 zcmXqLe8I-4)#lOmotKfFX+h&HgU0JjjLe3-2Hb3%32h#Xsmv@)j0P?UMT`r~SxiM$ z7#LL273TXkr-UWNd6;U|^_gWTL{#pu)zW%3d}@g@ZxD zu-2d&Xm*20(yu1t$Th!KPP3EwCBk+0E6eA?1XTOD*f@ZWI%mtm%*5hu;L4G4xW@87tk%Q5A)fQ5lhw7vZ<9X9y@>y-+&JymZ?B^rT1V%suU&sX zc+uu{7Gh^tmWAgmc=`WP{R7>e#R&#+20TC~$_g_w{%2t_U@+hV@%TYJV1TeU7|4S7 zd@N!tA`7Nxe0I0`zEu2=BEYmRZ3%?Mu6V=?fjU z`u)W1cP4W1GJ7%@xG^a*%zehVvqOK~ufLyatYm-gn5VfdaIK(En)YYLGV|lBSNsDi mY2nEA`Lx7OXs7DpBw2HA?F^&o7n_*_FzOpH7%Zfk-ktAbNfuDxzPTpx#cll>%a3!UcY_Vvi#PA>-|s5g$#63MHrIL9AK8+wr}az zYagwT-4xV_-l!*-a{K(l(o$b+PnS%AURAd>Z0sa!r#{>^?d z$LZ+;ckUQ2EUZHgPG)xo0~aQRJiW71VtbCPK02j#Da#^O{p)-$V!4xEr)_@qdBTaZ qI2|U1Lh;;nwFlpQyt%&R+JelY2^F`GzL{$&{^>Y(ZS<0)Uorr~JBft= literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..0a2ff5c6f40462c1ada74df81943186895eb58ec GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R(1Rd`jYmi0=m>-n4Kjyoa0OFz2qbpvnC=ZA|BSY&oC`1_&yK zNX|V20SBQ(13~}<8_;rG+stV<62FygcU(%Z_YN7?+rv3`+ThoZ<#!S=EM*h`W6Zz< b9k#xu_15t_#@P`lTd^(?WZTc-%gCB%SOYgu literal 0 HcmV?d00001 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())