From 604b80bb7404a0798d2403306c09b4cdb2e0f3d0 Mon Sep 17 00:00:00 2001 From: Evgeny Margolis Date: Tue, 17 May 2022 08:13:01 -0700 Subject: [PATCH] Added Certification Declaration (CD) Negative Test Vectors. (#18447) Added script to the chip-cert tool to generate incorrectly formated CDs. --- .../cd.der | Bin 0 -> 239 bytes .../dac-Cert.der | Bin 0 -> 488 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 -> 469 bytes .../dac-Cert.der | Bin 0 -> 488 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 -> 467 bytes .../dac-Cert.der | Bin 0 -> 488 bytes .../dac-Cert.pem | 13 + .../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 -> 263 bytes .../dac-Cert.der | Bin 0 -> 489 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 -> 286 bytes .../dac-Cert.der | Bin 0 -> 488 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 -> 310 bytes .../dac-Cert.der | Bin 0 -> 488 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 -> 262 bytes .../dac-Cert.der | Bin 0 -> 488 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 + .../struct_cd_cert_id_len_wrong/cd.der | Bin 0 -> 265 bytes .../struct_cd_cert_id_len_wrong/dac-Cert.der | Bin 0 -> 489 bytes .../struct_cd_cert_id_len_wrong/dac-Cert.pem | 13 + .../struct_cd_cert_id_len_wrong/dac-Key.der | Bin 0 -> 121 bytes .../struct_cd_cert_id_len_wrong/dac-Key.pem | 5 + .../struct_cd_cert_id_len_wrong/pai-Cert.der | Bin 0 -> 472 bytes .../struct_cd_cert_id_len_wrong/pai-Cert.pem | 12 + .../struct_cd_cert_id_len_wrong/pai-Key.der | Bin 0 -> 121 bytes .../struct_cd_cert_id_len_wrong/pai-Key.pem | 5 + .../test_case_vector.json | 9 + .../struct_cd_cert_id_mismatch/cd.der | Bin 0 -> 261 bytes .../struct_cd_cert_id_mismatch/dac-Cert.der | Bin 0 -> 488 bytes .../struct_cd_cert_id_mismatch/dac-Cert.pem | 13 + .../struct_cd_cert_id_mismatch/dac-Key.der | Bin 0 -> 121 bytes .../struct_cd_cert_id_mismatch/dac-Key.pem | 5 + .../struct_cd_cert_id_mismatch/pai-Cert.der | Bin 0 -> 472 bytes .../struct_cd_cert_id_mismatch/pai-Cert.pem | 12 + .../struct_cd_cert_id_mismatch/pai-Key.der | Bin 0 -> 121 bytes .../struct_cd_cert_id_mismatch/pai-Key.pem | 5 + .../test_case_vector.json | 9 + .../struct_cd_cert_id_missing/cd.der | Bin 0 -> 240 bytes .../struct_cd_cert_id_missing/dac-Cert.der | Bin 0 -> 487 bytes .../struct_cd_cert_id_missing/dac-Cert.pem | 13 + .../struct_cd_cert_id_missing/dac-Key.der | Bin 0 -> 121 bytes .../struct_cd_cert_id_missing/dac-Key.pem | 5 + .../struct_cd_cert_id_missing/pai-Cert.der | Bin 0 -> 472 bytes .../struct_cd_cert_id_missing/pai-Cert.pem | 12 + .../struct_cd_cert_id_missing/pai-Key.der | Bin 0 -> 121 bytes .../struct_cd_cert_id_missing/pai-Key.pem | 5 + .../test_case_vector.json | 9 + .../struct_cd_cert_type_missing/cd.der | Bin 0 -> 258 bytes .../struct_cd_cert_type_missing/dac-Cert.der | Bin 0 -> 487 bytes .../struct_cd_cert_type_missing/dac-Cert.pem | 13 + .../struct_cd_cert_type_missing/dac-Key.der | Bin 0 -> 121 bytes .../struct_cd_cert_type_missing/dac-Key.pem | 5 + .../struct_cd_cert_type_missing/pai-Cert.der | Bin 0 -> 471 bytes .../struct_cd_cert_type_missing/pai-Cert.pem | 12 + .../struct_cd_cert_type_missing/pai-Key.der | Bin 0 -> 121 bytes .../struct_cd_cert_type_missing/pai-Key.pem | 5 + .../test_case_vector.json | 9 + .../struct_cd_cert_type_wrong/cd.der | Bin 0 -> 263 bytes .../struct_cd_cert_type_wrong/dac-Cert.der | Bin 0 -> 487 bytes .../struct_cd_cert_type_wrong/dac-Cert.pem | 13 + .../struct_cd_cert_type_wrong/dac-Key.der | Bin 0 -> 121 bytes .../struct_cd_cert_type_wrong/dac-Key.pem | 5 + .../struct_cd_cert_type_wrong/pai-Cert.der | Bin 0 -> 472 bytes .../struct_cd_cert_type_wrong/pai-Cert.pem | 12 + .../struct_cd_cert_type_wrong/pai-Key.der | Bin 0 -> 121 bytes .../struct_cd_cert_type_wrong/pai-Key.pem | 5 + .../test_case_vector.json | 9 + .../struct_cd_cms_digest_algo_sha1/cd.der | Bin 0 -> 256 bytes .../dac-Cert.der | Bin 0 -> 487 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 + .../struct_cd_cms_digest_algo_sha256/cd.der | Bin 0 -> 262 bytes .../dac-Cert.der | Bin 0 -> 489 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 + .../struct_cd_cms_econtent_type_msac/cd.der | Bin 0 -> 265 bytes .../dac-Cert.der | Bin 0 -> 488 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 -> 261 bytes .../dac-Cert.der | Bin 0 -> 487 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 -> 260 bytes .../dac-Cert.der | Bin 0 -> 488 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 -> 262 bytes .../dac-Cert.der | Bin 0 -> 488 bytes .../dac-Cert.pem | 13 + .../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 + .../struct_cd_cms_signature/cd.der | Bin 0 -> 262 bytes .../struct_cd_cms_signature/dac-Cert.der | Bin 0 -> 487 bytes .../struct_cd_cms_signature/dac-Cert.pem | 13 + .../struct_cd_cms_signature/dac-Key.der | Bin 0 -> 121 bytes .../struct_cd_cms_signature/dac-Key.pem | 5 + .../struct_cd_cms_signature/pai-Cert.der | Bin 0 -> 472 bytes .../struct_cd_cms_signature/pai-Cert.pem | 12 + .../struct_cd_cms_signature/pai-Key.der | Bin 0 -> 121 bytes .../struct_cd_cms_signature/pai-Key.pem | 5 + .../test_case_vector.json | 9 + .../commissioner_dut/struct_cd_cms_v2/cd.der | Bin 0 -> 261 bytes .../struct_cd_cms_v2/dac-Cert.der | Bin 0 -> 487 bytes .../struct_cd_cms_v2/dac-Cert.pem | 13 + .../struct_cd_cms_v2/dac-Key.der | Bin 0 -> 121 bytes .../struct_cd_cms_v2/dac-Key.pem | 5 + .../struct_cd_cms_v2/pai-Cert.der | Bin 0 -> 472 bytes .../struct_cd_cms_v2/pai-Cert.pem | 12 + .../struct_cd_cms_v2/pai-Key.der | Bin 0 -> 121 bytes .../struct_cd_cms_v2/pai-Key.pem | 5 + .../struct_cd_cms_v2/test_case_vector.json | 9 + .../commissioner_dut/struct_cd_cms_v3/cd.der | Bin 0 -> 263 bytes .../struct_cd_cms_v3/dac-Cert.der | Bin 0 -> 489 bytes .../struct_cd_cms_v3/dac-Cert.pem | 13 + .../struct_cd_cms_v3/dac-Key.der | Bin 0 -> 121 bytes .../struct_cd_cms_v3/dac-Key.pem | 5 + .../struct_cd_cms_v3/pai-Cert.der | Bin 0 -> 472 bytes .../struct_cd_cms_v3/pai-Cert.pem | 12 + .../struct_cd_cms_v3/pai-Key.der | Bin 0 -> 121 bytes .../struct_cd_cms_v3/pai-Key.pem | 5 + .../struct_cd_cms_v3/test_case_vector.json | 9 + .../cd.der | Bin 0 -> 266 bytes .../dac-Cert.der | Bin 0 -> 489 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 -> 262 bytes .../dac-Cert.der | Bin 0 -> 487 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 -> 269 bytes .../dac-Cert.der | Bin 0 -> 487 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 -> 270 bytes .../dac-Cert.der | Bin 0 -> 488 bytes .../dac-Cert.pem | 13 + .../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 -> 271 bytes .../dac-Cert.der | Bin 0 -> 488 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 -> 266 bytes .../dac-Cert.der | Bin 0 -> 487 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 + .../struct_cd_device_type_id_mismatch/cd.der | Bin 0 -> 265 bytes .../dac-Cert.der | Bin 0 -> 487 bytes .../dac-Cert.pem | 13 + .../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 + .../struct_cd_device_type_id_missing/cd.der | Bin 0 -> 256 bytes .../dac-Cert.der | Bin 0 -> 488 bytes .../dac-Cert.pem | 13 + .../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 + .../struct_cd_format_version_1/cd.der | Bin 0 -> 263 bytes .../struct_cd_format_version_1/dac-Cert.der | Bin 0 -> 488 bytes .../struct_cd_format_version_1/dac-Cert.pem | 13 + .../struct_cd_format_version_1/dac-Key.der | Bin 0 -> 121 bytes .../struct_cd_format_version_1/dac-Key.pem | 5 + .../struct_cd_format_version_1/pai-Cert.der | Bin 0 -> 472 bytes .../struct_cd_format_version_1/pai-Cert.pem | 12 + .../struct_cd_format_version_1/pai-Key.der | Bin 0 -> 121 bytes .../struct_cd_format_version_1/pai-Key.pem | 5 + .../test_case_vector.json | 9 + .../struct_cd_format_version_2/cd.der | Bin 0 -> 262 bytes .../struct_cd_format_version_2/dac-Cert.der | Bin 0 -> 488 bytes .../struct_cd_format_version_2/dac-Cert.pem | 13 + .../struct_cd_format_version_2/dac-Key.der | Bin 0 -> 121 bytes .../struct_cd_format_version_2/dac-Key.pem | 5 + .../struct_cd_format_version_2/pai-Cert.der | Bin 0 -> 473 bytes .../struct_cd_format_version_2/pai-Cert.pem | 12 + .../struct_cd_format_version_2/pai-Key.der | Bin 0 -> 121 bytes .../struct_cd_format_version_2/pai-Key.pem | 5 + .../test_case_vector.json | 9 + .../struct_cd_format_version_missing/cd.der | Bin 0 -> 258 bytes .../dac-Cert.der | Bin 0 -> 487 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 + .../struct_cd_pid_array_count0/cd.der | Bin 0 -> 260 bytes .../struct_cd_pid_array_count0/dac-Cert.der | Bin 0 -> 488 bytes .../struct_cd_pid_array_count0/dac-Cert.pem | 13 + .../struct_cd_pid_array_count0/dac-Key.der | Bin 0 -> 121 bytes .../struct_cd_pid_array_count0/dac-Key.pem | 5 + .../struct_cd_pid_array_count0/pai-Cert.der | Bin 0 -> 472 bytes .../struct_cd_pid_array_count0/pai-Cert.pem | 12 + .../struct_cd_pid_array_count0/pai-Key.der | Bin 0 -> 121 bytes .../struct_cd_pid_array_count0/pai-Key.pem | 5 + .../test_case_vector.json | 9 + .../cd.der | Bin 0 -> 262 bytes .../dac-Cert.der | Bin 0 -> 489 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 + .../struct_cd_pid_array_count01_valid/cd.der | Bin 0 -> 262 bytes .../dac-Cert.der | Bin 0 -> 487 bytes .../dac-Cert.pem | 13 + .../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 -> 566 bytes .../dac-Cert.der | Bin 0 -> 488 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 + .../struct_cd_pid_array_count100_valid/cd.der | Bin 0 -> 566 bytes .../dac-Cert.der | Bin 0 -> 487 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 -> 291 bytes .../dac-Cert.der | Bin 0 -> 487 bytes .../dac-Cert.pem | 13 + .../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 + .../struct_cd_pid_array_count10_valid/cd.der | Bin 0 -> 291 bytes .../dac-Cert.der | Bin 0 -> 488 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 + .../struct_cd_pid_array_missing/cd.der | Bin 0 -> 255 bytes .../struct_cd_pid_array_missing/dac-Cert.der | Bin 0 -> 488 bytes .../struct_cd_pid_array_missing/dac-Cert.pem | 13 + .../struct_cd_pid_array_missing/dac-Key.der | Bin 0 -> 121 bytes .../struct_cd_pid_array_missing/dac-Key.pem | 5 + .../struct_cd_pid_array_missing/pai-Cert.der | Bin 0 -> 472 bytes .../struct_cd_pid_array_missing/pai-Cert.pem | 12 + .../struct_cd_pid_array_missing/pai-Key.der | Bin 0 -> 121 bytes .../struct_cd_pid_array_missing/pai-Key.pem | 5 + .../test_case_vector.json | 9 + .../struct_cd_security_info_missing/cd.der | Bin 0 -> 258 bytes .../dac-Cert.der | Bin 0 -> 488 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 + .../struct_cd_security_info_wrong/cd.der | Bin 0 -> 264 bytes .../dac-Cert.der | Bin 0 -> 487 bytes .../dac-Cert.pem | 13 + .../struct_cd_security_info_wrong/dac-Key.der | Bin 0 -> 121 bytes .../struct_cd_security_info_wrong/dac-Key.pem | 5 + .../pai-Cert.der | Bin 0 -> 472 bytes .../pai-Cert.pem | 12 + .../struct_cd_security_info_wrong/pai-Key.der | Bin 0 -> 121 bytes .../struct_cd_security_info_wrong/pai-Key.pem | 5 + .../test_case_vector.json | 9 + .../struct_cd_security_level_missing/cd.der | Bin 0 -> 260 bytes .../dac-Cert.der | Bin 0 -> 487 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 + .../struct_cd_security_level_wrong/cd.der | Bin 0 -> 261 bytes .../dac-Cert.der | Bin 0 -> 489 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 -> 257 bytes .../dac-Cert.der | Bin 0 -> 488 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 + .../struct_cd_signer_info_skid_invalid/cd.der | Bin 0 -> 262 bytes .../dac-Cert.der | Bin 0 -> 486 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 + .../struct_cd_signer_info_skid_valid/cd.der | Bin 0 -> 262 bytes .../dac-Cert.der | Bin 0 -> 488 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 + .../struct_cd_signer_info_v2/cd.der | Bin 0 -> 262 bytes .../struct_cd_signer_info_v2/dac-Cert.der | Bin 0 -> 488 bytes .../struct_cd_signer_info_v2/dac-Cert.pem | 13 + .../struct_cd_signer_info_v2/dac-Key.der | Bin 0 -> 121 bytes .../struct_cd_signer_info_v2/dac-Key.pem | 5 + .../struct_cd_signer_info_v2/pai-Cert.der | Bin 0 -> 473 bytes .../struct_cd_signer_info_v2/pai-Cert.pem | 12 + .../struct_cd_signer_info_v2/pai-Key.der | Bin 0 -> 121 bytes .../struct_cd_signer_info_v2/pai-Key.pem | 5 + .../test_case_vector.json | 9 + .../struct_cd_version_number_match/cd.der | Bin 0 -> 261 bytes .../dac-Cert.der | Bin 0 -> 488 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 + .../struct_cd_version_number_missing/cd.der | Bin 0 -> 257 bytes .../dac-Cert.der | Bin 0 -> 489 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 + .../struct_cd_version_number_wrong/cd.der | Bin 0 -> 262 bytes .../dac-Cert.der | Bin 0 -> 487 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 + .../struct_cd_vid_mismatch/cd.der | Bin 0 -> 262 bytes .../struct_cd_vid_mismatch/dac-Cert.der | Bin 0 -> 489 bytes .../struct_cd_vid_mismatch/dac-Cert.pem | 13 + .../struct_cd_vid_mismatch/dac-Key.der | Bin 0 -> 121 bytes .../struct_cd_vid_mismatch/dac-Key.pem | 5 + .../struct_cd_vid_mismatch/pai-Cert.der | Bin 0 -> 472 bytes .../struct_cd_vid_mismatch/pai-Cert.pem | 12 + .../struct_cd_vid_mismatch/pai-Key.der | Bin 0 -> 121 bytes .../struct_cd_vid_mismatch/pai-Key.pem | 5 + .../test_case_vector.json | 9 + .../struct_cd_vid_missing/cd.der | Bin 0 -> 257 bytes .../struct_cd_vid_missing/dac-Cert.der | Bin 0 -> 489 bytes .../struct_cd_vid_missing/dac-Cert.pem | 13 + .../struct_cd_vid_missing/dac-Key.der | Bin 0 -> 121 bytes .../struct_cd_vid_missing/dac-Key.pem | 5 + .../struct_cd_vid_missing/pai-Cert.der | Bin 0 -> 472 bytes .../struct_cd_vid_missing/pai-Cert.pem | 12 + .../struct_cd_vid_missing/pai-Key.der | Bin 0 -> 121 bytes .../struct_cd_vid_missing/pai-Key.pem | 5 + .../test_case_vector.json | 9 + src/tools/chip-cert/Cmd_GenAttCert.cpp | 15 +- src/tools/chip-cert/Cmd_GenCD.cpp | 835 +++++++++++++++++- .../chip-cert/gen_com_dut_test_vectors.py | 360 +++++++- 533 files changed, 3519 insertions(+), 23 deletions(-) create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count0/cd.der create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count0/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count0/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count0/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count0/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count0/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count0/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count0/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count0/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count0/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count10_invalid/cd.der create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count10_invalid/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count10_invalid/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count10_invalid/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count10_invalid/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count10_invalid/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count10_invalid/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count10_invalid/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count10_invalid/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count10_invalid/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count10_valid/cd.der create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count10_valid/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count10_valid/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count10_valid/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count10_valid/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count10_valid/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count10_valid/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count10_valid/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count10_valid/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count10_valid/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count1_valid/cd.der create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count1_valid/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count1_valid/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count1_valid/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count1_valid/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count1_valid/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count1_valid/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count1_valid/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count1_valid/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count1_valid/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count2_valid/cd.der create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count2_valid/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count2_valid/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count2_valid/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count2_valid/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count2_valid/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count2_valid/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count2_valid/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count2_valid/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count2_valid/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count3_invalid/cd.der create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count3_invalid/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count3_invalid/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count3_invalid/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count3_invalid/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count3_invalid/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count3_invalid/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count3_invalid/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count3_invalid/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count3_invalid/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_missing/cd.der create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_missing/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_missing/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_missing/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_missing/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_missing/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_missing/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_missing/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_missing/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_authorized_paa_list_missing/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_cd_cert_id_len_wrong/cd.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cert_id_len_wrong/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cert_id_len_wrong/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_cert_id_len_wrong/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cert_id_len_wrong/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_cert_id_len_wrong/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cert_id_len_wrong/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_cert_id_len_wrong/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cert_id_len_wrong/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_cert_id_len_wrong/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_cd_cert_id_mismatch/cd.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cert_id_mismatch/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cert_id_mismatch/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_cert_id_mismatch/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cert_id_mismatch/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_cert_id_mismatch/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cert_id_mismatch/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_cert_id_mismatch/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cert_id_mismatch/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_cert_id_mismatch/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_cd_cert_id_missing/cd.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cert_id_missing/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cert_id_missing/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_cert_id_missing/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cert_id_missing/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_cert_id_missing/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cert_id_missing/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_cert_id_missing/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cert_id_missing/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_cert_id_missing/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_cd_cert_type_missing/cd.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cert_type_missing/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cert_type_missing/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_cert_type_missing/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cert_type_missing/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_cert_type_missing/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cert_type_missing/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_cert_type_missing/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cert_type_missing/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_cert_type_missing/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_cd_cert_type_wrong/cd.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cert_type_wrong/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cert_type_wrong/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_cert_type_wrong/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cert_type_wrong/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_cert_type_wrong/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cert_type_wrong/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_cert_type_wrong/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cert_type_wrong/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_cert_type_wrong/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_digest_algo_sha1/cd.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_digest_algo_sha1/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_digest_algo_sha1/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_digest_algo_sha1/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_digest_algo_sha1/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_digest_algo_sha1/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_digest_algo_sha1/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_digest_algo_sha1/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_digest_algo_sha1/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_digest_algo_sha1/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_digest_algo_sha256/cd.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_digest_algo_sha256/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_digest_algo_sha256/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_digest_algo_sha256/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_digest_algo_sha256/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_digest_algo_sha256/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_digest_algo_sha256/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_digest_algo_sha256/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_digest_algo_sha256/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_digest_algo_sha256/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_econtent_type_msac/cd.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_econtent_type_msac/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_econtent_type_msac/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_econtent_type_msac/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_econtent_type_msac/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_econtent_type_msac/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_econtent_type_msac/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_econtent_type_msac/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_econtent_type_msac/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_econtent_type_msac/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_econtent_type_pkcs7_data/cd.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_econtent_type_pkcs7_data/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_econtent_type_pkcs7_data/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_econtent_type_pkcs7_data/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_econtent_type_pkcs7_data/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_econtent_type_pkcs7_data/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_econtent_type_pkcs7_data/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_econtent_type_pkcs7_data/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_econtent_type_pkcs7_data/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_econtent_type_pkcs7_data/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_sig_algo_ecdsa_with_sha1/cd.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_sig_algo_ecdsa_with_sha1/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_sig_algo_ecdsa_with_sha1/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_sig_algo_ecdsa_with_sha1/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_sig_algo_ecdsa_with_sha1/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_sig_algo_ecdsa_with_sha1/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_sig_algo_ecdsa_with_sha1/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_sig_algo_ecdsa_with_sha1/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_sig_algo_ecdsa_with_sha1/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_sig_algo_ecdsa_with_sha1/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_sig_algo_ecdsa_with_sha256/cd.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_sig_algo_ecdsa_with_sha256/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_sig_algo_ecdsa_with_sha256/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_sig_algo_ecdsa_with_sha256/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_sig_algo_ecdsa_with_sha256/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_sig_algo_ecdsa_with_sha256/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_sig_algo_ecdsa_with_sha256/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_sig_algo_ecdsa_with_sha256/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_sig_algo_ecdsa_with_sha256/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_sig_algo_ecdsa_with_sha256/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_signature/cd.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_signature/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_signature/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_signature/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_signature/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_signature/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_signature/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_signature/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_signature/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_signature/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_v2/cd.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_v2/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_v2/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_v2/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_v2/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_v2/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_v2/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_v2/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_v2/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_v2/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_v3/cd.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_v3/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_v3/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_v3/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_v3/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_v3/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_v3/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_v3/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_v3/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_cms_v3/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_cd_dac_origin_vid_missing_pid_present/cd.der create mode 100644 credentials/development/commissioner_dut/struct_cd_dac_origin_vid_missing_pid_present/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_dac_origin_vid_missing_pid_present/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_dac_origin_vid_missing_pid_present/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_dac_origin_vid_missing_pid_present/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_dac_origin_vid_missing_pid_present/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_dac_origin_vid_missing_pid_present/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_dac_origin_vid_missing_pid_present/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_dac_origin_vid_missing_pid_present/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_dac_origin_vid_missing_pid_present/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_missing/cd.der create mode 100644 credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_missing/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_missing/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_missing/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_missing/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_missing/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_missing/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_missing/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_missing/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_missing/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_match/cd.der create mode 100644 credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_match/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_match/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_match/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_match/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_match/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_match/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_match/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_match/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_match/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_pid_mismatch/cd.der create mode 100644 credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_pid_mismatch/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_pid_mismatch/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_pid_mismatch/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_pid_mismatch/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_pid_mismatch/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_pid_mismatch/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_pid_mismatch/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_pid_mismatch/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_pid_mismatch/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_vid_mismatch/cd.der create mode 100644 credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_vid_mismatch/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_vid_mismatch/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_vid_mismatch/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_vid_mismatch/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_vid_mismatch/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_vid_mismatch/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_vid_mismatch/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_vid_mismatch/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_vid_mismatch/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_cd_dac_origin_vid_present_pid_missing/cd.der create mode 100644 credentials/development/commissioner_dut/struct_cd_dac_origin_vid_present_pid_missing/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_dac_origin_vid_present_pid_missing/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_dac_origin_vid_present_pid_missing/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_dac_origin_vid_present_pid_missing/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_dac_origin_vid_present_pid_missing/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_dac_origin_vid_present_pid_missing/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_dac_origin_vid_present_pid_missing/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_dac_origin_vid_present_pid_missing/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_dac_origin_vid_present_pid_missing/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_cd_device_type_id_mismatch/cd.der create mode 100644 credentials/development/commissioner_dut/struct_cd_device_type_id_mismatch/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_device_type_id_mismatch/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_device_type_id_mismatch/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_device_type_id_mismatch/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_device_type_id_mismatch/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_device_type_id_mismatch/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_device_type_id_mismatch/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_device_type_id_mismatch/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_device_type_id_mismatch/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_cd_device_type_id_missing/cd.der create mode 100644 credentials/development/commissioner_dut/struct_cd_device_type_id_missing/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_device_type_id_missing/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_device_type_id_missing/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_device_type_id_missing/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_device_type_id_missing/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_device_type_id_missing/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_device_type_id_missing/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_device_type_id_missing/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_device_type_id_missing/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_cd_format_version_1/cd.der create mode 100644 credentials/development/commissioner_dut/struct_cd_format_version_1/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_format_version_1/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_format_version_1/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_format_version_1/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_format_version_1/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_format_version_1/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_format_version_1/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_format_version_1/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_format_version_1/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_cd_format_version_2/cd.der create mode 100644 credentials/development/commissioner_dut/struct_cd_format_version_2/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_format_version_2/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_format_version_2/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_format_version_2/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_format_version_2/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_format_version_2/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_format_version_2/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_format_version_2/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_format_version_2/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_cd_format_version_missing/cd.der create mode 100644 credentials/development/commissioner_dut/struct_cd_format_version_missing/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_format_version_missing/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_format_version_missing/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_format_version_missing/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_format_version_missing/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_format_version_missing/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_format_version_missing/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_format_version_missing/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_format_version_missing/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count0/cd.der create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count0/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count0/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count0/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count0/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count0/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count0/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count0/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count0/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count0/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count01_mismatch/cd.der create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count01_mismatch/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count01_mismatch/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count01_mismatch/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count01_mismatch/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count01_mismatch/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count01_mismatch/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count01_mismatch/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count01_mismatch/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count01_mismatch/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count01_valid/cd.der create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count01_valid/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count01_valid/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count01_valid/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count01_valid/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count01_valid/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count01_valid/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count01_valid/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count01_valid/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count01_valid/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count100_mismatch/cd.der create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count100_mismatch/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count100_mismatch/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count100_mismatch/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count100_mismatch/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count100_mismatch/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count100_mismatch/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count100_mismatch/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count100_mismatch/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count100_mismatch/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count100_valid/cd.der create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count100_valid/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count100_valid/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count100_valid/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count100_valid/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count100_valid/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count100_valid/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count100_valid/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count100_valid/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count100_valid/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count10_mismatch/cd.der create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count10_mismatch/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count10_mismatch/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count10_mismatch/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count10_mismatch/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count10_mismatch/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count10_mismatch/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count10_mismatch/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count10_mismatch/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count10_mismatch/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count10_valid/cd.der create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count10_valid/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count10_valid/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count10_valid/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count10_valid/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count10_valid/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count10_valid/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count10_valid/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count10_valid/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_count10_valid/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_missing/cd.der create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_missing/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_missing/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_missing/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_missing/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_missing/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_missing/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_missing/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_missing/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_pid_array_missing/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_cd_security_info_missing/cd.der create mode 100644 credentials/development/commissioner_dut/struct_cd_security_info_missing/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_security_info_missing/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_security_info_missing/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_security_info_missing/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_security_info_missing/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_security_info_missing/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_security_info_missing/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_security_info_missing/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_security_info_missing/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_cd_security_info_wrong/cd.der create mode 100644 credentials/development/commissioner_dut/struct_cd_security_info_wrong/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_security_info_wrong/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_security_info_wrong/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_security_info_wrong/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_security_info_wrong/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_security_info_wrong/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_security_info_wrong/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_security_info_wrong/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_security_info_wrong/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_cd_security_level_missing/cd.der create mode 100644 credentials/development/commissioner_dut/struct_cd_security_level_missing/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_security_level_missing/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_security_level_missing/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_security_level_missing/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_security_level_missing/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_security_level_missing/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_security_level_missing/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_security_level_missing/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_security_level_missing/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_cd_security_level_wrong/cd.der create mode 100644 credentials/development/commissioner_dut/struct_cd_security_level_wrong/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_security_level_wrong/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_security_level_wrong/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_security_level_wrong/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_security_level_wrong/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_security_level_wrong/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_security_level_wrong/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_security_level_wrong/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_security_level_wrong/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_cd_signer_info_digest_algo_sha1/cd.der create mode 100644 credentials/development/commissioner_dut/struct_cd_signer_info_digest_algo_sha1/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_signer_info_digest_algo_sha1/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_signer_info_digest_algo_sha1/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_signer_info_digest_algo_sha1/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_signer_info_digest_algo_sha1/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_signer_info_digest_algo_sha1/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_signer_info_digest_algo_sha1/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_signer_info_digest_algo_sha1/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_signer_info_digest_algo_sha1/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_cd_signer_info_skid_invalid/cd.der create mode 100644 credentials/development/commissioner_dut/struct_cd_signer_info_skid_invalid/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_signer_info_skid_invalid/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_signer_info_skid_invalid/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_signer_info_skid_invalid/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_signer_info_skid_invalid/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_signer_info_skid_invalid/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_signer_info_skid_invalid/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_signer_info_skid_invalid/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_signer_info_skid_invalid/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_cd_signer_info_skid_valid/cd.der create mode 100644 credentials/development/commissioner_dut/struct_cd_signer_info_skid_valid/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_signer_info_skid_valid/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_signer_info_skid_valid/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_signer_info_skid_valid/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_signer_info_skid_valid/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_signer_info_skid_valid/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_signer_info_skid_valid/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_signer_info_skid_valid/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_signer_info_skid_valid/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_cd_signer_info_v2/cd.der create mode 100644 credentials/development/commissioner_dut/struct_cd_signer_info_v2/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_signer_info_v2/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_signer_info_v2/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_signer_info_v2/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_signer_info_v2/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_signer_info_v2/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_signer_info_v2/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_signer_info_v2/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_signer_info_v2/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_cd_version_number_match/cd.der create mode 100644 credentials/development/commissioner_dut/struct_cd_version_number_match/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_version_number_match/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_version_number_match/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_version_number_match/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_version_number_match/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_version_number_match/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_version_number_match/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_version_number_match/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_version_number_match/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_cd_version_number_missing/cd.der create mode 100644 credentials/development/commissioner_dut/struct_cd_version_number_missing/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_version_number_missing/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_version_number_missing/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_version_number_missing/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_version_number_missing/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_version_number_missing/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_version_number_missing/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_version_number_missing/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_version_number_missing/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_cd_version_number_wrong/cd.der create mode 100644 credentials/development/commissioner_dut/struct_cd_version_number_wrong/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_version_number_wrong/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_version_number_wrong/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_version_number_wrong/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_version_number_wrong/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_version_number_wrong/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_version_number_wrong/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_version_number_wrong/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_version_number_wrong/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_cd_vid_mismatch/cd.der create mode 100644 credentials/development/commissioner_dut/struct_cd_vid_mismatch/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_vid_mismatch/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_vid_mismatch/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_vid_mismatch/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_vid_mismatch/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_vid_mismatch/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_vid_mismatch/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_vid_mismatch/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_vid_mismatch/test_case_vector.json create mode 100644 credentials/development/commissioner_dut/struct_cd_vid_missing/cd.der create mode 100644 credentials/development/commissioner_dut/struct_cd_vid_missing/dac-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_vid_missing/dac-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_vid_missing/dac-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_vid_missing/dac-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_vid_missing/pai-Cert.der create mode 100644 credentials/development/commissioner_dut/struct_cd_vid_missing/pai-Cert.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_vid_missing/pai-Key.der create mode 100644 credentials/development/commissioner_dut/struct_cd_vid_missing/pai-Key.pem create mode 100644 credentials/development/commissioner_dut/struct_cd_vid_missing/test_case_vector.json diff --git a/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count0/cd.der b/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count0/cd.der new file mode 100644 index 0000000000000000000000000000000000000000..53e5cb4d67a06bade7dc878f48cad948be0eea4e GIT binary patch literal 239 zcmXqLe8a}6)#lOmotKfFX+h&XgT~uTjLe3-2Hb3%32h#Xsmv@)j0PSEMT`rqSu8~r z7#LLj-G}h210CH+H8z0j7^Jbm>79j+}zv@(L|YeSS$>HKtY_>$jHFd z&=|xqFo=@iw*&%1BV!;kwKTPi!fBI>qcfVB_-%?b5N2ZsyPt^>>Jer}c4j9AmW=YW zHx2t`g+%ywd43UW$es0g!LGHt4r#;`>YH8set&z=lDXgGQr@k(Jk@x5GVg*5Dms%5 zF9k~c`4oM}+*JEo@!|x7I0GJFV8{wHGX7^_GGH*^1M&DlJYZn4HyFr*_TD-Sah&S?zq=p--p$mk4su zGkY)?xH2iYZCaTWX#46kzu2*FVK;5e7-SFgTtUS#g9 b)0H!qV-29tBrKCL(oq=v@>|?DH7nM0foU}L literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count0/dac-Key.pem b/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count0/dac-Key.pem new file mode 100644 index 00000000000000..784eeb332cc7ca --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count0/dac-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEICGpPB4uswCmHUOinM96MynNntO/Yr1Fw8T2Ep5siSncoAoGCCqGSM49 +AwEHoUQDQgAEaHdm7IC/HRIUD7pJ9BGAbZrjoLqtusIoXHEvNtH337dSpJ33XmTu +rNOVM5djDaDQJCyTMdJRGPzyW9w3NSvWcw== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count0/pai-Cert.der b/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count0/pai-Cert.der new file mode 100644 index 0000000000000000000000000000000000000000..ebfe85e6b0f5e4f649f8e5ae597e41bbd390e5a8 GIT binary patch literal 472 zcmXqLV!UF|#8|a}nTe5!i9`BLle7Eo)!PlY*f_M>JkHs&Ff$n#7)lt3u`!3TF!S*H zCYF?>7Ab_J7MCalI64}N7znX(X|pl1Fg7i!VPfQAadUGsG*A%dH8L_VH8eH=gD44p zOCT^bG6o`3OH<1z12>#zdSW*dO_Yg;#R6n@q=7ISJJ_X6j8G>tGqN)~F|g?NI!%|J z(c{-_mw#)MqJ_$avtf4vj=rt4IOEa0EXjOv^Q8am3mhUIO0N~+w{n@XSAJ>gO3g)5 zPuBexUwy~#`2NLd1}Q+#F^9?uGcx{X;V@tWQcR4D27DkfevlY2a2VMPWI=pB7BLo) zzFSg>0t{C7d<|q)JKuKb(<%QYVjvHaR%QVPVS`B4U!`*SK>0WO#T=)n3*5P5xUjGe zIjEUE7z|vQ6d4{BCEMx+#UviS5h^V6GWwk2-BqeHb8PP_7zSR?xpOC1e89_54CoGxdxKN-91_&yK zNX|V20SBQ(13~}nvgFbKCvLQGmu+3K7P{r+jILt_creZgvgOdLTpg>sR b8?6)%Iz*JcAEjlfDWV$WuKyRS+)l^8>+>=w literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count0/pai-Key.pem b/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count0/pai-Key.pem new file mode 100644 index 00000000000000..33d5c3f0350d51 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count0/pai-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIJeiWx406I1+OsL0h1xWOY93lhbyZLoZQTMhJyyZ5LhQoAoGCCqGSM49 +AwEHoUQDQgAELY1ClxuYjE6DPm/asiE4JLDNVtxQxe1+OMxIg6ZiN6ODkv8HoEBY +4RutFA86RJS9H6VlqSmiGuSu/xer3E7Hvw== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count0/test_case_vector.json b/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count0/test_case_vector.json new file mode 100644 index 00000000000000..4cc3cde0bbe43f --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count0/test_case_vector.json @@ -0,0 +1,9 @@ +{ + "description": "CD Test Vector: The authorized_paa_list contains one valid PAA which is authorized to sign the PAI.", + "is_success_case": "false", + "dac_cert": "308201e43082018aa00302010202080ed270e650497762300a06082a8648ce3d04030230463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303020170d3232303531333030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742044414331143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303059301306072a8648ce3d020106082a8648ce3d03010703420004687766ec80bf1d12140fba49f411806d9ae3a0baadbac2285c712f36d1f7dfb752a49df75e64eeacd3953397630da0d0242c9331d25118fcf25bdc37352bd673a360305e300c0603551d130101ff04023000300e0603551d0f0101ff040403020780301d0603551d0e04160414fe6311c83506f96ecc729a8c37a76c56373167de301f0603551d230418301680148eda1a6110003ade4d301cab43db408e2c77fa14300a06082a8648ce3d0403020348003045022046b2a962513deacb0f16c6f656d93c36001dc30cd18f6e0a723ba64f9588f06b022100f9462db2ea83e9432666e4aa4aeab90dbb123e541148e65c027d359725f0b5b9", + "pai_cert": "308201d43082017aa00302010202081bec824347bbabb7300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414131143012060a2b0601040182a27c02010c04464646313020170d3232303531333030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303059301306072a8648ce3d020106082a8648ce3d030107034200042d8d42971b988c4e833e6fdab2213824b0cd56dc50c5ed7e38cc4883a66237a38392ff07a04058e11bad140f3a4494bd1fa565a929a21ae4aeff17abdc4ec7bfa366306430120603551d130101ff040830060101ff020101300e0603551d0f0101ff040403020106301d0603551d0e041604148eda1a6110003ade4d301cab43db408e2c77fa14301f0603551d230418301680146afd22771f511fecbf1641976710dcdc31a1717e300a06082a8648ce3d0403020348003045022100e272633d2e525c61c3d855131ce95bce21ddaa25996c3ddd203151d76cdcdc6f02202cecc943bbbb30e2234be75320c016116b7332555f0153253a752ec4d368b09d", + "certification_declaration": "3081ec06092a864886f70d010702a081de3081db020103310d300b0609608648016503040201304806092a864886f70d010701a03b0439152000012501f1ff360205008018250334122c04135a494732303134315a423333303030312d323424050024060025077698240800360b1818317d307b020103801462fa823359acfaa9963e1cfa140addf504f37160300b0609608648016503040201300a06082a8648ce3d04030204473045022100eb42d6fe79c28db107bb6564695e2b53c990b500b97587eea57accb8034016a802202d2c21557fe74e1cba1444f14e844c79200d495fd86d28c1194966e7a0e0049b", + "dac_private_key": "21a93c1e2eb300a61d43a29ccf7a3329cd9ed3bf62bd45c3c4f6129e6c8929dc", + "dac_public_key": "04687766ec80bf1d12140fba49f411806d9ae3a0baadbac2285c712f36d1f7dfb752a49df75e64eeacd3953397630da0d0242c9331d25118fcf25bdc37352bd673" +} diff --git a/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count10_invalid/cd.der b/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count10_invalid/cd.der new file mode 100644 index 0000000000000000000000000000000000000000..db95fba7b30b2ab85eaca25c4265aa3b6b8cd7ee GIT binary patch literal 469 zcmXqLV!X)4snzDu_MMlJooPW6;~|44#(hkT%!a%M+-#f)Z61uN%q&cdKv4~ZLPnrM zNtPx?QBeg3Mped-|IL_K85$&1nN5UrScIcI-Hi+kO$?))jExNp3=DOROjKAIRM;3) z*~@0Aa4?v03y5&LoZ5YqF|~YEx6A*X{AU(A{7X{+itffPYKm2@sS7p}OkJ$7mbY@m|s%5wAXNxSQL$U5p&&M`18pQy)mD@O0*q~l(m-`>Vd2LSXLs#*X5 literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count10_invalid/dac-Cert.der b/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count10_invalid/dac-Cert.der new file mode 100644 index 0000000000000000000000000000000000000000..5858c42dafc644bb528d4790684402a91241f9c3 GIT binary patch literal 488 zcmXqLVtiuI#MrffnTe5!i9`ETbQ#aq&=Uq+Y#dr`9_MUXn3)XR3?&T2*qB3En0fep z6H7``ixfgqi%S#&96b$1420OYwAmP07@HQ=FfsD5xVgC*qKPu`uvi!Xfr2=%k&%I^ zp)rVKU=St2ZwUm3M#ey7YH4a2h0`V%M`tuM@!J$>Ak4-Nc0Us%)FaG{?95IKEN*ra z<{pp#t3A)8U(#L7cgy*++yOVg*ql}Pc;EB?+KZe0U&|Q>8~0bP{{QdJ!WH_DLyMLy zV{XWHyP7MP!mz02(c%PyI0GJFV8{wHGX7^_GGH*^1M&DlJYZn4HyFr*_>hP5W1yXIY5`s>k0CWW}8Ka>62 g>?c}eFe$z`ptGm*zsJ*}qDqsL!z)q_{oEY^0AzWTz5oCK literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count10_invalid/dac-Cert.pem b/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count10_invalid/dac-Cert.pem new file mode 100644 index 00000000000000..d40f0e615d6609 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count10_invalid/dac-Cert.pem @@ -0,0 +1,13 @@ +-----BEGIN CERTIFICATE----- +MIIB5DCCAYqgAwIBAgIIK8pbdgy1VcgwCgYIKoZIzj0EAwIwRjEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQB +gqJ8AgIMBDgwMDAwIBcNMjIwNTEzMDAwMDAwWhgPOTk5OTEyMzEyMzU5NTlaMEYx +GDAWBgNVBAMMD01hdHRlciBUZXN0IERBQzEUMBIGCisGAQQBgqJ8AgEMBEZGRjEx +FDASBgorBgEEAYKifAICDAQ4MDAwMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE +Rj6Qncdf/SueNI8ZRxZNtM/NC1DZ9DzNIPHfSf+t0bNP6x4zUzOPeav//tyhqC/j +VXKkpgOAa0bVbR5kAKKE4qNgMF4wDAYDVR0TAQH/BAIwADAOBgNVHQ8BAf8EBAMC +B4AwHQYDVR0OBBYEFAHOVpBnnpk6BcVnpCA+7NdUGsUhMB8GA1UdIwQYMBaAFCqm +Z1/xFOE20znvG+X0ec+jrdTKMAoGCCqGSM49BAMCA0gAMEUCIQCEREcr7Lzqn5ai +yT7WtN3tEgagSBgArTRJup7Spfri8QIgXsX5Y0+GP5E4aAIh6MAsvIn/SOVycnk0 +ZMOoZML5u1g= +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count10_invalid/dac-Key.der b/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count10_invalid/dac-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..681ebe04f81f2dab00013df639768afad70431b6 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R%(2n70@SMgJ4C-+Q%XLnI1DVGj_V%OuHNd?*@JCcK~u1_&yK zNX|V20SBQ(13~}-^+4MZkAo1Tx|EoNl_HV&;ek8`#x%uEIbh7ty1Y|No7%sl+Q zi6teeMG7IQ#U%;>j*f;R210CH+H8z0j7^Jbm>79j+}zv@4HU$Ajf@OT4UG-JAWDMY z5(o^9jDg71($q4_zzwIFp4iPq6J_FIu>hGJX&}tT4t6OMBh<;vjO@%#3@p>~kNVX< z^L)40&qHpHo!W~;=|>4U+g7BkOK4^bEvE^BjbM-4g)qI#l*;Hzy}iJ2Z;d#hmp-d7R2Xc5n~b2 zT9zLFQRJc7Wy|-{Prp>2U%d9pDFbIZq{z@_xGm5tUd4XZ#^lG}cUPPeeDmhS)Vu3mpVfc;{9P~aCnkju?x<@e gVw-g)#fF+r-YpZ({VKtb^_i+6&y^0PU+u|J0IST5cmMzZ literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count10_invalid/pai-Cert.pem b/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count10_invalid/pai-Cert.pem new file mode 100644 index 00000000000000..e9a7d69d3a1425 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count10_invalid/pai-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIB1DCCAXqgAwIBAgIIG8kqUmYTRaYwCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA1MTMw +MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowRjEYMBYGA1UEAwwPTWF0dGVyIFRlc3Qg +UEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQBgqJ8AgIMBDgwMDAw +WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAASWb8VOfeZJ7r1OSB68PiboYRviYGy3 +RL4ePhIb/kcx3e4wFrLGPGHvv+ob52vjel6yABOfYVzhoL+mDikTcwL/o2YwZDAS +BgNVHRMBAf8ECDAGAQH/AgEBMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUKqZn +X/EU4TbTOe8b5fR5z6Ot1MowHwYDVR0jBBgwFoAUav0idx9RH+y/FkGXZxDc3DGh +cX4wCgYIKoZIzj0EAwIDSAAwRQIhAIYxtlFKXyQ/qrFj4/e7eMoR7OzIld2u680v +6+fujQ3yAiBUC1rWdBazLJJdVTWTuxxXC+pgMQXmJTEM1Igi+odjWg== +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count10_invalid/pai-Key.der b/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count10_invalid/pai-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..2c8c687848afc98bdd238e4c36a4ee7aa480ae82 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R&-aoY8AIRkI$yFn_i{+H}Re$w{arz#R>dnES88o;9Ef1_&yK zNX|V20SBQ(13~}(3YvX!evH%mGVO-&$zorf;6LSLp-k3BN literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count10_invalid/pai-Key.pem b/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count10_invalid/pai-Key.pem new file mode 100644 index 00000000000000..08f6851bb59da6 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count10_invalid/pai-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIOYZnNFrOFWzHr8wf7ZA2nTFvclJqCTAHQ2RmPuvw541oAoGCCqGSM49 +AwEHoUQDQgAElm/FTn3mSe69TkgevD4m6GEb4mBst0S+Hj4SG/5HMd3uMBayxjxh +77/qG+dr43pesgATn2Fc4aC/pg4pE3MC/w== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count10_invalid/test_case_vector.json b/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count10_invalid/test_case_vector.json new file mode 100644 index 00000000000000..2717d050c9f7b7 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count10_invalid/test_case_vector.json @@ -0,0 +1,9 @@ +{ + "description": "CD Test Vector: The authorized_paa_list contains ten PAAs none of which is a valid PAA authorized to sign the PAI.", + "is_success_case": "false", + "dac_cert": "308201e43082018aa00302010202082bca5b760cb555c8300a06082a8648ce3d04030230463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303020170d3232303531333030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742044414331143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303059301306072a8648ce3d020106082a8648ce3d03010703420004463e909dc75ffd2b9e348f1947164db4cfcd0b50d9f43ccd20f1df49ffadd1b34feb1e3353338f79abfffedca1a82fe35572a4a603806b46d56d1e6400a284e2a360305e300c0603551d130101ff04023000300e0603551d0f0101ff040403020780301d0603551d0e0416041401ce5690679e993a05c567a4203eecd7541ac521301f0603551d230418301680142aa6675ff114e136d339ef1be5f479cfa3add4ca300a06082a8648ce3d04030203480030450221008444472becbcea9f96a2c93ed6b4dded1206a0481800ad3449ba9ed2a5fae2f102205ec5f9634f863f9138680221e8c02cbc89ff48e57272793464c3a864c2f9bb58", + "pai_cert": "308201d43082017aa00302010202081bc92a52661345a6300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414131143012060a2b0601040182a27c02010c04464646313020170d3232303531333030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303059301306072a8648ce3d020106082a8648ce3d03010703420004966fc54e7de649eebd4e481ebc3e26e8611be2606cb744be1e3e121bfe4731ddee3016b2c63c61efbfea1be76be37a5eb200139f615ce1a0bfa60e29137302ffa366306430120603551d130101ff040830060101ff020101300e0603551d0f0101ff040403020106301d0603551d0e041604142aa6675ff114e136d339ef1be5f479cfa3add4ca301f0603551d230418301680146afd22771f511fecbf1641976710dcdc31a1717e300a06082a8648ce3d04030203480030450221008631b6514a5f243faab163e3f7bb78ca11ececc895ddaeebcd2febe7ee8d0df20220540b5ad67416b32c925d553593bb1c570bea603105e625310cd48822fa87635a", + "certification_declaration": "308201d106092a864886f70d010702a08201c2308201be020103310d300b06096086480165030402013082012806092a864886f70d010701a082011904820115152000012501f1ff360205008018250334122c04135a494732303134315a423333303030312d323424050024060025077698240800360b10140b44cabbc5016577aa8b44ffb90fcca140fe662010140bbbcabbc5016577aa8b44ffb90fcca140fe662010140bbb35bbc5016577aa8b44ffb90fcca140fe662010140bbb3544c5016577aa8b44ffb90fcca140fe662010140bbb35443a016577aa8b44ffb90fcca140fe662010140bbb35443afe6577aa8b44ffb90fcca140fe662010140bbb35443afe9a77aa8b44ffb90fcca140fe662010140bbb35443afe9a88aa8b44ffb90fcca140fe662010140bbb35443afe9a88558b44ffb90fcca140fe662010140bbb35443afe9a88557444ffb90fcca140fe66201818317e307c020103801462fa823359acfaa9963e1cfa140addf504f37160300b0609608648016503040201300a06082a8648ce3d04030204483046022100e8d48d7040c6268533898c0fa4830938a3b4c21240cb6fa8109dbba8ad6a2a6b022100d7231e9fde1b472e481d412c799c303577912e0ada5c2ef192c74a49f6ed5c97", + "dac_private_key": "c86a98b7180945ff13b3df7bb56543240a46610f109ecb24c95d7c281a5426bc", + "dac_public_key": "04463e909dc75ffd2b9e348f1947164db4cfcd0b50d9f43ccd20f1df49ffadd1b34feb1e3353338f79abfffedca1a82fe35572a4a603806b46d56d1e6400a284e2" +} diff --git a/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count10_valid/cd.der b/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count10_valid/cd.der new file mode 100644 index 0000000000000000000000000000000000000000..0cc501a035e017a3bfdf52283fa92475a7e40cfd GIT binary patch literal 467 zcmXqLVm!~rsnzDu_MMlJooPW6;{k&v#yw1o%!a%M+-#f)Z61uN%q&cdKv4~ZLPnrM zNtPx?QBeg3Mped-|IL_K85$&1nN5UrScIcI-Hi+kO$?))jExNp3=DOROjKAIRM;3) z*~@0Aa4?v03y5U>RVtSclz+2d%yD|Uz@0mW3k&N6M851kwfiVzYWb>em;XEY&n$HK zm!<#`HN`IKf>o`H6*d!Gto~s!7brRl(>9Q32ZkHKqM_(6gNT+O+$$krSYuEH48aDG zq+d zA?JF^7fYSL(-qj=SA6MDvRN@XScpj>^s;V$`({Sf(vP=8E<5%}u)ptp7klc#ro=0s K@9$c-uNMH00JePq literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count10_valid/dac-Cert.der b/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count10_valid/dac-Cert.der new file mode 100644 index 0000000000000000000000000000000000000000..3351b5bffcdf1035679a0e5590e440332cca3834 GIT binary patch literal 488 zcmXqLVtiuI#MrffnTe5!iK9NUX@O1gV>JUVHV&;ek8`#x%uEJuh7ty1Y|No7%sl+Q zi6teeMG7IQ#U%;>j-G}h210CH+H8z0j7^Jbm>79j+}zv@(L|YeSS$>HKtY_>$jHFd z&=|xqFo=@iw*&%1BV!;kwKTPi!fBI>qcfVB_-%?b5N2ZsyPt^>>Jer}c4j9AmX5Hg zv&?QRzp%Gqc7{+?TJl7JO9}^rc>9PSuZkYZorM zeMdISQ|Sv+HLZ+RFHSIsGvEORhO96n<9`+=0|o;=5RV_k0|pj*gMloF&&MLhBC=_o z#ahu+@qULySitGr-Rq0shX$}`iY)qC literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count10_valid/dac-Key.pem b/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count10_valid/dac-Key.pem new file mode 100644 index 00000000000000..d251900f6489a4 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count10_valid/dac-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIE+dxvaEHTTPjeplvsFNzv7VHLu6Z4eng9enqZqoEfqJoAoGCCqGSM49 +AwEHoUQDQgAEiFaVmjbYp9C9gJtoElpmY5EQ0iBw9wEjvUP0J/COujvDi58sTvR5 +CPovGupplS9a7T5XFbe4awTlG9CVKToyqw== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count10_valid/pai-Cert.der b/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count10_valid/pai-Cert.der new file mode 100644 index 0000000000000000000000000000000000000000..45093e62652cd0a20510a234877ec015a81d1713 GIT binary patch literal 471 zcmXqLV!Uk7#8|a}nTe5!i6eLNlCSSyywEe?V&l+i^EhYA!pvk~U?^cA#>O1V!py_( zn^;nkTBHz?T3n(K;OJ;5Vj#rErOn33!q~K^hKZ4f#m&vl&_F?)*T~4g)X>-f45B3X zErGz$$QX!BEln+>4BT*<>51J;G*KoV77LKskp{wS>|mENF+!cp%*f8{#K6*WciGJR znsjEHb6HudZeBBPd?u;8$@+|vrg`n48jJHtiMX-@`3Vi_KP`APZzjz$8cd` z9db}JyE7QLFe&J*n6>xK+lf_EPj8M=j|?~LU&QuaVb0DADjqH+J=6Ugm=uJ4?fs{H g*lN&srT>NHy=ls|yiE5PZ+>ju*Z11_vs*lr51_&yK zNX|V20SBQ(13~}@j357-F|jfKd7-urjEyF{rYa%~0WB zFyj^w$@;5QE*~iWX1|!@^mKtccMKO6)=5Yh))~|QZEX-q`qg9{x#ri(X?8NdM7ZvL zW%*o~fa(%1HV&Y3&)KptGqHFWxG^a*tZF`dBSClNL$wmuRj0Uu-E*o0)b3X;Iz0b! uz*18y3tga+cgh>xr!11#w7t`Loy^H@rWT2CUDt5sRXV(rZD%O;2m%1|7)~bu literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count1_valid/dac-Cert.der b/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count1_valid/dac-Cert.der new file mode 100644 index 0000000000000000000000000000000000000000..a6bf015433038c24c731c28fdf7a02a80ad78253 GIT binary patch literal 489 zcmXqLVti`Q#MrffnTe5!iKD>f=B9YtFc$+ZHV&;ek8`#x%uEJuh7ty1Y|No7%sl+Q zi6teeMG7IQ#U%;>j-G}h210CH+H8z0j7^Jbm>79j+}zv@(L|YeSS$>HKtY_>$jHFd z&=|xqFo=@iw*&%1BV!;kwKTPi!fBI>qcfVB_-%?b5N2ZsyPt^>>Jer}c4j9A7VkHw zCG9V!#_7Jy{Tlr|_({SdTje*~pPYWc<&V)7 z&+N%y;KroL@Y#k<_o7Ki>77~6vtOM*z;t=js_&n-%}e6Fy~fMw;m!o0l0_2^vOM~? fVB!4B7iZcf$Gey0tq5{|!2gSX!W8~&>kqO3Za0tn literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count1_valid/dac-Cert.pem b/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count1_valid/dac-Cert.pem new file mode 100644 index 00000000000000..0ac834df730e39 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count1_valid/dac-Cert.pem @@ -0,0 +1,13 @@ +-----BEGIN CERTIFICATE----- +MIIB5TCCAYqgAwIBAgIIcETZsl89VkQwCgYIKoZIzj0EAwIwRjEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQB +gqJ8AgIMBDgwMDAwIBcNMjIwNTEzMDAwMDAwWhgPOTk5OTEyMzEyMzU5NTlaMEYx +GDAWBgNVBAMMD01hdHRlciBUZXN0IERBQzEUMBIGCisGAQQBgqJ8AgEMBEZGRjEx +FDASBgorBgEEAYKifAICDAQ4MDAwMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE +S+zLGT/RZV4t6W31W+dT5GCiPSPsth4tCMm6s5nG+n7jA3gv0imMHslqx3fn1ASR +UN/q59c40Sz46Ec/2QOaDaNgMF4wDAYDVR0TAQH/BAIwADAOBgNVHQ8BAf8EBAMC +B4AwHQYDVR0OBBYEFO8ZZZcuM1EJOrm6RwEuTmZNvXgTMB8GA1UdIwQYMBaAFGEM +k/YcOyOVLhNKzhITzZC2Lj/VMAoGCCqGSM49BAMCA0kAMEYCIQDzPAYt0TRUddya +52vqz8AC07Kq9/O2nmIN26xKQuG5YAIhAKKQwQTi/qChn9PRmT5jX0d0bqhSR+AP ++g+QlA9rO/Ad +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count1_valid/dac-Key.der b/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count1_valid/dac-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..1431ad1c3c8c40187d7427854a3c1a4b7c821ef7 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1RxnP3%9&sW%m2^-+*2?!lcq}a^`YfVt8&L@v#hU_c|P3V*= zt;}xS{_B|Zlue7%3{rreV-A%SW@P-&!ePJ$q?i~P4fsG}{2(!4;4rco$b$HMEMhDo zi9D0P$yh5-)f4tQCnS7!!Ztnos|NBQX=N5*5H^Tp{Z%TL50rniU(9iOy1<<~h6@Yp zkb|1pgTcU+Nx^+tlZ)R0;acex1_n_F_WV)Pc>3wz^e4$2Oeg$oVwaz0Qe#lQrhnF<|(Omo^3jh+Yj`{!q literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count1_valid/pai-Cert.pem b/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count1_valid/pai-Cert.pem new file mode 100644 index 00000000000000..f7054d13ce4bcc --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count1_valid/pai-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIB1DCCAXqgAwIBAgIIaCIr2PF5HccwCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA1MTMw +MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowRjEYMBYGA1UEAwwPTWF0dGVyIFRlc3Qg +UEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQBgqJ8AgIMBDgwMDAw +WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAARWqEls3lfJzFIGpI7QNUSlD6HM7sQX +t566fcYTbGO9UCnY5lRwvGCT0rEv5eBksVS5cFVgiRp1eWuFt/rGG5Syo2YwZDAS +BgNVHRMBAf8ECDAGAQH/AgEBMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUYQyT +9hw7I5UuE0rOEhPNkLYuP9UwHwYDVR0jBBgwFoAUav0idx9RH+y/FkGXZxDc3DGh +cX4wCgYIKoZIzj0EAwIDSAAwRQIgR6aCRE7AE30bqDAwWsC8/CYo5fL+l+RjCALI +Tjxdp8sCIQCC1Lan4znOavR8X/WCTGcE6qeV0UW6zg7DpIH8KaP4ag== +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count1_valid/pai-Key.der b/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count1_valid/pai-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..f936190377501202d4d7ee1bb3e972190f352600 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1RxI6)~Bc3psQYMn|8gV;RV5``^7um35b9iyZYFRfK;Fg1_&yK zNX|V20SBQ(13~}xo}lri5hizYlXM^#v7Ef{Czo8 literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count1_valid/pai-Key.pem b/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count1_valid/pai-Key.pem new file mode 100644 index 00000000000000..7be6f23a2f3468 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count1_valid/pai-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIA7T1qen3KCrXmubdr2k4QXBp/vFO90JiIAau/rYi4BUoAoGCCqGSM49 +AwEHoUQDQgAEVqhJbN5XycxSBqSO0DVEpQ+hzO7EF7eeun3GE2xjvVAp2OZUcLxg +k9KxL+XgZLFUuXBVYIkadXlrhbf6xhuUsg== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count1_valid/test_case_vector.json b/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count1_valid/test_case_vector.json new file mode 100644 index 00000000000000..ee794a021dd9dc --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count1_valid/test_case_vector.json @@ -0,0 +1,9 @@ +{ + "description": "CD Test Vector: The authorized_paa_list contains one valid PAA which is authorized to sign the PAI.", + "is_success_case": "true", + "dac_cert": "308201e53082018aa00302010202087044d9b25f3d5644300a06082a8648ce3d04030230463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303020170d3232303531333030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742044414331143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303059301306072a8648ce3d020106082a8648ce3d030107034200044beccb193fd1655e2de96df55be753e460a23d23ecb61e2d08c9bab399c6fa7ee303782fd2298c1ec96ac777e7d4049150dfeae7d738d12cf8e8473fd9039a0da360305e300c0603551d130101ff04023000300e0603551d0f0101ff040403020780301d0603551d0e04160414ef1965972e3351093ab9ba47012e4e664dbd7813301f0603551d23041830168014610c93f61c3b23952e134ace1213cd90b62e3fd5300a06082a8648ce3d0403020349003046022100f33c062dd1345475dc9ae76beacfc002d3b2aaf7f3b69e620ddbac4a42e1b960022100a290c104e2fea0a19fd3d1993e635f47746ea85247e00ffa0f90940f6b3bf01d", + "pai_cert": "308201d43082017aa003020102020868222bd8f1791dc7300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414131143012060a2b0601040182a27c02010c04464646313020170d3232303531333030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303059301306072a8648ce3d020106082a8648ce3d0301070342000456a8496cde57c9cc5206a48ed03544a50fa1cceec417b79eba7dc6136c63bd5029d8e65470bc6093d2b12fe5e064b154b9705560891a75796b85b7fac61b94b2a366306430120603551d130101ff040830060101ff020101300e0603551d0f0101ff040403020106301d0603551d0e04160414610c93f61c3b23952e134ace1213cd90b62e3fd5301f0603551d230418301680146afd22771f511fecbf1641976710dcdc31a1717e300a06082a8648ce3d0403020348003045022047a682444ec0137d1ba830305ac0bcfc2628e5f2fe97e4630802c84e3c5da7cb02210082d4b6a7e339ce6af47c5ff5824c6704eaa795d145bace0ec3a481fc29a3f86a", + "certification_declaration": "3082010306092a864886f70d010702a081f53081f2020103310d300b0609608648016503040201305e06092a864886f70d010701a051044f152000012501f1ff360205008018250334122c04135a494732303134315a423333303030312d323424050024060025077698240800360b10146afd22771f511fecbf1641976710dcdc31a1717e1818317e307c020103801462fa823359acfaa9963e1cfa140addf504f37160300b0609608648016503040201300a06082a8648ce3d04030204483046022100aa83c3d8602da9e1267445aaca0a53476c7a1026df7aa2c39fd350a5353a382d022100ee23b14794a218b2b78943ae1cc98b028418572d455723aa2c0d933d98228c11", + "dac_private_key": "19310bb7bc6165f6fbf5df805e38c2a4d26e72e6725d62786e21f241b2e559c5", + "dac_public_key": "044beccb193fd1655e2de96df55be753e460a23d23ecb61e2d08c9bab399c6fa7ee303782fd2298c1ec96ac777e7d4049150dfeae7d738d12cf8e8473fd9039a0d" +} diff --git a/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count2_valid/cd.der b/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count2_valid/cd.der new file mode 100644 index 0000000000000000000000000000000000000000..4fd7d29fdc52ef963cff5785e7400b4e3fe1c638 GIT binary patch literal 286 zcmXqLVw7Uz)N1o+`_9YA&a|M3k=vjN$Y5kPY#dr`9_MUXn3)XR3?&T2*qB3En0fep z6H7``ixfgqi%S#&96b$1420OYwAmP07@HQ=FfsD5xVgC*qKPu`uvi!Xfr2=%k&%I^ zp)rVKU=St2ZwUm3M#ey7YH4a2h0`V%M`tuM@!J$>Ak4-Nc0Us%)FaG{?95IKEURx7 zbh*E<=V(rGFE3BqEOa8svVkXa^_TDKHqDXEWz^ZL(0J&u`O(j>zW?Rlx6|^JdHVDB z)Op50X}90S0MvU{VQ?b;#*o7SQ z%pME|u1tyy?JxVLcQE}aKXkQpYl!7_P04o>RcSSrX1w|(rgN?>xy7VVP9c=+Dy&!?Y!#BnA b>i7K*zPUNdH)rSXckEXasSzI^0aA!)1Vl0v literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count2_valid/dac-Key.pem b/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count2_valid/dac-Key.pem new file mode 100644 index 00000000000000..1a4679eebb0440 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count2_valid/dac-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIP3ppsU8X1F+yRlNkQ4c/yagX1OHTphHQaIDoQcLuGVIoAoGCCqGSM49 +AwEHoUQDQgAEq9pwikfoPwiDZEd3d2azEshSOYAMaav0966ynB1tASy9IIHCwzfF +8+r3/Q++uTnKN2fn73fsVxOpER8fAVKIaA== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count2_valid/pai-Cert.der b/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count2_valid/pai-Cert.der new file mode 100644 index 0000000000000000000000000000000000000000..c1993989c58bc18ca41a495063c4057b0d0f4ff9 GIT binary patch literal 472 zcmXqLV!UF|#8|a}nTe5!i9<0lVr^5P_b&r3HV&;ek8`#x%uEIbh7ty1Y|No7%sl+Q zi6teeMG7IQ#U%;>j*f;R210CH+H8z0j7^Jbm>79j+}zv@4HU$Ajf@OT4UG-JAWDMY z5(o^9jDg71($q4_zzwIFp4iPq6J_FIu>hGJX&}tT4t6OMBh<;vjO@%#3@oLAZ~J|I ztiQ0SLj9@xJ_&}D?kQgv<7}*SDL3}COw+UYzE0KV)XTC!?yNyGA*7{^Y2M7nu|p4u?IT_~1*A fevEP0q$7*pDl9W!xhVOzy~xia!Rsa|)olR)kxGjn literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count2_valid/pai-Cert.pem b/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count2_valid/pai-Cert.pem new file mode 100644 index 00000000000000..9f68677f836807 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count2_valid/pai-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIB1DCCAXqgAwIBAgIIIWFYrYJRS/owCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA1MTMw +MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowRjEYMBYGA1UEAwwPTWF0dGVyIFRlc3Qg +UEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQBgqJ8AgIMBDgwMDAw +WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAR1Ue2PTPiv0LJ4J+VHvhgwhR7CbOkH +UMUSXvWL3H2c1yoDfms1HqplGGEUd10VHdrgcD/1VQdJ0cZ8r3/seV+io2YwZDAS +BgNVHRMBAf8ECDAGAQH/AgEBMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUJGQI +4GSNv5xYhfcsiLImJDkq0YowHwYDVR0jBBgwFoAUav0idx9RH+y/FkGXZxDc3DGh +cX4wCgYIKoZIzj0EAwIDSAAwRQIgUEEGcYnxFFI1udDW6MsOR8I2O7xoeoCLfCNd +n5NakdECIQDDVueR4PSML1wzVpLEo+0gpjepomPbPxT5xFOukiJ+tA== +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count2_valid/pai-Key.der b/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count2_valid/pai-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..52877110d42b7fcf885745e81373803799cf8772 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1Ry2CUVn$UWEk7GEl6(eOCwxk!jj&q2r3#f$P-QgEvldj1_&yK zNX|V20SBQ(13~}AY#(b}T?0H|JzKk&Z literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count2_valid/pai-Key.pem b/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count2_valid/pai-Key.pem new file mode 100644 index 00000000000000..f54da100d91dcf --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count2_valid/pai-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEICXCXn+HuGQY27ctSG7uSyNcY8KS3qoIKhoyyBNOAC2qoAoGCCqGSM49 +AwEHoUQDQgAEdVHtj0z4r9CyeCflR74YMIUewmzpB1DFEl71i9x9nNcqA35rNR6q +ZRhhFHddFR3a4HA/9VUHSdHGfK9/7Hlfog== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count2_valid/test_case_vector.json b/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count2_valid/test_case_vector.json new file mode 100644 index 00000000000000..5e41046a881d44 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count2_valid/test_case_vector.json @@ -0,0 +1,9 @@ +{ + "description": "CD Test Vector: The authorized_paa_list contains two PAAs one of which is valid PAA authorized to sign the PAI.", + "is_success_case": "true", + "dac_cert": "308201e43082018aa00302010202082ed80af0854e80ed300a06082a8648ce3d04030230463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303020170d3232303531333030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742044414331143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303059301306072a8648ce3d020106082a8648ce3d03010703420004abda708a47e83f08836447777766b312c85239800c69abf4f7aeb29c1d6d012cbd2081c2c337c5f3eaf7fd0fbeb939ca3767e7ef77ec5713a9111f1f01528868a360305e300c0603551d130101ff04023000300e0603551d0f0101ff040403020780301d0603551d0e041604140bdfcd455d3f0b3d1232a0f4d23419a011d857f0301f0603551d23041830168014246408e0648dbf9c5885f72c88b22624392ad18a300a06082a8648ce3d040302034800304502210087e98e978802fc77c2d575b55439d72919ee187a667c39360d2f74359cd6a4da0220707ec53bb936632388541a3582f1408c5980424aef7344c2b97e1f0e4cda90d8", + "pai_cert": "308201d43082017aa0030201020208216158ad82514bfa300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414131143012060a2b0601040182a27c02010c04464646313020170d3232303531333030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303059301306072a8648ce3d020106082a8648ce3d030107034200047551ed8f4cf8afd0b27827e547be1830851ec26ce90750c5125ef58bdc7d9cd72a037e6b351eaa65186114775d151ddae0703ff5550749d1c67caf7fec795fa2a366306430120603551d130101ff040830060101ff020101300e0603551d0f0101ff040403020106301d0603551d0e04160414246408e0648dbf9c5885f72c88b22624392ad18a301f0603551d230418301680146afd22771f511fecbf1641976710dcdc31a1717e300a06082a8648ce3d040302034800304502205041067189f1145235b9d0d6e8cb0e47c2363bbc687a808b7c235d9f935a91d1022100c356e791e0f48c2f5c335692c4a3ed20a637a9a263db3f14f9c453ae92227eb4", + "certification_declaration": "3082011a06092a864886f70d010702a082010b30820107020103310d300b0609608648016503040201307406092a864886f70d010701a0670465152000012501f1ff360205008018250334122c04135a494732303134315a423333303030312d323424050024060025077698240800360b10146afd22771f511fecbf1641976710dcdc31a1717e1014f4bbcabbc5016577aa8b44ffb90fcca140fe66201818317d307b020103801462fa823359acfaa9963e1cfa140addf504f37160300b0609608648016503040201300a06082a8648ce3d0403020447304502206debec7b91394474896b5c86c0a505ae8f6ee8415acde6c9d0b8bdaff1b6dc44022100f799e5fc9cddd66606698073fe9cbb61d4ee58890996c68ced64181bcf2bc0ad", + "dac_private_key": "fde9a6c53c5f517ec9194d910e1cff26a05f53874e984741a203a1070bb86548", + "dac_public_key": "04abda708a47e83f08836447777766b312c85239800c69abf4f7aeb29c1d6d012cbd2081c2c337c5f3eaf7fd0fbeb939ca3767e7ef77ec5713a9111f1f01528868" +} diff --git a/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count3_invalid/cd.der b/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count3_invalid/cd.der new file mode 100644 index 0000000000000000000000000000000000000000..a274b4ca57b51248f835e1c343347ac5d8409c8e GIT binary patch literal 310 zcmXqLVl-mo)N1o+`_9YA&a|M3QQ4r0QJ#sB*^t+On~gJ}&4V$OnT3hbps@>~j&VUP zOSPy11EVVA$Ny$btPBkjs>~)rIxNCbp6*5lh9-tlPR7Ot1_p+@MkXq(3@U64s_bPm zR5%#SxCKPGT~6&j%9vWds@vuNPX03s9sZ>$07Z9W7d6FDDAk4-Nc0Us%)FaG{?95IKESz(t za}+PyL@B*pk*mb&yRy7o!@|XgHKpW2V?n)%+b)s4E~1;CyY=MV>@r?$`a!M2_F15+ z+deCSyOu4S(kxpRCm6&T@BjltR+y3TKMRuqg8?6i#}DEG1B<=EKo-R3V-aH!S;2HM zjU$!o&0{{U6_DWs*lVa4pqa^us6T{9n;BL_XR z2ZMntlY-9zseI)s7nMtMqhe2e{GpS|p6ep?Z`c3&Y<|--+rzdqDKfka+^$r##mrK{ c`p)j-Z3#Q|c->|7TXR3xF6U}hs`WSp0I21Id;kCd literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count3_invalid/dac-Cert.pem b/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count3_invalid/dac-Cert.pem new file mode 100644 index 00000000000000..72bf3b65130d22 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count3_invalid/dac-Cert.pem @@ -0,0 +1,13 @@ +-----BEGIN CERTIFICATE----- +MIIB5DCCAYqgAwIBAgIIUYu7Q7WxD2AwCgYIKoZIzj0EAwIwRjEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQB +gqJ8AgIMBDgwMDAwIBcNMjIwNTEzMDAwMDAwWhgPOTk5OTEyMzEyMzU5NTlaMEYx +GDAWBgNVBAMMD01hdHRlciBUZXN0IERBQzEUMBIGCisGAQQBgqJ8AgEMBEZGRjEx +FDASBgorBgEEAYKifAICDAQ4MDAwMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE +CZ0bbCHRPFoi7ahtIgVNqXd3KDhEMgVkdNCBcH80RroUvUQVs+dGjG7ZijOrNfAm +eD3mUSVGvjoQ3TmECRsEtKNgMF4wDAYDVR0TAQH/BAIwADAOBgNVHQ8BAf8EBAMC +B4AwHQYDVR0OBBYEFKgC0WYIZQrs4w4KY1sAgTYey2yhMB8GA1UdIwQYMBaAFDDS +WyKJEiotsKibeXczyzGKmeA3MAoGCCqGSM49BAMCA0gAMEUCIEygGm8jekQk0p1a +Xcrx+CxlB21EEv66/39rDzXMt1a3AiEA6VG3InK0NjkgO9y7x4ZguS4NRx0vhW3z +facKhSJ9SMo= +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count3_invalid/dac-Key.der b/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count3_invalid/dac-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..5b0bfa2414da0dddf1935f441b3f685a84bfced5 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R&EN6v-oGLj9E(eYs9f)diLTtjApVW4va-kkT51fSRBR1_&yK zNX|V20SBQ(13~}<37s2kA<;ZqBJHScA_YyUcXuc_L^1_rbkKote>6tA6um?hv*$*P bZrO@6t2OW@cs=G(B}TqF5ZyV12^$2ou2U`E literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count3_invalid/dac-Key.pem b/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count3_invalid/dac-Key.pem new file mode 100644 index 00000000000000..f65aa8ad19be6d --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count3_invalid/dac-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEINMfFMkjZEL9lRh9uU5O1QWWAazHXPhjvGbAkNIag4CaoAoGCCqGSM49 +AwEHoUQDQgAECZ0bbCHRPFoi7ahtIgVNqXd3KDhEMgVkdNCBcH80RroUvUQVs+dG +jG7ZijOrNfAmeD3mUSVGvjoQ3TmECRsEtA== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count3_invalid/pai-Cert.der b/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_count3_invalid/pai-Cert.der new file mode 100644 index 0000000000000000000000000000000000000000..1a8d5153503d2301d0036d691d49e4f0bd1fd8a3 GIT binary patch literal 472 zcmXqLV!UF|#8|a}nTe5!i9<+oQHij}zbgh@Y#dr`9_MUXn3)U=3?&T2*qB3En0fep z6H7``ixfgqi%S#&932fs420OYwAmP07@HQ=FfsD5xVgC*8YqbK8W|aw8X6mbL6ii) zB@h@I83U22rKx34-5$xwWqYSC5Nien=3XNoPi2CXh1Z(4g0$2Z$O|51_&yK zNX|V20SBQ(13~}ui0b&n8gMq~Tt@d8d&b=V;+P4Y?;xVBW@ bWSPLrFmaW)4Ahq)@j357-F|jfKd7-urjEyF{rYa%~0WB zFyj^w;dVK-`zT{-`KoT0|2z55EOhvnrXV3f&huGO(XyS literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_missing/dac-Cert.der b/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_missing/dac-Cert.der new file mode 100644 index 0000000000000000000000000000000000000000..f231380cee0aa52d089c12ae334fdaa6bc0f1e52 GIT binary patch literal 488 zcmXqLVtiuI#MrffnTe5!i9=%cC4)>xmLLNzHV&;ek8`#x%uEJuh7ty1Y|No7%sl+Q zi6teeMG7IQ#U%;>j-G}h210CH+H8z0j7^Jbm>79j+}zv@(L|YeSS$>HKtY_>$jHFd z&=|xqFo=@iw*&%1BV!;kwKTPi!fBI>qcfVB_-%?b5N2ZsyPt^>>Jer}c4j9A77dY; zw-@rS^S!<7T=ldid*?lLI%~QS8KLsvhFsKVO~p z%#5YQLu;=60r&7I)x`-0aRxlVz>pPYWc<&16L*mqjZau%Ns%#un9D})-GvhTD`Sec~8;Hi`siQrl`(-{*XzLVV~9Ug3UjB ejXZ@^RgWc@Pn-MVLW^THUx|Kn-GK?RX%hh;AC0O2 literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_missing/dac-Cert.pem b/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_missing/dac-Cert.pem new file mode 100644 index 00000000000000..f6af79a2fdc4fd --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_missing/dac-Cert.pem @@ -0,0 +1,13 @@ +-----BEGIN CERTIFICATE----- +MIIB5DCCAYqgAwIBAgIIGJvSMGkBBFIwCgYIKoZIzj0EAwIwRjEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQB +gqJ8AgIMBDgwMDAwIBcNMjIwNTEzMDAwMDAwWhgPOTk5OTEyMzEyMzU5NTlaMEYx +GDAWBgNVBAMMD01hdHRlciBUZXN0IERBQzEUMBIGCisGAQQBgqJ8AgEMBEZGRjEx +FDASBgorBgEEAYKifAICDAQ4MDAwMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE +KBTJ26EPrk3bps57lqS9nuFCxKuqITxjPOda3ay1KIga2u6VW2te1jJdkeYlSBf3 +89WW5jYEhEgqnT/AR1daJaNgMF4wDAYDVR0TAQH/BAIwADAOBgNVHQ8BAf8EBAMC +B4AwHQYDVR0OBBYEFG0GK0+NL03JjynODodUMehSOv7oMB8GA1UdIwQYMBaAFBU6 +rFmtO7zA6mSf5sPE0lt9UvlxMAoGCCqGSM49BAMCA0gAMEUCIDJnOGTTsFSgBhCB +RX2khwKrtXsjvHLp0Su8CJQlm+fhAiEAvjrHcLP5jTJJEiUlxmA3lp3o0IRBew50 +L1t+wJAdZpE= +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_missing/dac-Key.der b/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_missing/dac-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..72564fb08c53b16a2fd251509502cead32c94051 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1Rx^H`w{6frIi+^>F@su4D!tg-n7P)B60i^Co5j+C<>qo1_&yK zNX|V20SBQ(13~}^%***f_M>JkHs&Ff$n#7)lt3u`!3TF!S*H zCYF?>7Ab_J7MCalI64}N7znX(X|pl1Fg7i!VPfQAadUGsG*A%dH8L_VH8eH=gD44p zOCT^bG6o`3OH<1z12>#zdSW*dO_Yg;#R6n@q=7ISJJ_X6j8G>tGqN)~F|gbYG-+D1 zuc7k2%I{aZo@GpZenHguoU6UDeR$MsjRWZ&TdvRhwf*X4IsNaQpDJB%uHb&Mt|+Nc z>fg)teMP0$6=W8t8KeL`#~dmv%*gnkg~NaiNHH-o8t{R{_(5X8z+q%FkOlGiSj1RF zM6K3DuC?BC;8n`}XNQkmimna%S!f^+l2&E`24RCp)?cM^`9S$M`^6lmrwiPh>z$tQUvZGBGJIESXch hB}YnVpI*h9+bW0ee^JVrAj-C+qImi%`52ekuK93A*b=M#q&-*s- literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_missing/pai-Key.pem b/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_missing/pai-Key.pem new file mode 100644 index 00000000000000..c8b94a95b76f8c --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_missing/pai-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIFdbifx3vALiRZ4js8td+9nMRhZgABC0qC5nohiiCF8yoAoGCCqGSM49 +AwEHoUQDQgAE21E0gqy+gHnvJPvquuZolefQFTPORT8zP1da6yjAZ4i01576t9XT +Hi/3ifJ5RdmoC+SucmJxGv7pr45yddcgHA== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_missing/test_case_vector.json b/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_missing/test_case_vector.json new file mode 100644 index 00000000000000..ada0ecb15f0d1b --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_authorized_paa_list_missing/test_case_vector.json @@ -0,0 +1,9 @@ +{ + "description": "CD Test Vector: The optional authorized_paa_list field is not present.", + "is_success_case": "true", + "dac_cert": "308201e43082018aa0030201020208189bd23069010452300a06082a8648ce3d04030230463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303020170d3232303531333030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742044414331143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303059301306072a8648ce3d020106082a8648ce3d030107034200042814c9dba10fae4ddba6ce7b96a4bd9ee142c4abaa213c633ce75addacb528881adaee955b6b5ed6325d91e6254817f7f3d596e6360484482a9d3fc047575a25a360305e300c0603551d130101ff04023000300e0603551d0f0101ff040403020780301d0603551d0e041604146d062b4f8d2f4dc98f29ce0e875431e8523afee8301f0603551d23041830168014153aac59ad3bbcc0ea649fe6c3c4d25b7d52f971300a06082a8648ce3d0403020348003045022032673864d3b054a0061081457da48702abb57b23bc72e9d12bbc0894259be7e1022100be3ac770b3f98d3249122525c66037969de8d084417b0e742f5b7ec0901d6691", + "pai_cert": "308201d43082017aa00302010202084d05a3ce9fd43f49300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414131143012060a2b0601040182a27c02010c04464646313020170d3232303531333030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303059301306072a8648ce3d020106082a8648ce3d03010703420004db513482acbe8079ef24fbeabae66895e7d01533ce453f333f575aeb28c06788b4d79efab7d5d31e2ff789f27945d9a80be4ae7262711afee9af8e7275d7201ca366306430120603551d130101ff040830060101ff020101300e0603551d0f0101ff040403020106301d0603551d0e04160414153aac59ad3bbcc0ea649fe6c3c4d25b7d52f971301f0603551d230418301680146afd22771f511fecbf1641976710dcdc31a1717e300a06082a8648ce3d0403020348003045022100fb3df8f96fc486179c31d6655dc8528ca2c6b4fb11e39225b77a0d6ae8c3ad02022000a49c73b46c1a12be2e78acdb24c3dff4226c901506a4787397ea1f5c449bea", + "certification_declaration": "3082010206092a864886f70d010702a081f43081f1020103310d300b0609608648016503040201305e06092a864886f70d010701a051044f152000012501f1ff360205008018250334122c04135a494732303134315a423333303030312d323424050024060025077698240800360b10140b44cabbc5016577aa8b44ffb90fcca140fe66201818317d307b020103801462fa823359acfaa9963e1cfa140addf504f37160300b0609608648016503040201300a06082a8648ce3d040302044730450221009d0671e7751a9672bce1211c070e5fa9856122c84b591221c61768a46612e3c40220200e658b3717370a8598a5b34f7740ce06acadac3907777a694c7a3f9d3bf511", + "dac_private_key": "22cafb11e932a59516a7e9efff090cf2cd08deb4c6942271fc13272b5eea280a", + "dac_public_key": "042814c9dba10fae4ddba6ce7b96a4bd9ee142c4abaa213c633ce75addacb528881adaee955b6b5ed6325d91e6254817f7f3d596e6360484482a9d3fc047575a25" +} diff --git a/credentials/development/commissioner_dut/struct_cd_cert_id_len_wrong/cd.der b/credentials/development/commissioner_dut/struct_cd_cert_id_len_wrong/cd.der new file mode 100644 index 0000000000000000000000000000000000000000..9abab0879b4200d258141cec82226d93c87e92cb GIT binary patch literal 265 zcmXqLVq|6G)N1o+`_9YA&a|NMyFud@CPrpMUIT76&V)7(##Ck&CPsrKgd)ZTp)A3o z3Ji>@j357-F|jfKd6C8X23YurjEyF{rYa z%~0WBFyj^w;dVK-`zT{-`KoT0|2z55EOhvnrXV38;4e#$2nUTW+nqSLkR;hHs(+kW*&au z#FCQKB88CD;u3`bM^8f$10gmpZ8k<0#->FzOpH7%ZfQ7(_|%TLOWhkueaNTAEr$;k3!c(HYH5{5C}z2(z(+-Ot1b^$0T~JF^o5%U0in zA8)2FwJm?tTei95xYpK<7v5x8S-;zUd&4c0p1=(!Gsa^T{sc zpl9}EFmPj1WLP5JVl-E~D!QkDKcRlkg9M|fPR1|uuKf8@@pjW$X}euOCG&W1o8^O!uUA*k!yxNz@4H3A{HH^E#jk1_&yK zNX|V20SBQ(13~}rWx4pA7~xTREL b^og@{;-nH|iqT}8F3xi_&{R(ATeOzFtQoQg7|zaVk{!J zf3fpTpBT!uV%wK)7nkmB+?r2z8OVdAm05s6*dUViSE*b+Q2xz+F~{lY0(b5hE-b7= z4r*o(1_M_nMTUusTb?=po9}otrn%wKg`7vT9R3-$Pi%8IA~r*|hq;@NNkK4Gn}t(E fYr?m3r-iCXpDwUAw?CTKr+Tb7rPjoy{zVx8jEsj+ literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_cert_id_len_wrong/pai-Cert.pem b/credentials/development/commissioner_dut/struct_cd_cert_id_len_wrong/pai-Cert.pem new file mode 100644 index 00000000000000..25b800ce9f9ed9 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_cert_id_len_wrong/pai-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIB1DCCAXqgAwIBAgIINPkT6IeMjLkwCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA1MTMw +MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowRjEYMBYGA1UEAwwPTWF0dGVyIFRlc3Qg +UEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQBgqJ8AgIMBDgwMDAw +WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAATuZUkWKm3bKUSLqBerjlsZXAAUPlM8 +ocA62rTadMUgDw74AzwAyEyurjSK+FiA7gaBUld7AuSUoxNLlUgnlriyo2YwZDAS +BgNVHRMBAf8ECDAGAQH/AgEBMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQU2/oH +DpeRVQqotvSLRESLtgsp5LowHwYDVR0jBBgwFoAUav0idx9RH+y/FkGXZxDc3DGh +cX4wCgYIKoZIzj0EAwIDSAAwRQIhAJGjhOZD/p9B2VyDgOLQbOKaQP4xh5GGQMQW +mB2MA4sOAiARZSsECRQqkPZ3QqElYvLQBYOH4p6OJcZzZH00RH/odg== +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_cert_id_len_wrong/pai-Key.der b/credentials/development/commissioner_dut/struct_cd_cert_id_len_wrong/pai-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..216a3ec6f446e97c891230a86965dcfcd19933c6 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R!CtTJH_?9(p_!FJHVR*%WjTNLVQOdRD4J{>Dk+E03TG1_&yK zNX|V20SBQ(13~}@j357-F|jfKd7-urjEyF{rYa%~0WB zFyj^w;dVK-`zT{-`KoT0|2z55EOhvnrXV3BpK~Z2&$xQp5lN literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_cert_id_mismatch/dac-Cert.der b/credentials/development/commissioner_dut/struct_cd_cert_id_mismatch/dac-Cert.der new file mode 100644 index 0000000000000000000000000000000000000000..b084e1202f969ed06c0872818ccbc0d4f7131f44 GIT binary patch literal 488 zcmXqLVtiuI#MrffnTe5!iK8mS!NFuU!+8TPHV&;ek8`#x%uEJuh7ty1Y|No7%sl+Q zi6teeMG7IQ#U%;>j-G}h210CH+H8z0j7^Jbm>79j+}zv@(L|YeSS$>HKtY_>$jHFd z&=|xqFo=@iw*&%1BV!;kwKTPi!fBI>qcfVB_-%?b5N2ZsyPt^>>Jer}c4j9A7QsvM zfvbK!y;`wypUmP?cD9FJv-m`rWJ05k?fvk^MgQRLH$7F6$HmV|8cdyTXxSX%YbtqK zD(URQkD+;X)9Y1MFHSIsGvEORhO96n<9`+=0|o;=5RV_k0|pj*gMloF&&MLhA`&eh zUmVC2eDOy`?Hzxn&;DGdRx=FbLDI@Bz#wf9X<`@Mxbx}OzLj^JHe4|+cej`KI)xnc z%pME|u1tyy^A}aFTkOl16aUueyz)Wu1m%b$v= e!|Qpe!_L9<_tTuUY>)B^KbxfnatA!>nTja@ literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_cert_id_mismatch/dac-Cert.pem b/credentials/development/commissioner_dut/struct_cd_cert_id_mismatch/dac-Cert.pem new file mode 100644 index 00000000000000..533dfc447f9169 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_cert_id_mismatch/dac-Cert.pem @@ -0,0 +1,13 @@ +-----BEGIN CERTIFICATE----- +MIIB5DCCAYqgAwIBAgIIelRAQDSbAM8wCgYIKoZIzj0EAwIwRjEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQB +gqJ8AgIMBDgwMDAwIBcNMjIwNTEzMDAwMDAwWhgPOTk5OTEyMzEyMzU5NTlaMEYx +GDAWBgNVBAMMD01hdHRlciBUZXN0IERBQzEUMBIGCisGAQQBgqJ8AgEMBEZGRjEx +FDASBgorBgEEAYKifAICDAQ4MDAwMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE +EdIfUar65dV4qb4co3UHBuFKmg4VAhxVWsa98OxEL8G77Ix6WccXzRkwlZcxOYNU +TTUZyxpizeHxVW4+l38kq6NgMF4wDAYDVR0TAQH/BAIwADAOBgNVHQ8BAf8EBAMC +B4AwHQYDVR0OBBYEFFsfX3NRDFPR+Hh93E8C808KNTqYMB8GA1UdIwQYMBaAFIIH +FbG55bWOqdxCsNQ1d0c/H0rKMAoGCCqGSM49BAMCA0gAMEUCIQCfonmuo00ObF/t +Ms8jwRdgI8mfDafxkWWkLtayIbVRngIga7s7KSzs3GwNSdKIPkA1++VsrQbibnHz +NmVRC1DiiQ8= +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_cert_id_mismatch/dac-Key.der b/credentials/development/commissioner_dut/struct_cd_cert_id_mismatch/dac-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..83193f3772855cf141c887d3c330a63f402d14ec GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R(YRSGtnSR^3)UoL_5UY`k9*_jiYyX=g5S;rU6 b88DTXF*$=&O*I+I8e+}i@l|dJkHs&Ff$n#7)lt3u`!3TF!S*H zCYF?>7Ab_J7MCalI64}N7znX(X|pl1Fg7i!VPfQAadUGsG*A%dH8L_VH8eH=gD44p zOCT^bG6o`3OH<1z12>#zdSW*dO_Yg;#R6n@q=7ISJJ_X6j8G>tGqN)~F|b(IMoR8J zI;rNnN5A(e#+fB+ugBLMGz&~KKXWc{ef|pn&>Xj9*PW4}oxfhcd)cdgJxZcEFyV@X zdG`vJ!~es!En1vrkOK4^bEvE^BjbM-4g)qI#l*;Hzy}iJ2Z;d#hmp-d7R2Xc5n~Z) zVi(=G^Xb;Um3N#rTrn+ox0m-iWgridR%QVPVS`B4U!`*SK>0WO#T=)n3*5P5xUjGe zIjEUE7z|vQ6dBq!3m@-!nBRRX{rcfVlRlCDmGg?ZxjO{T{#o);OrXw}NkP@<+&8x$ fY5#4aJsfO0_ZRTK$xY|Bot~8YH}dA{tO-{ErFo5j literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_cert_id_mismatch/pai-Cert.pem b/credentials/development/commissioner_dut/struct_cd_cert_id_mismatch/pai-Cert.pem new file mode 100644 index 00000000000000..9debaccdeaa718 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_cert_id_mismatch/pai-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIB1DCCAXqgAwIBAgIIVmP9HJVZtegwCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA1MTMw +MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowRjEYMBYGA1UEAwwPTWF0dGVyIFRlc3Qg +UEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQBgqJ8AgIMBDgwMDAw +WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAQ7fVkZu8WSfPdIj0vKAZl0rddffME2 +UWY3zM5Rr2+oT1VsRmNFuVlVifrr7umNJ9daGINRYNQYN4uoRMP/Vraio2YwZDAS +BgNVHRMBAf8ECDAGAQH/AgEBMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUggcV +sbnltY6p3EKw1DV3Rz8fSsowHwYDVR0jBBgwFoAUav0idx9RH+y/FkGXZxDc3DGh +cX4wCgYIKoZIzj0EAwIDSAAwRQIhAIazE8eM4W+L2mfXw2E0jhSPqZ5zCwuIEM38 +pOkWEH5NAiAlMs72Rvhm/zxbSEA8ib9wDextZws9l2Jt/VnZq2qQ1Q== +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_cert_id_mismatch/pai-Key.der b/credentials/development/commissioner_dut/struct_cd_cert_id_mismatch/pai-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..1fa17d6a38d1ecde3847dea9278593b8e703c9b3 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R!35V7XS{Q>-VAL2li>O4y|5mo5Ngp%+ literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_cert_id_mismatch/pai-Key.pem b/credentials/development/commissioner_dut/struct_cd_cert_id_mismatch/pai-Key.pem new file mode 100644 index 00000000000000..a37f2a606c7eef --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_cert_id_mismatch/pai-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIF7GtIsAT/X0XZYFPgZ2jiXf1gDuRP0X24S4sApmHRBZoAoGCCqGSM49 +AwEHoUQDQgAEO31ZGbvFknz3SI9LygGZdK3XX3zBNlFmN8zOUa9vqE9VbEZjRblZ +VYn66+7pjSfXWhiDUWDUGDeLqETD/1a2og== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_cd_cert_id_mismatch/test_case_vector.json b/credentials/development/commissioner_dut/struct_cd_cert_id_mismatch/test_case_vector.json new file mode 100644 index 00000000000000..d43ca518e0c929 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_cert_id_mismatch/test_case_vector.json @@ -0,0 +1,9 @@ +{ + "description": "CD Test Vector: The certificate_id field doesn't contain a globally unique serial number allocated by the CSA for this CD.", + "is_success_case": "false", + "dac_cert": "308201e43082018aa00302010202087a544040349b00cf300a06082a8648ce3d04030230463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303020170d3232303531333030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742044414331143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303059301306072a8648ce3d020106082a8648ce3d0301070342000411d21f51aafae5d578a9be1ca3750706e14a9a0e15021c555ac6bdf0ec442fc1bbec8c7a59c717cd19309597313983544d3519cb1a62cde1f1556e3e977f24aba360305e300c0603551d130101ff04023000300e0603551d0f0101ff040403020780301d0603551d0e041604145b1f5f73510c53d1f8787ddc4f02f34f0a353a98301f0603551d23041830168014820715b1b9e5b58ea9dc42b0d43577473f1f4aca300a06082a8648ce3d04030203480030450221009fa279aea34d0e6c5fed32cf23c1176023c99f0da7f19165a42ed6b221b5519e02206bbb3b292cecdc6c0d49d2883e4035fbe56cad06e26e71f33665510b50e2890f", + "pai_cert": "308201d43082017aa00302010202085663fd1c9559b5e8300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414131143012060a2b0601040182a27c02010c04464646313020170d3232303531333030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303059301306072a8648ce3d020106082a8648ce3d030107034200043b7d5919bbc5927cf7488f4bca019974add75f7cc136516637ccce51af6fa84f556c466345b9595589faebeee98d27d75a18835160d418378ba844c3ff56b6a2a366306430120603551d130101ff040830060101ff020101300e0603551d0f0101ff040403020106301d0603551d0e04160414820715b1b9e5b58ea9dc42b0d43577473f1f4aca301f0603551d230418301680146afd22771f511fecbf1641976710dcdc31a1717e300a06082a8648ce3d040302034800304502210086b313c78ce16f8bda67d7c361348e148fa99e730b0b8810cdfca4e916107e4d02202532cef646f866ff3c5b48403c89bf700dec6d670b3d97626dfd59d9ab6a90d5", + "certification_declaration": "3082010106092a864886f70d010702a081f33081f0020103310d300b0609608648016503040201305e06092a864886f70d010701a051044f152000012501f1ff360205008018250334122c0413494e5632303134315a423333303030312d323424050024060025077698240800360b10140b44cabbc5016577aa8b44ffb90fcca140fe66201818317c307a020103801462fa823359acfaa9963e1cfa140addf504f37160300b0609608648016503040201300a06082a8648ce3d04030204463044022017fd411eb2fa77c2979aa8042ab218ddd72cd4313f5c9e5df2d0f3904060736f02205de116d2bccd7d013fde28f289289490b39e9f54c0263f3824358c67c683453c", + "dac_private_key": "f60057ba92cc56dd563e9c5f6b616cbc5f12e4cec9fc039749209fe501d0bbbb", + "dac_public_key": "0411d21f51aafae5d578a9be1ca3750706e14a9a0e15021c555ac6bdf0ec442fc1bbec8c7a59c717cd19309597313983544d3519cb1a62cde1f1556e3e977f24ab" +} diff --git a/credentials/development/commissioner_dut/struct_cd_cert_id_missing/cd.der b/credentials/development/commissioner_dut/struct_cd_cert_id_missing/cd.der new file mode 100644 index 0000000000000000000000000000000000000000..518b97bb99a1430ee7feed25063046440bb9cdb8 GIT binary patch literal 240 zcmXqLe9OkE)#lOmotKfFX+h(CgT^~djLe3-2Hb3%32h#Xsmv@)j0PSEMT`rqSu8~r z7#LL>4m)Sd!py|tVc^E3 z$k6`Uo&BXRw}H`)S5gYwEQ6=@sy=GeT(QvfT5{V)@8B0eCA}>o!hcggE)|>;<0fX9 X^XvJEvrEes^z1+18f616HV&;ek8`#x%uEJuh7ty1Y|No7%sl+Q zi6teeMG7IQ#U%;>j-G}h210CH+H8z0j7^Jbm>79j+}zv@(L|YeSS$>HKtY_>$jHFd z&=|xqFo=@iw*&%1BV!;kwKTPi!fBI>qcfVB_-%?b5N2ZsyPt^>>Jer}c4j9AmL8Tr zYn=X1UpBSc)6RG{$TmOlxxwD b(vsGQ*Ssd4>0E)7{~mm8k|?Y#dr`9_MUXn3)U=3?&T2*qB3En0fep z6H7``ixfgqi%S#&932fs420OYwAmP07@HQ=FfsD5xVgC*8YqbK8W|aw8X6mbL6ii) zB@h@I83U22rKx31NQH>8d~H{5lD%TqpAhu&Orn7=%cQy&Yf~=$ znAYDhL)mU+?BXmeZ z_BYW^CO4{1NA+}1`_)yyMRv8mfjmfBnFSbx4I){8mCEG<<=^ZVbDW+oaOaNU!ooV_ zpl0@9FmPp3NS>}zyV7`_{h>9VHyf>-d3DQ?J^OcNRh|0m`iSe(_dTiA{D`L9QY82iPI(XW-g!#1_&yK zNX|V20SBQ(13~}<^jVpKNal496%y~-&-L>g2U1oej_f*sU0 bk6=>i%waH11d@K}tz^>pmXC;-BR;8JXI?I^ literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_cert_id_missing/pai-Key.pem b/credentials/development/commissioner_dut/struct_cd_cert_id_missing/pai-Key.pem new file mode 100644 index 00000000000000..e1930a6e8efe2a --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_cert_id_missing/pai-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIB0B3BOZDI/qoKQvssp+TkzMbyIVwXEc+BCHidMl82YuoAoGCCqGSM49 +AwEHoUQDQgAE9FmZgUjmdQ8VFE6unLQmH9NpMiZUIRcUvcopQEQaVBYE9Ycjgh3U +No9gUunMYTBNBJJ+6K1k0viWj4iYIz6pXQ== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_cd_cert_id_missing/test_case_vector.json b/credentials/development/commissioner_dut/struct_cd_cert_id_missing/test_case_vector.json new file mode 100644 index 00000000000000..e1d987efc62311 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_cert_id_missing/test_case_vector.json @@ -0,0 +1,9 @@ +{ + "description": "CD Test Vector: The certificate_id field is missing.", + "is_success_case": "false", + "dac_cert": "308201e33082018aa0030201020208325d2ada331cac23300a06082a8648ce3d04030230463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303020170d3232303531333030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742044414331143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303059301306072a8648ce3d020106082a8648ce3d030107034200048c04fcac42ff97a6957b34cd7ba42ad4f5b1d12b7a87b70121e8329bebd8c92cfe60f9be946bd190d292d688d7bc269ee962fb7023a87bc3cf79b4823ae0fea8a360305e300c0603551d130101ff04023000300e0603551d0f0101ff040403020780301d0603551d0e0416041467ebc0e7094117f09b3f274421485465fd2ad15c301f0603551d23041830168014c307ec5b4234d87acb5a8c8b96fa8a7fb41dab2f300a06082a8648ce3d040302034700304402205a985337bcbc0945d79b7daffc126ae30db48be2106520a85e9cf417ade3b495022011cf4379ac81d06d7ba6a1e3133bc5ca342bd2979013123536a01fa0239f12c9", + "pai_cert": "308201d43082017aa003020102020841dce5bb57097965300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414131143012060a2b0601040182a27c02010c04464646313020170d3232303531333030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303059301306072a8648ce3d020106082a8648ce3d03010703420004f459998148e6750f15144eae9cb4261fd369322654211714bdca2940441a541604f58723821dd4368f6052e9cc61304d04927ee8ad64d2f8968f8898233ea95da366306430120603551d130101ff040830060101ff020101300e0603551d0f0101ff040403020106301d0603551d0e04160414c307ec5b4234d87acb5a8c8b96fa8a7fb41dab2f301f0603551d230418301680146afd22771f511fecbf1641976710dcdc31a1717e300a06082a8648ce3d040302034800304502206397247da933ae3fc2acf3b332a999d5b4c4bcbfb96a7acaf345e20af2f7bc9b022100826fd0b972085d9945dcd04e4c82e31a947ef4725b92429b25c3fb03d48ec1ea", + "certification_declaration": "3081ed06092a864886f70d010702a081df3081dc020103310d300b0609608648016503040201304806092a864886f70d010701a03b0439152000012501f1ff3602050080182503341224050024060025077698240800360b10140b44cabbc5016577aa8b44ffb90fcca140fe66201818317e307c020103801462fa823359acfaa9963e1cfa140addf504f37160300b0609608648016503040201300a06082a8648ce3d0403020448304602210087eb4707e94d0b3032b8ea1a20b63953968d25e28129a8a135d66386b14b53e80221008d841413fd65f1a5119c5c4616316cfae7c8cda576a28fd7fabe93b23fb168ac", + "dac_private_key": "ea20d76553e684d70d239b1d475097946ca688be1a082776aa2a45aa72391a5a", + "dac_public_key": "048c04fcac42ff97a6957b34cd7ba42ad4f5b1d12b7a87b70121e8329bebd8c92cfe60f9be946bd190d292d688d7bc269ee962fb7023a87bc3cf79b4823ae0fea8" +} diff --git a/credentials/development/commissioner_dut/struct_cd_cert_type_missing/cd.der b/credentials/development/commissioner_dut/struct_cd_cert_type_missing/cd.der new file mode 100644 index 0000000000000000000000000000000000000000..b29379e4d791656e8b95049a4381c6622f630ebd GIT binary patch literal 258 zcmXqL{LjXz)#lOmotKfFX+h&hgT{AEjLe3-2Hb3%32h#Xsmv@)j0VvNMT`slSbRhk z7#LLW z!tHWu_ff{w@>Sg~|9A4AS?KUDO+iA!u-2d&Xk~*)(yu1t$Th!KPP3EwCBk+0E6eA? z1XO2mv2g(1dd`-GnTf^Sz?DgnVQvi1xj#uKMVk7a?U(-Kv1!4}zz3EdH~nQ#eOd93 rxx$c1!EDjzX?xQZ99MlaQa$-Jbiv(+MJqzDj-G}h210CH+H8z0j7^Jbm>79j+}zv@(L|YeSS$>HKtY_>$jHFd z&=|xqFo=@iw*&%1BV!;kwKTPi!fBI>qcfVB_-%?b5N2ZsyPt^>>Jer}c4j9AmR^SJ zV;{SBsNT~d23Q&h;z-eZW)(buhs|(1zQ%_ ztY6A^Hnp!Z%b)kVgNLrZ%7^Dp%ZNK--F_jU|{N8%P<4I9P3vyg+H z*`2|_g-L-uDeKF2cde;cbmq=Ud+{Z?cjs&uuFL~@j1uNs{@OY&Vp7nWGH>43{_Bl; d|Bl{?&0cf$Szw;;>YvW)>HV!2>*h|-2LNWMjuij^ literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_cert_type_missing/dac-Cert.pem b/credentials/development/commissioner_dut/struct_cd_cert_type_missing/dac-Cert.pem new file mode 100644 index 00000000000000..c316ac723db2c9 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_cert_type_missing/dac-Cert.pem @@ -0,0 +1,13 @@ +-----BEGIN CERTIFICATE----- +MIIB4zCCAYqgAwIBAgIIcGVd0lPSaCAwCgYIKoZIzj0EAwIwRjEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQB +gqJ8AgIMBDgwMDAwIBcNMjIwNTEzMDAwMDAwWhgPOTk5OTEyMzEyMzU5NTlaMEYx +GDAWBgNVBAMMD01hdHRlciBUZXN0IERBQzEUMBIGCisGAQQBgqJ8AgEMBEZGRjEx +FDASBgorBgEEAYKifAICDAQ4MDAwMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE +jQBrxvGLuCXfb6Q0TXVC8xhrk7oie+okKVipM7kyRtS8OdqSUVRDfOaLHETa6qwR +ElM5cDyvpQ7NZXl09qOVPqNgMF4wDAYDVR0TAQH/BAIwADAOBgNVHQ8BAf8EBAMC +B4AwHQYDVR0OBBYEFFlcHAE/e+EqLugeGMZ0NG/JVztxMB8GA1UdIwQYMBaAFIb7 +vJw1HBdp94XIROL0Qig8If2aMAoGCCqGSM49BAMCA0cAMEQCIAdiavS3RyqV1Cyd +nGbo9GONuZtECmnAbgEYN7T9PUGiAiAqlJ6e9Y/XgS7+xdxda6zV5lFuTav5Qydn +j4XRfp2QLw== +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_cert_type_missing/dac-Key.der b/credentials/development/commissioner_dut/struct_cd_cert_type_missing/dac-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..31c961e441fd50bb76a3653135f73e0162a9fb04 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1RzbP#VsyMq=GK2)Qc4P&Ot>b;W+Nc1`L|=F4~{;uREX$1_&yK zNX|V20SBQ(13~}q*FJg=n=&1HFX_M??PmpC(5 literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_cert_type_missing/dac-Key.pem b/credentials/development/commissioner_dut/struct_cd_cert_type_missing/dac-Key.pem new file mode 100644 index 00000000000000..fd83bfb7e7a0ef --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_cert_type_missing/dac-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIE2nxS0uSqSCLqzUixT5zkFFJeE47scGDJryLtqf9K87oAoGCCqGSM49 +AwEHoUQDQgAEjQBrxvGLuCXfb6Q0TXVC8xhrk7oie+okKVipM7kyRtS8OdqSUVRD +fOaLHETa6qwRElM5cDyvpQ7NZXl09qOVPg== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_cd_cert_type_missing/pai-Cert.der b/credentials/development/commissioner_dut/struct_cd_cert_type_missing/pai-Cert.der new file mode 100644 index 0000000000000000000000000000000000000000..364790d931e240ff7803650d4b1930071ca63f32 GIT binary patch literal 471 zcmXqLV!Uk7#8|a}nTe5!iG$^@YL)#APb~v3HV&;ek8`#x%uEIbh7ty1Y|No7%sl+Q zi6teeMG7IQ#U%;>j*f;R210CH+H8z0j7^Jbm>79j+}zv@4HU$Ajf@OT4UG-JAWDMY z5(o^9jDg71($q4_zzwIFp4iPq6J_FIu>hGJX&}tT4t6OMBh<;vjO@%#3@qz*KM0Rw z+;Z>zF=@4p$HJIihw6Ct_Iv4sH~)M6g*hQxf9tI5$Zn3TaOHQ`Ogw)EIB86B>`=S1 z@)yfxexrwO9*ffqQh=Ug4wV&VWc<&3xi_&{R(ATeOzFtQoQg7|zaVk{zU zzxT{Bl@ZVU-g?62(HAET8^yn~4CF!5$}GSjY!J!%t5hx@DF0@^nB(+xfjf5$7Z%nb z2Q{-hgMkZ^f{d}@aqp>luBJ*`%S#hf{HEm?RrfogmdO=oTk7Mg&j0|U42J3e literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_cert_type_missing/pai-Cert.pem b/credentials/development/commissioner_dut/struct_cd_cert_type_missing/pai-Cert.pem new file mode 100644 index 00000000000000..e6ea29ec991018 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_cert_type_missing/pai-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIB0zCCAXqgAwIBAgIIBP0lej+YSSowCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA1MTMw +MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowRjEYMBYGA1UEAwwPTWF0dGVyIFRlc3Qg +UEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQBgqJ8AgIMBDgwMDAw +WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAASuu+BXXgG03u/GGyaxxlYC61UsSY2P +SixXg/7r9ANgay+1mmtZiwhqVyPu1jRJ+VBCKJJBiCbUqfoE0w8y4UZIo2YwZDAS +BgNVHRMBAf8ECDAGAQH/AgEBMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUhvu8 +nDUcF2n3hchE4vRCKDwh/ZowHwYDVR0jBBgwFoAUav0idx9RH+y/FkGXZxDc3DGh +cX4wCgYIKoZIzj0EAwIDRwAwRAIgHDMxx0uVbkU1IrV3dWAkTpa+wddU/HlxYl9X +O0k8Gu0CIBIf1Wwd4liq8oAOA2bFuJZNJ50lR9xVOWN4zYR/XnvM +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_cert_type_missing/pai-Key.der b/credentials/development/commissioner_dut/struct_cd_cert_type_missing/pai-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..22531d57289087480ca3596059b5e383ff143dd9 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R!#W%PSb{E2Epxb*Xvs2gCjgLw!SA+iR^aEgPFSVL$S&Im2 bS0nD$G)ehTLMW0!h$hsj`UKMtGT}x@tC%wb literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_cert_type_missing/pai-Key.pem b/credentials/development/commissioner_dut/struct_cd_cert_type_missing/pai-Key.pem new file mode 100644 index 00000000000000..76c237a3813b4b --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_cert_type_missing/pai-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIHKJyysY7Cujm9B1qXoFsGCHHe95zEmgmZElOh7X998BoAoGCCqGSM49 +AwEHoUQDQgAErrvgV14BtN7vxhsmscZWAutVLEmNj0osV4P+6/QDYGsvtZprWYsI +alcj7tY0SflQQiiSQYgm1Kn6BNMPMuFGSA== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_cd_cert_type_missing/test_case_vector.json b/credentials/development/commissioner_dut/struct_cd_cert_type_missing/test_case_vector.json new file mode 100644 index 00000000000000..17e9726ae1671c --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_cert_type_missing/test_case_vector.json @@ -0,0 +1,9 @@ +{ + "description": "CD Test Vector: The certification_type field is missing.", + "is_success_case": "false", + "dac_cert": "308201e33082018aa003020102020870655dd253d26820300a06082a8648ce3d04030230463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303020170d3232303531333030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742044414331143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303059301306072a8648ce3d020106082a8648ce3d030107034200048d006bc6f18bb825df6fa4344d7542f3186b93ba227bea242958a933b93246d4bc39da925154437ce68b1c44daeaac11125339703cafa50ecd657974f6a3953ea360305e300c0603551d130101ff04023000300e0603551d0f0101ff040403020780301d0603551d0e04160414595c1c013f7be12a2ee81e18c674346fc9573b71301f0603551d2304183016801486fbbc9c351c1769f785c844e2f442283c21fd9a300a06082a8648ce3d0403020347003044022007626af4b7472a95d42c9d9c66e8f4638db99b440a69c06e011837b4fd3d41a202202a949e9ef58fd7812efec5dc5d6bacd5e6516e4dabf94327678f85d17e9d902f", + "pai_cert": "308201d33082017aa003020102020804fd257a3f98492a300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414131143012060a2b0601040182a27c02010c04464646313020170d3232303531333030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303059301306072a8648ce3d020106082a8648ce3d03010703420004aebbe0575e01b4deefc61b26b1c65602eb552c498d8f4a2c5783feebf403606b2fb59a6b598b086a5723eed63449f950422892418826d4a9fa04d30f32e14648a366306430120603551d130101ff040830060101ff020101300e0603551d0f0101ff040403020106301d0603551d0e0416041486fbbc9c351c1769f785c844e2f442283c21fd9a301f0603551d230418301680146afd22771f511fecbf1641976710dcdc31a1717e300a06082a8648ce3d040302034700304402201c3331c74b956e453522b5777560244e96bec1d754fc7971625f573b493c1aed0220121fd56c1de258aaf2800e0366c5b8964d279d2547dc55396378cd847f5e7bcc", + "certification_declaration": "3081ff06092a864886f70d010702a081f13081ee020103310d300b0609608648016503040201305b06092a864886f70d010701a04e044c152000012501f1ff360205008018250334122c04135a494732303134315a423333303030312d323424050024060025077698360b10140b44cabbc5016577aa8b44ffb90fcca140fe66201818317d307b020103801462fa823359acfaa9963e1cfa140addf504f37160300b0609608648016503040201300a06082a8648ce3d040302044730450221009d5c0ccefc62c914828ee6bf1bf248b2a0e951e03948d94f1dcaf4a8fe037831022036a2f396bd672041aaf63225c9e555a0dde172a855d66f835a6136ecf2a8f2fc", + "dac_private_key": "4da7c52d2e4aa4822eacd48b14f9ce414525e138eec7060c9af22eda9ff4af3b", + "dac_public_key": "048d006bc6f18bb825df6fa4344d7542f3186b93ba227bea242958a933b93246d4bc39da925154437ce68b1c44daeaac11125339703cafa50ecd657974f6a3953e" +} diff --git a/credentials/development/commissioner_dut/struct_cd_cert_type_wrong/cd.der b/credentials/development/commissioner_dut/struct_cd_cert_type_wrong/cd.der new file mode 100644 index 0000000000000000000000000000000000000000..add3eda3f06d8f5358f269f820ec6fd611edb388 GIT binary patch literal 263 zcmXqLVq|9H)N1o+`_9YA&a|NMt3l%@CPrpMUIT76&V)7(##Ck&CPsregd)ZTfh_)_ z3Ji>@j357-F|jfKd7-urjEyF{rYa%~0X^ zZ^kVk!tHWu_ff{w@>Sg~|9A4AS?KUDO+iA!u+E?cXlsK=(yu1t$Th!KPP3EwCBk+0 zE6eA?1XP!Bv2g&Md(M`HnTf^2z>P_f;cfATl(+ZgGK1!O-#8_+t~%=C)pyfWqo>c> v%>SsKX+IlK$-+G`Hu72?EMLuzN}W4f&b)|i`#bYWtB|!`Zzp=FZd?ZdX2w(V literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_cert_type_wrong/dac-Cert.der b/credentials/development/commissioner_dut/struct_cd_cert_type_wrong/dac-Cert.der new file mode 100644 index 0000000000000000000000000000000000000000..91f7c0f3e341f3137b73db2ed9f1da4b3b0f59c7 GIT binary patch literal 487 zcmXqLVtj1S#MrffnTe5!iNm^}eZNc0l^+INY#dr`9_MUXn3)XR3?&T2*qB3En0fep z6H7``ixfgqi%S#&96b$1420OYwAmP07@HQ=FfsD5xVgC*qKPu`uvi!Xfr2=%k&%I^ zp)rVKU=St2ZwUm3M#ey7YH4a2h0`V%M`tuM@!J$>Ak4-Nc0Us%)FaG{?95IKEbb2< zp53k>7-xB+Pe3+AH@j_aRqOQgEYZqIQyjT%0?N+q@Z;e>&8{HvL^m~GrYoLfsYJiJ zV}nnI5$}`5$1X%KPB4fw-~k4PtS}?ve-s6$0Eie!ujq` zMf25oF}Kj__20fq*ZT(DHZzb1Nh`AegS0{9`j56B`KP%X+ybW_$~6v+(4EDx3OVSR z-5CsAm=sh4JoQ(|Ke>3Bv+v@iUyJ7y&J=Yyy*hEy_8W>FpQ64kU{X-_+a9=5r1a#5 d)3%@A{xyE2xaH4zaqi-6UHzAYj;P#90ss>Vjc5P> literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_cert_type_wrong/dac-Cert.pem b/credentials/development/commissioner_dut/struct_cd_cert_type_wrong/dac-Cert.pem new file mode 100644 index 00000000000000..f93891f6949b7f --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_cert_type_wrong/dac-Cert.pem @@ -0,0 +1,13 @@ +-----BEGIN CERTIFICATE----- +MIIB4zCCAYqgAwIBAgIIO3CHv0Rc1PgwCgYIKoZIzj0EAwIwRjEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQB +gqJ8AgIMBDgwMDAwIBcNMjIwNTEzMDAwMDAwWhgPOTk5OTEyMzEyMzU5NTlaMEYx +GDAWBgNVBAMMD01hdHRlciBUZXN0IERBQzEUMBIGCisGAQQBgqJ8AgEMBEZGRjEx +FDASBgorBgEEAYKifAICDAQ4MDAwMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE +R+HhzbcgEV45yI4QHVQta4adeoWXzwRbI2KUQQs8UHbOuE4MD8sHIBjkLWVvHIpf +CKUYjydBgExoMg3ko8bQW6NgMF4wDAYDVR0TAQH/BAIwADAOBgNVHQ8BAf8EBAMC +B4AwHQYDVR0OBBYEFAnu/HiD1V8WRlV7r/b1G39NUts2MB8GA1UdIwQYMBaAFNf4 +hvhvywuARlGVwm0zVVgtmgiqMAoGCCqGSM49BAMCA0cAMEQCICVQSS+oH+TR0wmO +0dL6o5xxmRVEy6thkrfYIYjyWvagAiAjTrdRqRR1ybDLPfPt/TPiIbT8zxcLc7aK +j9ISxCTaYg== +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_cert_type_wrong/dac-Key.der b/credentials/development/commissioner_dut/struct_cd_cert_type_wrong/dac-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..a094c89a416f60212e0c500177804df7e1222e8c GIT binary patch literal 121 zcmV-<0EYiCcLD(c1Rw`AVfkrOjr;dh>~}r99aJrAhMjtam(K)SBVv?63p`ME&bUqt56cH2 b800NwZybtW2&EX0CqaNrXfh4tqsGu%0?aNy literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_cert_type_wrong/dac-Key.pem b/credentials/development/commissioner_dut/struct_cd_cert_type_wrong/dac-Key.pem new file mode 100644 index 00000000000000..4212bcd5338f16 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_cert_type_wrong/dac-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIAc0YflpU43791Tsdz285OYQtamLpxx7SShQesVPxyUjoAoGCCqGSM49 +AwEHoUQDQgAER+HhzbcgEV45yI4QHVQta4adeoWXzwRbI2KUQQs8UHbOuE4MD8sH +IBjkLWVvHIpfCKUYjydBgExoMg3ko8bQWw== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_cd_cert_type_wrong/pai-Cert.der b/credentials/development/commissioner_dut/struct_cd_cert_type_wrong/pai-Cert.der new file mode 100644 index 0000000000000000000000000000000000000000..8a47de1517aaa7c691bff44d8e5fcf7c3fd9ff09 GIT binary patch literal 472 zcmXqLV!UF|#8|a}nTe5!i9^fZ-{XC}$7%yEHV&;ek8`#x%uEIbh7ty1Y|No7%sl+Q zi6teeMG7IQ#U%;>j*f;R210CH+H8z0j7^Jbm>79j+}zv@4HU$Ajf@OT4UG-JAWDMY z5(o^9jDg71($q4_zzwIFp4iPq6J_FIu>hGJX&}tT4t6OMBh<;vjO@%#3@jI0&o4WC zrTNYN2j5no%jngcsw>cwB~rR)fvkE?p0N;fx}dhN>m9b%B_9NmZ>^XY&T{C}yxo6- zf>PI~RPk)+tXrIBkOK4^bEvE^BjbM-4g)qI#l*;Hzy}iJ2Z;d#hmp-d7R2Xc5n~a# z{-fk@x)>bPYOt^Y{mfLhD&0nhh$K-tg32ccs literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_cert_type_wrong/pai-Cert.pem b/credentials/development/commissioner_dut/struct_cd_cert_type_wrong/pai-Cert.pem new file mode 100644 index 00000000000000..d50228b1a4655c --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_cert_type_wrong/pai-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIB1DCCAXqgAwIBAgIIKk9PSO9fSKswCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA1MTMw +MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowRjEYMBYGA1UEAwwPTWF0dGVyIFRlc3Qg +UEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQBgqJ8AgIMBDgwMDAw +WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAATRhc+mw9SD7L/g9qvOaI0ulS0QjGoU +dbygHSdsbjMSA2cRK01F3AaFpPAQY9qonlcEwvKeu/xSUmWvZHoMsIl+o2YwZDAS +BgNVHRMBAf8ECDAGAQH/AgEBMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQU1/iG ++G/LC4BGUZXCbTNVWC2aCKowHwYDVR0jBBgwFoAUav0idx9RH+y/FkGXZxDc3DGh +cX4wCgYIKoZIzj0EAwIDSAAwRQIgEujHAhbQSju1SnBH2zNqf+S20ciEVS6FbY8q +MY7vJSsCIQDQYhcctUef8iHKI6dbHzs6qeCQ1ceaRpcCKfolj8YfTA== +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_cert_type_wrong/pai-Key.der b/credentials/development/commissioner_dut/struct_cd_cert_type_wrong/pai-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..d4c1a549fda02c13a87fdafbd42ea759cfb6fe16 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R&;5E)kOppX?@;2HSbKmsTj@i6mYGStJ*azc=!6%XXj&1_&yK zNX|V20SBQ(13~}<(S^^Z!_F-Cwy=AZ#$_f~#;5WA`Ie~wcB@Zy literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_cms_digest_algo_sha1/dac-Cert.der b/credentials/development/commissioner_dut/struct_cd_cms_digest_algo_sha1/dac-Cert.der new file mode 100644 index 0000000000000000000000000000000000000000..7513a02224892d6ce17ebe1ac0d23a8b933a6666 GIT binary patch literal 487 zcmXqLVtj1S#MrffnTe5!i9?UE-8FB{vvLD2HV&;ek8`#x%uEJuh7ty1Y|No7%sl+Q zi6teeMG7IQ#U%;>j-G}h210CH+H8z0j7^Jbm>79j+}zv@(L|YeSS$>HKtY_>$jHFd z&=|xqFo=@iw*&%1BV!;kwKTPi!fBI>qcfVB_-%?b5N2ZsyPt^>>Jer}c4j9AmStYM zADUVj2(AjAmUOp}-*qZa?}EaN^W0bVuH7ohsFboZ&U)hiF1g?o2g|-gXS^1_2oLU< zd+lTO?x{7a_8nVVxj4Zf&VUCP7_!2QjQ?4f3>XafKs6?7XJnIR@mQ zXLe^WaA8ugwYZ#=$mhJ|q|lcG=UHWUF4{IL-(0xqyQQOFMW(@LJ|=~X+5Bt7+!zn# dz4n-&!n#tzZ*w~9eJ*1;!4H$y+a5PN3ILJ0ic0_h literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_cms_digest_algo_sha1/dac-Cert.pem b/credentials/development/commissioner_dut/struct_cd_cms_digest_algo_sha1/dac-Cert.pem new file mode 100644 index 00000000000000..06f6d9a2932b12 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_cms_digest_algo_sha1/dac-Cert.pem @@ -0,0 +1,13 @@ +-----BEGIN CERTIFICATE----- +MIIB4zCCAYqgAwIBAgIILgGHRW6c5ncwCgYIKoZIzj0EAwIwRjEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQB +gqJ8AgIMBDgwMDAwIBcNMjIwNTEzMDAwMDAwWhgPOTk5OTEyMzEyMzU5NTlaMEYx +GDAWBgNVBAMMD01hdHRlciBUZXN0IERBQzEUMBIGCisGAQQBgqJ8AgEMBEZGRjEx +FDASBgorBgEEAYKifAICDAQ4MDAwMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE +pkq74TU6MBGqU5Zi3XEPRZUMjaBxaM8L1L2ttRkBImS5XjuR/4oeU2RAOY7CzEqj +6FdTiJ3W8Xu7lXyqvsaleaNgMF4wDAYDVR0TAQH/BAIwADAOBgNVHQ8BAf8EBAMC +B4AwHQYDVR0OBBYEFCgaa3hWcFwhq1tBXGca7MItc7f3MB8GA1UdIwQYMBaAFPZ5 +RIO5t2+z6ym83LIUds8pEc4AMAoGCCqGSM49BAMCA0cAMEQCID0402JhDkOkyRL0 +wM8FHbmitppvNxOC9zlBTnhpMPMOAiBomw+sFkYBwm7rSJ9kBakYTrNnBd8KMx4R +8JOvPcc2xQ== +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_cms_digest_algo_sha1/dac-Key.der b/credentials/development/commissioner_dut/struct_cd_cms_digest_algo_sha1/dac-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..7d0ee14af3c306c842f34058e1e4856ef3160f17 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R#A5ffc1P)mfNpq4Y?g-3*U(D3`Qgeh4MN_M9k_oM@m51_&yK zNX|V20SBQ(13~}837_>xn4Vw|B4<{ bWI#EN!puse=vPySo!0StyOn&ZzQ(0_4+=A& literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_cms_digest_algo_sha1/dac-Key.pem b/credentials/development/commissioner_dut/struct_cd_cms_digest_algo_sha1/dac-Key.pem new file mode 100644 index 00000000000000..add167402ff720 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_cms_digest_algo_sha1/dac-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIH0OgRWlMtVZmGuh9Eig3QyPdCiXtGB+CCXA9pwok5xooAoGCCqGSM49 +AwEHoUQDQgAEpkq74TU6MBGqU5Zi3XEPRZUMjaBxaM8L1L2ttRkBImS5XjuR/4oe +U2RAOY7CzEqj6FdTiJ3W8Xu7lXyqvsaleQ== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_cd_cms_digest_algo_sha1/pai-Cert.der b/credentials/development/commissioner_dut/struct_cd_cms_digest_algo_sha1/pai-Cert.der new file mode 100644 index 0000000000000000000000000000000000000000..31ab12077be6459793bb0c7f4f7480fa8546c0ea GIT binary patch literal 473 zcmXqLV!Ue5#8|a}nTe5!i6chGieKu)?;-;(HV&;ek8`#x%uEIbh7ty1Y|No7%sl+Q zi6teeMG7IQ#U%;>j*f;R210CH+H8z0j7^Jbm>79j+}zv@4HU$Ajf@OT4UG-JAWDMY z5(o^9jDg71($q4_zzwIFp4iPq6J_FIu>hGJX&}tT4t6OMBh<;vjO@%#3@l8mO#OvV zS_UZH)A2IsR&X@2FPfQMckRISXBFvvv6}vApLJIxl}~^C+(_@ugyfX2m%lpSh24}? zvOMKjUimWr{o*u(6rksrLuG{-8UM3z7_b2;CPqdBK9CqcNDLS_jBEz7AU+?97>mfa zN|)xH+w(WS*4%SvlStWlO~G>v2J#?jWfou%Hi%^XRVtSclz+2d%yD|Uz@0mW3k&Oz zgPPfs!N844kzr2Bn*@auQUU2-HtVwO{BA4~&C>De+IRW=**!(K?grTbmAqUp>g#pg g=aI>2=J(r7r|DcjvVn{F{ykBiL)X_gnJzB^0I}|i>Hq)$ literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_cms_digest_algo_sha1/pai-Cert.pem b/credentials/development/commissioner_dut/struct_cd_cms_digest_algo_sha1/pai-Cert.pem new file mode 100644 index 00000000000000..d387ad4a6b1d08 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_cms_digest_algo_sha1/pai-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIB1TCCAXqgAwIBAgIIXCw6DxrI+3IwCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA1MTMw +MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowRjEYMBYGA1UEAwwPTWF0dGVyIFRlc3Qg +UEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQBgqJ8AgIMBDgwMDAw +WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAQCqjVPE8k5UCLeLEowiyBBND9ymWt+ +1sDX5nhnjl0pT2bzLahid5fj5zIu7JBjZIrp+onuVtkZIjnKQXd56W/vo2YwZDAS +BgNVHRMBAf8ECDAGAQH/AgEBMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQU9nlE +g7m3b7PrKbzcshR2zykRzgAwHwYDVR0jBBgwFoAUav0idx9RH+y/FkGXZxDc3DGh +cX4wCgYIKoZIzj0EAwIDSQAwRgIhAJx07GAgyBpQZ/SzLQa59zMUWwSI6tb3H79r +jHLa3VI+AiEA6a8VTUrXTOI0ywPvtjWWLNfEsAoD394VDMLXr4I1p3I= +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_cms_digest_algo_sha1/pai-Key.der b/credentials/development/commissioner_dut/struct_cd_cms_digest_algo_sha1/pai-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..a45d85137e897958e37ebf0e94e74447c4e0204a GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R&1bEp0i{3o#Y`gXQQg=wl7}2*t0e8_zW{qAi!uDWRYW1_&yK zNX|V20SBQ(13~}<0;)An6UjMHBHk=YFpD5TG(U2gYktH3N8R@oUMIm$tIdFgNOHrX?s literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_cms_digest_algo_sha1/pai-Key.pem b/credentials/development/commissioner_dut/struct_cd_cms_digest_algo_sha1/pai-Key.pem new file mode 100644 index 00000000000000..815885b617c657 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_cms_digest_algo_sha1/pai-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIM7cLW050gsxFf6D5egt6GMN+QjFr6obzzUxoi2X0CmhoAoGCCqGSM49 +AwEHoUQDQgAEAqo1TxPJOVAi3ixKMIsgQTQ/cplrftbA1+Z4Z45dKU9m8y2oYneX +4+cyLuyQY2SK6fqJ7lbZGSI5ykF3eelv7w== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_cd_cms_digest_algo_sha1/test_case_vector.json b/credentials/development/commissioner_dut/struct_cd_cms_digest_algo_sha1/test_case_vector.json new file mode 100644 index 00000000000000..e3aad9e7fd8dd5 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_cms_digest_algo_sha1/test_case_vector.json @@ -0,0 +1,9 @@ +{ + "description": "CD Test Vector: Invalid CMS digest algorithm SHA1.", + "is_success_case": "false", + "dac_cert": "308201e33082018aa00302010202082e0187456e9ce677300a06082a8648ce3d04030230463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303020170d3232303531333030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742044414331143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303059301306072a8648ce3d020106082a8648ce3d03010703420004a64abbe1353a3011aa539662dd710f45950c8da07168cf0bd4bdadb519012264b95e3b91ff8a1e536440398ec2cc4aa3e85753889dd6f17bbb957caabec6a579a360305e300c0603551d130101ff04023000300e0603551d0f0101ff040403020780301d0603551d0e04160414281a6b7856705c21ab5b415c671aecc22d73b7f7301f0603551d23041830168014f6794483b9b76fb3eb29bcdcb21476cf2911ce00300a06082a8648ce3d040302034700304402203d38d362610e43a4c912f4c0cf051db9a2b69a6f371382f739414e786930f30e0220689b0fac164601c26eeb489f6405a9184eb36705df0a331e11f093af3dc736c5", + "pai_cert": "308201d53082017aa00302010202085c2c3a0f1ac8fb72300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414131143012060a2b0601040182a27c02010c04464646313020170d3232303531333030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303059301306072a8648ce3d020106082a8648ce3d0301070342000402aa354f13c9395022de2c4a308b2041343f72996b7ed6c0d7e678678e5d294f66f32da8627797e3e7322eec9063648ae9fa89ee56d9192239ca417779e96fefa366306430120603551d130101ff040830060101ff020101300e0603551d0f0101ff040403020106301d0603551d0e04160414f6794483b9b76fb3eb29bcdcb21476cf2911ce00301f0603551d230418301680146afd22771f511fecbf1641976710dcdc31a1717e300a06082a8648ce3d04030203490030460221009c74ec6020c81a5067f4b32d06b9f733145b0488ead6f71fbf6b8c72dadd523e022100e9af154d4ad74ce234cb03efb635962cd7c4b00a03dfde150cc2d7af8235a772", + "certification_declaration": "3081fd06092a864886f70d010702a081ef3081ec0201033109300706052b0e03021a305e06092a864886f70d010701a051044f152000012501f1ff360205008018250334122c04135a494732303134315a423333303030312d323424050024060025077698240800360b10140b44cabbc5016577aa8b44ffb90fcca140fe66201818317c307a020103801462fa823359acfaa9963e1cfa140addf504f37160300b0609608648016503040201300a06082a8648ce3d04030204463044022023716c7ca3a0d8b6f0a052e075b220fc2b845b230806f4226d015551021afb13022038c9ee68dc4e153a53ca69974fef3b339fcd718baa28d3024501e55f4f6f3965", + "dac_private_key": "7d0e8115a532d559986ba1f448a0dd0c8f742897b4607e0825c0f69c28939c68", + "dac_public_key": "04a64abbe1353a3011aa539662dd710f45950c8da07168cf0bd4bdadb519012264b95e3b91ff8a1e536440398ec2cc4aa3e85753889dd6f17bbb957caabec6a579" +} diff --git a/credentials/development/commissioner_dut/struct_cd_cms_digest_algo_sha256/cd.der b/credentials/development/commissioner_dut/struct_cd_cms_digest_algo_sha256/cd.der new file mode 100644 index 0000000000000000000000000000000000000000..2570c5b433239bbe011f9b0c76a2ea15b46894c7 GIT binary patch literal 262 zcmXqLVq{|D)N1o+`_9YA&a|NMi$UW@CPrpMUIT76&V)7(##Ck&CPsregd)ZTfh_)_ z3Ji>@j357-F|jfKd7-urjEyF{rYa%~0WB zFyj^w;dVK-`zT{-`KoT0|2z55EOhvnrXV3DU)J&_HJE&{QRukpy~y3N4sXulsvq`MZ3cB)W&0q3LgMFds7Jj literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_cms_digest_algo_sha256/dac-Cert.der b/credentials/development/commissioner_dut/struct_cd_cms_digest_algo_sha256/dac-Cert.der new file mode 100644 index 0000000000000000000000000000000000000000..4b530235ebc3d8f735fadd943688dff474492b91 GIT binary patch literal 489 zcmXqLVti`Q#MrffnTe5!i9<;LkwHVm))E6QHV&;ek8`#x%uEJuh7ty1Y|No7%sl+Q zi6teeMG7IQ#U%;>j-G}h210CH+H8z0j7^Jbm>79j+}zv@(L|YeSS$>HKtY_>$jHFd z&=|xqFo=@iw*&%1BV!;kwKTPi!fBI>qcfVB_-%?b5N2ZsyPt^>>Jer}c4j9AmJ@oL z_*(t`-21OkDVuoiAM^T)2XpUFxn9RSd6JTo@gKjFf{RyePgXkWY@7FZ9@{0Y-<*rC zKVSRxNY2MgZ2h|k9&#v(FF zOzr)Gf|*yUkJl+KZk&>Is@vhWfjmfBnFSc64I<1c|0gRiTfSx8=ZoU)-QJ(pvEFMz z4ti!!1_L)HMTQAVy4>5(K4txs?xWNc_DaOV&&lVSOPI0c)q0Loyfv~wCGB_0oA%qC f*?v%_WnO=~f0f18v;=#{=m~zakJ_Gh`z8kfW^j>D literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_cms_digest_algo_sha256/dac-Cert.pem b/credentials/development/commissioner_dut/struct_cd_cms_digest_algo_sha256/dac-Cert.pem new file mode 100644 index 00000000000000..c622261bdb379f --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_cms_digest_algo_sha256/dac-Cert.pem @@ -0,0 +1,13 @@ +-----BEGIN CERTIFICATE----- +MIIB5TCCAYqgAwIBAgIIEi/iMIBYtXQwCgYIKoZIzj0EAwIwRjEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQB +gqJ8AgIMBDgwMDAwIBcNMjIwNTEzMDAwMDAwWhgPOTk5OTEyMzEyMzU5NTlaMEYx +GDAWBgNVBAMMD01hdHRlciBUZXN0IERBQzEUMBIGCisGAQQBgqJ8AgEMBEZGRjEx +FDASBgorBgEEAYKifAICDAQ4MDAwMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE +yC6yDoVO/N7/IHkdYc7+A6/RwW3flNd+A5OSIkIz/E7JEaOqt2MixUM9buOeBtIq ++wmi1+et9cRs8dLtIgHlcaNgMF4wDAYDVR0TAQH/BAIwADAOBgNVHQ8BAf8EBAMC +B4AwHQYDVR0OBBYEFJIWJu+gcJnUe8d+IaOBlGLKi0D7MB8GA1UdIwQYMBaAFAMk +/5Mjpqe0rvPRF4eLS/KuBd6EMAoGCCqGSM49BAMCA0kAMEYCIQCQIi0Lt83lBfJn +TCKCVuoUSE5CTNZEVjM51X8Iyg18HQIhAIfcd4K/Psy3wRyEno+HT3o49WZgP0Fb +kE6bxT3PRvYe +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_cms_digest_algo_sha256/dac-Key.der b/credentials/development/commissioner_dut/struct_cd_cms_digest_algo_sha256/dac-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..bfb142854125db9e3a4fcb5bc200476229d7e1f6 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R#^r;1)`m6xoS18U~20jqy4>V<^lW!rvb7)y)@Q`&pn01_&yK zNX|V20SBQ(13~}<$S$%Dg--n5{~&oCVb1;ouhGG6-;~#W1Cx>>LNokM$q}Qfw__s3 bLp^Teo(9q?`w61g=dJa`Z1K|VA_3)b-hDSh literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_cms_digest_algo_sha256/dac-Key.pem b/credentials/development/commissioner_dut/struct_cd_cms_digest_algo_sha256/dac-Key.pem new file mode 100644 index 00000000000000..d3741aa0684a44 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_cms_digest_algo_sha256/dac-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIJPS4BZKmRTZiTQaBoisjfE6PGMozB3C3x7w1c0XX/tZoAoGCCqGSM49 +AwEHoUQDQgAEyC6yDoVO/N7/IHkdYc7+A6/RwW3flNd+A5OSIkIz/E7JEaOqt2Mi +xUM9buOeBtIq+wmi1+et9cRs8dLtIgHlcQ== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_cd_cms_digest_algo_sha256/pai-Cert.der b/credentials/development/commissioner_dut/struct_cd_cms_digest_algo_sha256/pai-Cert.der new file mode 100644 index 0000000000000000000000000000000000000000..d222d23cfc8c9fcf545aa4c99d9c1abfaea291c7 GIT binary patch literal 472 zcmXqLV!UF|#8|a}nTe5!i9_61qEWbcPKW^)8;4e#$2nUTW+npzLkR;hHs(+kW*&au z#FCQKB88CD;u3`bM@K^u10gmpZ8k<0#->FzOpH7%Zfm7|7%nWV zLk?%YiKjY~V4f^)hZ*%YPpKcYNx$IW-+!VrYh$1y%0p`d~V6S97b#dAb`J7@8PHIT;%p7#JAp8kwlD zGN`aIsIr&MP~l)O;}#I%b~&~CC}V2*s&1G6JNeHnboiI1AR%E`YfufexIrZ8SCet% znqMoY*~$D8;kx^k<#S;Is$;m=IDjrbXUoFO#Nuw?%A_EoXc?EV;8hYo(>mpzt27wU+VK#iNgsV$Du$d>g7AcH`of F3;?BvP(1(u literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_cms_econtent_type_msac/dac-Cert.der b/credentials/development/commissioner_dut/struct_cd_cms_econtent_type_msac/dac-Cert.der new file mode 100644 index 0000000000000000000000000000000000000000..1d68a4106932c5661f108c6a41e6b21797a04159 GIT binary patch literal 488 zcmXqLVtiuI#MrffnTe5!iG!m?_P^0$???kKHV&;ek8`#x%uEJuh7ty1Y|No7%sl+Q zi6teeMG7IQ#U%;>j-G}h210CH+H8z0j7^Jbm>79j+}zv@(L|YeSS$>HKtY_>$jHFd z&=|xqFo=@iw*&%1BV!;kwKTPi!fBI>qcfVB_-%?b5N2ZsyPt^>>Jer}c4j9A7O5!@ z_5WQk7wvD~&bBZ?h literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_cms_econtent_type_msac/dac-Cert.pem b/credentials/development/commissioner_dut/struct_cd_cms_econtent_type_msac/dac-Cert.pem new file mode 100644 index 00000000000000..99127a1c2c6d9a --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_cms_econtent_type_msac/dac-Cert.pem @@ -0,0 +1,13 @@ +-----BEGIN CERTIFICATE----- +MIIB5DCCAYqgAwIBAgIICHwd/zKjS1kwCgYIKoZIzj0EAwIwRjEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQB +gqJ8AgIMBDgwMDAwIBcNMjIwNTEzMDAwMDAwWhgPOTk5OTEyMzEyMzU5NTlaMEYx +GDAWBgNVBAMMD01hdHRlciBUZXN0IERBQzEUMBIGCisGAQQBgqJ8AgEMBEZGRjEx +FDASBgorBgEEAYKifAICDAQ4MDAwMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE +GpThL/7QNxWPh7cGoWAU6ibBNBpOnTbKRcTeOnuaW+r3L8ro6BeRq6d7IQb7FYkL +oXvItHLmASDSDnEOXUW8UaNgMF4wDAYDVR0TAQH/BAIwADAOBgNVHQ8BAf8EBAMC +B4AwHQYDVR0OBBYEFC5BHVhOM7cwUcmNUhugB4Bi3fXHMB8GA1UdIwQYMBaAFCO1 +YTp13J75z35Xzy25ocYtKDclMAoGCCqGSM49BAMCA0gAMEUCIDKkESKy1ZnCKkZw +4vJeZvbV5u5eRySgQVpMZmwJbSitAiEAlTBSBSodgP/OoAupJyvbwn6UcIMKgeh6 +J1GtQEYSOSY= +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_cms_econtent_type_msac/dac-Key.der b/credentials/development/commissioner_dut/struct_cd_cms_econtent_type_msac/dac-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..4c5734b4a3a3c67827c920ac9ae7edd2d258e737 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1Rx1d7K!^e1BHmCvj#xivliun&msOH6$rq5ACT;RwrrpZ1_&yK zNX|V20SBQ(13~}<8kFHL{?IoSkB7GgpFzOpH7%Zf2SvKz9spY^Ov-%C|{XdoREAx zYxjEpXt!xoUMx;CNCA3|IaF4dk?}tZhXEUqVq#=8-~);AgT#P=!^mbJ3*z&!h_Q$$ zZ%wo+y)*CU`MU7)x;qyh)73CnHIN5ME3*KDut6m2uTr^up!}QtVvf_(1@7E2Tv%9# z9MsGn3yRT1MMwXQ5nz=M- literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_cms_econtent_type_msac/pai-Key.pem b/credentials/development/commissioner_dut/struct_cd_cms_econtent_type_msac/pai-Key.pem new file mode 100644 index 00000000000000..b3ce709ab57ce7 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_cms_econtent_type_msac/pai-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIO6EaL3vV2y8wA9Ad3xPsRa6TcbQPVrj0TqgDmR8mFoMoAoGCCqGSM49 +AwEHoUQDQgAEubAYRSTwwkZ58TGVbVYX5sJhQIxhFyoOPybmsiNV+4zofg7W8sNo +p46kb2mfpIckI9Sdc2Bjx2q7r09bRpaU6A== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_cd_cms_econtent_type_msac/test_case_vector.json b/credentials/development/commissioner_dut/struct_cd_cms_econtent_type_msac/test_case_vector.json new file mode 100644 index 00000000000000..7eac89a1a15e15 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_cms_econtent_type_msac/test_case_vector.json @@ -0,0 +1,9 @@ +{ + "description": "CD Test Vector: Invalid CMS eContentType is set to Microsoft Authenticode [MSAC] OID = { 1.3.6.1.4.1.311.2.1.4 }.", + "is_success_case": "false", + "dac_cert": "308201e43082018aa0030201020208087c1dff32a34b59300a06082a8648ce3d04030230463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303020170d3232303531333030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742044414331143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303059301306072a8648ce3d020106082a8648ce3d030107034200041a94e12ffed037158f87b706a16014ea26c1341a4e9d36ca45c4de3a7b9a5beaf72fcae8e81791aba77b2106fb15890ba17bc8b472e60120d20e710e5d45bc51a360305e300c0603551d130101ff04023000300e0603551d0f0101ff040403020780301d0603551d0e041604142e411d584e33b73051c98d521ba0078062ddf5c7301f0603551d2304183016801423b5613a75dc9ef9cf7e57cf2db9a1c62d283725300a06082a8648ce3d0403020348003045022032a41122b2d599c22a4670e2f25e66f6d5e6ee5e4724a0415a4c666c096d28ad022100953052052a1d80ffcea00ba9272bdbc27e9470830a81e87a2751ad4046123926", + "pai_cert": "308201d43082017aa0030201020208625d3575433ce044300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414131143012060a2b0601040182a27c02010c04464646313020170d3232303531333030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303059301306072a8648ce3d020106082a8648ce3d03010703420004b9b0184524f0c24679f131956d5617e6c261408c61172a0e3f26e6b22355fb8ce87e0ed6f2c368a78ea46f699fa4872423d49d736063c76abbaf4f5b469694e8a366306430120603551d130101ff040830060101ff020101300e0603551d0f0101ff040403020106301d0603551d0e0416041423b5613a75dc9ef9cf7e57cf2db9a1c62d283725301f0603551d230418301680146afd22771f511fecbf1641976710dcdc31a1717e300a06082a8648ce3d0403020348003045022100847945cb0c12c34ae46cd00ce5b628c6efef83d2ad29610307423f1500b3fc51022070696ca770ece8411bf4b0de4350c611fefcf0aa529be6431124335fa1694e4b", + "certification_declaration": "3082010506092a864886f70d010702a081f73081f4020103310d300b06096086480165030402013061060c060a2b060104018237020104a051044f152000012501f1ff360205008018250334122c04135a494732303134315a423333303030312d323424050024060025077698240800360b10140b44cabbc5016577aa8b44ffb90fcca140fe66201818317d307b020103801462fa823359acfaa9963e1cfa140addf504f37160300b0609608648016503040201300a06082a8648ce3d0403020447304502201421395e60a0ea620f02ae238cd5b9841c4dd2684c60091e28abfa02b02b3f250221009b501736577bbaf4a9fe4a9fdaad01ead1c5e2625d36c8b1ed552b56d8d1b468", + "dac_private_key": "094f1689fb37038588a5b30640dcb316e581cf21fe211508c07c1f90ec7eb66c", + "dac_public_key": "041a94e12ffed037158f87b706a16014ea26c1341a4e9d36ca45c4de3a7b9a5beaf72fcae8e81791aba77b2106fb15890ba17bc8b472e60120d20e710e5d45bc51" +} diff --git a/credentials/development/commissioner_dut/struct_cd_cms_econtent_type_pkcs7_data/cd.der b/credentials/development/commissioner_dut/struct_cd_cms_econtent_type_pkcs7_data/cd.der new file mode 100644 index 0000000000000000000000000000000000000000..fc45cd70e720113f2823a81dba010454aeb1de28 GIT binary patch literal 261 zcmXqLVq|3F)N1o+`_9YA&a|NMvq9qrCPrpMUIT76&V)7(##Ck&CPsregd)ZTfh_)_ z3Ji>@j357-F|jfKd7-urjEyF{rYa%~0WB zFyj^w;dVK-`zT{-`KoT0|2z55EOhvnrXV3JkHs&Ff$pr8A=$4u`!3TF!S*H zCYF?>7Ab_J7MCalIC>h27znX(X|pl1Fg7i!VPfQAadUGsL=$D=VX-g(0tIniBO?P- zLt_xfz#vM3-x3H6jf{cF)Y8;43a3pjj?QRi;oqY7n$BMKuM|1x zncW!-T$mI><2$#g%$I3TY)#3gkd}@)^+~TZFOf6YR9C_H00dHPA&1pQ-7iVV{n|N8kJ gi0SEIoL_D7?WU{b#tB`Mrx%78$1-jY$h`g!0LZ_JG5`Po literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_cms_econtent_type_pkcs7_data/pai-Cert.pem b/credentials/development/commissioner_dut/struct_cd_cms_econtent_type_pkcs7_data/pai-Cert.pem new file mode 100644 index 00000000000000..c6cf90fc98c1e2 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_cms_econtent_type_pkcs7_data/pai-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIB1DCCAXqgAwIBAgIIOW38WinyliIwCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA1MTMw +MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowRjEYMBYGA1UEAwwPTWF0dGVyIFRlc3Qg +UEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQBgqJ8AgIMBDgwMDAw +WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAARMCz03jxIxvpuvO3Mh431jAbGrcvmq +XpdRZp6HHytywW9vmBajtXBb6RuUoemSvsDKmJNBTQG3x9bEXa1S2Lk0o2YwZDAS +BgNVHRMBAf8ECDAGAQH/AgEBMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUN4WL +7ko7KIAiiKcuggERNZum/nUwHwYDVR0jBBgwFoAUav0idx9RH+y/FkGXZxDc3DGh +cX4wCgYIKoZIzj0EAwIDSAAwRQIgXTtnLiXM88qiOp1zarIChDZqQXOu4CDmAMnL +5HaQL8YCIQCWQf1OTcBcjIgBn3s09tlFGbGQipOXcVQzXQG3UGnX/g== +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_cms_econtent_type_pkcs7_data/pai-Key.der b/credentials/development/commissioner_dut/struct_cd_cms_econtent_type_pkcs7_data/pai-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..c13d7e9fe30d45cf5ffc678bcdac42f1dcc607e7 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R&$B(SH7H_5>Zx##t>e7^y(}y$FLPxg7^<;o^_ntpK131_&yK zNX|V20SBQ(13~}(~x0kNxc`Kn%*QD&ZpA1iXfZ*Q0uqqT5b b=^K=x>5{&{%9xWuO#!#Z*2G<{QrNjPggrEl literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_cms_econtent_type_pkcs7_data/pai-Key.pem b/credentials/development/commissioner_dut/struct_cd_cms_econtent_type_pkcs7_data/pai-Key.pem new file mode 100644 index 00000000000000..12ecdb4d7f08c2 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_cms_econtent_type_pkcs7_data/pai-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIOOt0X7+bPYEHc3GWS0wGKlA+70IgyW5HQdr4eKP3K0AoAoGCCqGSM49 +AwEHoUQDQgAETAs9N48SMb6brztzIeN9YwGxq3L5ql6XUWaehx8rcsFvb5gWo7Vw +W+kblKHpkr7AypiTQU0Bt8fWxF2tUti5NA== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_cd_cms_econtent_type_pkcs7_data/test_case_vector.json b/credentials/development/commissioner_dut/struct_cd_cms_econtent_type_pkcs7_data/test_case_vector.json new file mode 100644 index 00000000000000..d4163b88877681 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_cms_econtent_type_pkcs7_data/test_case_vector.json @@ -0,0 +1,9 @@ +{ + "description": "CD Test Vector: Valid CMS eContentType pkcs7-data.", + "is_success_case": "true", + "dac_cert": "308201e33082018aa00302010202083dd30b91e56cb466300a06082a8648ce3d04030230463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303020170d3232303531333030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742044414331143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303059301306072a8648ce3d020106082a8648ce3d03010703420004d7a81cef4e25adebbf44a51db85368e8dcc902681e7bf3d8afd1defb8c08e1e829353b7e260f88751a55fa287b17a506cd9293d83ec95af8feb799da4d526701a360305e300c0603551d130101ff04023000300e0603551d0f0101ff040403020780301d0603551d0e0416041488293c53e34d8d7b250a2340587b40e64dc69f36301f0603551d2304183016801437858bee4a3b28802288a72e820111359ba6fe75300a06082a8648ce3d04030203470030440220555f89b4249f1c876183638c29a4a7702ce77bfbfc0e93d763a3fa5aa0cafe0102207a3fef3c95d0710271953646c2e7fc4c14cfcea54ffe2cf864c27a143035197b", + "pai_cert": "308201d43082017aa0030201020208396dfc5a29f29622300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414131143012060a2b0601040182a27c02010c04464646313020170d3232303531333030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303059301306072a8648ce3d020106082a8648ce3d030107034200044c0b3d378f1231be9baf3b7321e37d6301b1ab72f9aa5e9751669e871f2b72c16f6f9816a3b5705be91b94a1e992bec0ca9893414d01b7c7d6c45dad52d8b934a366306430120603551d130101ff040830060101ff020101300e0603551d0f0101ff040403020106301d0603551d0e0416041437858bee4a3b28802288a72e820111359ba6fe75301f0603551d230418301680146afd22771f511fecbf1641976710dcdc31a1717e300a06082a8648ce3d040302034800304502205d3b672e25ccf3caa23a9d736ab20284366a4173aee020e600c9cbe476902fc60221009641fd4e4dc05c8c88019f7b34f6d94519b1908a93977154335d01b75069d7fe", + "certification_declaration": "3082010106092a864886f70d010702a081f33081f0020103310d300b0609608648016503040201305e06092a864886f70d010701a051044f152000012501f1ff360205008018250334122c04135a494732303134315a423333303030312d323424050024060025077698240800360b10140b44cabbc5016577aa8b44ffb90fcca140fe66201818317c307a020103801462fa823359acfaa9963e1cfa140addf504f37160300b0609608648016503040201300a06082a8648ce3d0403020446304402206b479b74f2d3ad86fafca5e20ed8cc719306841c90b4330637e960766fad658802203e3f0c886f6bc87467886a16388a5c3e0cf21e3c1b2e642129f8d1537ae9e3c3", + "dac_private_key": "5fa0a699548751afcc4920a5eb334af2312f2a4c1c623caefc151c41b4278032", + "dac_public_key": "04d7a81cef4e25adebbf44a51db85368e8dcc902681e7bf3d8afd1defb8c08e1e829353b7e260f88751a55fa287b17a506cd9293d83ec95af8feb799da4d526701" +} diff --git a/credentials/development/commissioner_dut/struct_cd_cms_sig_algo_ecdsa_with_sha1/cd.der b/credentials/development/commissioner_dut/struct_cd_cms_sig_algo_ecdsa_with_sha1/cd.der new file mode 100644 index 0000000000000000000000000000000000000000..a5f58832d8e4274598db1ddb71d7cb12678a5a6d GIT binary patch literal 260 zcmXqLVq{?B)N1o+`_9YA&a|NMlR@KqCPrpMUIT76&V)7(##Ck&CPsregd)ZTfh_)_ z3Ji>@j357-F|jfKd7-urjEyF{rYa%~0WB zFyj^w;dVK-`zT{-`KoT0|2z55EOhvnrXV33J!i|p$l_+;!ldB&bL-Wd-Y@qpcQ|(`GR5{SH_S;9ma!45FWx`% s*>09}CWUJ5EOmulUp@X@*hL=;qMRwFNUFzOpH7%ZfQ7(_|%TLOWhkueaNTAEr$;k3!c(HYH5{5C}z2(z(+-Ot1b^$0T~JF^o5OZnfu zEB11A9qr2geR+K)SN-+GR4s|xKl~+Z%^Z4JRUyZJa{4iRa?*VCE<|QcEi?Nv9fkAA6ktuvpwc9we>I0u0gyky(i)Vi#tluNJZJd}h{qD)2`BJ`?1i zXZBz)aAi_t*sJ>V&Wp3BS_J$iCHp$=S;uSSrKhq%Ax^@6Q|093bKjX1SYLPB>+jpS eAv>z#`?6!pZqA>vx<;N?X!$fHC!vGIOa=hfPmM_c literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_cms_sig_algo_ecdsa_with_sha1/dac-Cert.pem b/credentials/development/commissioner_dut/struct_cd_cms_sig_algo_ecdsa_with_sha1/dac-Cert.pem new file mode 100644 index 00000000000000..b6179be052f897 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_cms_sig_algo_ecdsa_with_sha1/dac-Cert.pem @@ -0,0 +1,13 @@ +-----BEGIN CERTIFICATE----- +MIIB5DCCAYqgAwIBAgIIWYA/T0sgELIwCgYIKoZIzj0EAwIwRjEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQB +gqJ8AgIMBDgwMDAwIBcNMjIwNTEzMDAwMDAwWhgPOTk5OTEyMzEyMzU5NTlaMEYx +GDAWBgNVBAMMD01hdHRlciBUZXN0IERBQzEUMBIGCisGAQQBgqJ8AgEMBEZGRjEx +FDASBgorBgEEAYKifAICDAQ4MDAwMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE +d/29qL0KisWKa/vTr3kKf9dhZSoYffwPdAaDCC5qelTH+QlOAPJCKeLuVBysfQMH +pgw2odTi75A0yJGXIvBvlqNgMF4wDAYDVR0TAQH/BAIwADAOBgNVHQ8BAf8EBAMC +B4AwHQYDVR0OBBYEFGFMfIaAwMiUFfe1hluv40jP8KMXMB8GA1UdIwQYMBaAFJph +dBbQmGerFDhJ5jaFylHYb740MAoGCCqGSM49BAMCA0gAMEUCIQC9JeXc6M3KhBBO +kmNNQbyuDTJKLiSwIF4YP7J5k2PO9wIgBeuLPy++ubBrWnj3psam2Z+Yq3wfDRKn +liJCEsFzAjA= +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_cms_sig_algo_ecdsa_with_sha1/dac-Key.der b/credentials/development/commissioner_dut/struct_cd_cms_sig_algo_ecdsa_with_sha1/dac-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..f0669b297ea79106ee625cb52e8c814774c42d95 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1Rw~d5my&jN48C702V0vt~`mng98Jt>g02+1(<7kq4%H)1_&yK zNX|V20SBQ(13~}$gHYXg;Z|cvI60$vHc<@Q;jaiEh zMIPauZZ<*fP~_q?gA}0Wm_ucS85#exa2T)wDJDin13r)#KS&H1IE-utvLHSmix`W@ zti%$r3p3JJi&%I*GiyB+cq4zGiGe&wTA2kHgbgBDf0fGR1LfcB7jvARE^z0L;ljc? zR4NvEo|O hfvIuaU`d)u&UBjRX1_&yK zNX|V20SBQ(13~}@j357-F|jfKd7-urjEyF{rYa%~0WB zFyj^w;dVK-`zT{-`KoT0|2z55EOhvnrXV3dhE`uB{pkM=%m?> u58r0&KElnUkbOsKdY%2h22Z7j6=rkOkJPnoe)6og{h|w}c%5U)JkHs&Ff$pr8A=$4u`!3TF!S*H zCYF?>7Ab_J7MCalIC>h27znX(X|pl1Fg7i!VPfQAadUGsL=$D=VX-g(0tIniBO?P- zLt_xfz#vM3-x3H6jf{cF)Y8;43a3pjj?QRi;VmBlGjUnUX-HA{4FVbSu8{M|7kP#A1)495R;V^xKZ-aw*7Bbu+L>ydNfUDT~)iX znB>*ydoL3ss#A8DElx0qGvEORhO96n<9`+=0|o;=5RV_k0|pj*gMloF&&MLhB2u;P z80X^)s(I!IM4Q^HV{YBKIe(&oJV;uZ1sJ3aA}KXfkEz}iov^gQSK{&o!R0|!1-p@h zp4o%Jz?DgnVd=~RbK>^O2X9o0RL?)VcD-YFcyQ?7YWG})EWHhT)_!JE&T@_l{|o>FN{%rA literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_cms_sig_algo_ecdsa_with_sha256/dac-Cert.pem b/credentials/development/commissioner_dut/struct_cd_cms_sig_algo_ecdsa_with_sha256/dac-Cert.pem new file mode 100644 index 00000000000000..beed86f3486bfa --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_cms_sig_algo_ecdsa_with_sha256/dac-Cert.pem @@ -0,0 +1,13 @@ +-----BEGIN CERTIFICATE----- +MIIB5DCCAYqgAwIBAgIIUa+/awG73QcwCgYIKoZIzj0EAwIwRjEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQB +gqJ8AgIMBDgwMDAwIBcNMjIwNTEzMDAwMDAwWhgPOTk5OTEyMzEyMzU5NTlaMEYx +GDAWBgNVBAMMD01hdHRlciBUZXN0IERBQzEUMBIGCisGAQQBgqJ8AgEMBEZGRjEx +FDASBgorBgEEAYKifAICDAQ4MDAwMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE +EFnP3n8Qgh8uZudyZCkD9mJXpl0Ai/+Wmb/Dc1CgXGpqUbEZ4ra/7KgHnQMi4pYc +rnqHIxYZ1Vve6WFYe2S4NqNgMF4wDAYDVR0TAQH/BAIwADAOBgNVHQ8BAf8EBAMC +B4AwHQYDVR0OBBYEFHquxgnj0CVuN8AVgod7XNrc2Z+RMB8GA1UdIwQYMBaAFGR8 +lcYl2RWQpYBNGNPQEadSenC7MAoGCCqGSM49BAMCA0gAMEUCIQClmcCcXr0fU7Ei +WSdvza2vQYtXU1X9e0dtIGousLyt8wIgKVSFVu7vi24HOt1OI/mPWULjdsMJzpUF +2BxFTMNoL8w= +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_cms_sig_algo_ecdsa_with_sha256/dac-Key.der b/credentials/development/commissioner_dut/struct_cd_cms_sig_algo_ecdsa_with_sha256/dac-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..0ade22b7e90086e8d517df54f6c56b378c97ccd7 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R(u#zLpWKl_ZkpI8HYRz%nQXt(Y;^2kPt4|1t#Fp#7i<1_&yK zNX|V20SBQ(13~}<5LwUOe-MHnE@tO)WGMsoVppbJ0E_>YnZLtxP@r6DYEiKn;JkHs&Ff$n#7)lt3u`!3TF!S*H zCYF?>7Ab_J7MCalI64}N7znX(X|pl1Fg7i!VPfQAadUGsG*A%dH8L_VH8eH=gD44p zOCT^bG6o`3OH<1z12>#zdSW*dO_Yg;#R6n@q=7ISJJ_X6j8G>tGqN)~F|br?)iy`1 zdwiVh-6w@3TeLrJNoTAoYE$ohs%)|4{eo@&kLwHhE=;|qYV@5_=IlmDLA)%*Di0A-qyBme*a literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_cms_sig_algo_ecdsa_with_sha256/pai-Cert.pem b/credentials/development/commissioner_dut/struct_cd_cms_sig_algo_ecdsa_with_sha256/pai-Cert.pem new file mode 100644 index 00000000000000..bd237aad71abfc --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_cms_sig_algo_ecdsa_with_sha256/pai-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIB0zCCAXqgAwIBAgIIHNO7+2g/W9IwCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA1MTMw +MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowRjEYMBYGA1UEAwwPTWF0dGVyIFRlc3Qg +UEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQBgqJ8AgIMBDgwMDAw +WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAR7Kn2DWq7jxwru8iDEtCvxtGcBenKG +J43lIzi076C2T+N/cQ7QldYjMdSw0yYjYYjMWyv9gAdJokyQAcxYHJHoo2YwZDAS +BgNVHRMBAf8ECDAGAQH/AgEBMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUZHyV +xiXZFZClgE0Y09ARp1J6cLswHwYDVR0jBBgwFoAUav0idx9RH+y/FkGXZxDc3DGh +cX4wCgYIKoZIzj0EAwIDRwAwRAIgLEHiRUg+8X9xvIdDV/lZHjDa79/TyVosM8P5 +jb046RYCIATt5XR/1neaENVBpdLYwIb3DAszzN70pJiT/c8tLvn6 +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_cms_sig_algo_ecdsa_with_sha256/pai-Key.der b/credentials/development/commissioner_dut/struct_cd_cms_sig_algo_ecdsa_with_sha256/pai-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..212a8506bdaf5b6615dd432a3e9bb69c3bfb0c27 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R!O^cA{&~Mgg9#;v?DG0u!Mm#_NjG=2$^=3}@YIYz?3a1_&yK zNX|V20SBQ(13~}@1V9%<9~4u(3RFB bG1RcrCL>{p%v&q{fCovUOppQ0SR9e)+@>_A literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_cms_sig_algo_ecdsa_with_sha256/pai-Key.pem b/credentials/development/commissioner_dut/struct_cd_cms_sig_algo_ecdsa_with_sha256/pai-Key.pem new file mode 100644 index 00000000000000..a7735d190dbff8 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_cms_sig_algo_ecdsa_with_sha256/pai-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIGXEdqJrz0YBnq7iI9naAhOhJMbritLmWEF0DGfda2wNoAoGCCqGSM49 +AwEHoUQDQgAEeyp9g1qu48cK7vIgxLQr8bRnAXpyhieN5SM4tO+gtk/jf3EO0JXW +IzHUsNMmI2GIzFsr/YAHSaJMkAHMWByR6A== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_cd_cms_sig_algo_ecdsa_with_sha256/test_case_vector.json b/credentials/development/commissioner_dut/struct_cd_cms_sig_algo_ecdsa_with_sha256/test_case_vector.json new file mode 100644 index 00000000000000..43831cf8c5e8c4 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_cms_sig_algo_ecdsa_with_sha256/test_case_vector.json @@ -0,0 +1,9 @@ +{ + "description": "CD Test Vector: Valid CMS signature algorithm ECDSA_WITH_SHA256.", + "is_success_case": "true", + "dac_cert": "308201e43082018aa003020102020851afbf6b01bbdd07300a06082a8648ce3d04030230463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303020170d3232303531333030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742044414331143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303059301306072a8648ce3d020106082a8648ce3d030107034200041059cfde7f10821f2e66e772642903f66257a65d008bff9699bfc37350a05c6a6a51b119e2b6bfeca8079d0322e2961cae7a87231619d55bdee961587b64b836a360305e300c0603551d130101ff04023000300e0603551d0f0101ff040403020780301d0603551d0e041604147aaec609e3d0256e37c01582877b5cdadcd99f91301f0603551d23041830168014647c95c625d91590a5804d18d3d011a7527a70bb300a06082a8648ce3d0403020348003045022100a599c09c5ebd1f53b12259276fcdadaf418b575355fd7b476d206a2eb0bcadf3022029548556eeef8b6e073add4e23f98f5942e376c309ce9505d81c454cc3682fcc", + "pai_cert": "308201d33082017aa00302010202081cd3bbfb683f5bd2300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414131143012060a2b0601040182a27c02010c04464646313020170d3232303531333030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303059301306072a8648ce3d020106082a8648ce3d030107034200047b2a7d835aaee3c70aeef220c4b42bf1b467017a7286278de52338b4efa0b64fe37f710ed095d62331d4b0d326236188cc5b2bfd800749a24c9001cc581c91e8a366306430120603551d130101ff040830060101ff020101300e0603551d0f0101ff040403020106301d0603551d0e04160414647c95c625d91590a5804d18d3d011a7527a70bb301f0603551d230418301680146afd22771f511fecbf1641976710dcdc31a1717e300a06082a8648ce3d040302034700304402202c41e245483ef17f71bc874357f9591e30daefdfd3c95a2c33c3f98dbd38e916022004ede5747fd6779a10d541a5d2d8c086f70c0b33ccdef4a49893fdcf2d2ef9fa", + "certification_declaration": "3082010206092a864886f70d010702a081f43081f1020103310d300b0609608648016503040201305e06092a864886f70d010701a051044f152000012501f1ff360205008018250334122c04135a494732303134315a423333303030312d323424050024060025077698240800360b10140b44cabbc5016577aa8b44ffb90fcca140fe66201818317d307b020103801462fa823359acfaa9963e1cfa140addf504f37160300b0609608648016503040201300a06082a8648ce3d04030204473045022100eee5435e9f6666883e39b126cbc5fae347032a169abc55929b41e1ed68bbc40b02206bdc22977e3ffe804922e178369d67c47e86b3e4e67d87d14409177e4164936d", + "dac_private_key": "fd72be9611ad952492e6384e3708c0322806ad9831d607eaebd0ff3204d8a0fd", + "dac_public_key": "041059cfde7f10821f2e66e772642903f66257a65d008bff9699bfc37350a05c6a6a51b119e2b6bfeca8079d0322e2961cae7a87231619d55bdee961587b64b836" +} diff --git a/credentials/development/commissioner_dut/struct_cd_cms_signature/cd.der b/credentials/development/commissioner_dut/struct_cd_cms_signature/cd.der new file mode 100644 index 0000000000000000000000000000000000000000..d832ff2dee00882c22fa0ad6fc156e02b7d92b2d GIT binary patch literal 262 zcmXqLVq{|D)N1o+`_9YA&a|NMi$UW@CPrpMUIT76&V)7(##Ck&CPsregd)ZTfh_)_ z3Ji>@j357-F|jfKd7-urjEyF{rYa%~0WB zFyj^w;dVK-`zT{-`KoT0|2z55EOhvnrXV3j-G}h210CH+H8z0j7^Jbm>79j+}zv@(L|YeSS$>HKtY_>$jHFd z&=|xqFo=@iw*&%1BV!;kwKTPi!fBI>qcfVB_-%?b5N2ZsyPt^>>Jer}c4j9AmI;%t zS8ZPRTATe`!p7BXy#1%As$Dkqk9WU*J=h{~z0jQBK@-cjW}15`$A8@{ou7Ht=E}Zh z3;AxiMF^kPvEAace{q6AoBUBluCWSl$d62X+3ou9dFR&I2v3jp?N`aK^*dY;3IL1-jIRIy literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_cms_signature/dac-Cert.pem b/credentials/development/commissioner_dut/struct_cd_cms_signature/dac-Cert.pem new file mode 100644 index 00000000000000..a6c340b4c99e92 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_cms_signature/dac-Cert.pem @@ -0,0 +1,13 @@ +-----BEGIN CERTIFICATE----- +MIIB4zCCAYqgAwIBAgIIZB+UTV2XfT0wCgYIKoZIzj0EAwIwRjEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQB +gqJ8AgIMBDgwMDAwIBcNMjIwNTEzMDAwMDAwWhgPOTk5OTEyMzEyMzU5NTlaMEYx +GDAWBgNVBAMMD01hdHRlciBUZXN0IERBQzEUMBIGCisGAQQBgqJ8AgEMBEZGRjEx +FDASBgorBgEEAYKifAICDAQ4MDAwMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE +kJLXerOu6ysHzmCxqwYNj8uVJtM1T19H19dTOGGvEpz7UpF3tWk3SiNf9bMbb2nV +PNS+pqEO2EZYE8ssPbRMv6NgMF4wDAYDVR0TAQH/BAIwADAOBgNVHQ8BAf8EBAMC +B4AwHQYDVR0OBBYEFOyGGeIlsPO9fyYTwl8a63iJsiBuMB8GA1UdIwQYMBaAFFYh +h6gBCq2Mjx5KraGoPWFKy3SBMAoGCCqGSM49BAMCA0cAMEQCID2p6rJsOcjefKb4 +c62ddfEBTDgWEgE73ah0g8XHBtVYAiBp1VIo0OJntQ1TjcKAaMb9DZ1+PBOXW02P +JG99TsNwVQ== +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_cms_signature/dac-Key.der b/credentials/development/commissioner_dut/struct_cd_cms_signature/dac-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..28d71a8d5516147f0544eebe013f3be30c2be761 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R&u1_&yK zNX|V20SBQ(13~} bBVYBi8*gdVJk-9Xp$^zaSQE=EJ+w@}D#|hu literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_cms_signature/dac-Key.pem b/credentials/development/commissioner_dut/struct_cd_cms_signature/dac-Key.pem new file mode 100644 index 00000000000000..af194e828d1003 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_cms_signature/dac-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIOFDuHbLrpxlVvvP00IAuAglKVmh3FkMZh2oBT9cJyTRoAoGCCqGSM49 +AwEHoUQDQgAEkJLXerOu6ysHzmCxqwYNj8uVJtM1T19H19dTOGGvEpz7UpF3tWk3 +SiNf9bMbb2nVPNS+pqEO2EZYE8ssPbRMvw== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_cd_cms_signature/pai-Cert.der b/credentials/development/commissioner_dut/struct_cd_cms_signature/pai-Cert.der new file mode 100644 index 0000000000000000000000000000000000000000..d228555d16c801dd5b79ef1dd2332db0dcb5004f GIT binary patch literal 472 zcmXqLV!UF|#8|a}nTe5!i6dP1leW#L%{&HNY#dr`9_MUXn3)U=3?&T2*qB3En0fep z6H7``ixfgqi%S#&932fs420OYwAmP07@HQ=FfsD5xVgC*8YqbK8W|aw8X6mbL6ii) zB@h@I83U22rKx3HZ=A` z6a)&C?uq^v?6Bs%uf(ojImNxA4|K%ec$D~LFoym}3FY3d&+^OY$J!VH?n8woXDgSe zoIG3~X1wdk&BbX3DL~ILhsp{wGX7`bFkk~xOpJ^Md>}D?kQgv<7}*SDL3}c0T^Mu)=y literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_cms_signature/pai-Cert.pem b/credentials/development/commissioner_dut/struct_cd_cms_signature/pai-Cert.pem new file mode 100644 index 00000000000000..52fb00d97984bd --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_cms_signature/pai-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIB1DCCAXqgAwIBAgIIVy3yKzzyswwwCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA1MTMw +MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowRjEYMBYGA1UEAwwPTWF0dGVyIFRlc3Qg +UEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQBgqJ8AgIMBDgwMDAw +WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAQHqYCBjFhwURB1vFv+U0Csz00Yuvps +c40V4CwX7Eh0TGgBVfhkVQu3LwT6MvitXBALwnF0zXmkJMnDf1YzuuTZo2YwZDAS +BgNVHRMBAf8ECDAGAQH/AgEBMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUViGH +qAEKrYyPHkqtoag9YUrLdIEwHwYDVR0jBBgwFoAUav0idx9RH+y/FkGXZxDc3DGh +cX4wCgYIKoZIzj0EAwIDSAAwRQIgQVg1d0g/z3eEX5povioGq5dycjh3Eds+NhB/ +Q6RrYUoCIQD59OyRkyONzepimsC9srkxaFJQZyP8jo0o+kBOaj57/Q== +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_cms_signature/pai-Key.der b/credentials/development/commissioner_dut/struct_cd_cms_signature/pai-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..3c581e68891ff17a6079accf336a171b442463fd GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R(#k%YJ@ZT|H=CIc#7aoXziQLSMuk0@u!e1^r11t`eXM1_&yK zNX|V20SBQ(13~}<2dRL8j973{5Ous;{!>7#&rKM*`fPKJ72qrv>_~J>XaQCDWK|2d bF9iBB_^n(J3&L@9&3U9G$-{qEGrHv2`oA%? literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_cms_signature/pai-Key.pem b/credentials/development/commissioner_dut/struct_cd_cms_signature/pai-Key.pem new file mode 100644 index 00000000000000..6e8cdba227549b --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_cms_signature/pai-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIP+0y35+Wl09aF45bGAenM3vakJfxB0C185/Bf1JCq4SoAoGCCqGSM49 +AwEHoUQDQgAEB6mAgYxYcFEQdbxb/lNArM9NGLr6bHONFeAsF+xIdExoAVX4ZFUL +ty8E+jL4rVwQC8JxdM15pCTJw39WM7rk2Q== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_cd_cms_signature/test_case_vector.json b/credentials/development/commissioner_dut/struct_cd_cms_signature/test_case_vector.json new file mode 100644 index 00000000000000..00e8b9d2660bba --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_cms_signature/test_case_vector.json @@ -0,0 +1,9 @@ +{ + "description": "CD Test Vector: Invalid CMS Signature.", + "is_success_case": "false", + "dac_cert": "308201e33082018aa0030201020208641f944d5d977d3d300a06082a8648ce3d04030230463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303020170d3232303531333030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742044414331143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303059301306072a8648ce3d020106082a8648ce3d030107034200049092d77ab3aeeb2b07ce60b1ab060d8fcb9526d3354f5f47d7d7533861af129cfb529177b569374a235ff5b31b6f69d53cd4bea6a10ed8465813cb2c3db44cbfa360305e300c0603551d130101ff04023000300e0603551d0f0101ff040403020780301d0603551d0e04160414ec8619e225b0f3bd7f2613c25f1aeb7889b2206e301f0603551d23041830168014562187a8010aad8c8f1e4aada1a83d614acb7481300a06082a8648ce3d040302034700304402203da9eab26c39c8de7ca6f873ad9d75f1014c381612013bdda87483c5c706d558022069d55228d0e267b50d538dc28068c6fd0d9d7e3c13975b4d8f246f7d4ec37055", + "pai_cert": "308201d43082017aa0030201020208572df22b3cf2b30c300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414131143012060a2b0601040182a27c02010c04464646313020170d3232303531333030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303059301306072a8648ce3d020106082a8648ce3d0301070342000407a980818c5870511075bc5bfe5340accf4d18bafa6c738d15e02c17ec48744c680155f864550bb72f04fa32f8ad5c100bc27174cd79a424c9c37f5633bae4d9a366306430120603551d130101ff040830060101ff020101300e0603551d0f0101ff040403020106301d0603551d0e04160414562187a8010aad8c8f1e4aada1a83d614acb7481301f0603551d230418301680146afd22771f511fecbf1641976710dcdc31a1717e300a06082a8648ce3d0403020348003045022041583577483fcf77845f9a68be2a06ab977272387711db3e36107f43a46b614a022100f9f4ec9193238dcdea629ac0bdb2b9316852506723fc8e8d28fa404e6a3e7bfd", + "certification_declaration": "3082010206092a864886f70d010702a081f43081f1020103310d300b0609608648016503040201305e06092a864886f70d010701a051044f152000012501f1ff360205008018250334122c04135a494732303134315a423333303030312d323424050024060025077698240800360b10140b44cabbc5016577aa8b44ffb90fcca140fe66201818317d307b020103801462fa823359acfaa9963e1cfa140addf504f37160300b0609608648016503040201300a06082a8648ce3d040302044730450220508c3b11006d745208ebe4d8b47a5fc3150c24f449b2cf55d4059359ce68cc3b02210086ac5f4e6d3733848bc6b63efe7a31002932acc3b6d3e594d6d47dbee9fc89af", + "dac_private_key": "e143b876cbae9c6556fbcfd34200b808252959a1dc590c661da8053f5c2724d1", + "dac_public_key": "049092d77ab3aeeb2b07ce60b1ab060d8fcb9526d3354f5f47d7d7533861af129cfb529177b569374a235ff5b31b6f69d53cd4bea6a10ed8465813cb2c3db44cbf" +} diff --git a/credentials/development/commissioner_dut/struct_cd_cms_v2/cd.der b/credentials/development/commissioner_dut/struct_cd_cms_v2/cd.der new file mode 100644 index 0000000000000000000000000000000000000000..0cec6f03d80f2c74176d05816263efa954519229 GIT binary patch literal 261 zcmXqLVq|3F)N1o+`_9YA&a|NMvq9qrCPpShUIT76&V)7(##Ck&CPsregd)ZTfh_)_ z3Ji>@j357-F|jfKd7-urjEyF{rYa%~0WB zFyj^w;dVK-`zT{-`KoT0|2z55EOhvnrXV3AT_v*79{O3v@WOXSYy!p^nUzxY^ZtS(K uAAk4-Nc0Us%)FaG{?95IKEX><^ zcRey({4?d`$M?4n`rY04DNpA2Hm4)73z!m%Ik;m4S&dE;amdrTB@LIj{v|SCGr2&(If9z&g`6=tO df-bHvDOfP~OcSGKf!ADh5vf?QyKIbZ(*Y2mjpP6T literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_cms_v2/dac-Cert.pem b/credentials/development/commissioner_dut/struct_cd_cms_v2/dac-Cert.pem new file mode 100644 index 00000000000000..1548c487f67892 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_cms_v2/dac-Cert.pem @@ -0,0 +1,13 @@ +-----BEGIN CERTIFICATE----- +MIIB4zCCAYqgAwIBAgIIatD/GBMuvkkwCgYIKoZIzj0EAwIwRjEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQB +gqJ8AgIMBDgwMDAwIBcNMjIwNTEzMDAwMDAwWhgPOTk5OTEyMzEyMzU5NTlaMEYx +GDAWBgNVBAMMD01hdHRlciBUZXN0IERBQzEUMBIGCisGAQQBgqJ8AgEMBEZGRjEx +FDASBgorBgEEAYKifAICDAQ4MDAwMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE +A7cNuuIxo/lkyfHv28FO3b7ybhz79kTmubkPDqNqLdwRc5B2vrBrRR28b2huoPbn +IuoNTsETgBkeIhAfDPqV3aNgMF4wDAYDVR0TAQH/BAIwADAOBgNVHQ8BAf8EBAMC +B4AwHQYDVR0OBBYEFHKd28iQYutSi1iNOuvUwyiNwFJlMB8GA1UdIwQYMBaAFGP0 +RHvw5ZsEEGFYd/g+b0PVkLgDMAoGCCqGSM49BAMCA0cAMEQCICXfBCZ2VdugCl3q +4ki1hImTQs6kmMIA6yd5yz58BjkwAiBPXbNFH5SvalLRr3RwoJ3MggEpcEqdJxQa +XRbdBgFGlw== +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_cms_v2/dac-Key.der b/credentials/development/commissioner_dut/struct_cd_cms_v2/dac-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..debfe88c6ccaa29a59be111eb1ac216eefca4801 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R#tK%q$8WUP17$p8l1S`Ow{*(iI-F3TS*B_r=Rds|TP81_&yK zNX|V20SBQ(13~}<1Gf#j;xVK7WXbXG+rduVzVdDy`}RcUxw#JxqiQYO5p$4szOZXW b9lUR7ZlLz(BI*rJ!4rTP9wHDQ4EmMbQ6)A2 literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_cms_v2/dac-Key.pem b/credentials/development/commissioner_dut/struct_cd_cms_v2/dac-Key.pem new file mode 100644 index 00000000000000..24eccaae52b755 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_cms_v2/dac-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIIwOzCwKHV5B8K+e/pWT+dDdnNIVHrMKaHwc98XLSKsHoAoGCCqGSM49 +AwEHoUQDQgAEA7cNuuIxo/lkyfHv28FO3b7ybhz79kTmubkPDqNqLdwRc5B2vrBr +RR28b2huoPbnIuoNTsETgBkeIhAfDPqV3Q== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_cd_cms_v2/pai-Cert.der b/credentials/development/commissioner_dut/struct_cd_cms_v2/pai-Cert.der new file mode 100644 index 0000000000000000000000000000000000000000..91eb78573563f805dc1c8c41b0412bcc5434e7e7 GIT binary patch literal 472 zcmXqLV!UF|#8|a}nTe5!i9>)*{9+cdo&p5FU?8F`PG$e{MKo;NP||u)x3zx#8sXuoq5|@{%CE>k&RzA3=8bFB{WKhkTCb@I<+Qee5Kv2N#d gONl9_JMXL1AG`Jc+lv3Zr@uU4>QY?0dD8JN0F!NvdjJ3c literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_cms_v2/pai-Cert.pem b/credentials/development/commissioner_dut/struct_cd_cms_v2/pai-Cert.pem new file mode 100644 index 00000000000000..79747ac45a6290 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_cms_v2/pai-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIB1DCCAXqgAwIBAgIIEAYfyyDdug0wCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA1MTMw +MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowRjEYMBYGA1UEAwwPTWF0dGVyIFRlc3Qg +UEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQBgqJ8AgIMBDgwMDAw +WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAASF77xXt/l+9OVfaOudjCgBn6VsYGz6 +imsz7UKrFIAqUNVuWHlhqkkkiW62hPwqtmwdX6rUqLGhPImgbL/NZ1glo2YwZDAS +BgNVHRMBAf8ECDAGAQH/AgEBMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUY/RE +e/DlmwQQYVh3+D5vQ9WQuAMwHwYDVR0jBBgwFoAUav0idx9RH+y/FkGXZxDc3DGh +cX4wCgYIKoZIzj0EAwIDSAAwRQIhAIsXhx3hoNcZLxf6Vb3B8cZNZ20QFp06wA/i +LoNdQk9uAiAE3iiuuZc5GJQ1ud8kf8ba//ao/w3L9OACiiGts5LHig== +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_cms_v2/pai-Key.der b/credentials/development/commissioner_dut/struct_cd_cms_v2/pai-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..0d706d74dc4283fb233ae5d9c3bdaca0d0acfc4a GIT binary patch literal 121 zcmV-<0EYiCcLD(c1RzpR_Zw_=e8kWYXE;#G#68gv0j$v1>jv%>*-<|OPIRCO1_&yK zNX|V20SBQ(13~}@j357-F|jfKd7-urjEyF{rYa%~0WB zFyj^w;dVK-`zT{-`KoT0|2z55EOhvnrXV3I}{AbA3&2E|{_NTkd^r>(A{c{+Tya u?s=yv{4)!vj-G}h210CH+H8z0j7^Jbm>79j+}zv@(L|YeSS$>HKtY_>$jHFd z&=|xqFo=@iw*&%1BV!;kwKTPi!fBI>qcfVB_-%?b5N2ZsyPt^>>Jer}c4j9AmQwZ0 zhql}LzW;4rbT~ZdaY|59$lP2Z!BamL2ruRLoe)^I`9^{N>G?K$f~L-2tI&9n z;rYbN7J*7LzspDRElx0qGvEORhO96n<9`+=0|o;=5RV_k0|pj*gMloF&&MLhBBHb` z?^>PF>-l0&H!iIFFvY36^!-W$d62X+3ou9P_f;bP(*`I9RiE#f`-Y|F{1_A7Q2p7Z+<^n17E&)`c7)I=`;m27*oE@)Cf f`QN7OCobZilC$}G>r5a1?!WG;z0P%JpR@!3+VGJw literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_cms_v3/dac-Cert.pem b/credentials/development/commissioner_dut/struct_cd_cms_v3/dac-Cert.pem new file mode 100644 index 00000000000000..c9e47a89598d12 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_cms_v3/dac-Cert.pem @@ -0,0 +1,13 @@ +-----BEGIN CERTIFICATE----- +MIIB5TCCAYqgAwIBAgIIHiDnEYI1sxEwCgYIKoZIzj0EAwIwRjEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQB +gqJ8AgIMBDgwMDAwIBcNMjIwNTEzMDAwMDAwWhgPOTk5OTEyMzEyMzU5NTlaMEYx +GDAWBgNVBAMMD01hdHRlciBUZXN0IERBQzEUMBIGCisGAQQBgqJ8AgEMBEZGRjEx +FDASBgorBgEEAYKifAICDAQ4MDAwMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE +dSfTwrc9Te/7N3LDV1LjZFJiVJ1tEhHK+KATpQ9NkFF2s9iPXYmuDTuXbzy8UpWf +rSCB0QDnkdM4USKZ9x9ZDqNgMF4wDAYDVR0TAQH/BAIwADAOBgNVHQ8BAf8EBAMC +B4AwHQYDVR0OBBYEFCKmbtZ+MuufFuWxoXnwlEKLde+pMB8GA1UdIwQYMBaAFLXH +Pikar4NAjdaGNJyANhW0Av73MAoGCCqGSM49BAMCA0kAMEYCIQDRYbwfyajiog3J +5rTJlT+ouHHOTvBS+7s5+VPSoCYV0AIhALbirlKSUHf9gmvkRBdJGZsOjX414fuP +10UrrkWZjhsY +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_cms_v3/dac-Key.der b/credentials/development/commissioner_dut/struct_cd_cms_v3/dac-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..a4db3edb42ec75c0306eaf7d45b0b432ea1ea9cf GIT binary patch literal 121 zcmV-<0EYiCcLD(c1Rxo^rAra`@n^8P#ZOx@QM5GIP<^F!J4Rj%SO!L-rm>(31_&yK zNX|V20SBQ(13~}?eo`!{mKS5o6-Qesq{Z4wd6_@EP|4^5C!cC*-zU5Ty@ bJC|=fyi%2)tssHX0Oyg@I8h>*_a9jfITbO{ literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_cms_v3/dac-Key.pem b/credentials/development/commissioner_dut/struct_cd_cms_v3/dac-Key.pem new file mode 100644 index 00000000000000..599a32870eac3d --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_cms_v3/dac-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIBm7pUsR+PFnsLnFT1syUbQ011B9pXU7Rl4MWAZGoqaxoAoGCCqGSM49 +AwEHoUQDQgAEdSfTwrc9Te/7N3LDV1LjZFJiVJ1tEhHK+KATpQ9NkFF2s9iPXYmu +DTuXbzy8UpWfrSCB0QDnkdM4USKZ9x9ZDg== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_cd_cms_v3/pai-Cert.der b/credentials/development/commissioner_dut/struct_cd_cms_v3/pai-Cert.der new file mode 100644 index 0000000000000000000000000000000000000000..e72e1bdc289e650b25312de1dc22c1000a4cb7ce GIT binary patch literal 472 zcmXqLV!UF|#8|a}nTe5!i6g>+?@RsZb;Sl;Y#dr`9_MUXn3)U=3?&T2*qB3En0fep z6H7``ixfgqi%S#&932fs420OYwAmP07@HQ=FfsD5xVgC*8YqbK8W|aw8X6mbL6ii) zB@h@I83U22rKx3VqIGNfPPG^A-(Dv$DKe~$@4OLh h@$mRrKJ$Mfo9{9$y`(>7*5~zXD^z=9PQI~O001#0kzxP< literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_cms_v3/pai-Cert.pem b/credentials/development/commissioner_dut/struct_cd_cms_v3/pai-Cert.pem new file mode 100644 index 00000000000000..83f7ee936ebe3d --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_cms_v3/pai-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIB1DCCAXqgAwIBAgIIWEAO9H/LrnMwCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA1MTMw +MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowRjEYMBYGA1UEAwwPTWF0dGVyIFRlc3Qg +UEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQBgqJ8AgIMBDgwMDAw +WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAR83Y2hx9XrLzl0MimCT4Bauc0pl649 +cMIw+kJdoefj/ltob54P7tJ3d2XzzUZJI+y9xe9elEbmuKQP2FUvqUm7o2YwZDAS +BgNVHRMBAf8ECDAGAQH/AgEBMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUtcc+ +KRqvg0CN1oY0nIA2FbQC/vcwHwYDVR0jBBgwFoAUav0idx9RH+y/FkGXZxDc3DGh +cX4wCgYIKoZIzj0EAwIDSAAwRQIgfYc6cVZvc2mNEdoV1/MRaOHsL6B7pCral7km +6Ef262ACIQCtX4nYWzjhx80ON/4Us90CpdIvlJrzrwaoJY1cyew8oA== +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_cms_v3/pai-Key.der b/credentials/development/commissioner_dut/struct_cd_cms_v3/pai-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..08155849b3541a51ca9e65faceb58e2b59718bd8 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R(4?Qdv}HiJg4u13a%<*vHmp5+04}aPS1V=*4_)%G#g`1_&yK zNX|V20SBQ(13~}n;u03$VF#1AWq37fNTWD{d5AM=; bcV+X@j357-F|jfKd7-urjEyF{rYa%~0WB zP~~E1Fyj^w;dVK-`zT{-`KoT0|2z55EOhvnrXV3Ak4-Nc0Us%)FaG{?95IKEFvZ6 zAMMzD{|obi;^2eTb62OFb#6+_%{5PZShDh=;n&ke!n$Wq`eoG3Z~YN%dqe3r$MH=U zZ>n$Kr{W&qz$liZyEwrh&VUCP7_!2QjQ?4f3>XafKs z(kI3DrcOIc_pf14TVMR_v)~N_d62X+3ou9wWTN>@V}*X^LS9|xb462sa6jIuA1W*uJ`bqmnPKz-(}YW` e%g>ml_McB#&U;p25l8%kwUPh2&KoVrxe5SICXDj{ literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_missing_pid_present/dac-Cert.pem b/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_missing_pid_present/dac-Cert.pem new file mode 100644 index 00000000000000..ab98859efcb1bf --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_missing_pid_present/dac-Cert.pem @@ -0,0 +1,13 @@ +-----BEGIN CERTIFICATE----- +MIIB5TCCAYqgAwIBAgIIPKLZP2LwPS4wCgYIKoZIzj0EAwIwRjEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQB +gqJ8AgIMBDgwMDAwIBcNMjIwNTEzMDAwMDAwWhgPOTk5OTEyMzEyMzU5NTlaMEYx +GDAWBgNVBAMMD01hdHRlciBUZXN0IERBQzEUMBIGCisGAQQBgqJ8AgEMBEZGRjEx +FDASBgorBgEEAYKifAICDAQ4MDAwMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE +FHTP4riz3/QDoHNTwXudq2TNQ4JmbW03ZuF0qeEx9ctyEy3NyU5ofp+F+Fs92CL7 +CMey0dknt74kR1BAARZsLaNgMF4wDAYDVR0TAQH/BAIwADAOBgNVHQ8BAf8EBAMC +B4AwHQYDVR0OBBYEFAE1YvIh7zVCuXW/rAAmr3Pm8xHYMB8GA1UdIwQYMBaAFEWF +UEVirtEXa717VeR5KlfxFwwfMAoGCCqGSM49BAMCA0kAMEYCIQC+9F2IHOkMyWE3 +mTMgjwNxDS1DznKV+AvjuS9VExFXngIhAOYxW6A1YNIFp8w2ZY/PZKcNzSCiCF/g +rVn+is8yoGzV +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_missing_pid_present/dac-Key.der b/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_missing_pid_present/dac-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..a984cc91df8387c9cb5ed5fc5d4a7ed5d581c43e GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R!(pM^ajTqGrf61t&_)KTz5r?B&{o$tZ-|7sR6}FzOpH7%ZfyE gv)t}iKHM&!4xQz`yzSD*_T_fh;@E6s~j?^RY1CmiFj-Es8$3=Ry)Q57A b5$z(NtR6&}FzcDxFph@j357-F|jfKd7-urjEyF{rYa%~0WB zFyj^w;dVK-`zT{-`KoT0|2z55EOhvnrXV3*cPjk7vdt_{8NYtJF!t*nOE vXIbBfDQ8k-xE}g^_wKjrSa|QfYwNfh(lM7$>+%e~hZ4u^_U$Ps+~5rWg}_wQ literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_missing/dac-Cert.der b/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_missing/dac-Cert.der new file mode 100644 index 0000000000000000000000000000000000000000..244d7bfc8cb72c43db63f4bb5b64a1837cbc2a81 GIT binary patch literal 487 zcmXqLVtj1S#MrffnTe5!i9V&l+i^EhYA!pvmgW+-7G#>O1V!py_( zn^;nkTBHz?T3n(K;OJ>6Vj#rErOn33!q~K^hKZ4f#m&vl5KWYchsDAG2o%J5jf@OT z4UIt@1A{0DeoG)QG%^MvQ%h6JD4aIAI69-5iQlG317S9Hu=|-9p&nsoWM_6_VEMi0 z7~9%q&u0j1w=P_`#A?fLi@m`>7R2Xc5n~Zq zDN-d?wa!#4Y}31C9CFiVHqI^PF^~sIE3*KDv_a%V(xSJ$k*&KwPj(Vsye!T6vbOs% zC^PLrcil2221oG*18X?I9c;P$yR1zhtzV!D1_&yK zNX|V20SBQ(13~}<`@F^mt)}Og5Vt#Vp`<#r`!nIa(ZSd-*2vb#2LI>q5&MJx7)g0j bheW-;;GWmg+?doErLS0F0SkXzcZUhWwv{(O literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_missing/dac-Key.pem b/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_missing/dac-Key.pem new file mode 100644 index 00000000000000..48c8060f6b380f --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_missing/dac-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIGDCBI+Wdigz7UF33TIlBkfxBgNrOMAdbLn8u6xNIK1foAoGCCqGSM49 +AwEHoUQDQgAE+7zGBq2m55gQtztxoaQ6tPsz4b3Rwdgw1sjWyAb/5/AR+4P/GEl5 +UodEvb7gntfS3JjUGaWvWGEBC39cd4cJwg== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_missing/pai-Cert.der b/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_missing/pai-Cert.der new file mode 100644 index 0000000000000000000000000000000000000000..1c769f245a9a4d117a6e727962870b7d8d7a076d GIT binary patch literal 472 zcmXqLV!UF|#8|a}nTe5!i9>XPX2Sar{?!ItY#dr`9_MUXn3)U=3?&T2*qB3En0fep z6H7``ixfgqi%S#&932fs420OYwAmP07@HQ=FfsD5xVgC*8YqbK8W|aw8X6mbL6ii) zB@h@I83U22rKx3)!S+ z+EwqLKmSs5xMOjeK?=}w%%QTvjEw(TI1Jc;6cZz(0Ut<=A0!4097Z++SrDI(MT|w{ zMAD+Sy^*cEKTmcNUc4;L`LeeAF#~y!v@#1Y2pdGQ{wkHr2g<+MFXlKsUEt0g!-a)) z$U)8Q!C>IZq>ypft5qvX?6EfEEY-J55&-zNkwpLi literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_missing/pai-Cert.pem b/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_missing/pai-Cert.pem new file mode 100644 index 00000000000000..31bea54163a0d4 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_missing/pai-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIB1DCCAXqgAwIBAgIIFZApYO9UD6swCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA1MTMw +MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowRjEYMBYGA1UEAwwPTWF0dGVyIFRlc3Qg +UEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQBgqJ8AgIMBDgwMDAw +WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAASuwNx1cCOUoFOh9RIDzQZ7AoEswYXB +fkJvT3swJwpcTb5/gexJ1QeGThqqY/cY9sRutdf63rf0K3rv5+f0fMOIo2YwZDAS +BgNVHRMBAf8ECDAGAQH/AgEBMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUyGKi +7Y1Zhbvzk0ITo6ZmQ9MrR8YwHwYDVR0jBBgwFoAUav0idx9RH+y/FkGXZxDc3DGh +cX4wCgYIKoZIzj0EAwIDSAAwRQIgaN1KhSpaFuMrAZol9wnnytko6scC0q45/gsr +ztTqpn4CIQCv+oPlDaifesfQZBit/+xjS5JwRwHEraskhVXW8KBY0g== +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_missing/pai-Key.der b/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_missing/pai-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..98507a2207c8a3a9ef18f79c65273d6bbc581dd7 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R$(=tnv_tLOX5vGoH&a(Q={)k`y>F@KuxH3huamp<$p31_&yK zNX|V20SBQ(13~}@j357-F|jfKd7-urjEyF{rYa%~0WB zQ04siUzLlY!Hio#gxlrR?xT#U<*T|~{_o^Jv(VvRnu3IcVU0l*(DnwAq+dPdmrTr)%U85@rr%02`D DKZ03X literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_match/dac-Cert.der b/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_match/dac-Cert.der new file mode 100644 index 0000000000000000000000000000000000000000..0de6ac486c358fc441ab8b3df3ba10720f4f1bd5 GIT binary patch literal 487 zcmXqLVtj1S#MrffnTe5!i9j-G}h210CH+H8z0j7^Jbm>79j+}zv@(L|YeSS$>HKtY_>$jHFd z&=|xqFo=@iw*&%1BV!;kwKTPi!fBI>qcfVB_-%?b5N2ZsyPt^>>Jer}c4j9AmiB3T zKS!pC2VB{!ILoWuX;KsSbqUX0i}o}tw>R#a=T+^V@hJYP&!R5RVD>Xj8xygJuxY)!%9we>I0u0gy5sNchrUfmQO4)o?h_R}Ab=?0N2X5q` zXLe^WaA8u2wcqUTTAi|tN6<>J?*`NL8L4W=e9uNM-el?$avLJ@qs1 dq1KMqs($NN{gtUtU3?@z>ZzCGx2s}X1OOz(jrITl literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_match/dac-Cert.pem b/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_match/dac-Cert.pem new file mode 100644 index 00000000000000..194a33a695b9a8 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_match/dac-Cert.pem @@ -0,0 +1,13 @@ +-----BEGIN CERTIFICATE----- +MIIB4zCCAYqgAwIBAgIIL2kTwFJl2V8wCgYIKoZIzj0EAwIwRjEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQB +gqJ8AgIMBDgwMDAwIBcNMjIwNTEzMDAwMDAwWhgPOTk5OTEyMzEyMzU5NTlaMEYx +GDAWBgNVBAMMD01hdHRlciBUZXN0IERBQzEUMBIGCisGAQQBgqJ8AgEMBEZGRjEx +FDASBgorBgEEAYKifAICDAQ4MDAwMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE +h5a981lmF1DUvSGaSodCkoIL1xhJbTiHZjpG7Eeznnq7mOJf1UyiiklTB8xmBGCl +CvWOYhOHBuKVazShKfD2oaNgMF4wDAYDVR0TAQH/BAIwADAOBgNVHQ8BAf8EBAMC +B4AwHQYDVR0OBBYEFPgwlK+pBJV52h44H5yyRhzwwaM0MB8GA1UdIwQYMBaAFDjM +tJZSoxpks80SAXp7q17/fEALMAoGCCqGSM49BAMCA0cAMEQCIF0/s09Fe2SmDBE6 +EY7YAteYZSbGTc1Zo7I1RFTAWOWjAiBworHn7cr5buEquOslTq+q/Rx/ZaPEb1rl +SkH21Ra0EA== +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_match/dac-Key.der b/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_match/dac-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..8ab8f6ffe083941a70e8f896313012c5fe50ccc9 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R!}QG0>JPk~~&E0P_=NAbpjj?^L0ecHAcSk=x4RjxeAK1_&yK zNX|V20SBQ(13~}RW&~iR3iXa+6Nd)km1{JiDe(58PslR& literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_match/dac-Key.pem b/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_match/dac-Key.pem new file mode 100644 index 00000000000000..bf83136887f946 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_match/dac-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIHknMdCWK5I8Vj4A8xNlIH2VpO9UoZd23Cb3kdvK4o4woAoGCCqGSM49 +AwEHoUQDQgAEh5a981lmF1DUvSGaSodCkoIL1xhJbTiHZjpG7Eeznnq7mOJf1Uyi +iklTB8xmBGClCvWOYhOHBuKVazShKfD2oQ== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_match/pai-Cert.der b/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_match/pai-Cert.der new file mode 100644 index 0000000000000000000000000000000000000000..ae2214f17a57a9559224d7a614da46d2278bc906 GIT binary patch literal 472 zcmXqLV!UF|#8|a}nTe5!i9@?GT;a*vcD zuHm?Jd-JuRzh^J9)l9!GpHd{M!Ew;CdurpN$2+_jCGsmv*RMbDa9+~7%G3LgxL-+L z`RuSwj+L+6{F=pS1}Q+#F^9?uGcx{X;V@tWQcR4D27DkfevlY2a2VMPWI=pB7BLnP zi!)oM1ud3J*?d-rv8sA?-2WN}ZUcFcv@#1Y2pdGQ{wkHr2g<+MFXlKsUEt0g!-a)) z$U)8Q!C>IZq@cdtrd{swo@L*fne`$+D*t}BH2=q14yMBfCJyIR>vm6IQe@b*uTF77 hfQ8GV`w~uv@7`nBG+98BQ~A&>``a_k3tnW+0sxL_iwgh% literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_match/pai-Cert.pem b/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_match/pai-Cert.pem new file mode 100644 index 00000000000000..a9c9f9449216a8 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_match/pai-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIB1DCCAXqgAwIBAgIIK3lXIPSYT5MwCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA1MTMw +MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowRjEYMBYGA1UEAwwPTWF0dGVyIFRlc3Qg +UEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQBgqJ8AgIMBDgwMDAw +WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAATwFy9vHDGsCNLbs9ZS/c3RBnyX1x9k +chUoCME5i5WBouO4SgEYb3l1r6/A4Z5irnnLv8RH1GOp5sM8bDpNHp98o2YwZDAS +BgNVHRMBAf8ECDAGAQH/AgEBMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUOMy0 +llKjGmSzzRIBenurXv98QAswHwYDVR0jBBgwFoAUav0idx9RH+y/FkGXZxDc3DGh +cX4wCgYIKoZIzj0EAwIDSAAwRQIgJ7c8hx7jvKb2gwMuWfEj++6lb/itCALDMDRA +ziV+u5ACIQC6vn4hkFA4RKLfGELD3d4AspMQGQkjwto/25k3cOhqmg== +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_match/pai-Key.der b/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_match/pai-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..88efe1bc074e5f4fb0320543938e58fca7408707 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R$e_HA!?t&j`dj1UuVNv?42F1``LoeBcmoZrUrECN-c61_&yK zNX|V20SBQ(13~}<@E0#{95Jj2(%ZAvQvJ=*27H&-A7pYBC@j357-F|jfKd7-urjEyF{rYa%~0WB zQ03%kP~~FyZ^kVk!tHWu_ff{w@>Sg~|9A4AS?KUDO+iA!u-2d&XnTW5(yu1t$Th!K zPP3EwCBk+0E6eA?1XLGsv2g&Mea@DJnTf^Sz?DgXT~PZy`?Y$Fr!(r=8lV3+7M&@_ zr_kljzq@(i$u(iBy-bP>XTAk4-Nc0Us%)FaG{?95IKEZw}H zzSYa+>!hL!y>_rPkRnW&36?qbZ`?eQ*&m<^1_&yK zNX|V20SBQ(13~}j*f;R210CH+H8z0j7^Jbm>79j+}zv@4HU$Ajf@OT4UG-JAWDMY z5(o^9jDg71($q4_zzwIFp4iPq6J_FIu>hGJX&}tT4t6OMBh<;vjO@%#3@kqTzdfk` zb@XP{+^6-DGU>ncRjkupPV1hMSt)w3I=w5=>>XqB?kF8^ZHDVB=49OXm1mG`dMtY8 zuENeg_9_J|*B7T5qyRm~94af!$oQXy!+;G)F)=b4@PWkmL1MtbVPrFq1@ZY<#8^b0 znQ8{}IiJvb`u=L|kB#$>vS(WQ8OVdAm05s6*dUViSE*b+Q2xz+F~{lY0(b5hE-b7= z4r*q11_Ku+1tzAb*S`~;RFqtm@2@-AsC3H3Fg$*4_NwB_M*``0$2Ds$C(!=v%f_tZYs7f7CEJ*Q~)Vp#wv#E4G- literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_pid_mismatch/pai-Cert.pem b/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_pid_mismatch/pai-Cert.pem new file mode 100644 index 00000000000000..39c039cb3820c3 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_pid_mismatch/pai-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIB0zCCAXqgAwIBAgIINAseX9srVKQwCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA1MTMw +MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowRjEYMBYGA1UEAwwPTWF0dGVyIFRlc3Qg +UEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQBgqJ8AgIMBDgwMDAw +WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAARMv/bgf/rF2Xqd5X8ZHGf6LyQ7Z0TL +LcocqRXBe2eKYTbuAWO7WixLKwDXqJxo2PpuMGs1xluZunGJ/D8kcATXo2YwZDAS +BgNVHRMBAf8ECDAGAQH/AgEBMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQU5jUp +Uw5DyC7l79V9+LGfxQdpOU4wHwYDVR0jBBgwFoAUav0idx9RH+y/FkGXZxDc3DGh +cX4wCgYIKoZIzj0EAwIDRwAwRAIgAgJa6/thQiQiRSPfrsmBIspEMVdfnWuqc3ni +EGfcH/4CIAcL4OwMS3Oii2FW1QN6rzHFX+e8feUvEGOaO5xym6Md +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_pid_mismatch/pai-Key.der b/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_pid_mismatch/pai-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..66c2596447eb539af405a667de810965500cd0b2 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1Ry2uq=NGubvtgZmbr7y?4Ar3)2RNIg6X8P>2wF?8&RMN1_&yK zNX|V20SBQ(13~}M9VG89H|w-duNJaHtqpqyIL$u bD*)H1oM_nkZZK;###@=Xaf$ptBya@Rj$1YG literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_pid_mismatch/pai-Key.pem b/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_pid_mismatch/pai-Key.pem new file mode 100644 index 00000000000000..8cf3ee29b48910 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_pid_mismatch/pai-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEICXupILzHXU7bq6WuXPN7J4MFtOo/paC6aSy6XQH5htRoAoGCCqGSM49 +AwEHoUQDQgAETL/24H/6xdl6neV/GRxn+i8kO2dEyy3KHKkVwXtnimE27gFju1os +SysA16icaNj6bjBrNcZbmbpxifw/JHAE1w== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_pid_mismatch/test_case_vector.json b/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_pid_mismatch/test_case_vector.json new file mode 100644 index 00000000000000..1f852b14881286 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_pid_mismatch/test_case_vector.json @@ -0,0 +1,9 @@ +{ + "description": "CD Test Vector: The dac_origin_vendor_id and dac_origin_product_id fields present and the PID value doesn't match the PID found in the DAC Subject DN.", + "is_success_case": "false", + "dac_cert": "308201e43082018aa00302010202080a512e939a8ce008300a06082a8648ce3d04030230463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303020170d3232303531333030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742044414331143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303059301306072a8648ce3d020106082a8648ce3d030107034200048b0df2f67f1c2e94766eaf04edc6a3959eeec1b94507caf5fd4ccbda03b952b7dc20ed7d51bfef77e0da39267434407de210a737eda5bf7533aa0eb844394c86a360305e300c0603551d130101ff04023000300e0603551d0f0101ff040403020780301d0603551d0e041604147b32f752f935bd7c1e995bdd45853ac8acf7c002301f0603551d23041830168014e63529530e43c82ee5efd57df8b19fc50769394e300a06082a8648ce3d040302034800304502200e811c031ab30966fca4e5f422ae1f54376d7191b760cf9e918ed13eb851d2be022100e28e44e263ae95d1b682e33a42f5b0727f0ca9f804a1a59dc203e649fa8a8257", + "pai_cert": "308201d33082017aa0030201020208340b1e5fdb2b54a4300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414131143012060a2b0601040182a27c02010c04464646313020170d3232303531333030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303059301306072a8648ce3d020106082a8648ce3d030107034200044cbff6e07ffac5d97a9de57f191c67fa2f243b6744cb2dca1ca915c17b678a6136ee0163bb5a2c4b2b00d7a89c68d8fa6e306b35c65b99ba7189fc3f247004d7a366306430120603551d130101ff040830060101ff020101300e0603551d0f0101ff040403020106301d0603551d0e04160414e63529530e43c82ee5efd57df8b19fc50769394e301f0603551d230418301680146afd22771f511fecbf1641976710dcdc31a1717e300a06082a8648ce3d0403020347003044022002025aebfb614224224523dfaec98122ca4431575f9d6baa7379e21067dc1ffe0220070be0ec0c4b73a28b6156d5037aaf31c55fe7bc7de52f10639a3b9c729ba31d", + "certification_declaration": "3082010a06092a864886f70d010702a081fc3081f9020103310d300b0609608648016503040201306606092a864886f70d010701a0590457152000012501f1ff360205008018250334122c04135a494732303134315a423333303030312d32342405002406002507769824080025090880250a00ff360b10140b44cabbc5016577aa8b44ffb90fcca140fe66201818317d307b020103801462fa823359acfaa9963e1cfa140addf504f37160300b0609608648016503040201300a06082a8648ce3d04030204473045022007112bef07d67f28e5987f0681e7ff3315991e0e208a470fbb83a1c9ac56258d022100cc173ee88366038a3fbbee34323eda9e8796f66df5d0f12bae0bffa76b9bbb36", + "dac_private_key": "48f45fea674c3491909aeba4a20bbd76b03490224c98099639f66fdc3c91d91f", + "dac_public_key": "048b0df2f67f1c2e94766eaf04edc6a3959eeec1b94507caf5fd4ccbda03b952b7dc20ed7d51bfef77e0da39267434407de210a737eda5bf7533aa0eb844394c86" +} diff --git a/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_vid_mismatch/cd.der b/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_vid_mismatch/cd.der new file mode 100644 index 0000000000000000000000000000000000000000..e15bcf7089181e2e8822f03eadc424d21204b4b8 GIT binary patch literal 271 zcmXqLV&rDy)N1o+`_9YA&a|NMuR-H4CPrpMUIUSQ#25RGCeLbXbI=Jl%~93{4E9oQ#bP3=9l)jZ9Qn8C2L9RN2dBsBkc- za&k1Naxwfj;}#I%b~&~CC}V2*s&1G6JNeHnboiI1AR%E`XHWyQy+I`DSCet%nqMoY z*~$D8;kx^k<#S;Is*AYTIDpPRXUoFO#NuJ##-zxwM0uUf#6z`VS2$(YTv_=2W^wV) zGs53rPhYrN+~#w^q!gf%i<`ttDjQDzf7Ij-G}h210CH+H8z0j7^Jbm>79j+}zv@(L|YeSS$>HKtY_>$jHFd z&=|xqFo=@iw*&%1BV!;kwKTPi!fBI>qcfVB_-%?b5N2ZsyPt^>>Jer}c4j9A7FBWW zWsFZP*DD=R{rWCaFv=#e!z-_JfrZ5pGtXJ z>wFO|k#vRnc=b08ixUju40wQnAuG(t_@9NzfWd$d#N!9?fPux{U?2)^Vxw9{PpYOVB(mS%%g?ozMIvrjHs fhqV`0d}8R4n*Jo*GtTH?tNGVSJV`SqA5{hbdpnTD literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_vid_mismatch/dac-Cert.pem b/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_vid_mismatch/dac-Cert.pem new file mode 100644 index 00000000000000..3a9a2f6311b374 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_vid_mismatch/dac-Cert.pem @@ -0,0 +1,13 @@ +-----BEGIN CERTIFICATE----- +MIIB5DCCAYqgAwIBAgIIZvUWJmJPJuIwCgYIKoZIzj0EAwIwRjEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQB +gqJ8AgIMBDgwMDAwIBcNMjIwNTEzMDAwMDAwWhgPOTk5OTEyMzEyMzU5NTlaMEYx +GDAWBgNVBAMMD01hdHRlciBUZXN0IERBQzEUMBIGCisGAQQBgqJ8AgEMBEZGRjEx +FDASBgorBgEEAYKifAICDAQ4MDAwMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE +JRcrpgHlOa8iwCX17lkRWjxhdMHDxOTbZHDlv3w5fUOh96oHFBWoLo2ulajTmHHk +TiR3ZoWfFAoUZyB/XyfsgKNgMF4wDAYDVR0TAQH/BAIwADAOBgNVHQ8BAf8EBAMC +B4AwHQYDVR0OBBYEFPTUaQ2L83aRP/xiYfQZM8Q6XPvRMB8GA1UdIwQYMBaAFHgB +wEBGn+ekZQPSg36fnJcnI5fhMAoGCCqGSM49BAMCA0gAMEUCIQCw0tR3AO8b+TP3 +dy0epqTcvle+Ta7WG7hrJxOMc+1CxwIgbo79w7/fJOF90KjyAIwal+RXSV4y4YU3 +9ZIMYpiTxSM= +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_vid_mismatch/dac-Key.der b/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_vid_mismatch/dac-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..6750824aaf7b6f2974730c46f62520cfca45cc4e GIT binary patch literal 121 zcmV-<0EYiCcLD(c1Rwx~?@4TRr@<`L&@sb5TE$Fnszs-x?e&ukg+SK?X?LIs1_&yK zNX|V20SBQ(13~}6cwm0 bjjolb)0lDOP9%3`g`X4(6lWlRUnlHj*f;R210CH+H8z0j7^Jbm>79j+}zv@4HU$Ajf@OT4UG-JAWDMY z5(o^9jDg71($q4_zzwIFp4iPq6J_FIu>hGJX&}tT4t6OMBh<;vjO@%#3@qPMxUWZ> z#3$&g&O3hS{ETj^hPuMjuVva|nZ*yuf0MiC`e$+X|GNwCGu}MyGRNcygUQ=&jjGv4 zkBD`@T9PI)Q*m*cK?=}w%%QTvjEw(TI1Jc;6cZz(0Ut<=A0!4097Z++SrDI(MT|wH zg7JWZ+x+KCQkgF`*Ug_ZU0r$lLj!q`v@#1Y2pdGQ{wkHr2g<+MFXlKsUEt0g!-a)) z$U)8Q$zb5dq{#3@{JqSNge{-eJr2~1_&yK zNX|V20SBQ(13~}<_hbv#TQpx_EhV1E!q1qCI)Hw0%j+D5T>}@wANC&JMf{_S|J|YA b0olt$oHWD$H0_HhdYi?>7K`enW*C_vOA9m9 literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_vid_mismatch/pai-Key.pem b/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_vid_mismatch/pai-Key.pem new file mode 100644 index 00000000000000..4a3c5fb4d648e7 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_vid_mismatch/pai-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIM4/RxmHxCsDzF3g2JSdMAvoZV94b9yhO9lknRRhOH0soAoGCCqGSM49 +AwEHoUQDQgAE92QL11s0X2AtJZ7Hws+YizqAfnHL6xyGXQMXwh/2Ht5F/KOL/92h +3wHZy0ScNMQANO2LKHqbxcQWi+qkZhiZIQ== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_vid_mismatch/test_case_vector.json b/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_vid_mismatch/test_case_vector.json new file mode 100644 index 00000000000000..5b2f3d761346a1 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_pid_present_vid_mismatch/test_case_vector.json @@ -0,0 +1,9 @@ +{ + "description": "CD Test Vector: The dac_origin_vendor_id and dac_origin_product_id fields present and the VID value doesn't match the VID found in the DAC Subject DN.", + "is_success_case": "false", + "dac_cert": "308201e43082018aa003020102020866f51626624f26e2300a06082a8648ce3d04030230463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303020170d3232303531333030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742044414331143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303059301306072a8648ce3d020106082a8648ce3d0301070342000425172ba601e539af22c025f5ee59115a3c6174c1c3c4e4db6470e5bf7c397d43a1f7aa071415a82e8dae95a8d39871e44e247766859f140a1467207f5f27ec80a360305e300c0603551d130101ff04023000300e0603551d0f0101ff040403020780301d0603551d0e04160414f4d4690d8bf376913ffc6261f41933c43a5cfbd1301f0603551d230418301680147801c040469fe7a46503d2837e9f9c97272397e1300a06082a8648ce3d0403020348003045022100b0d2d47700ef1bf933f7772d1ea6a4dcbe57be4daed61bb86b27138c73ed42c702206e8efdc3bfdf24e17dd0a8f2008c1a97e457495e32e18537f5920c629893c523", + "pai_cert": "308201d53082017aa00302010202086821460f922c83fc300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414131143012060a2b0601040182a27c02010c04464646313020170d3232303531333030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303059301306072a8648ce3d020106082a8648ce3d03010703420004f7640bd75b345f602d259ec7c2cf988b3a807e71cbeb1c865d0317c21ff61ede45fca38bffdda1df01d9cb449c34c40034ed8b287a9bc5c4168beaa466189921a366306430120603551d130101ff040830060101ff020101300e0603551d0f0101ff040403020106301d0603551d0e041604147801c040469fe7a46503d2837e9f9c97272397e1301f0603551d230418301680146afd22771f511fecbf1641976710dcdc31a1717e300a06082a8648ce3d0403020349003046022100e417ef1cf860b4f3bca9784bf7108fefc245b30405cf8f03594f824fa7b6b4e10221008b4349afa2ac3b790dbb3a0f2cd4a87f801c2aff82f2bca58fafc16c0cf089ba", + "certification_declaration": "3082010b06092a864886f70d010702a081fd3081fa020103310d300b0609608648016503040201306606092a864886f70d010701a0590457152000012501f1ff360205008018250334122c04135a494732303134315a423333303030312d32342405002406002507769824080025090880250a00ff360b10140b44cabbc5016577aa8b44ffb90fcca140fe66201818317e307c020103801462fa823359acfaa9963e1cfa140addf504f37160300b0609608648016503040201300a06082a8648ce3d04030204483046022100a423ae3c91c27d56d4091dacd4a1f7d97373f9cc13f7eb97a1ab173cf3709264022100d1b217747980c9ffe28b451d75608f6ff000a2c29e0aabb478ffa473c727604a", + "dac_private_key": "0085ef496c75a7c12cd4d031c33f5ac54c6faa45a7a3edf5930c8540d7046977", + "dac_public_key": "0425172ba601e539af22c025f5ee59115a3c6174c1c3c4e4db6470e5bf7c397d43a1f7aa071415a82e8dae95a8d39871e44e247766859f140a1467207f5f27ec80" +} diff --git a/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_present_pid_missing/cd.der b/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_present_pid_missing/cd.der new file mode 100644 index 0000000000000000000000000000000000000000..9b1a87d2b166303f510d8fbc385e5d2e15441b95 GIT binary patch literal 266 zcmXqLVq|0E)N1o+`_9YA&a|NMhe6|4CPrpMUIT76&V)7(##Ck&CPsrKgd)ZTp)A3o z3Ji>@j357-F|jfKd7-urjEyF{rYa%~0WB zP~`+_;1&?!b~&~CC}V2*s&1G6JNeHnboiI1AR%E`Yfufexj`i9SCet%nqMoY*~$D8 z;kx^k<#S;Is%yB|IDk$*XUoFO#Nuw?%A~+r+k3{cy7c;Uzwq*{Np&up6fI%`=1w#` yU%Qx__q^;+CPjuPo5L>i&fPqbch{-)7ear2o%Ak4-Nc0Us%)FaG{?95IKEbA({ zom(qh4&2{5&%f$VP~K^~19rGvEORhO96n<9`+=0|o;=5RV_k0|pj*gMloF&&MLhBJw>q z`|a-Oe-~C3n3{L)X`L|hp~eLRd62X+3ou9$RY2}}yQaXi9n6ROp$ dPx{_{@8;dwp7!(Nt*U&nx#i2weRMv!1^|x!k+T2* literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_present_pid_missing/dac-Cert.pem b/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_present_pid_missing/dac-Cert.pem new file mode 100644 index 00000000000000..026286ddb0de3b --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_present_pid_missing/dac-Cert.pem @@ -0,0 +1,13 @@ +-----BEGIN CERTIFICATE----- +MIIB4zCCAYqgAwIBAgIITpeKQOtSc8gwCgYIKoZIzj0EAwIwRjEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQB +gqJ8AgIMBDgwMDAwIBcNMjIwNTEzMDAwMDAwWhgPOTk5OTEyMzEyMzU5NTlaMEYx +GDAWBgNVBAMMD01hdHRlciBUZXN0IERBQzEUMBIGCisGAQQBgqJ8AgEMBEZGRjEx +FDASBgorBgEEAYKifAICDAQ4MDAwMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE +rnkLQ4V4RMDftZ5PevxSbss+Y+hxvEn9yqxy0vxkPzRpRw/NSUX5KIIejctMD0xG +gVWdcZd8zyvNWUX0+dDSqaNgMF4wDAYDVR0TAQH/BAIwADAOBgNVHQ8BAf8EBAMC +B4AwHQYDVR0OBBYEFPdta+27l/2heXA1N4m8hZCZ4SjQMB8GA1UdIwQYMBaAFBUR +JJg6Ho/F9wBFtXhhybLuHekiMAoGCCqGSM49BAMCA0cAMEQCIC8lAPU1eoExnm9C +Vh4NKs/z03aldtF8FKk4gNNU+GqQAiAtXgwTrWB7JjvJTd3vRkuFh2b50dp6bxad +d6bO8UPBrA== +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_present_pid_missing/dac-Key.der b/credentials/development/commissioner_dut/struct_cd_dac_origin_vid_present_pid_missing/dac-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..d80533ec35184c45fd57898d02186d15e863ee52 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1RyXaE@qxHI>lfo2|b_-3kIJ!p5SjdN)fpwjc>JlHtwJb1_&yK zNX|V20SBQ(13~}6mZp|b25vab^u%r^nkW+wiv`H+NCROucCbsC7@{dnYzjqX_m9@+QPdQChW zGA^41Il0aVKejl{AO+|-=1^H-M#ldv90qJaiiwfYfDa_b4-x|g4kMd^EQrs?BE}*j zDyTBUO0NItcLvw36^SP|y_0>ZWFQZcR%QVPVS`B4U!`*SK>0WO#T=)n3*5P5xUjGe zIjEUE7z|vQ6m%DaTjj4h;!r*-;^5S$d3zi-{Er9?IB2?d(LRZ}->$p#nUPx(t|Xm%-jFH@?0 b@x;tLEzKYd9q*QnG)O>b(>78@j357-F|jfUR0RlmE;@hkt1b5)y`W1~ou?8$^ePt~WPnO$rl(rWxG2S2xA^1VX?IGlJMI2(tl09<;Z(cq4^FvX_5%P~C|H32 literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_device_type_id_mismatch/dac-Cert.der b/credentials/development/commissioner_dut/struct_cd_device_type_id_mismatch/dac-Cert.der new file mode 100644 index 0000000000000000000000000000000000000000..afb64f2da0729ef69664cb215be0dda5b85f8a25 GIT binary patch literal 487 zcmXqLVtj1S#MrffnTe5!iNmVF;-j-G}h210CH+H8z0j7^Jbm>79j+}zv@(L|YeSS$>HKtY_>$jHFd z&=|xqFo=@iw*&%1BV!;kwKTPi!fBI>qcfVB_-%?b5N2ZsyPt^>>Jer}c4j9AmZdum zn;tUUb!2zft?au^O2(4TA9sXj|BI2ByTQ_KJ=bNawzW6Z?l&E|=9!keF81$>$<4`J zSE4&R?oZX02yp%Va&dw|oBm6k)SKD>_6+82U);*YA&x0KF z%ZE=&r=v#MV|IinHr=aBRK64se_T~6`uqzU$>=ce`lo^UoME~%htrrpLj0GgVO-~a#s literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_device_type_id_mismatch/dac-Cert.pem b/credentials/development/commissioner_dut/struct_cd_device_type_id_mismatch/dac-Cert.pem new file mode 100644 index 00000000000000..a808423c9504e6 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_device_type_id_mismatch/dac-Cert.pem @@ -0,0 +1,13 @@ +-----BEGIN CERTIFICATE----- +MIIB4zCCAYqgAwIBAgIIOoA42SdJRPowCgYIKoZIzj0EAwIwRjEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQB +gqJ8AgIMBDgwMDAwIBcNMjIwNTEzMDAwMDAwWhgPOTk5OTEyMzEyMzU5NTlaMEYx +GDAWBgNVBAMMD01hdHRlciBUZXN0IERBQzEUMBIGCisGAQQBgqJ8AgEMBEZGRjEx +FDASBgorBgEEAYKifAICDAQ4MDAwMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE +pbjDNcIxusS7itpr3YIiMxlD8bhXa/5cGJ2wOT6vCtMahq3YJt+CxNZJZm2uXf3o +k4NjCtRbiYjflSsYUEX76aNgMF4wDAYDVR0TAQH/BAIwADAOBgNVHQ8BAf8EBAMC +B4AwHQYDVR0OBBYEFDNaSyTXKP3VFRF3ZXfKWlizSGpuMB8GA1UdIwQYMBaAFMPI +Xa9BHXmrPotOc0MMVX7gm38MMAoGCCqGSM49BAMCA0cAMEQCIHOae+vkzChY/MJD +n3QFmd1Eyg+5DAg5PQde3kBNZ+VfAiAiWrYW7x5l1961FTRcZhGNZ21mj/uQzVxe +YnCCmT6x7A== +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_device_type_id_mismatch/dac-Key.der b/credentials/development/commissioner_dut/struct_cd_device_type_id_mismatch/dac-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..50ad4167043cc7b45ed8ad528daf0beab6466b84 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1RxUU%d8siQ9C!=A~`+w*nPU)gOc0C9g+H(C9_#F)%u_c1_&yK zNX|V20SBQ(13~}=KCcSX8iuXdCf|a@ b)=6eFg+8%#+kBp e!8Z*dvD*tSv1_>1nY>OEn>4H0z2K9ITn7LgSBG8z literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_device_type_id_mismatch/pai-Cert.pem b/credentials/development/commissioner_dut/struct_cd_device_type_id_mismatch/pai-Cert.pem new file mode 100644 index 00000000000000..0853616fac9e3b --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_device_type_id_mismatch/pai-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIB0zCCAXqgAwIBAgIIYB85njKWyDEwCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA1MTMw +MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowRjEYMBYGA1UEAwwPTWF0dGVyIFRlc3Qg +UEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQBgqJ8AgIMBDgwMDAw +WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAQlJRmqiOrzsEVd0hP9mffouYgo4LDk +3U1O8SagrIEIj9RV0fBmf5g8q+swT1tCNRDoZoJMTBDrXD1dO1mHQoVjo2YwZDAS +BgNVHRMBAf8ECDAGAQH/AgEBMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUw8hd +r0Edeas+i05zQwxVfuCbfwwwHwYDVR0jBBgwFoAUav0idx9RH+y/FkGXZxDc3DGh +cX4wCgYIKoZIzj0EAwIDRwAwRAIgQJ6bbnfwYBNkT+GYdQmupAwyHFY+oKzuCdgy +iZkA9fMCIDXMUAYJZLWg9igSFtug0gcoRn4062EWkpqDR3DyJB6I +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_device_type_id_mismatch/pai-Key.der b/credentials/development/commissioner_dut/struct_cd_device_type_id_mismatch/pai-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..c7c01c72c2d8457ea0a2817b7ebffebeb790b05e GIT binary patch literal 121 zcmV-<0EYiCcLD(c1RzTbh;$_bK&V+{UjA~i{=iE0!xCGv8-J4}=?ezUHD{m-1_&yK zNX|V20SBQ(13~}u;krMPVpw7tbquR)K$^&W`CGG btLrdNTS7Gu=w^aUOc3i_JzYClheCy8UF9o|9$xnT(RY*f_M>JkHs&Ff$pr8A=$4u`!3TF!S*H zCYF?>7Ab_J7MCalIC>h27znX(X|pl1Fg7i!VPfQAadUGsL=$D=VX-g(0tIniBO?P- zLt_xfz#vM3-x3H6jf{cF)Y8;43a3pjj?QRi;tP~d!TblKIp{J4sj!KR6E bMSAQdh3OFOU^hvWDuqj*f;R210CH+H8z0j7^Jbm>79j+}zv@4HU$Ajf@OT4UG-JAWDMY z5(o^9jDg71($q4_zzwIFp4iPq6J_FIu>hGJX&}tT4t6OMBh<;vjO@%#3@kr>sV?39 zPNvNJx(aXMDy8d>)Q(JNJNc?Ct|M1si4;%8HhI2%5-V&%?(EHz3skcF%V{}lOQNSs zhWFWBM@qJH87)pTNCA3|IaF4dk?}tZhXEUqVq#=8-~);AgT#P=!^mbJ3*z&!h_Q%# z+5PfPm228ghV0WO#T=)n3*5P5xUjGe zIjEW484O&Q6ojX6f4jD=EdQfUNu%(@;$_J8PW+~`V$si!2D+i%wzgNN3)p*E??(Jqzby_b&QWd`6%O1_&yK zNX|V20SBQ(13~}<`1&QKyY3uzOV=a~ajGKM;wHqG2FdDnUWjcNq#6u(wjU0@7^pl{ b+`VodQ6f402|1dyVM#=2OU=5(bhipJZ}c&b literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_device_type_id_missing/pai-Key.pem b/credentials/development/commissioner_dut/struct_cd_device_type_id_missing/pai-Key.pem new file mode 100644 index 00000000000000..1c5bb49fe60bb7 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_device_type_id_missing/pai-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIAEvsBvl36qxuHWpklcmGIbbuNc7bxY9C+dh9y76VHxGoAoGCCqGSM49 +AwEHoUQDQgAE+PolpbvuHHZL1yQNcaoi1+ImxJcGyep2XohtGKQaDHi2Hw6+GKg8 +VNy9bh5RIjn9CTmatGFJRGhLzbrEdLcKMg== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_cd_device_type_id_missing/test_case_vector.json b/credentials/development/commissioner_dut/struct_cd_device_type_id_missing/test_case_vector.json new file mode 100644 index 00000000000000..1ffe8542d6647b --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_device_type_id_missing/test_case_vector.json @@ -0,0 +1,9 @@ +{ + "description": "CD Test Vector: The device_type_id field is missing.", + "is_success_case": "false", + "dac_cert": "308201e43082018aa003020102020821ccd1d046e67e6c300a06082a8648ce3d04030230463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303020170d3232303531333030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742044414331143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303059301306072a8648ce3d020106082a8648ce3d03010703420004e5496d6a86816d2484e6f7308849af4de80276d2764d177e84bd76dd10b0021bfcb88a97c1a68971457aec2585e910ed603749942a8554dfa29c1a96447869b0a360305e300c0603551d130101ff04023000300e0603551d0f0101ff040403020780301d0603551d0e04160414a64fa336afc828df46a25eb819355d8715307b64301f0603551d23041830168014f4bbe9dc7a4566b90067fbb048e1c74b316d9e62300a06082a8648ce3d0403020348003045022100fde9944bc7be1591c8b65b6699c9391e3d73f356aac1953afe58c5a08ccd0af602207af774c790139ebed7d79dc089945085aefbe06cb9edc6646d8b946997bd4535", + "pai_cert": "308201d33082017aa0030201020208261c54c1a4392f72300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414131143012060a2b0601040182a27c02010c04464646313020170d3232303531333030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303059301306072a8648ce3d020106082a8648ce3d03010703420004f8fa25a5bbee1c764bd7240d71aa22d7e226c49706c9ea765e886d18a41a0c78b61f0ebe18a83c54dcbd6e1e512239fd09399ab4614944684bcdbac474b70a32a366306430120603551d130101ff040830060101ff020101300e0603551d0f0101ff040403020106301d0603551d0e04160414f4bbe9dc7a4566b90067fbb048e1c74b316d9e62301f0603551d230418301680146afd22771f511fecbf1641976710dcdc31a1717e300a06082a8648ce3d0403020347003044022013940bf6d6b6766ff12c7481139173cd6f00786ee848eda6d85b8fc73424ced902207cd74e22d92a8f7f8baa1191f62ca8a2f9f1302d554b3d3dd5946dcd4ceef1cd", + "certification_declaration": "3081fd06092a864886f70d010702a081ef3081ec020103310d300b0609608648016503040201305a06092a864886f70d010701a04d044b152000012501f1ff3602050080182c04135a494732303134315a423333303030312d323424050024060025077698240800360b10140b44cabbc5016577aa8b44ffb90fcca140fe66201818317c307a020103801462fa823359acfaa9963e1cfa140addf504f37160300b0609608648016503040201300a06082a8648ce3d0403020446304402201a964402d8cb92a6cb59f1984fef77f833e7a7600db8d7150a3894416d13e53102207461724c01add824c78b61f67aec5649a45ae0076adf77fb6626b37ce618e4c7", + "dac_private_key": "ea589755c3b6105fdefa9aae39058e697d7cb6e16f8292441286efa13baa5e5a", + "dac_public_key": "04e5496d6a86816d2484e6f7308849af4de80276d2764d177e84bd76dd10b0021bfcb88a97c1a68971457aec2585e910ed603749942a8554dfa29c1a96447869b0" +} diff --git a/credentials/development/commissioner_dut/struct_cd_format_version_1/cd.der b/credentials/development/commissioner_dut/struct_cd_format_version_1/cd.der new file mode 100644 index 0000000000000000000000000000000000000000..c404fa1ce917e5c8537c9059af062e8bd65b2be0 GIT binary patch literal 263 zcmXqLVq|9H)N1o+`_9YA&a|NMt3l%@CPrpMUIT76&V)7(##Ck&CPsregd)ZTfh_)_ z3Ji>@j357-F|jfKd7-urjEyF{rYa%~0WB zFyj^w;dVK-`zT{-`KoT0|2z55EOhvnrXV3hS|Ad9|~WrEkH43z>h57Ou`Y^ZY@mlBs=>%LBAk4-Nc0Us%)FaG{?95IKEEC@L z%0~KH7My z0}EaUhr6uL?R+?D7AF|Q8SnrDLspoP@jnZb0fPY_h{q4&0RxM@!9W(o=VK9L5pkGk zUN=#@_(6E}1eNPSVMj7OHaszq2T3cl0E4taWb=W76(z+J0<*V1nAKN!D)Bvo-%;eC zXZBz)aAi`k$PeFhsg&iC@ZA}lbNJslNAqzdUAGmis4qBuYDe7dB}|G82iS8qdAxKH eu|E3lhrqJfd(q9aCuF!VrA^fK{FTM;)C2&qHjLo_ literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_format_version_1/dac-Cert.pem b/credentials/development/commissioner_dut/struct_cd_format_version_1/dac-Cert.pem new file mode 100644 index 00000000000000..bf6f65428b7a4c --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_format_version_1/dac-Cert.pem @@ -0,0 +1,13 @@ +-----BEGIN CERTIFICATE----- +MIIB5DCCAYqgAwIBAgIIREaH9eT2TUEwCgYIKoZIzj0EAwIwRjEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQB +gqJ8AgIMBDgwMDAwIBcNMjIwNTEzMDAwMDAwWhgPOTk5OTEyMzEyMzU5NTlaMEYx +GDAWBgNVBAMMD01hdHRlciBUZXN0IERBQzEUMBIGCisGAQQBgqJ8AgEMBEZGRjEx +FDASBgorBgEEAYKifAICDAQ4MDAwMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE +kO2NHVlNOXLKvt1+Fc7PxlzmQyJUvBC+cSKiSUxyCJHy740Rv/s8u1NiC0RsOKO2 +oyag/TA4DUBA3QXnPkwIfKNgMF4wDAYDVR0TAQH/BAIwADAOBgNVHQ8BAf8EBAMC +B4AwHQYDVR0OBBYEFECRN36RK3PgV3uQJNdSVsRpSLDkMB8GA1UdIwQYMBaAFLPA +cKh0c5BRa7Xgmo5xymHvAE7FMAoGCCqGSM49BAMCA0gAMEUCIDhvV7zSdQTSE92Y +CZwP7ENbDgpi1z0ReH9wy8q4XtukAiEAwAdsskjpRBQ7xe74EKZd3luDm5BoRAJm +kStJ+moPQoI= +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_format_version_1/dac-Key.der b/credentials/development/commissioner_dut/struct_cd_format_version_1/dac-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..ae468e237e34bad01beaa924e95e2183b65c67fe GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R$v!$&I{qEbDT4Qt}UG&+A2eDR#c&Qp{5<;^ifABxRrq1_&yK zNX|V20SBQ(13~}LF&VMqP literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_format_version_1/dac-Key.pem b/credentials/development/commissioner_dut/struct_cd_format_version_1/dac-Key.pem new file mode 100644 index 00000000000000..63322aa2503fa5 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_format_version_1/dac-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIKkbyY28dSzrcnlS8g9mz+tFfCl2vuNSzFMs4uUlcSRloAoGCCqGSM49 +AwEHoUQDQgAEkO2NHVlNOXLKvt1+Fc7PxlzmQyJUvBC+cSKiSUxyCJHy740Rv/s8 +u1NiC0RsOKO2oyag/TA4DUBA3QXnPkwIfA== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_cd_format_version_1/pai-Cert.der b/credentials/development/commissioner_dut/struct_cd_format_version_1/pai-Cert.der new file mode 100644 index 0000000000000000000000000000000000000000..7abc8ce2a2ea539b5bd220c4f0badd7e041b398c GIT binary patch literal 472 zcmXqLV!UF|#8|a}nTe5!iG%Ub--q|YD^D13v2kd%d7QIlVP-NgFqAM5V`C0wVdmlY zO)M!%Em86mZp|b25vab^u%r^nkW+wiv`H+NCROucCbsC7@?aNvq{c~Qn%#WiR88cIwi%-}p}l*N;K@!{O3bvwkX4aDTnEbqRRq}T8?>!H=2 z=myb=Z+l`MY+RgXkOK4^bEvE^BjbM-4g)qI#l*;Hzy}iJ2Z;d#hmp-d7R2Xc5n~bA ze4t=ON%4fh?5z)G^%b5sbZTxdIu^H1-`ey4ecqUys>PSPm=u_Kd7-urjEyF{rYa%~0WB zFyj^w;dVK-`zT{-`KoT0|2z55EOhvnrXV3K&m?H2zrDM+DU2lxao_#A*cmKbYUwZPlYv+D%JLPcA+t&>M@(5Rb literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_format_version_2/dac-Cert.der b/credentials/development/commissioner_dut/struct_cd_format_version_2/dac-Cert.der new file mode 100644 index 0000000000000000000000000000000000000000..352fa4f3a1c545729d1f2cd60cf2cbb8c4fa50c4 GIT binary patch literal 488 zcmXqLVtiuI#MrffnTe5!iNmhsj^K(+^Gya^Y#dr`9_MUXn3)XR3?&T2*qB3En0fep z6H7``ixfgqi%S#&96b$1420OYwAmP07@HQ=FfsD5xVgC*qKPu`uvi!Xfr2=%k&%I^ zp)rVKU=St2ZwUm3M#ey7YH4a2h0`V%M`tuM@!J$>Ak4-Nc0Us%)FaG{?95IKECH^T zlfSYVs7r>*a$7BlU7emYeZTk1W0^GqWplcAHdd~7e!jG$M%3`);@9neCmAJ1Jh~>e zy-7gve#6u1leLNRixUju40wQnAuG(t_@9NzfWd$d#N!9?fPux{U?22^WIrG?z`M^ryJ9mcD^x?2T3cl0E4taM54PeRN&I_15)=(wyIlwIO#R>tS55N zGkY)?xH2g+Oq0;%keT-0_1=YV+42dQYjlHD1!q6w|0gYcGTrdOu1qEcvHwvtT#lrI1N$9fA-Emt-8l?MP(u8a%- literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_format_version_2/dac-Cert.pem b/credentials/development/commissioner_dut/struct_cd_format_version_2/dac-Cert.pem new file mode 100644 index 00000000000000..60e9e40fee280c --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_format_version_2/dac-Cert.pem @@ -0,0 +1,13 @@ +-----BEGIN CERTIFICATE----- +MIIB5DCCAYqgAwIBAgIIPnTcEahpN7IwCgYIKoZIzj0EAwIwRjEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQB +gqJ8AgIMBDgwMDAwIBcNMjIwNTEzMDAwMDAwWhgPOTk5OTEyMzEyMzU5NTlaMEYx +GDAWBgNVBAMMD01hdHRlciBUZXN0IERBQzEUMBIGCisGAQQBgqJ8AgEMBEZGRjEx +FDASBgorBgEEAYKifAICDAQ4MDAwMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE +UEU5k/UGMCcZVR0LOqRdq2dsl79L6cZpfBB2nIq5gXmrQ+eliHwVMdGj64f9kjJh +WOLWGreCECHfgOV7yX1hH6NgMF4wDAYDVR0TAQH/BAIwADAOBgNVHQ8BAf8EBAMC +B4AwHQYDVR0OBBYEFNxp8XpNTozvQyNe9x7HQtiXArnsMB8GA1UdIwQYMBaAFBiL +cVUQ0sfAGt90tSc68MlKmc1JMAoGCCqGSM49BAMCA0gAMEUCIQCWGC0IHJbvRd7Q +9msfYGmsLVIlEZvmD/4bE8lnMeC6aQIgFv86KiwNc5+EoccqmZ1favteDxotD7/j +LqHKpyUw+m4= +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_format_version_2/dac-Key.der b/credentials/development/commissioner_dut/struct_cd_format_version_2/dac-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..4bcd08f745d5b2f17610555713079b0b52f377b9 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R%yoi7BjAK~Q&&b8x0GvP#Pz1IrkBW5mYuG}7DCrR<;z1_&yK zNX|V20SBQ(13~} b(WC2!{gN_aSmM?iw}KEM-+<+N$$eoTSza@^ literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_format_version_2/dac-Key.pem b/credentials/development/commissioner_dut/struct_cd_format_version_2/dac-Key.pem new file mode 100644 index 00000000000000..80c78d903c0a1f --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_format_version_2/dac-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIMZHiSmsVUFQd45zcKYwskrLHwPLGHljxMbzNNLb06XsoAoGCCqGSM49 +AwEHoUQDQgAEUEU5k/UGMCcZVR0LOqRdq2dsl79L6cZpfBB2nIq5gXmrQ+eliHwV +MdGj64f9kjJhWOLWGreCECHfgOV7yX1hHw== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_cd_format_version_2/pai-Cert.der b/credentials/development/commissioner_dut/struct_cd_format_version_2/pai-Cert.der new file mode 100644 index 0000000000000000000000000000000000000000..12652cdc24f73d85a23b55417adeb0813c98714c GIT binary patch literal 473 zcmXqLV!Ue5#8|a}nTe5!i6iyy)3kYdx9%Hov2kd%d7QIlVP-NgFqAM5V`C0wVdmlY zO)M!%Em86mZp|b25vab^u%r^nkW+wiv`H+NCROucCbsC7@Q*04dd)oRX&?`hR%QVPVS`B4U!`*SK>0WO#T=)n3*5P5xUjGe zIjEUE84TQ*6dAVv^w?4Nv-F5wO(kc-{;9KmI&JS*JF_+LMU&k5j`bT2fJ$~BeK}1k hckZt>imNK}-~S4GG`DQMe(us1XUz*=<=3y|1^}QJkAwgK literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_format_version_2/pai-Cert.pem b/credentials/development/commissioner_dut/struct_cd_format_version_2/pai-Cert.pem new file mode 100644 index 00000000000000..6d8416d5436c77 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_format_version_2/pai-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIB1TCCAXqgAwIBAgIIZd3lZp4u2t8wCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA1MTMw +MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowRjEYMBYGA1UEAwwPTWF0dGVyIFRlc3Qg +UEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQBgqJ8AgIMBDgwMDAw +WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAQIAFAKjSDsUx6aR+4xljr7XbnwXElF +5YYExfX5VfUE0t58a09ZF0SCm6EA6utWRjH+B01K3gLrPnoIf5zNoEQto2YwZDAS +BgNVHRMBAf8ECDAGAQH/AgEBMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUGItx +VRDSx8Aa33S1JzrwyUqZzUkwHwYDVR0jBBgwFoAUav0idx9RH+y/FkGXZxDc3DGh +cX4wCgYIKoZIzj0EAwIDSQAwRgIhALf5SLh++XXELnx5CWC/lZr5QreIrZmFUeiC +Hs+Ir7EwAiEAu8XplhptnfqsIap4b+/6VuKddq8vbaWEQynQ9R+vqQs= +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_format_version_2/pai-Key.der b/credentials/development/commissioner_dut/struct_cd_format_version_2/pai-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..c1b11bb347d8a643db4f546cf48b030711ad1eec GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R(1}UAgdFNk!#`1jY6FRrLhY-h69MSrsCfF{s&D;-U91BdI*1<&7edrVbn4w literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_format_version_2/pai-Key.pem b/credentials/development/commissioner_dut/struct_cd_format_version_2/pai-Key.pem new file mode 100644 index 00000000000000..529b199305ea64 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_format_version_2/pai-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIOs5luxmDrPMtKYfjo4aDuDb3aype036FImRc15cHAMzoAoGCCqGSM49 +AwEHoUQDQgAECABQCo0g7FMemkfuMZY6+1258FxJReWGBMX1+VX1BNLefGtPWRdE +gpuhAOrrVkYx/gdNSt4C6z56CH+czaBELQ== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_cd_format_version_2/test_case_vector.json b/credentials/development/commissioner_dut/struct_cd_format_version_2/test_case_vector.json new file mode 100644 index 00000000000000..ce9396ef325c19 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_format_version_2/test_case_vector.json @@ -0,0 +1,9 @@ +{ + "description": "CD Test Vector: Invalid format_version field set to 2.", + "is_success_case": "false", + "dac_cert": "308201e43082018aa00302010202083e74dc11a86937b2300a06082a8648ce3d04030230463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303020170d3232303531333030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742044414331143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303059301306072a8648ce3d020106082a8648ce3d0301070342000450453993f506302719551d0b3aa45dab676c97bf4be9c6697c10769c8ab98179ab43e7a5887c1531d1a3eb87fd92326158e2d61ab7821021df80e57bc97d611fa360305e300c0603551d130101ff04023000300e0603551d0f0101ff040403020780301d0603551d0e04160414dc69f17a4d4e8cef43235ef71ec742d89702b9ec301f0603551d23041830168014188b715510d2c7c01adf74b5273af0c94a99cd49300a06082a8648ce3d040302034800304502210096182d081c96ef45ded0f66b1f6069ac2d5225119be60ffe1b13c96731e0ba69022016ff3a2a2c0d739f84a1c72a999d5f6afb5e0f1a2d0fbfe32ea1caa72530fa6e", + "pai_cert": "308201d53082017aa003020102020865dde5669e2edadf300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414131143012060a2b0601040182a27c02010c04464646313020170d3232303531333030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303059301306072a8648ce3d020106082a8648ce3d030107034200040800500a8d20ec531e9a47ee31963afb5db9f05c4945e58604c5f5f955f504d2de7c6b4f591744829ba100eaeb564631fe074d4ade02eb3e7a087f9ccda0442da366306430120603551d130101ff040830060101ff020101300e0603551d0f0101ff040403020106301d0603551d0e04160414188b715510d2c7c01adf74b5273af0c94a99cd49301f0603551d230418301680146afd22771f511fecbf1641976710dcdc31a1717e300a06082a8648ce3d0403020349003046022100b7f948b87ef975c42e7c790960bf959af942b788ad998551e8821ecf88afb130022100bbc5e9961a6d9dfaac21aa786feffa56e29d76af2f6da5844329d0f51fafa90b", + "certification_declaration": "3082010206092a864886f70d010702a081f43081f1020103310d300b0609608648016503040201305e06092a864886f70d010701a051044f152000022501f1ff360205008018250334122c04135a494732303134315a423333303030312d323424050024060025077698240800360b10140b44cabbc5016577aa8b44ffb90fcca140fe66201818317d307b020103801462fa823359acfaa9963e1cfa140addf504f37160300b0609608648016503040201300a06082a8648ce3d04030204473045022043a8ecc147bbf29a42d554ef8f1ebf461bfbeb336b2d5b8d5a3aacc6d26d57f40221009410e764889cfdbaec3276e6f6762747ffb50f1b93f6d6cefbb6ca40d64b4d46", + "dac_private_key": "c6478929ac554150778e7370a630b24acb1f03cb187963c4c6f334d2dbd3a5ec", + "dac_public_key": "0450453993f506302719551d0b3aa45dab676c97bf4be9c6697c10769c8ab98179ab43e7a5887c1531d1a3eb87fd92326158e2d61ab7821021df80e57bc97d611f" +} diff --git a/credentials/development/commissioner_dut/struct_cd_format_version_missing/cd.der b/credentials/development/commissioner_dut/struct_cd_format_version_missing/cd.der new file mode 100644 index 0000000000000000000000000000000000000000..5894de8439d1da3c891cc88aee173585e906a480 GIT binary patch literal 258 zcmXqL{LjXz)#lOmotKfFX+h&hgT{AEjLe3-2Hb3%32h#Xsmv@)j0VvNMT`slSbRiP z89)9vV`61!kWghd5z=81j`DOjGB7kTjB+wIHZU+S)HO0uVP#NZV^C!;o1wzNV8$&V z!tHWu_ff{w@>Sg~|9A4AS?KUDO+iA!u-2d&Xk~*)(yu1t$Th!KPP3EwCBk+0E6eA? z1XO2mv2g(1dd`-GnTf^Sz?Dgn;f~5zL!LwdnG=)h(pE0K6MwByW8>FKZlSEyi_Cwl qkAyKP6lniQIed@tOh@XYwKgFf3?cJcZ%U;a%-j8DNs>iSAqxQ57E&w# literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_format_version_missing/dac-Cert.der b/credentials/development/commissioner_dut/struct_cd_format_version_missing/dac-Cert.der new file mode 100644 index 0000000000000000000000000000000000000000..7bef10c4558cca5d81c2d8f97b96450efd8b7129 GIT binary patch literal 487 zcmXqLVtj1S#MrffnTe5!iNmj9%{HkR`#J+IHV&;ek8`#x%uEJuh7ty1Y|No7%sl+Q zi6teeMG7IQ#U%;>j-G}h210CH+H8z0j7^Jbm>79j+}zv@(L|YeSS$>HKtY_>$jHFd z&=|xqFo=@iw*&%1BV!;kwKTPi!fBI>qcfVB_-%?b5N2ZsyPt^>>Jer}c4j9AmY|y= zL3?m3=u{gmX&VUCP7_!2QjQ?4f3>XafKs{OoUSYot$r%GaotV zncW!-T$mKpRNjg-t~IvasVpx#ulbJO!|gsS9EwvntruK$k9QZdIg^6uV!w?`uikNd dvc%p!$M*KD$-cH1K1Y7vcwyN+zS^~{EdYV!) literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_format_version_missing/dac-Cert.pem b/credentials/development/commissioner_dut/struct_cd_format_version_missing/dac-Cert.pem new file mode 100644 index 00000000000000..d0a8006f190727 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_format_version_missing/dac-Cert.pem @@ -0,0 +1,13 @@ +-----BEGIN CERTIFICATE----- +MIIB4zCCAYqgAwIBAgIIToCsthpcP34wCgYIKoZIzj0EAwIwRjEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQB +gqJ8AgIMBDgwMDAwIBcNMjIwNTEzMDAwMDAwWhgPOTk5OTEyMzEyMzU5NTlaMEYx +GDAWBgNVBAMMD01hdHRlciBUZXN0IERBQzEUMBIGCisGAQQBgqJ8AgEMBEZGRjEx +FDASBgorBgEEAYKifAICDAQ4MDAwMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE +UtkUUrwNO2au3CV1b1pm/IpkKAe0EDnEy+Ka6om7RbXIwyWWxui1CeESe9Ku1G/J +i6GyMlsSUDn3Cn30hEM0yKNgMF4wDAYDVR0TAQH/BAIwADAOBgNVHQ8BAf8EBAMC +B4AwHQYDVR0OBBYEFBoEbSqIyqI5ZxzSjQWU7Nm+8WowMB8GA1UdIwQYMBaAFANz +AyMECIbEK4oUNBJk/smfPmyfMAoGCCqGSM49BAMCA0cAMEQCICYk7RSBrTM7uSMf +FZ6D3E7ht0wECCGVsq8Rot4NugM3AiAVo06xpdXcQeSkP0dsPduak0090PNZ97HQ +pt4Ofa0FhA== +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_format_version_missing/dac-Key.der b/credentials/development/commissioner_dut/struct_cd_format_version_missing/dac-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..e97a8d0d45f579ef68c408785923e6e4749124dc GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R!C7$DULpMOusJis87L!0a-th1eCr71z(FLAEm=GpnEq1_&yK zNX|V20SBQ(13~}UVghMpQ5C=9C literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_format_version_missing/dac-Key.pem b/credentials/development/commissioner_dut/struct_cd_format_version_missing/dac-Key.pem new file mode 100644 index 00000000000000..db0e7bfe051076 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_format_version_missing/dac-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIGGBx55UI0Vai+eK4biawOwyrIXYFcEV18+nQbYzHzOroAoGCCqGSM49 +AwEHoUQDQgAEUtkUUrwNO2au3CV1b1pm/IpkKAe0EDnEy+Ka6om7RbXIwyWWxui1 +CeESe9Ku1G/Ji6GyMlsSUDn3Cn30hEM0yA== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_cd_format_version_missing/pai-Cert.der b/credentials/development/commissioner_dut/struct_cd_format_version_missing/pai-Cert.der new file mode 100644 index 0000000000000000000000000000000000000000..bfa0e863e0b2dc0913f1888009b7aadd3e951a95 GIT binary patch literal 472 zcmXqLV!UF|#8|a}nTe5!i9=fEoTb^zx_1U#Y#dr`9_MUXn3)U=3?&T2*qB3En0fep z6H7``ixfgqi%S#&932fs420OYwAmP07@HQ=FfsD5xVgC*8YqbK8W|aw8X6mbL6ii) zB@h@I83U22rKx33=f5?b*Eh|%s~~ipU3S+zcKMTQ?NZ!lW(F gcW$*M$1YmBU>laY4=J3vcZ;o{pA7if~n~K5L4e2Or6; b+#&D)w!g)I-Nn*+Ad_@6eL>h>z+`zk6T~wq literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_format_version_missing/pai-Key.pem b/credentials/development/commissioner_dut/struct_cd_format_version_missing/pai-Key.pem new file mode 100644 index 00000000000000..c20d24d160d520 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_format_version_missing/pai-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIABJXJ0AxscuWrpgG5a6Dy+eHYIR+hhRIa/O3aXgq6GCoAoGCCqGSM49 +AwEHoUQDQgAECdmuVMp5luV9+79QCQkT/V/hGWMLb+01no6WQ4pwVa4+a4qeBx/J +rdwh8AC2v8WA3cXSeiCTdDN9QdhewGR5Og== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_cd_format_version_missing/test_case_vector.json b/credentials/development/commissioner_dut/struct_cd_format_version_missing/test_case_vector.json new file mode 100644 index 00000000000000..e59bf34752f562 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_format_version_missing/test_case_vector.json @@ -0,0 +1,9 @@ +{ + "description": "CD Test Vector: The format_version field is missing.", + "is_success_case": "false", + "dac_cert": "308201e33082018aa00302010202084e80acb61a5c3f7e300a06082a8648ce3d04030230463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303020170d3232303531333030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742044414331143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303059301306072a8648ce3d020106082a8648ce3d0301070342000452d91452bc0d3b66aedc25756f5a66fc8a642807b41039c4cbe29aea89bb45b5c8c32596c6e8b509e1127bd2aed46fc98ba1b2325b125039f70a7df4844334c8a360305e300c0603551d130101ff04023000300e0603551d0f0101ff040403020780301d0603551d0e041604141a046d2a88caa239671cd28d0594ecd9bef16a30301f0603551d2304183016801403730323040886c42b8a14341264fec99f3e6c9f300a06082a8648ce3d040302034700304402202624ed1481ad333bb9231f159e83dc4ee1b74c04082195b2af11a2de0dba0337022015a34eb1a5d5dc41e4a43f476c3ddb9a934d3dd0f359f7b1d0a6de0e7dad0584", + "pai_cert": "308201d43082017aa00302010202081b1cce3936e97eee300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414131143012060a2b0601040182a27c02010c04464646313020170d3232303531333030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303059301306072a8648ce3d020106082a8648ce3d0301070342000409d9ae54ca7996e57dfbbf50090913fd5fe119630b6fed359e8e96438a7055ae3e6b8a9e071fc9addc21f000b6bfc580ddc5d27a209374337d41d85ec064793aa366306430120603551d130101ff040830060101ff020101300e0603551d0f0101ff040403020106301d0603551d0e0416041403730323040886c42b8a14341264fec99f3e6c9f301f0603551d230418301680146afd22771f511fecbf1641976710dcdc31a1717e300a06082a8648ce3d04030203480030450221009f85b26ee40ef28297285d50e9c8fe6ad026f2508ced5e3e69491ac743db5ee202207ed09092b4e7b9b538af6e0aadf60ab1f626464ac21dcb5d39bb38fc933160d6", + "certification_declaration": "3081ff06092a864886f70d010702a081f13081ee020103310d300b0609608648016503040201305b06092a864886f70d010701a04e044c152501f1ff360205008018250334122c04135a494732303134315a423333303030312d323424050024060025077698240800360b10140b44cabbc5016577aa8b44ffb90fcca140fe66201818317d307b020103801462fa823359acfaa9963e1cfa140addf504f37160300b0609608648016503040201300a06082a8648ce3d04030204473045022100dc24f5310c61101cc8927e66a9a1dc5fd68128b1f5790b126a65d103fc3bc4560220702bf864c3de01cc8865e2ad3c540800549e85d91a65309ebbeca46238527104", + "dac_private_key": "6181c79e5423455a8be78ae1b89ac0ec32ac85d815c115d7cfa741b6331f33ab", + "dac_public_key": "0452d91452bc0d3b66aedc25756f5a66fc8a642807b41039c4cbe29aea89bb45b5c8c32596c6e8b509e1127bd2aed46fc98ba1b2325b125039f70a7df4844334c8" +} diff --git a/credentials/development/commissioner_dut/struct_cd_pid_array_count0/cd.der b/credentials/development/commissioner_dut/struct_cd_pid_array_count0/cd.der new file mode 100644 index 0000000000000000000000000000000000000000..8e03323c37dc6a84f756c39bc2c928a32cae8133 GIT binary patch literal 260 zcmXqLVq{?B)N1o+`_9YA&a|NMlR@KqCPrpMUIT76&V)7(##Ck&CPss3gd)ZTek?ws z3Ji>@j357-F-fR0n+WN!2uFFk8yOgy7)Ci68ygrH80s3CsIW4qura8zm(5V&U@+qr z5aD(?wfiVzYWb>em;XEY&n$HKm!=>gVOVES1GKV1BsAW(v2B*zxjj|HBd#$Z r_e%y)$*zd4AwdfLYYTI0m+klvx$vy~5#u=F^Q)KW9=6~4AZtAUpP5mH literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_pid_array_count0/dac-Cert.der b/credentials/development/commissioner_dut/struct_cd_pid_array_count0/dac-Cert.der new file mode 100644 index 0000000000000000000000000000000000000000..1c678f06ba6e30d1ae9cb3c636120f3ca8e2e14a GIT binary patch literal 488 zcmXqLVtiuI#MrffnTe5!i9@JTLu>D|az+C#HV&;ek8`#x%uEJuh7ty1Y|No7%sl+Q zi6teeMG7IQ#U%;>j-G}h210CH+H8z0j7^Jbm>79j+}zv@(L|YeSS$>HKtY_>$jHFd z&=|xqFo=@iw*&%1BV!;kwKTPi!fBI>qcfVB_-%?b5N2ZsyPt^>>Jer}c4j9AmVb?| ztY>POSG-6m`E;!1*^PiRR=Ta1gk#I6>)oE9vf{&!*0^Ay-TSq3*uxJ7zihlxd%~H2 z+D850lRu1&ImI7pElx0qGvEORhO96n<9`+=0|o;=5RV_k0|pj*gMloF&&MLhB670p zN@M%iI9axTSIb{!3e9+TekGfMJV;uZ1sJ3aBIgS(?5z8}LyCQo16L+RhFAM_Le42#-o16R`^z(>h;2>Ke2z}-?)9I*-Rp(~Jk`ssRHG*#{syWmpbVW_-%cWO)|8+M1_&yK zNX|V20SBQ(13~}<{((gW%zXo>=wx*A#)RhBP|P|lh0+sUcb6{PkR+(^_=R3m61%@E bYzJ4tQ|W=!eaJ%(ma#8W$@nuf2^Zli<#;q< literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_pid_array_count0/dac-Key.pem b/credentials/development/commissioner_dut/struct_cd_pid_array_count0/dac-Key.pem new file mode 100644 index 00000000000000..856f79f565dd4d --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_pid_array_count0/dac-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIOst69kbD93rhgQ81cutVKMnIP4GqiugDJ1a304ictaUoAoGCCqGSM49 +AwEHoUQDQgAE/oFFBcx9A6joZHTyxoTm2FDMOi2F0hNdd5cu25AkqPD4hV5TEru/ +K2wHV8FT6YHUfchDD5axL1PJ+DMzCRfhKg== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_cd_pid_array_count0/pai-Cert.der b/credentials/development/commissioner_dut/struct_cd_pid_array_count0/pai-Cert.der new file mode 100644 index 0000000000000000000000000000000000000000..f4d2be822f2ffc5ae674bca872b96a35d8f681ed GIT binary patch literal 472 zcmXqLV!UF|#8|a}nTe5!iGy+11jqOPg(n$sv2kd%d7QIlVP-NgFqAM5V`C0wVdmlY zO)M!%Em86mZp|b25vab^u%r^nkW+wiv`H+NCROucCbsC7@wfQ$VqYY=Wt)t_vLlr#vkl}y(#kBrAZ!rH`m0nfA1ME3znJ6nbb&i}3>OyG zAqO?H2ZMntlY;BhrH2%A47SO*o8`FW>{HF@+_iXdX-As*oHj2ej&qNg6d5)v-aRwT g+;)Z!^MvPN4X?j=>ZLPY+E^M;9i!i#u;ytR0R1tEXaE2J literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_pid_array_count0/pai-Cert.pem b/credentials/development/commissioner_dut/struct_cd_pid_array_count0/pai-Cert.pem new file mode 100644 index 00000000000000..4b0fb1c93a6391 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_pid_array_count0/pai-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIB1DCCAXqgAwIBAgIIAbqQQe//E5IwCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA1MTMw +MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowRjEYMBYGA1UEAwwPTWF0dGVyIFRlc3Qg +UEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQBgqJ8AgIMBDgwMDAw +WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAQgp6BhS7aKChaBrAudOfTmlkN5DHik +LipmUhe4Z1fEoWLdAmAf87WfjdbpV93M7qEkvRcm/+aYDUdvRRXFEHYno2YwZDAS +BgNVHRMBAf8ECDAGAQH/AgEBMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUz3DQ +uX77uBoHohm0thwwpsR5ZJswHwYDVR0jBBgwFoAUav0idx9RH+y/FkGXZxDc3DGh +cX4wCgYIKoZIzj0EAwIDSAAwRQIgReWlwiFsMLYcRzZsRmy+JWyJuqOjdYhmN5yG +SgIIzuICIQCzId3Mljc9mEwDkOdWgOv0SS5nAdKxdVB7XC+HYKzlZg== +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_pid_array_count0/pai-Key.der b/credentials/development/commissioner_dut/struct_cd_pid_array_count0/pai-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..20915277d9116a606370763743f1f9c8060357b7 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1RzOAQV#HNLP*%XqD*SK7XwBIeqAAa8`#kQ58=r(%kiKJ1_&yK zNX|V20SBQ(13~}VOSXy%7J;k_ojLU8mP2_Ac%&{WW>OcpXII3bV%-8@AM>@J bjn?T`-OTQxB)u0V|K^wtM{h+H#SnHU-IFnK literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_pid_array_count0/pai-Key.pem b/credentials/development/commissioner_dut/struct_cd_pid_array_count0/pai-Key.pem new file mode 100644 index 00000000000000..2e691ab7bf9d90 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_pid_array_count0/pai-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIElHUg7wcEJI2L2iTGq6FwNGB35dIXwb2ND/D+HJM8vxoAoGCCqGSM49 +AwEHoUQDQgAEIKegYUu2igoWgawLnTn05pZDeQx4pC4qZlIXuGdXxKFi3QJgH/O1 +n43W6VfdzO6hJL0XJv/mmA1Hb0UVxRB2Jw== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_cd_pid_array_count0/test_case_vector.json b/credentials/development/commissioner_dut/struct_cd_pid_array_count0/test_case_vector.json new file mode 100644 index 00000000000000..d5837e903122b1 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_pid_array_count0/test_case_vector.json @@ -0,0 +1,9 @@ +{ + "description": "CD Test Vector: The product_id_array field is empty TLV array.", + "is_success_case": "false", + "dac_cert": "308201e43082018aa00302010202081279282abde67701300a06082a8648ce3d04030230463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303020170d3232303531333030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742044414331143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303059301306072a8648ce3d020106082a8648ce3d03010703420004fe814505cc7d03a8e86474f2c684e6d850cc3a2d85d2135d77972edb9024a8f0f8855e5312bbbf2b6c0757c153e981d47dc8430f96b12f53c9f833330917e12aa360305e300c0603551d130101ff04023000300e0603551d0f0101ff040403020780301d0603551d0e04160414c98ad48187f55e1d06fed577e9691298eecfa906301f0603551d23041830168014cf70d0b97efbb81a07a219b4b61c30a6c479649b300a06082a8648ce3d0403020348003045022100eabf2c54ce2139dddad98bccef331285fdc55a9b0e6675a9d5f024cb691a41090220248bbc702312c3f86012c858878296b194fc0eafb774277f13cbf207f20fb9b6", + "pai_cert": "308201d43082017aa003020102020801ba9041efff1392300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414131143012060a2b0601040182a27c02010c04464646313020170d3232303531333030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303059301306072a8648ce3d020106082a8648ce3d0301070342000420a7a0614bb68a0a1681ac0b9d39f4e69643790c78a42e2a665217b86757c4a162dd02601ff3b59f8dd6e957ddcceea124bd1726ffe6980d476f4515c5107627a366306430120603551d130101ff040830060101ff020101300e0603551d0f0101ff040403020106301d0603551d0e04160414cf70d0b97efbb81a07a219b4b61c30a6c479649b301f0603551d230418301680146afd22771f511fecbf1641976710dcdc31a1717e300a06082a8648ce3d0403020348003045022045e5a5c2216c30b61c47366c466cbe256c89baa3a3758866379c864a0208cee2022100b321ddcc96373d984c0390e75680ebf4492e6701d2b175507b5c2f8760ace566", + "certification_declaration": "3082010006092a864886f70d010702a081f23081ef020103310d300b0609608648016503040201305b06092a864886f70d010701a04e044c152000012501f1ff360218250334122c04135a494732303134315a423333303030312d323424050024060025077698240800360b10140b44cabbc5016577aa8b44ffb90fcca140fe66201818317e307c020103801462fa823359acfaa9963e1cfa140addf504f37160300b0609608648016503040201300a06082a8648ce3d04030204483046022100962ebc86d3c61c0c682fe3e7156b2d79118e06b319b9b76514485e81506df468022100ba58b55452208fad716d7da6b8f059a1cd1fc4335e13cfaba42dc33fb9e06aaf", + "dac_private_key": "eb2debd91b0fddeb86043cd5cbad54a32720fe06aa2ba00c9d5adf4e2272d694", + "dac_public_key": "04fe814505cc7d03a8e86474f2c684e6d850cc3a2d85d2135d77972edb9024a8f0f8855e5312bbbf2b6c0757c153e981d47dc8430f96b12f53c9f833330917e12a" +} diff --git a/credentials/development/commissioner_dut/struct_cd_pid_array_count01_mismatch/cd.der b/credentials/development/commissioner_dut/struct_cd_pid_array_count01_mismatch/cd.der new file mode 100644 index 0000000000000000000000000000000000000000..97c4ae4711247711fe7ab42d4edbc1507c83143e GIT binary patch literal 262 zcmXqLVq{|D)N1o+`_9YA&a|NMi$UW@CPrpMUIT76&V)7(##Ck&CPsregd)ZTfh_)_ z3Ji>@j357-F|jf>NT@QK2Kd7-urjEyF{rYa%~0WB zFyj^w;dVK-`zT{-`KoT0|2z55EOhvnrXV3=2m%3;Ai)# ue-HRrbQ+ix_;seM&TkP8+A{TH#(TyqZ@HUY_bGH=$@q6CSgY*VHdX*)dQ&+7 literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_pid_array_count01_mismatch/dac-Cert.der b/credentials/development/commissioner_dut/struct_cd_pid_array_count01_mismatch/dac-Cert.der new file mode 100644 index 0000000000000000000000000000000000000000..8961206aadf2c8e9e6497097c2de8493abc66f44 GIT binary patch literal 489 zcmXqLVti`Q#MrffnTe5!i9=YI{qcu`9}^6?*f_M>JkHs&Ff$pr8A=$4u`!3TF!S*H zCYF?>7Ab_J7MCalIC>h27znX(X|pl1Fg7i!VPfQAadUGsL=$D=VX-g(0tIniBO?P- zLt_xfz#vM3-x3H6jf{cF)Y8;43a3pjj?QRi;zmGQRlDV%H#^hsRoC?XUv;`{yl2IN z8Mid+dLx!N#M<%eElx0qGvEORhO96n<9`+=0|o;=5RV_k0|pj*gMloF&&MLhBJ#)G zBmURzDr4>KFZEkCM5F~IK7VW=50X}90S0M<$gER2vJ$E}rhKIlH!6#()8ba2%0v!& zW={qKHzq}fNspITC(L*KcRfV%QxZ4Vi+q#Y@n;V9eLiqnuU&BaB^IEP_YRrSOg|c= ew}`};+%f&L^L_C#Hj|B+i(@!qbdT(O5D5T1qmM}d literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_pid_array_count01_mismatch/dac-Cert.pem b/credentials/development/commissioner_dut/struct_cd_pid_array_count01_mismatch/dac-Cert.pem new file mode 100644 index 00000000000000..eb1cfa31129b4c --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_pid_array_count01_mismatch/dac-Cert.pem @@ -0,0 +1,13 @@ +-----BEGIN CERTIFICATE----- +MIIB5TCCAYqgAwIBAgIIEy0H4/DB8WAwCgYIKoZIzj0EAwIwRjEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQB +gqJ8AgIMBDgwMDAwIBcNMjIwNTEzMDAwMDAwWhgPOTk5OTEyMzEyMzU5NTlaMEYx +GDAWBgNVBAMMD01hdHRlciBUZXN0IERBQzEUMBIGCisGAQQBgqJ8AgEMBEZGRjEx +FDASBgorBgEEAYKifAICDAQ4MDAwMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE +cmXhpnuZPyGDDSuIjh8DFICbjFIfbrd50sPiI+nmjpcHOn20/ksHAvuq1i7/1ULT +M7yooJjaKX6NWKRAXT4PLqNgMF4wDAYDVR0TAQH/BAIwADAOBgNVHQ8BAf8EBAMC +B4AwHQYDVR0OBBYEFPxHSF/623ozK7fpL4SwWGZQYefjMB8GA1UdIwQYMBaAFJrK +bB0YJWw1DnVY2Hlze2Zeq8ppMAoGCCqGSM49BAMCA0kAMEYCIQCS46d7YJ9F/tdU +GfJiCwrobzTbX8zBjvPAyy6HEbfSBAIhAO9AaVsC+IAbtBRcNNw1/Lnvc8YGNLFp +o1wIXC3EueBZ +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_pid_array_count01_mismatch/dac-Key.der b/credentials/development/commissioner_dut/struct_cd_pid_array_count01_mismatch/dac-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..d6de29726cdeef801a0a526da067f8d2ce1942f0 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R#g9^8#i@*bTF`e4x?0;$6NDdU&HJt4%O<6&<3QJqe%+1_&yK zNX|V20SBQ(13~}E@1?2RePU{!0e} b`>NJ1|J6d%GrXvvnA$0RjaZ~WT|N&kE$%W9 literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_pid_array_count01_mismatch/dac-Key.pem b/credentials/development/commissioner_dut/struct_cd_pid_array_count01_mismatch/dac-Key.pem new file mode 100644 index 00000000000000..8977d16b531d0b --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_pid_array_count01_mismatch/dac-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIIey8wJmRtgNs7Z8oNG74l2+Dnp4oyerTTB1FR2imj0JoAoGCCqGSM49 +AwEHoUQDQgAEcmXhpnuZPyGDDSuIjh8DFICbjFIfbrd50sPiI+nmjpcHOn20/ksH +Avuq1i7/1ULTM7yooJjaKX6NWKRAXT4PLg== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_cd_pid_array_count01_mismatch/pai-Cert.der b/credentials/development/commissioner_dut/struct_cd_pid_array_count01_mismatch/pai-Cert.der new file mode 100644 index 0000000000000000000000000000000000000000..14130b41db8ee908cdf7be80a017900d025e30ee GIT binary patch literal 472 zcmXqLV!UF|#8|a}nTe5!i6eH;?pG6J0zMgVv2kd%d7QIlVP-NgFqAM5V`C0wVdmlY zO)M!%Em86mZp|b25vab^u%r^nkW+wiv`H+NCROucCbsC7@L@rJq!<~TiF;LaVxg@tv< zLCx&JVBpH6$j}hy+HTdLk&W_eNiB__ik2Ul0u33PY@0BSUfO8@`> literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_pid_array_count01_mismatch/pai-Cert.pem b/credentials/development/commissioner_dut/struct_cd_pid_array_count01_mismatch/pai-Cert.pem new file mode 100644 index 00000000000000..b8ed522c35dbe8 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_pid_array_count01_mismatch/pai-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIB1DCCAXqgAwIBAgIIXby76pAcUPIwCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA1MTMw +MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowRjEYMBYGA1UEAwwPTWF0dGVyIFRlc3Qg +UEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQBgqJ8AgIMBDgwMDAw +WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAQyTDVxWvsyJEvMiYCVDyaZTHyk0sAK +fzIGFLYBCBXXAjgI5KLdZeC5VCEO0vdyxAjHRwkQd+kuqWlj+IzUsyBZo2YwZDAS +BgNVHRMBAf8ECDAGAQH/AgEBMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUmsps +HRglbDUOdVjYeXN7Zl6rymkwHwYDVR0jBBgwFoAUav0idx9RH+y/FkGXZxDc3DGh +cX4wCgYIKoZIzj0EAwIDSAAwRQIhAIBeRYzedz7oF15z4gjltHru0wTodfRcaDtY +d6g5x4ObAiBXrwDptq/LTFnCvaRiQV6Trh37pt073UHX4NWrfhCISQ== +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_pid_array_count01_mismatch/pai-Key.der b/credentials/development/commissioner_dut/struct_cd_pid_array_count01_mismatch/pai-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..3d9164ce5ec69b70fa7776ad83668a0a569d23fc GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R(Mm4?xF(U4Hmt4mmHby5S;DA|@j357-F|jfKd7-urjEyF{rYa%~0WB zFyj^w;dVK-`zT{-`KoT0|2z55EOhvnrXV31zi~(FIr1EO$&kcJL(P(vNJm|uvjeX zo^$kP`+Svo7B%PVH9j}@MiKmvo?52OLGN{T@cAMK zJ+nK5feVvD+W((|4UV(f8{d7qKg<6hLm;2L__{(pkrO%&ujA!AUNI>Izx!tU{fmH| e%IDwDIt-_Top4sVdtqB<_Upd>)^A5*&j0|Gpp$O^ literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_pid_array_count01_valid/dac-Cert.pem b/credentials/development/commissioner_dut/struct_cd_pid_array_count01_valid/dac-Cert.pem new file mode 100644 index 00000000000000..a1527d4980d78e --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_pid_array_count01_valid/dac-Cert.pem @@ -0,0 +1,13 @@ +-----BEGIN CERTIFICATE----- +MIIB4zCCAYqgAwIBAgIIcX35BqO9ycswCgYIKoZIzj0EAwIwRjEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQB +gqJ8AgIMBDgwMDAwIBcNMjIwNTEzMDAwMDAwWhgPOTk5OTEyMzEyMzU5NTlaMEYx +GDAWBgNVBAMMD01hdHRlciBUZXN0IERBQzEUMBIGCisGAQQBgqJ8AgEMBEZGRjEx +FDASBgorBgEEAYKifAICDAQ4MDAwMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE +OKaLnMX5h58knjh8z38o84ONW3KaGYBX7m32snwKtT8XqHSaZQucn63IFmwO4uLn +Y+8QGBqogVv5kXOhdfZwXaNgMF4wDAYDVR0TAQH/BAIwADAOBgNVHQ8BAf8EBAMC +B4AwHQYDVR0OBBYEFN2vTzT9pf8x+mHKhI3havdMn5cuMB8GA1UdIwQYMBaAFAwL +oW07oFyYfwxJKjWDUu8suA5NMAoGCCqGSM49BAMCA0cAMEQCIGb/+RGAQZsHge72 +35pPwQBRDh8XrnEuFMgsQOtfH4jqAiBT7vY99/QQPiTz++aIMZRWyEMi3dC2aWvr +jo+F9sRdzA== +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_pid_array_count01_valid/dac-Key.der b/credentials/development/commissioner_dut/struct_cd_pid_array_count01_valid/dac-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..ae1e1a2a543900261e70c55c874061aec727e9ab GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R#dOhVn(*cn2BKFSrR^oD1Guw9>eUw5_9|86x8p6Fi^_1_&yK zNX|V20SBQ(13~}b@p&wv0yal literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_pid_array_count01_valid/dac-Key.pem b/credentials/development/commissioner_dut/struct_cd_pid_array_count01_valid/dac-Key.pem new file mode 100644 index 00000000000000..1f8e1319b3f332 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_pid_array_count01_valid/dac-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIIbChvJF23gHGdAvuAldnAveXLTSuIi0raOhGSLjFBM8oAoGCCqGSM49 +AwEHoUQDQgAEOKaLnMX5h58knjh8z38o84ONW3KaGYBX7m32snwKtT8XqHSaZQuc +n63IFmwO4uLnY+8QGBqogVv5kXOhdfZwXQ== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_cd_pid_array_count01_valid/pai-Cert.der b/credentials/development/commissioner_dut/struct_cd_pid_array_count01_valid/pai-Cert.der new file mode 100644 index 0000000000000000000000000000000000000000..8390d7f8651d0565ae44a8fc6a99198b5653b518 GIT binary patch literal 471 zcmXqLV!Uk7#8|a}nTe5!iG#1e{m;D&Z&d>>HV&;ek8`#x%uEIbh7ty1Y|No7%sl+Q zi6teeMG7IQ#U%;>j*f;R210CH+H8z0j7^Jbm>79j+}zv@4HU$Ajf@OT4UG-JAWDMY z5(o^9jDg71($q4_zzwIFp4iPq6J_FIu>hGJX&}tT4t6OMBh<;vjO@%#3@pEQH(bx& z_|=)OS2oA*ziw`nEMJ^vkOK4^bEvE^BjbM-4g)qI#l*;Hzy}iJ2Z;d#hmp-d7R2Xc5n~bI z;a-?)y&z^rJ&&iBX>-tfogI9>2J#?jWfou%Hi%^XRVtSclz+2d%yD|Uz@0mW3k&Oz zgPPf$!N7${L2>V*N#@)v#jDG#<_jwyT$%W9$*002{cBEFC9AgXWIV&9p!Ds)Qtp#q f|Hyuty+PqRr&8xbrSug{F(J5!TBOo&0X*zUgpvEt6CWiZA&a021_&yK zNX|V20SBQ(13~}<`@4YGYq9l14vigbPX8@!S{d)F8|1QZ+=1AXv+Fx3?>2}=7g#s- b>7bVa|3{$o53w$s6C)-sG#Pe@Y%0LSsYxA&cM%QT(2%yQ*cYFcl9)XKKZmd^fXf1RtQWkRBt=T>7CmB*=oNcKTI>^jqF-dhfY>h% zh=bygI4q8cqvDtt6vxF0aZ;QTr^OjDB(h>y~(ees{;P?`SMvYI`8?j`-;YVlZCZVH+6;MThi4zwEKJ`| zf2ymW8@c>p@msz){p0)m`0TCEDJy4&I_^xpd~^H7OsbUoeRZ(qOVD}t%6jxP`L65h Jcz5&b*1to0otXdt literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_pid_array_count100_mismatch/dac-Cert.der b/credentials/development/commissioner_dut/struct_cd_pid_array_count100_mismatch/dac-Cert.der new file mode 100644 index 0000000000000000000000000000000000000000..e54fb7d6afe20950b2a666158e8ef39db4cdb3b3 GIT binary patch literal 488 zcmXqLVtiuI#MrffnTe5!i6b?)Ge5H3Y?lES8;4e#$2nUTW+nqSLkR;hHs(+kW*&au z#FCQKB88CD;u3`bM^8f$10gmpZ8k<0#->FzOpH7%ZfQ7(_|%TLOWhkueaNTAEr$;k3!c(HYH5{5C}z2(z(+-Ot1b^$0T~JF^o5%lYXk zAKLCjzcpESUrXM2GVdH&o`S8#3tsOmp0+GQ{=8z{i;ew{z4tvRUUP5%ol{ynUU(?} zUy~#IE^>Ev{lzm+L>4C)#2N4a14CArk?}tZlL3PPABe{f;sFDTy}>{h#OGrXV-d;h z5>D$%;j~$$s5r6d&*H!bKK%C#K_&dwafaDlTv~ibBx-{%30!7U2rNmHUdy%d ex4d>aSER7ki>q#ea!vnF9Q3qkmrq-$-46hazl@Cl literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_pid_array_count100_mismatch/dac-Cert.pem b/credentials/development/commissioner_dut/struct_cd_pid_array_count100_mismatch/dac-Cert.pem new file mode 100644 index 00000000000000..b945b2d4131d68 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_pid_array_count100_mismatch/dac-Cert.pem @@ -0,0 +1,13 @@ +-----BEGIN CERTIFICATE----- +MIIB5DCCAYqgAwIBAgIIZW2Jb1mHNrowCgYIKoZIzj0EAwIwRjEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQB +gqJ8AgIMBDgwMDAwIBcNMjIwNTEzMDAwMDAwWhgPOTk5OTEyMzEyMzU5NTlaMEYx +GDAWBgNVBAMMD01hdHRlciBUZXN0IERBQzEUMBIGCisGAQQBgqJ8AgEMBEZGRjEx +FDASBgorBgEEAYKifAICDAQ4MDAwMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE +z5dk8IbcW+00od8qHzOTDZwdDHC1c6DruXOWpmgfzyF+6LGP40u+4HOs3r/cyiq4 +6Egh/6xsHe5Zu2t/0czkFKNgMF4wDAYDVR0TAQH/BAIwADAOBgNVHQ8BAf8EBAMC +B4AwHQYDVR0OBBYEFGmKE2aKZAk8qiEhkYL8o1HgTA/eMB8GA1UdIwQYMBaAFKgb +Kip9yynSEva5ZcDzuKrz3AZJMAoGCCqGSM49BAMCA0gAMEUCIQCIBJYEXlCUaYYK +XG0xuQAkV9rHAJuKCioOxBh9U9IQ0wIgUXRmG60KsfsfK3cKWRMq6NVGER6C/8jB +STiHH2ahK48= +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_pid_array_count100_mismatch/dac-Key.der b/credentials/development/commissioner_dut/struct_cd_pid_array_count100_mismatch/dac-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..9b32801a136e6eb55ada2956d019f2f8689253a7 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1Rxnk?`Vm?BZ+|tZW_bS-We0(ahu&&nq{w literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_pid_array_count100_mismatch/dac-Key.pem b/credentials/development/commissioner_dut/struct_cd_pid_array_count100_mismatch/dac-Key.pem new file mode 100644 index 00000000000000..891711e86b02c9 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_pid_array_count100_mismatch/dac-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIBlG72iJvyOJfe52kdUBHHesuhosneaJpKyTEwhgjtk1oAoGCCqGSM49 +AwEHoUQDQgAEz5dk8IbcW+00od8qHzOTDZwdDHC1c6DruXOWpmgfzyF+6LGP40u+ +4HOs3r/cyiq46Egh/6xsHe5Zu2t/0czkFA== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_cd_pid_array_count100_mismatch/pai-Cert.der b/credentials/development/commissioner_dut/struct_cd_pid_array_count100_mismatch/pai-Cert.der new file mode 100644 index 0000000000000000000000000000000000000000..0920718933afd7d1a679f638d8b45e3a03ebf1c2 GIT binary patch literal 473 zcmXqLV!Ue5#8|a}nTe5!i6h0SCnRDTf2jc%8;4e#$2nUTW+npzLkR;hHs(+kW*&au z#FCQKB88CD;u3`bM@K^u10gmpZ8k<0#->FzOpH7%Zf*M0D@2JWv`COseSMAi!xoG`;ppw<$4hwp( g|IDa2{yb6O%rwqDTT^dntXBzqd;5?;^3@la04FGm-~a#s literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_pid_array_count100_mismatch/pai-Cert.pem b/credentials/development/commissioner_dut/struct_cd_pid_array_count100_mismatch/pai-Cert.pem new file mode 100644 index 00000000000000..a61f77e61e2f4d --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_pid_array_count100_mismatch/pai-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIB1TCCAXqgAwIBAgIIZEKMVFiWD3UwCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA1MTMw +MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowRjEYMBYGA1UEAwwPTWF0dGVyIFRlc3Qg +UEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQBgqJ8AgIMBDgwMDAw +WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAARowtproGLrUnikKMqXXCaLZhvqxg+Z +VxoH8rpCg0dluZmrljXWCEgXlT7C4tvWdzE4FmvZ0BLqqRKqRW20KwgBo2YwZDAS +BgNVHRMBAf8ECDAGAQH/AgEBMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUqBsq +Kn3LKdIS9rllwPO4qvPcBkkwHwYDVR0jBBgwFoAUav0idx9RH+y/FkGXZxDc3DGh +cX4wCgYIKoZIzj0EAwIDSQAwRgIhAI3aD6oT5T8Fb9S4K0evXl/XuHpudPN4JY57 +QocJoq/fAiEAq1dAoI3X+Wh/M/OREMyWCby1ZdgoryRR7dvCEGPV6Gk= +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_pid_array_count100_mismatch/pai-Key.der b/credentials/development/commissioner_dut/struct_cd_pid_array_count100_mismatch/pai-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..9fa128d9f9c2c21b89e9365306e69333b71ce14f GIT binary patch literal 121 zcmV-<0EYiCcLD(c1RzOL;Ky7Pd+Kk8-5Z4__feAlhn6>(aIL(jBy69l5ILX<1_&yK zNX|V20SBQ(13~}OGwiJ0LStD|NDRE9xY9$t+HHgGh15!J+#b6W=m)Gu&kA{hZ#zAvP(rs{P=_G z;5EW-3KbMxI)(@F&?PGHCQ+v@5naMU7?F94?w{MocFdH=mni0nt3jj8oOR5o?U;3@ z;Z6qafX6pd%o$^D%QS4qnEnTiS;v^P9OG_v#AU>dA8RcpE@22$xP>JU9#JN|!YBM9 zAU24g*eJ?Hh1eu2MU@DNYEdILi?G-twu)_{R%{nLM4gC;onn`WikOItda+wHh&>`9 z_KHT)B=(8@!WK!95^0eU&7wsd5C=u8I3(IcyXX*|;;`rvM?|+cDzf63=n=glC;G&3 z(JxMjlj4*(Ee6CHaaIh9bK<rZm#RkcqAN7 zPTKd@lN1^)Iq9L7rRR@2YfB;j=U>*!t&#uZ{2uT6?}rY{ZCX8c){Jz!vw3O;<`*8m z`rbTzqvPxQiJKKam!GsR_CLJkHs&Ff$pr8A=$4u`!3TF!S*H zCYF?>7Ab_J7MCalIC>h27znX(X|pl1Fg7i!VPfQAadUGsL=$D=VX-g(0tIniBO?P- zLt_xfz#vM3-x3H6jf{cF)Y8;43a3pjj?QRi;s;&)nvNXw z%ZE=&r!8!8s8UMv{R(_m!ZpoT-v)=C)X4`$~Vp1r5Yqhaw?a{|x cQXLLgb&WD=uEuQitNO9|{?B#6459uS0Mb&AZvX%Q literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_pid_array_count100_valid/dac-Cert.pem b/credentials/development/commissioner_dut/struct_cd_pid_array_count100_valid/dac-Cert.pem new file mode 100644 index 00000000000000..855026530f36ce --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_pid_array_count100_valid/dac-Cert.pem @@ -0,0 +1,13 @@ +-----BEGIN CERTIFICATE----- +MIIB4zCCAYqgAwIBAgIIBWC/Y9m5Rv8wCgYIKoZIzj0EAwIwRjEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQB +gqJ8AgIMBDgwMDAwIBcNMjIwNTEzMDAwMDAwWhgPOTk5OTEyMzEyMzU5NTlaMEYx +GDAWBgNVBAMMD01hdHRlciBUZXN0IERBQzEUMBIGCisGAQQBgqJ8AgEMBEZGRjEx +FDASBgorBgEEAYKifAICDAQ4MDAwMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE +L4LJQYlnTkwiD+9s2/M+j6sYLIzYh2SXmvFp+Cd8ulPCxT0eSGt4JHqtSwV6CtVU +aGRfTlI47/H4OFLH953QfaNgMF4wDAYDVR0TAQH/BAIwADAOBgNVHQ8BAf8EBAMC +B4AwHQYDVR0OBBYEFPe/WyiCM6fQc5YDqhKnFaSmaA5rMB8GA1UdIwQYMBaAFFFv +O83LtD0dYvh0Rv/RhyzRj1KXMAoGCCqGSM49BAMCA0cAMEQCIG2weKCroxFbDIoU +F7aMX4WjA4aCLXSsZzaN99CbPvSKAiB17TqxjK3F40oaiEDVLTJofNVcsU56+LPf ++a5TAFVPKA== +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_pid_array_count100_valid/dac-Key.der b/credentials/development/commissioner_dut/struct_cd_pid_array_count100_valid/dac-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..fc3ca6c0cfe04192393f964d719471defcc9f618 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1Rzz#VlGMPbE)R&ZP#uZ$J^he$ZS{vt-%K{0nVR^exRTV1_&yK zNX|V20SBQ(13~}_npvv@JuxU literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_pid_array_count100_valid/dac-Key.pem b/credentials/development/commissioner_dut/struct_cd_pid_array_count100_valid/dac-Key.pem new file mode 100644 index 00000000000000..f181729b285605 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_pid_array_count100_valid/dac-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIFXFYi5J6XOp5uht124ax9vfpMhsWAGtwQcwAc6fiX6goAoGCCqGSM49 +AwEHoUQDQgAEL4LJQYlnTkwiD+9s2/M+j6sYLIzYh2SXmvFp+Cd8ulPCxT0eSGt4 +JHqtSwV6CtVUaGRfTlI47/H4OFLH953QfQ== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_cd_pid_array_count100_valid/pai-Cert.der b/credentials/development/commissioner_dut/struct_cd_pid_array_count100_valid/pai-Cert.der new file mode 100644 index 0000000000000000000000000000000000000000..45458dd0d3d9f119eb9c313e1d54a508c60da633 GIT binary patch literal 473 zcmXqLV!Ue5#8|a}nTe5!iNjCv=~Jnj@}dS@Y#dr`9_MUXn3)U=3?&T2*qB3En0fep z6H7``ixfgqi%S#&932fs420OYwAmP07@HQ=FfsD5xVgC*8YqbK8W|aw8X6mbL6ii) zB@h@I83U22rKx3Bru za>n-X6KUDN+!=pWcKFF3E4|HUsdjlq^|x(Pueu*!i2G#y>h0mN2;zML-Z|AppvCWAI4uz gf5-Uz+LnOTY9j3h8^ez=J=nFi`;*u4%lTRQ08_h-eEi;4ggXclb}6w3LlJu*|IC9OemDB8Geu;41{mSyWFagz(Tx=XbznrsWVP;}+H*jTA zkjjo*6_RUl{cI0gc1BE0Nm;mM`|rmIGkAP1ZECu-a2b;#!|xMLB^q4M9yvuVTY6*e XQI%izdyVfhzVm&!&d#{a-pB?3qrz6b literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_pid_array_count10_mismatch/dac-Cert.der b/credentials/development/commissioner_dut/struct_cd_pid_array_count10_mismatch/dac-Cert.der new file mode 100644 index 0000000000000000000000000000000000000000..125f8500bd64380b028bba90a4f35f59cf518592 GIT binary patch literal 487 zcmXqLVtj1S#MrffnTe5!iGw%){OjM|b&3XDY#dr`9_MUXn3)XR3?&T2*qB3En0fep z6H7``ixfgqi%S#&96b$1420OYwAmP07@HQ=FfsD5xVgC*qKPu`uvi!Xfr2=%k&%I^ zp)rVKU=St2ZwUm3M#ey7YH4a2h0`V%M`tuM@!J$>Ak4-Nc0Us%)FaG{?95IKEJh|L z+4~mo9vAPH7EGCW>#M2g({Dk$ZC;o*`u<=kxpzL3%||Jxc@YPL_WKg?r=~X!Remzj z_`>oj`s%A~e-8+KU7TPLXTSpt3|V1D#{Vo#1`Gy#ARa%62MjFs1_N0TpN~b1Ma1n~ zz@sPo-GBeO_-^ID1CgC!5}u3(@*rtt7GRJzh$zbmGu~eD^SbGtywCsVn|_)4pTi0{ z=$YLa3|yELShle@8te7=aK-%UG}wKrsnyExP?;xlsHRWmLd90ENG654nRi+KIY%Y8 dKNV%2`R*D1_&yK zNX|V20SBQ(13~}pC{l*4dY#dr`9_MUXn3)U=3?&T2*qB3En0fep z6H7``ixfgqi%S#&932fs420OYwAmP07@HQ=FfsD5xVgC*8YqbK8W|aw8X6mbL6ii) zB@h@I83U22rKx3 z<%Ah;ulRZ0bWh&r|MN}1O#RPcWgridR%QVPVS`B4U!`*SK>0WO#T=)n3*5P5xUjGe zIjEW484O&Q6ha*gOM4IboIepI$-#E3`$@4%_R@4IX_dnc-}i6tf3$*0A>sLq*EOE! eJ3HDN)m)TyI29**i&&l%@lI}W4GrQ7zYYM*q=)JN literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_pid_array_count10_mismatch/pai-Cert.pem b/credentials/development/commissioner_dut/struct_cd_pid_array_count10_mismatch/pai-Cert.pem new file mode 100644 index 00000000000000..5380fa721de8b3 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_pid_array_count10_mismatch/pai-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIB0zCCAXqgAwIBAgIIYDkn68zLjzMwCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA1MTMw +MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowRjEYMBYGA1UEAwwPTWF0dGVyIFRlc3Qg +UEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQBgqJ8AgIMBDgwMDAw +WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAQhMGd7bMeVrT02FRtcfsNMgwUtbp+v +59Np+ZpQ73T0tsVowHEPfrgMsY0tYHcCm2Ur627W0C33ZMlPNsYgPyl6o2YwZDAS +BgNVHRMBAf8ECDAGAQH/AgEBMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUIx4T +Aduo+dc1vG7z/5819JX/CDowHwYDVR0jBBgwFoAUav0idx9RH+y/FkGXZxDc3DGh +cX4wCgYIKoZIzj0EAwIDRwAwRAIgVUAxdY3CTM/IWhkIBtqL5HMka6VnGhskw0D3 +v7eP4qgCIGDnmOt8Sc+JiIeBJkQjLAkhk0sUOckUS2OERVVSClfX +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_pid_array_count10_mismatch/pai-Key.der b/credentials/development/commissioner_dut/struct_cd_pid_array_count10_mismatch/pai-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..73fcbfd757c923a1694733fa2f3c0f6c433b4c78 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R(B&oXDbEo``8IKSs(EeVkLlJu*|IC9OemDB8Geu;41{mSyWFagz(Tx=XbznrsWVP;}+H*jTA zD1JKIm~9Hre{PMa3TvhE>;IKK{;BNRWhAVi`*M;uXJa8NUH3U@M literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_pid_array_count10_valid/dac-Cert.der b/credentials/development/commissioner_dut/struct_cd_pid_array_count10_valid/dac-Cert.der new file mode 100644 index 0000000000000000000000000000000000000000..f95c3bf24e9f1ef9c7122760ee50dfac1a3ed57e GIT binary patch literal 488 zcmXqLVtiuI#MrffnTe5!iNon!u-nam?ga*1Y#dr`9_MUXn3)XR3?&T2*qB3En0fep z6H7``ixfgqi%S#&96b$1420OYwAmP07@HQ=FfsD5xVgC*qKPu`uvi!Xfr2=%k&%I^ zp)rVKU=St2ZwUm3M#ey7YH4a2h0`V%M`tuM@!J$>Ak4-Nc0Us%)FaG{?95IKEHUN> z=7%h(@UxGQy)=Ej?GCqlTd!4l2@1~AaJ;r_L%hW&L)BUP`#-yJG9LC9cM<9Dm~`Xl zDVf#me?pyCKK45`XK{i-oB>Eg+lBK~7Hb*EgQS&NfI-?IVy?5D<=v-EIUAn6+)%M-m8SRXV>gh4 zp4o%Jz?DgnVfxpcH428)y4?@k^a?nvyuCr>)%0s(YMn1Nu4r#QYQ2a_p`5wsTU5US f|5BN`E|Xc0Mh6~Wsxm|T%;B~5QxoK0&$$c$s3wh< literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_pid_array_count10_valid/dac-Cert.pem b/credentials/development/commissioner_dut/struct_cd_pid_array_count10_valid/dac-Cert.pem new file mode 100644 index 00000000000000..2fcccb7057c577 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_pid_array_count10_valid/dac-Cert.pem @@ -0,0 +1,13 @@ +-----BEGIN CERTIFICATE----- +MIIB5DCCAYqgAwIBAgIIQs5TRtlQi6AwCgYIKoZIzj0EAwIwRjEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQB +gqJ8AgIMBDgwMDAwIBcNMjIwNTEzMDAwMDAwWhgPOTk5OTEyMzEyMzU5NTlaMEYx +GDAWBgNVBAMMD01hdHRlciBUZXN0IERBQzEUMBIGCisGAQQBgqJ8AgEMBEZGRjEx +FDASBgorBgEEAYKifAICDAQ4MDAwMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE +XDfAn1SgeE4/WB3Sl689uEbetdZ6ShERmihB1rqwXzjyMSWav4/zRgkBw08XRBSP +iJLYxcocqwf8VUOp407KnKNgMF4wDAYDVR0TAQH/BAIwADAOBgNVHQ8BAf8EBAMC +B4AwHQYDVR0OBBYEFHoTIkuccC2JWtStO3mPPlcMeXMqMB8GA1UdIwQYMBaAFDcs +twTu8rJssObpsHiiqilLm8bYMAoGCCqGSM49BAMCA0gAMEUCIQCX9WysIDGWi0fD +PI0QQKnbsBTql9YWJonpKNQrs8U7ogIgdwNy9lqPIA+lHJ1EkwXFW1HHpSSYF8zD +rX+VYB/rnNM= +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_pid_array_count10_valid/dac-Key.der b/credentials/development/commissioner_dut/struct_cd_pid_array_count10_valid/dac-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..eb059edc50f1b7569444e0deaf8b0a419dc7eeff GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R(vxq<6@BWDgT2IK6YOB)Ti*f_M>JkHs&Ff$n#7)lt3u`!3TF!S*H zCYF?>7Ab_J7MCalI64}N7znX(X|pl1Fg7i!VPfQAadUGsG*A%dH8L_VH8eH=gD44p zOCT^bG6o`3OH<1z12>#zdSW*dO_Yg;#R6n@q=7ISJJ_X6j8G>tGqN)~F|Z`pD|RQp z^6};9c(Y(qqr&@$NzWGRZ_ahtQvXO|YS4s3wo%Jg-de%7vN(UiE`>jBf^Wp1KRUi| zhO68B9c$JYaxPh%W{?8(9CN6wFeBrC77hb8AjQPUXut;&;|GZW1Ba2#Ko-R3V-aH! zG1uA7^6t~7oDI)jZm3waO4EDxu^R^RAZcY5U=TKlWc^htmk*SGvtP_{db+@!JBAAj z>yU$**^|M*jY*MVQ`J9R$4B+kQpJs>Kj%2j-tWYBHeF=3t6J2a=M(?dzXB>*Dq(o~ i`o}mvt(#ZA=EX>z`^U;Z{og*Bf?3z%4gELuD*ylnIFDce literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_pid_array_count10_valid/pai-Cert.pem b/credentials/development/commissioner_dut/struct_cd_pid_array_count10_valid/pai-Cert.pem new file mode 100644 index 00000000000000..74766ab1894dc8 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_pid_array_count10_valid/pai-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIB1TCCAXqgAwIBAgIIMAPYAZtS0rEwCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA1MTMw +MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowRjEYMBYGA1UEAwwPTWF0dGVyIFRlc3Qg +UEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQBgqJ8AgIMBDgwMDAw +WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAARjfyGLY+pMTQiI7KCSgSDvWJLmoy+z +bUC0f+IYlVKQwj1apqnaqAapc2+guiD8hhHsF+fix76YRUafuKysMQmko2YwZDAS +BgNVHRMBAf8ECDAGAQH/AgEBMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUNyy3 +BO7ysmyw5umweKKqKUubxtgwHwYDVR0jBBgwFoAUav0idx9RH+y/FkGXZxDc3DGh +cX4wCgYIKoZIzj0EAwIDSQAwRgIhALJ6/i1B4n+WZRczG/NsQpu/Qg7NZxSrRSZa +vOeR/X/qAiEApRgxy9fxXg4q2dT1blwazv4FD5f+vhxwmtZfMU+yjyA= +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_pid_array_count10_valid/pai-Key.der b/credentials/development/commissioner_dut/struct_cd_pid_array_count10_valid/pai-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..90f34dafff2bc935199a30974afcadc02450699d GIT binary patch literal 121 zcmV-<0EYiCcLD(c1Rzk5Gn$A!u5keUFl0muxRDFr%as*RkGW#jN8aDuTHT-u1_&yK zNX|V20SBQ(13~}=)tT73suyQry literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_pid_array_count10_valid/pai-Key.pem b/credentials/development/commissioner_dut/struct_cd_pid_array_count10_valid/pai-Key.pem new file mode 100644 index 00000000000000..7acc7d3afa1c3f --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_pid_array_count10_valid/pai-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIFCQM5qIPa5xAP0wZEQKuJEL38uVFU+PuWLWR97f3FrdoAoGCCqGSM49 +AwEHoUQDQgAEY38hi2PqTE0IiOygkoEg71iS5qMvs21AtH/iGJVSkMI9Wqap2qgG +qXNvoLog/IYR7Bfn4se+mEVGn7isrDEJpA== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_cd_pid_array_count10_valid/test_case_vector.json b/credentials/development/commissioner_dut/struct_cd_pid_array_count10_valid/test_case_vector.json new file mode 100644 index 00000000000000..d9cc7002419b65 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_pid_array_count10_valid/test_case_vector.json @@ -0,0 +1,9 @@ +{ + "description": "CD Test Vector: The product_id_array field has 10 PID values one of which matches the PID value in DAC.", + "is_success_case": "true", + "dac_cert": "308201e43082018aa003020102020842ce5346d9508ba0300a06082a8648ce3d04030230463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303020170d3232303531333030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742044414331143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303059301306072a8648ce3d020106082a8648ce3d030107034200045c37c09f54a0784e3f581dd297af3db846deb5d67a4a11119a2841d6bab05f38f231259abf8ff3460901c34f1744148f8892d8c5ca1cab07fc5543a9e34eca9ca360305e300c0603551d130101ff04023000300e0603551d0f0101ff040403020780301d0603551d0e041604147a13224b9c702d895ad4ad3b798f3e570c79732a301f0603551d23041830168014372cb704eef2b26cb0e6e9b078a2aa294b9bc6d8300a06082a8648ce3d040302034800304502210097f56cac2031968b47c33c8d1040a9dbb014ea97d6162689e928d42bb3c53ba20220770372f65a8f200fa51c9d449305c55b51c7a5249817ccc3ad7f95601feb9cd3", + "pai_cert": "308201d53082017aa00302010202083003d8019b52d2b1300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414131143012060a2b0601040182a27c02010c04464646313020170d3232303531333030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303059301306072a8648ce3d020106082a8648ce3d03010703420004637f218b63ea4c4d0888eca0928120ef5892e6a32fb36d40b47fe218955290c23d5aa6a9daa806a9736fa0ba20fc8611ec17e7e2c7be9845469fb8acac3109a4a366306430120603551d130101ff040830060101ff020101300e0603551d0f0101ff040403020106301d0603551d0e04160414372cb704eef2b26cb0e6e9b078a2aa294b9bc6d8301f0603551d230418301680146afd22771f511fecbf1641976710dcdc31a1717e300a06082a8648ce3d0403020349003046022100b27afe2d41e27f966517331bf36c429bbf420ecd6714ab45265abce791fd7fea022100a51831cbd7f15e0e2ad9d4f56e5c1acefe050f97febe1c709ad65f314fb28f20", + "certification_declaration": "3082011f06092a864886f70d010702a08201103082010c020103310d300b0609608648016503040201307906092a864886f70d010701a06c046a152000012501f1ff360205008005018005028005038005048005058005068005078005088005098018250334122c04135a494732303134315a423333303030312d323424050024060025077698240800360b10140b44cabbc5016577aa8b44ffb90fcca140fe66201818317d307b020103801462fa823359acfaa9963e1cfa140addf504f37160300b0609608648016503040201300a06082a8648ce3d04030204473045022073e59b3306940cff0b285a783b2277d7ff2348fe24baba32132ba81bd1b65961022100b74ed8352a2da96a8767c49b8d7678515e31617808ae94f0b9a1ae55b929c0c7", + "dac_private_key": "fdc3a477c87b640f21e69ac119154f5f5187c895bee26c5431fdf367a2afc3cc", + "dac_public_key": "045c37c09f54a0784e3f581dd297af3db846deb5d67a4a11119a2841d6bab05f38f231259abf8ff3460901c34f1744148f8892d8c5ca1cab07fc5543a9e34eca9c" +} diff --git a/credentials/development/commissioner_dut/struct_cd_pid_array_missing/cd.der b/credentials/development/commissioner_dut/struct_cd_pid_array_missing/cd.der new file mode 100644 index 0000000000000000000000000000000000000000..119ee144c09dc6892d29da5d2008fec554a9e88f GIT binary patch literal 255 zcmXqL{KLkn)#lOmotKfFX+h&VgT~iPjLe3-2Hb3%32h#Xsmv@)j0O=1MT`r)Sv*A* z7#LL0^l;aDX5AN*${$W+#R4bXk{!efGbbWE+<3?vi0B)*QsQ>@~ literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_pid_array_missing/dac-Cert.der b/credentials/development/commissioner_dut/struct_cd_pid_array_missing/dac-Cert.der new file mode 100644 index 0000000000000000000000000000000000000000..5fedf783c8aa7beba44440bb089fde87b782f35d GIT binary patch literal 488 zcmXqLVtiuI#MrffnTe5!iK9krB3tf*_Q?iZY#dr`9_MUXn3)XR3?&T2*qB3En0fep z6H7``ixfgqi%S#&96b$1420OYwAmP07@HQ=FfsD5xVgC*qKPu`uvi!Xfr2=%k&%I^ zp)rVKU=St2ZwUm3M#ey7YH4a2h0`V%M`tuM@!J$>Ak4-Nc0Us%)FaG{?95IKEFUhP zi__(ZIeo2l1*cxuOs08tCDz8*Z*}-QJ)v{E^<1cW+xFW||9@UwB>1}X)&9-Kvu62y zWIwiJenZMC@e8g0=Pyn$h%?{;28OIKBjbM-CIbcoJ`j%|!~+HvdxL>2h|k9&#v*c! z%|fikXxij8_J^|VQZ79I`r!Ly19_0NG7B(B8$=9?PcQv-@{p4CtEWzR=Vt3aP0hAL z4tiz}1_M_n1z+0_!q--P>}UIzVfo{B*>+EB)x&>RKaJClczyA(WsoA1BE#J}Yw=bw{z4s==Lonf9!{WtE=I5F1-`Z{g0QyOmD*ylh literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_pid_array_missing/dac-Cert.pem b/credentials/development/commissioner_dut/struct_cd_pid_array_missing/dac-Cert.pem new file mode 100644 index 00000000000000..fd2a6af632714d --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_pid_array_missing/dac-Cert.pem @@ -0,0 +1,13 @@ +-----BEGIN CERTIFICATE----- +MIIB5DCCAYqgAwIBAgIIfBaRBm3gh5MwCgYIKoZIzj0EAwIwRjEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQB +gqJ8AgIMBDgwMDAwIBcNMjIwNTEzMDAwMDAwWhgPOTk5OTEyMzEyMzU5NTlaMEYx +GDAWBgNVBAMMD01hdHRlciBUZXN0IERBQzEUMBIGCisGAQQBgqJ8AgEMBEZGRjEx +FDASBgorBgEEAYKifAICDAQ4MDAwMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE +8NPOXi0IXMvWhagJLoqZAp5+dDsz19qITOXILNuFzlUnhrfbQv/50aIR64nqv7Mz +mppO8QfGuJ+AZKoX0IX/n6NgMF4wDAYDVR0TAQH/BAIwADAOBgNVHQ8BAf8EBAMC +B4AwHQYDVR0OBBYEFNYGOBZ8MpaTrD/Caz5k0Of14PeTMB8GA1UdIwQYMBaAFDFz +y6X6ycIiO+rlQm7Omy/lZWs+MAoGCCqGSM49BAMCA0gAMEUCIE098BPWqvGPBv5o +OfjbdrdJOyXD/avlXitY69HDOVIhAiEA3VYeVkGi2BV/HbegeYXe7GhIEWDegKOj +AjfPAz/tPbQ= +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_pid_array_missing/dac-Key.der b/credentials/development/commissioner_dut/struct_cd_pid_array_missing/dac-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..2eb2b321ae75d22002e72074cf71e017656da6e4 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1Ry*tBhW6&n&<~6GW?`3HD0zqW3ywiIQFYY=*(dR^6Q`q1_&yK zNX|V20SBQ(13~}<@YBv-EeKr8)`h4EE{d4~o_=&YGuPUPOy$Td+l9_mCx*A%LjU>E bq7mzf>c6uynwn1W2gbOcfMlu{(1rh>;FdT? literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_pid_array_missing/dac-Key.pem b/credentials/development/commissioner_dut/struct_cd_pid_array_missing/dac-Key.pem new file mode 100644 index 00000000000000..46a7a13a7e0e1e --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_pid_array_missing/dac-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIDwsI9AuyproByYy/KQvNV62P2OzY7E49qtH6MxhBPLroAoGCCqGSM49 +AwEHoUQDQgAE8NPOXi0IXMvWhagJLoqZAp5+dDsz19qITOXILNuFzlUnhrfbQv/5 +0aIR64nqv7MzmppO8QfGuJ+AZKoX0IX/nw== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_cd_pid_array_missing/pai-Cert.der b/credentials/development/commissioner_dut/struct_cd_pid_array_missing/pai-Cert.der new file mode 100644 index 0000000000000000000000000000000000000000..3de287053f2fcffa4134dedc23c816806a0f71b9 GIT binary patch literal 472 zcmXqLV!UF|#8|a}nTe5!i6eUXtQ(5A%9{+h*f_M>JkHs&Ff$n#7)lt3u`!3TF!S*H zCYF?>7Ab_J7MCalI64}N7znX(X|pl1Fg7i!VPfQAadUGsG*A%dH8L_VH8eH=gD44p zOCT^bG6o`3OH<1z12>#zdSW*dO_Yg;#R6n@q=7ISJJ_X6j8G>tGqN)~F|f!@D7Sup zH(Z9d`}w63zs0`N)8Df=NqKzq`MF)`Np;E&`zu|3OdQ>Mk1QiE@O=30x&Ol9(1N79 zmEX>k-jBQ}ux)XgK?=}w%%QTvjEw(TI1Jc;6cZz(0Ut<=A0!4097Z++SrDI(MT|wn zu=w=SUndVKS-*Pfly`2n{?pWKI|F%;v@#1Y2pdGQ{wkHr2g<+MFXlKsUEt0g!-a)) z$U)8Q!C>IZq{y&Tr*)3Hj)0m}`qGsBI`yxn?_L-3Qa9|1ScK&2`CQhInG`ak?tS!P g)^&}VCU{jMAzAgF!;;vCM>m)+U)6W-N6g!a0GZm2DF6Tf literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_pid_array_missing/pai-Cert.pem b/credentials/development/commissioner_dut/struct_cd_pid_array_missing/pai-Cert.pem new file mode 100644 index 00000000000000..9f3df97174caee --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_pid_array_missing/pai-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIB1DCCAXqgAwIBAgIIW6ea2CHad4IwCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA1MTMw +MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowRjEYMBYGA1UEAwwPTWF0dGVyIFRlc3Qg +UEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQBgqJ8AgIMBDgwMDAw +WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAQekHc7791XHA2L59J0TqNNG5fvBEIa +SPFM+bci5HtkuD/Uik4CCIsu4jlZ0Azw90m/0MNVcGLdefbMdd9Z0RC2o2YwZDAS +BgNVHRMBAf8ECDAGAQH/AgEBMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUMXPL +pfrJwiI76uVCbs6bL+Vlaz4wHwYDVR0jBBgwFoAUav0idx9RH+y/FkGXZxDc3DGh +cX4wCgYIKoZIzj0EAwIDSAAwRQIhAKUshZwnLBAmGmelZL8sf+qXu65U6S1W1BZY +GaufCjvjAiBpWt7xSgMtRVqWEdUYYGMl3kCkXeHFsDenqo7e+FztkQ== +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_pid_array_missing/pai-Key.der b/credentials/development/commissioner_dut/struct_cd_pid_array_missing/pai-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..88fc9e6dab3d45f592c0c5c450bc90ff4b646179 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R$6LdTijaz5T9x4`_!?rsA0=>BzzYYRPI((FC~r?3thn1_&yK zNX|V20SBQ(13~}<9*}oC@7-4%4U6Z}bWWp98<+0{LK;Z%O!>DWSg~|9A4AS?KUDO+iA!u-2d&Xk~*)(yu1t$Th!KPP3EwCBk+0E6eA? z1XO2mv2g(1dd`-GnTf^Sz?Dgn;eFD%+0qX3S;2uVJ3gM^RP{XbL9Q+MX?wzZ4U_9B q$6J{cEY@$YPLtKDntjY}UZrrAx8%|HYxPZ*?X3t(E#`3YH~;|6l2S1M literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_security_info_missing/dac-Cert.der b/credentials/development/commissioner_dut/struct_cd_security_info_missing/dac-Cert.der new file mode 100644 index 0000000000000000000000000000000000000000..0c8efbff7ebb7942d20425d46c4650062204cd50 GIT binary patch literal 488 zcmXqLVtiuI#MrffnTe5!iKF^sJmdO3`q>6tY#dr`9_MUXn3)XR3?&T2*qB3En0fep z6H7``ixfgqi%S#&96b$1420OYwAmP07@HQ=FfsD5xVgC*qKPu`uvi!Xfr2=%k&%I^ zp)rVKU=St2ZwUm3M#ey7YH4a2h0`V%M`tuM@!J$>Ak4-Nc0Us%)FaG{?95IKEC#Ow zt_0-pbaZUa+*$u)$AhG2r%v+x(fal3v1Ol!QB>xRMYEoZ)y>!cb)r8#_p@@jk=zdd z@15(#!wS6qUbQ=`usFdW&VUCP7_!2QjQ?4f3>XafKsI0u0gyk(~+K(=LD3_TIX8&iYpnK?h^NzG+a;46I+;el`$CT=nmyZGbkCPVw literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_security_info_missing/dac-Cert.pem b/credentials/development/commissioner_dut/struct_cd_security_info_missing/dac-Cert.pem new file mode 100644 index 00000000000000..56dc334b58cf5d --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_security_info_missing/dac-Cert.pem @@ -0,0 +1,13 @@ +-----BEGIN CERTIFICATE----- +MIIB5DCCAYqgAwIBAgIIe/FfAa+8L2swCgYIKoZIzj0EAwIwRjEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQB +gqJ8AgIMBDgwMDAwIBcNMjIwNTEzMDAwMDAwWhgPOTk5OTEyMzEyMzU5NTlaMEYx +GDAWBgNVBAMMD01hdHRlciBUZXN0IERBQzEUMBIGCisGAQQBgqJ8AgEMBEZGRjEx +FDASBgorBgEEAYKifAICDAQ4MDAwMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE +MOtQ1FBsDIiIs2m5f/i44GLmyskM/Cr66uM5jkgyWmm4oprnFn6fL/rIj2dt8yN3 +Mh64T/eJrxdWcEr91T7NIKNgMF4wDAYDVR0TAQH/BAIwADAOBgNVHQ8BAf8EBAMC +B4AwHQYDVR0OBBYEFGVde9k4V7SCSks/rf+lFAIAKL6aMB8GA1UdIwQYMBaAFLlg +t2bT8ytLvgqNgG8hRMnlbsoqMAoGCCqGSM49BAMCA0gAMEUCIQDMiDcAi6AgFS9Y +hauVpk5luOCi5sn57DUw12ls+J4anQIgDndbMOh8Ae4bick2PVUk0okh6eminiG8 +2aHxZHtk6eM= +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_security_info_missing/dac-Key.der b/credentials/development/commissioner_dut/struct_cd_security_info_missing/dac-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..2447cd5e9b2e6f903e0b4cf87fccda6743cb9009 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R%$oS^4TYYfp&ZSG&?IcMw1G47mYy-jK!ses{Db38A101_&yK zNX|V20SBQ(13~}fE b`pA!GZSx~{G9I{3_ld6;R&YxF)jrK2BAYhY literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_security_info_missing/dac-Key.pem b/credentials/development/commissioner_dut/struct_cd_security_info_missing/dac-Key.pem new file mode 100644 index 00000000000000..13e7f6eb83c7bb --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_security_info_missing/dac-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIMebWfnqOWtPiN9Xu9IsdxA/8wy5AXXekMYAfne0JQmhoAoGCCqGSM49 +AwEHoUQDQgAEMOtQ1FBsDIiIs2m5f/i44GLmyskM/Cr66uM5jkgyWmm4oprnFn6f +L/rIj2dt8yN3Mh64T/eJrxdWcEr91T7NIA== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_cd_security_info_missing/pai-Cert.der b/credentials/development/commissioner_dut/struct_cd_security_info_missing/pai-Cert.der new file mode 100644 index 0000000000000000000000000000000000000000..67569132f1ac54e78e646e2a32d7c0d2fa30e3fa GIT binary patch literal 472 zcmXqLV!UF|#8|a}nTe5!i6hU{)i1oI`iub=8;4e#$2nUTW+npzLkR;hHs(+kW*&au z#FCQKB88CD;u3`bM@K^u10gmpZ8k<0#->FzOpH7%ZfU`Qy*U5GBqRji-vK_RJ9LBHwrDB&vdlEX0}d!%F}?~jZr#h z_Q@Z7^P~BJ=$yrA1}Q+#F^9?uGcx{X;V@tWQcR4D27DkfevlY2a2VMPWI=pB7BLo) zoeA61E`Qec-pAG3kgw=+@@d{FEdzOwv@#1Y2pdGQ{wkHr2g<+MFXlKsUEt0g!-a)) z$U)8Q!C>IZq`;Ebo9s9F*u(XkU+$zJfn=F51@j357-F|jfKd7-urjE!{r|7ZUN%F8 zgTahjK!n@n)b68UHFzOpH7%ZfQ7(_|%TLOWhkueaNTAEr$;k3!c(HYH5{5C}z2(z(+-Ot1b^$0T~JF^o5OKn(( zS$W|EMb<^@{+v+Ab+P!=UdMGcq)K9bjpei7y}EPEQhsXeztEA|dBpS<>s{MPjz`%# z_HCcUy#0BEN7yH&#R&#+20XyPkQHWR{LjKa_AZcY5V30P5bZWe)F^$kPciBDp&2ye({Gwi>&B#H| z?9O1|!lYnbF?H)MUzKE|vspJ1)5PuvShI`_Y(iK;1kU0IRr(a{vGU literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_security_info_wrong/dac-Cert.pem b/credentials/development/commissioner_dut/struct_cd_security_info_wrong/dac-Cert.pem new file mode 100644 index 00000000000000..c59eb484dc749f --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_security_info_wrong/dac-Cert.pem @@ -0,0 +1,13 @@ +-----BEGIN CERTIFICATE----- +MIIB4zCCAYqgAwIBAgIIXWF8uidLHHgwCgYIKoZIzj0EAwIwRjEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQB +gqJ8AgIMBDgwMDAwIBcNMjIwNTEzMDAwMDAwWhgPOTk5OTEyMzEyMzU5NTlaMEYx +GDAWBgNVBAMMD01hdHRlciBUZXN0IERBQzEUMBIGCisGAQQBgqJ8AgEMBEZGRjEx +FDASBgorBgEEAYKifAICDAQ4MDAwMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE +fVaINndxkCEFoq78yCBtRDjyh34K1VR6GJ98Oeb7jS2cNmT5KL/QiGWJxDXaBd09 +kkHFBoi+t5IDt+dYSFbyIqNgMF4wDAYDVR0TAQH/BAIwADAOBgNVHQ8BAf8EBAMC +B4AwHQYDVR0OBBYEFBijnEQzWDIt6bZVX5CQcQcZsAVlMB8GA1UdIwQYMBaAFIko +6Hw1WCk3RLuT7OcMxg8VShWDMAoGCCqGSM49BAMCA0cAMEQCIDt4lbW6TSRjMs1q +2IXlWBroLGbcMtzgoj6NAH00IN8dAiBaVk5cgAWztz5hvH3nnUv6oZet9ag7I2IW ++IFgwCc3Yw== +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_security_info_wrong/dac-Key.der b/credentials/development/commissioner_dut/struct_cd_security_info_wrong/dac-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..ae9cb1eed03c2a9459432173761f55c22b7a2c69 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R!k6CLM9$hH{_^1_&yK zNX|V20SBQ(13~}j*f;R210CH+H8z0j7^Jbm>79j+}zv@4HU$Ajf@OT4UG-JAWDMY z5(o^9jDg71($q4_zzwIFp4iPq6J_FIu>hGJX&}tT4t6OMBh<;vjO@%#3@qUemkW2X z+gY56k_|9ut8kaR+8F6$`8!?jwxIzROYNaWNyq)%o_>0rTUOldr6u?B&9$5t_lxwL z|7f#TWv?&3usF>i1?V~EP+4I{#{VoF25dlziILHO4Z0sa!r#{>^?d$LZ+;ckUQ2EUZHg zYGw}x16L+RhNV?MO*0qh`<)L=uKgR}xbfM`H`cFyBy*R(z1X_#`%*(Dg=mwHVUn{q faGuIq;jrn7xo*z4HS=T-t@`h)wck-K_7E!oXrGDi literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_security_info_wrong/pai-Cert.pem b/credentials/development/commissioner_dut/struct_cd_security_info_wrong/pai-Cert.pem new file mode 100644 index 00000000000000..52e794e4c15987 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_security_info_wrong/pai-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIB1DCCAXqgAwIBAgIIEYWE6iUMvhMwCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA1MTMw +MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowRjEYMBYGA1UEAwwPTWF0dGVyIFRlc3Qg +UEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQBgqJ8AgIMBDgwMDAw +WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAARXQNNxugc+OMxaHVAwhnhHGdWBWUw5 ++2cu2zEwCgR9wqJix05G5fLrbXZzi0oqHuns1mzo33IuQ/wrBXprr3PQo2YwZDAS +BgNVHRMBAf8ECDAGAQH/AgEBMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUiSjo +fDVYKTdEu5Ps5wzGDxVKFYMwHwYDVR0jBBgwFoAUav0idx9RH+y/FkGXZxDc3DGh +cX4wCgYIKoZIzj0EAwIDSAAwRQIhAKV6+TVpoC9Oz1Fjff1QQbHm6ew76vhjC3Xt +0YW296UxAiBbNPFWGZuwCcpqqECy1DctbPasnh3Cqv9NKr9BJl3CBQ== +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_security_info_wrong/pai-Key.der b/credentials/development/commissioner_dut/struct_cd_security_info_wrong/pai-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..1efa0f2842c8936f62b36f25af92f5e7159f2736 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R$Q<_!&hjg>CHe#->Cb8;7dM1m=ynnuu5`BBGeBBCDVZ1_&yK zNX|V20SBQ(13~}@j357-F|jfKd7-ura8zm(5V&U@+qr z5aD(?wfiVzYWb>em;XEY&n$HKm!=>gVOVES1GKV1Bj-G}h210CH+H8z0j7^Jbm>79j+}zv@(L|YeSS$>HKtY_>$jHFd z&=|xqFo=@iw*&%1BV!;kwKTPi!fBI>qcfVB_-%?b5N2ZsyPt^>>Jer}c4j9AmhE$F z5-XMV&wtx-(eW_f`!Ya1bbmMlz;5Sb;d|$NE z-p*)oI^z;P$FI(ho-Ix=h%?{;28OIKBjbM-CIbcoJ`j%|!~+HvdxL>2h|k9&#v;-c zQ(VE8q@&vRq3L1X9@VHL9~mkP>>Ik!xSCiqG0_H2#rvGLo^BR~cbN#+nJNw=U11_&yK zNX|V20SBQ(13~}3Bty9cY*YPV{-B1O*nY bHLJkHs&Ff$n#7)lt3u`!3TF!S*H zCYF?>7Ab_J7MCalI64}N7znX(X|pl1Fg7i!VPfQAadUGsG*A%dH8L_VH8eH=gD44p zOCT^bG6o`3OH<1z12>#zdSW*dO_Yg;#R6n@q=7ISJJ_X6j8G>tGqN)~F|e4~eRlfn z_;R;oma43hzqsSq<2p_uTOS>>v+X`}Z%U+H>=%~l9t~?^UAO+|-=1^H-M#ldv90qJaiiwfYfDa_b4-x|g4kMd^EQrs?BE}-( z+`512ox-#w=ck)}ob&uSzjTAa5d(RUv@#1Y2pdGQ{wkHr2g<+MFXlKsUEt0g!-a)) z$U)8Q$zb5dq{#5*eBhc_mp`>-ic1^cx>p^3Y4&uZP3j+=q8|2?hRu{T0xFqsW7)N< hD=$3gB?pf*PtWgrIc>Eb0|1jFjQaop literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_security_level_missing/pai-Cert.pem b/credentials/development/commissioner_dut/struct_cd_security_level_missing/pai-Cert.pem new file mode 100644 index 00000000000000..e133bed25cd9e9 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_security_level_missing/pai-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIB1TCCAXqgAwIBAgIIZc+RSNNs1g0wCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA1MTMw +MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowRjEYMBYGA1UEAwwPTWF0dGVyIFRlc3Qg +UEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQBgqJ8AgIMBDgwMDAw +WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAQ2PvNC80HpuxlqJR0iTxdB9ccsQlS1 +4sY+PYvM3pRZPl30BJdIgK1Eyet2kkcb3J2nkV+tbCzMLyR3uBEbaWKro2YwZDAS +BgNVHRMBAf8ECDAGAQH/AgEBMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUQ4W/ +ldxxZqTPlzbxnOfnDxuAMMQwHwYDVR0jBBgwFoAUav0idx9RH+y/FkGXZxDc3DGh +cX4wCgYIKoZIzj0EAwIDSQAwRgIhAOzPUazq0/KGaRcbM9ree1fSm5cysifxQlrh +jHVWmRkyAiEAkNim1tWp0OCJCQVBMHStRfytLvUiQEhmSUn3vQk9KuM= +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_security_level_missing/pai-Key.der b/credentials/development/commissioner_dut/struct_cd_security_level_missing/pai-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..d6373a4dbdfbe7fe82d965d197879d3106c1fbbb GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R%#Vz&cTo>>s&TS6+>ZUs;IRc)f35B*UY3ZaUSjw%(u$1_&yK zNX|V20SBQ(13~}@j357-F|jfKd7-u>MzJV^C!;o1wzN zV8$&V!tHWu_ff{w@>Sg~|9A4AS?KUDO+iA!u*RSYXlsK=(yu1t$Th!KPP3EwCBk+0 zE6eA?1XP!Bv2g&Md(M`HnTf^Cz=cUc!u)=I^pTbSSf@U{>@#m|o3`F$n@zxVY=QuevCl;tm<)8=@vH@E61tI8Y!WsNe~;;z-1TLJ0cQ}h4; literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_security_level_wrong/dac-Cert.der b/credentials/development/commissioner_dut/struct_cd_security_level_wrong/dac-Cert.der new file mode 100644 index 0000000000000000000000000000000000000000..063e85dfaf779e246f17eaffe9333f06040f3afd GIT binary patch literal 489 zcmXqLVti`Q#MrffnTe5!i6d^}8rF`$sX_)^Y#dr`9_MUXn3)XR3?&T2*qB3En0fep z6H7``ixfgqi%S#&96b$1420OYwAmP07@HQ=FfsD5xVgC*qKPu`uvi!Xfr2=%k&%I^ zp)rVKU=St2ZwUm3M#ey7YH4a2h0`V%M`tuM@!J$>Ak4-Nc0Us%)FaG{?95IKEXMiW z2g@)0TN0obVZb+Up~2Bkke7=3IN^vN*vY&VUCP7_!2QjQ?4f3>XafKs56#1mrV~b_kz>`kNrWXI bJUHnZ@gndjURgZnOiipM*WobzY}VpL3L!7e literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_security_level_wrong/dac-Key.pem b/credentials/development/commissioner_dut/struct_cd_security_level_wrong/dac-Key.pem new file mode 100644 index 00000000000000..d7962e9e63325a --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_security_level_wrong/dac-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIImKwcYDnjfA8gWHD54xkDplN9Z0SoIhL2UYEwEwFhUXoAoGCCqGSM49 +AwEHoUQDQgAEM2+LwXfS/qRQLlgwDp6hMMWWFlbk707SD83Dj6YTRqSRY9W4SYQl +Hzw46RrxIvAoXlk850xNrCXX4TD9bNbiRA== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_cd_security_level_wrong/pai-Cert.der b/credentials/development/commissioner_dut/struct_cd_security_level_wrong/pai-Cert.der new file mode 100644 index 0000000000000000000000000000000000000000..11d26fab2f4884d9710b38bda0a5b7147fc8b841 GIT binary patch literal 472 zcmXqLV!UF|#8|a}nTe5!i6idW1=p-*6-5IsHV&;ek8`#x%uEIbh7ty1Y|No7%sl+Q zi6teeMG7IQ#U%;>j*f;R210CH+H8z0j7^Jbm>79j+}zv@4HU$Ajf@OT4UG-JAWDMY z5(o^9jDg71($q4_zzwIFp4iPq6J_FIu>hGJX&}tT4t6OMBh<;vjO@%#3@o3Tc0a08 z(v+Cx$@qZdY{um;TLtqN6bwBkvA9I?afc)wRMp+fd7*Ii!yEPz8F|;3g!N<_Zf3A= z`nqM0*SuddIToiGqyRm~94af!$oQXy!+;G)F)=b4@PWkmL1MtbVPrFq1@ZY<#8^Zu z)|`8kTE9GSn^x$_#TnMAt4|3YSHQuY4aQx(U(`~|mv*i@(+-7HgUsk}R$nYTD%pkw_ fR@g=>K`YsN%S)o%c+M`cy#7q`AH#~WZ}Lk3rxS&? literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_security_level_wrong/pai-Cert.pem b/credentials/development/commissioner_dut/struct_cd_security_level_wrong/pai-Cert.pem new file mode 100644 index 00000000000000..5f8e149b8a0332 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_security_level_wrong/pai-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIB1DCCAXqgAwIBAgIIXubQRWqDJCEwCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA1MTMw +MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowRjEYMBYGA1UEAwwPTWF0dGVyIFRlc3Qg +UEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQBgqJ8AgIMBDgwMDAw +WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAATygrvieiIpGJpJAeAIzWjT9LURbgAg +MUiSBERZDgtUYsElLb0J0HGr4dg/GGhu1gITLh2A2WgHsvW0vEqe+pkIo2YwZDAS +BgNVHRMBAf8ECDAGAQH/AgEBMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUOKzO +4mV/p1G2KlXJo2g7ZXegBCQwHwYDVR0jBBgwFoAUav0idx9RH+y/FkGXZxDc3DGh +cX4wCgYIKoZIzj0EAwIDSAAwRQIgcPSj1QQ+FcEJP+0zvSlgx8m3NbYTUZseIH5G +m2v3pnACIQDgZzYwb43aVrE6ETod3qd0WkYMzaA51+YZ/gCodvYfpA== +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_security_level_wrong/pai-Key.der b/credentials/development/commissioner_dut/struct_cd_security_level_wrong/pai-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..f58e8bdc4bc4e8239c150a19b3f0a5738af1102c GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R(Om45&_jm&E+|l-#~7;jNJ;7nS|Nb>IvLZnxNF zG3)$4j$8fln|+orm@_FP?zQ`0v_sXYMl@3|a_Zak;D%y%!Hu*1wA(JNe3RC)3;-%y BQp*4U literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_signer_info_digest_algo_sha1/dac-Cert.der b/credentials/development/commissioner_dut/struct_cd_signer_info_digest_algo_sha1/dac-Cert.der new file mode 100644 index 0000000000000000000000000000000000000000..55ed55caec8eed4dc07e649410cd2b8ee0424f0e GIT binary patch literal 488 zcmXqLVtiuI#MrffnTe5!iKD`h$9~hF@EQXyHV&;ek8`#x%uEJuh7ty1Y|No7%sl+Q zi6teeMG7IQ#U%;>j-G}h210CH+H8z0j7^Jbm>79j+}zv@(L|YeSS$>HKtY_>$jHFd z&=|xqFo=@iw*&%1BV!;kwKTPi!fBI>qcfVB_-%?b5N2ZsyPt^>>Jer}c4j9AmQTq| zs@J!EwLD$?VQxYPmm@*rtt7GRJzh%9~4E|B%{<>gTQAFCo?*2at6c)AKX z=$Snj3|yHM8GbTYtv0{B%)Ke;|Cge+r|eZb=9bvlylU~$t6*Fj;pD-jkdq{ybo1aQ eS@qO-{j%n{?`Dau+0CKu{O8&fro8<{uj&EllabT_ literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_signer_info_digest_algo_sha1/dac-Cert.pem b/credentials/development/commissioner_dut/struct_cd_signer_info_digest_algo_sha1/dac-Cert.pem new file mode 100644 index 00000000000000..ed56b8dc5d7997 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_signer_info_digest_algo_sha1/dac-Cert.pem @@ -0,0 +1,13 @@ +-----BEGIN CERTIFICATE----- +MIIB5DCCAYqgAwIBAgIIeDEMP7L8V3wwCgYIKoZIzj0EAwIwRjEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQB +gqJ8AgIMBDgwMDAwIBcNMjIwNTEzMDAwMDAwWhgPOTk5OTEyMzEyMzU5NTlaMEYx +GDAWBgNVBAMMD01hdHRlciBUZXN0IERBQzEUMBIGCisGAQQBgqJ8AgEMBEZGRjEx +FDASBgorBgEEAYKifAICDAQ4MDAwMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE +8mOCJde19TnLc/CdbGedVAdjfDYatZ6HZ6SZz5BlLN6itTG3RPj4n370NVkQAuyx +urVGwZPmWTeP8Gm00yvPbqNgMF4wDAYDVR0TAQH/BAIwADAOBgNVHQ8BAf8EBAMC +B4AwHQYDVR0OBBYEFCzsBXRNkmll18XzgCsGLgcFe2yyMB8GA1UdIwQYMBaAFKXo +hxBq8enTVS/4qlnpfV8U2OWqMAoGCCqGSM49BAMCA0gAMEUCIQD5ADqrN9OmR4Ji +//RyhuUHeriddDw86oRMLngBpVhCSAIgbGIXYtnBsh0nZV8vdoOd7poWrLsIJ0P8 +1pQCbr9y6n8= +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_signer_info_digest_algo_sha1/dac-Key.der b/credentials/development/commissioner_dut/struct_cd_signer_info_digest_algo_sha1/dac-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..5ef13ddadd7effe2778aec0ad5203884a01c06be GIT binary patch literal 121 zcmV-<0EYiCcLD(c1Rz15jmA%&uFZA!?QRw&bD7e7!z)TyYWZs=Togidkd&Yb1_&yK zNX|V20SBQ(13~}<@?(M}*R}OI%X9FZY-gQR2V;CT8nvE>XQY|WkYz01qO~!%MELlh be)Kh25CZJ6y0u2Zljd1BkML=<(<{$z4!}2M literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_signer_info_digest_algo_sha1/dac-Key.pem b/credentials/development/commissioner_dut/struct_cd_signer_info_digest_algo_sha1/dac-Key.pem new file mode 100644 index 00000000000000..f6132e06b49b9d --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_signer_info_digest_algo_sha1/dac-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIEGfjcZPnq7NdfbtbhYlc5nSfMMrSlhq+WslXBRCdJCUoAoGCCqGSM49 +AwEHoUQDQgAE8mOCJde19TnLc/CdbGedVAdjfDYatZ6HZ6SZz5BlLN6itTG3RPj4 +n370NVkQAuyxurVGwZPmWTeP8Gm00yvPbg== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_cd_signer_info_digest_algo_sha1/pai-Cert.der b/credentials/development/commissioner_dut/struct_cd_signer_info_digest_algo_sha1/pai-Cert.der new file mode 100644 index 0000000000000000000000000000000000000000..5f5323afc56005febb5f5d87f7649120d95bc4f7 GIT binary patch literal 472 zcmXqLV!UF|#8|a}nTe5!iGzFpJ+JUJ+Mf)#*f_M>JkHs&Ff$n#7)lt3u`!3TF!S*H zCYF?>7Ab_J7MCalI64}N7znX(X|pl1Fg7i!VPfQAadUGsG*A%dH8L_VH8eH=gD44p zOCT^bG6o`3OH<1z12>#zdSW*dO_Yg;#R6n@q=7ISJJ_X6j8G>tGqN)~F|asFuGz1g zSsq@j|90nx&r2DW@7(jx$ogQ@cgd=GWjitqWX$&&IV);aow8e>mK~ekBy+7==#=rU z=IJlDeA3;=S+F?GAO+|-=1^H-M#ldv90qJaiiwfYfDa_b4-x|g4kMd^EQrs?BE}-J z^hLWs*2kBZL-l{GihNlcFLLAQDg$|tv@#1Y2pdGQ{wkHr2g<+MFXlKsUEt0g!-a)) z$U)8Q!C>IZq{z^os6F`-`~M~FeY-7^6@+y(3b!wgWIf3J*6D2jo7j6tnG{sh?{jP} gb(3PeaOw2zwo_(CQqP4x?p@j357-F|jfKd7-urjEyF{rYa%~0WB zFyj^w;dVK-`zT{-`KoT0|2z55EOhvnrXV3&EaF%5sXJ7PJ u*ZPZZl0umjYM*AfZ>jM%*|BSN`GWok`JQ*5dXvveTuDmMO3r({xDfz8I8*EZ literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_signer_info_skid_invalid/dac-Cert.der b/credentials/development/commissioner_dut/struct_cd_signer_info_skid_invalid/dac-Cert.der new file mode 100644 index 0000000000000000000000000000000000000000..3464601669400c8678349396e2cfce464767f7ef GIT binary patch literal 486 zcmXqLVti!K#MrrjnTe5!iCs!=+KaA2VFNBU4y`tibG9tZOa^X-5(Z*y%%LpIJp8_i zB_*jv3L&Y*B?X_7O^a%n7P^PwKs$n;^*1`gW$dfzj$|6?5-?m&={b-g$82 z_h07^>&NNrP!`l#oL~@Vzyk~nSz$)T|13-f31=Gtg3;5Lyt#iStYzW?;euFGGm ddzY`@%J^2@>W;2P(%rXL&FtqNJT~LraR3J_kyHQx literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_signer_info_skid_invalid/dac-Cert.pem b/credentials/development/commissioner_dut/struct_cd_signer_info_skid_invalid/dac-Cert.pem new file mode 100644 index 00000000000000..e0f37f26a60053 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_signer_info_skid_invalid/dac-Cert.pem @@ -0,0 +1,13 @@ +-----BEGIN CERTIFICATE----- +MIIB4jCCAYmgAwIBAgIHGh6W6IpxEzAKBggqhkjOPQQDAjBGMRgwFgYDVQQDDA9N +YXR0ZXIgVGVzdCBQQUkxFDASBgorBgEEAYKifAIBDARGRkYxMRQwEgYKKwYBBAGC +onwCAgwEODAwMDAgFw0yMjA1MTMwMDAwMDBaGA85OTk5MTIzMTIzNTk1OVowRjEY +MBYGA1UEAwwPTWF0dGVyIFRlc3QgREFDMRQwEgYKKwYBBAGConwCAQwERkZGMTEU +MBIGCisGAQQBgqJ8AgIMBDgwMDAwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAR9 +xixZwbBz4jINFh+YlZ41A8Md/U5ASgLgu2OSjdttYBEIhe2ZNzAyq5Z4nd33Hm2X +B4nBsff6z8MvXiy4IxEso2AwXjAMBgNVHRMBAf8EAjAAMA4GA1UdDwEB/wQEAwIH +gDAdBgNVHQ4EFgQUIDavmSb5ow4jxtf68395zfA+EIowHwYDVR0jBBgwFoAUK9pU +8OWyvYNaGmDgfHev0vklNYswCgYIKoZIzj0EAwIDRwAwRAIgBeKZZHJayuUsj1Wd +rg49VFv3U/y6kPrtbTwpoAs0HMoCIBNHv8vJitP1e42nr7UB7Sc63C0oYt3t1TY/ +n8HGmN7H +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_signer_info_skid_invalid/dac-Key.der b/credentials/development/commissioner_dut/struct_cd_signer_info_skid_invalid/dac-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..eb4e4c3439391282320783041709858301464cf5 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R&guFXbOPi%=Drjt;|KIK+x$0RGa}9k&qIbXUP#+RC5`1_&yK zNX|V20SBQ(13~}$;r({ar$LfqEC*2JKZOUa*C9VydZ01U? zi7+!u7AXGkXK|WA3ea=Rp|Zk^jQ?3U4A_7a6C+5^oAx$GNhLg}DPMo-r>beUfjmfBnFSbx4I){8mCEG<<=^ZVbDW+oaOaNU!ooV_ zpl0@9FmPp3WH>F57Ts)i@yNG4R*B!SC2Nc$8TN;>jCdt1>KR*sI9{JR0O4T(Vj literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_signer_info_skid_invalid/pai-Cert.pem b/credentials/development/commissioner_dut/struct_cd_signer_info_skid_invalid/pai-Cert.pem new file mode 100644 index 00000000000000..4056817679fa1d --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_signer_info_skid_invalid/pai-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIB1DCCAXqgAwIBAgIIOph5r4Q3ipYwCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA1MTMw +MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowRjEYMBYGA1UEAwwPTWF0dGVyIFRlc3Qg +UEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQBgqJ8AgIMBDgwMDAw +WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAATIg1xYZ2xbdux7SATmMCp71vkBAZjB +IfeR+YlDS/Y4U9x0lG7xe2hiQi2wEIYjdhp0RYCyPJ0ZrFg2NmMQc/D8o2YwZDAS +BgNVHRMBAf8ECDAGAQH/AgEBMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUK9pU +8OWyvYNaGmDgfHev0vklNYswHwYDVR0jBBgwFoAUav0idx9RH+y/FkGXZxDc3DGh +cX4wCgYIKoZIzj0EAwIDSAAwRQIhAMsQZluDNtHE9m4FGPtddKwzWQGO/nvtc4ba +DxFo1jTOAiBrC4blHCJHmxjmI/tRZUUWSH7CYsT/a7ZytAUIiKkPuw== +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_signer_info_skid_invalid/pai-Key.der b/credentials/development/commissioner_dut/struct_cd_signer_info_skid_invalid/pai-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..b26a4cdb19fcdff8a7cc094f1d27dd633896eb57 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1RypMRY!;`FcwE|tKnV`@g=Pd>B;w~GcX)lK=v1_&yK zNX|V20SBQ(13~}<$b(#1XKY(`?0ZNA<}fOI*7*Sen86|Uk@<;3OZGTZ+;o&~@q1`u bLM^Zmh9h@j357-F|jfKd7-urjEyF{rYa%~0WB zFyj^w;dVK-`zT{-`KoT0|2z55EOhvnrXV3%pO`-sn4Vc=E3xa>@1NSK7wQ)n ur&gwCEnre)X!8&#Wcy$j5c2ZEz6bX^vQ7p4aWD3=njF{j-*Wwe_}2i|Usfgn literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_signer_info_skid_valid/dac-Cert.der b/credentials/development/commissioner_dut/struct_cd_signer_info_skid_valid/dac-Cert.der new file mode 100644 index 0000000000000000000000000000000000000000..128c6bcdc250ea8f015bed0752f0846501f850a9 GIT binary patch literal 488 zcmXqLVtiuI#MrffnTe5!i9;mqDFeIp15N`jHV&;ek8`#x%uEJuh7ty1Y|No7%sl+Q zi6teeMG7IQ#U%;>j-G}h210CH+H8z0j7^Jbm>79j+}zv@(L|YeSS$>HKtY_>$jHFd z&=|xqFo=@iw*&%1BV!;kwKTPi!fBI>qcfVB_-%?b5N2ZsyPt^>>Jer}c4j9AmgnL( z_NGadH102IWKUc8X8YH3GsHiw{SbODc<*~ZYZIl?oCzY$Gu;AGbcI*$7GA!?^ZvrG zx2N*(&z70}g5#{0?cxN3I0GJFV8{wHGX7^_GGH*^1M&DlJYZn4HyFr*_I0u0gyk)5VT=P*p-pj1NaD%OwDZ=Zkg# literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_signer_info_skid_valid/dac-Cert.pem b/credentials/development/commissioner_dut/struct_cd_signer_info_skid_valid/dac-Cert.pem new file mode 100644 index 00000000000000..f132ef1683d084 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_signer_info_skid_valid/dac-Cert.pem @@ -0,0 +1,13 @@ +-----BEGIN CERTIFICATE----- +MIIB5DCCAYqgAwIBAgIIFGblAAc74AkwCgYIKoZIzj0EAwIwRjEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQB +gqJ8AgIMBDgwMDAwIBcNMjIwNTEzMDAwMDAwWhgPOTk5OTEyMzEyMzU5NTlaMEYx +GDAWBgNVBAMMD01hdHRlciBUZXN0IERBQzEUMBIGCisGAQQBgqJ8AgEMBEZGRjEx +FDASBgorBgEEAYKifAICDAQ4MDAwMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE +5xfYvWYadIG/coEHZqHst/XOmBfyrfBV3lO97047NCJ1bJAUg5lGUGQtE6m7E6e4 +Sd+h9duVDA+bHJvoCM1KPaNgMF4wDAYDVR0TAQH/BAIwADAOBgNVHQ8BAf8EBAMC +B4AwHQYDVR0OBBYEFDy3R9sx4FuFjEMlTjAZ0ziDaNIuMB8GA1UdIwQYMBaAFLk1 +nArAV56kNUHkJsodyUp4oYuXMAoGCCqGSM49BAMCA0gAMEUCID2emJnsY516cRGG +gehafxzeA+OTTadpeCyUwC/wjKvqAiEA0jXEK6+/hwMOVMy/tyepJUUHRpaSWlJ6 +YIRcTAhlBNI= +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_signer_info_skid_valid/dac-Key.der b/credentials/development/commissioner_dut/struct_cd_signer_info_skid_valid/dac-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..601cf94f86f8bc4c2eb716ac934316bcf2f48844 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R$cLEwh7X7c6EryYy0DcdCX3v8p5}T)^VKm!!|X!T_KO1_&yK zNX|V20SBQ(13~}<=NH($W*T&XzjA>GW})o2_0E_V@~!Yy-c!BrPCGOrb!?CngPBH9 bWGxe^yA!9lN#CLM+m#Ftn;e_y2+c}8*{L+S literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_signer_info_skid_valid/dac-Key.pem b/credentials/development/commissioner_dut/struct_cd_signer_info_skid_valid/dac-Key.pem new file mode 100644 index 00000000000000..8d30ed5b41503d --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_signer_info_skid_valid/dac-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIKKjLbODZxcsZja79FJfd6qGBbGqJChcwOK+l6TPv8IAoAoGCCqGSM49 +AwEHoUQDQgAE5xfYvWYadIG/coEHZqHst/XOmBfyrfBV3lO97047NCJ1bJAUg5lG +UGQtE6m7E6e4Sd+h9duVDA+bHJvoCM1KPQ== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_cd_signer_info_skid_valid/pai-Cert.der b/credentials/development/commissioner_dut/struct_cd_signer_info_skid_valid/pai-Cert.der new file mode 100644 index 0000000000000000000000000000000000000000..e9c0edf3f89832e6a8f83d212de1c6ba44eb22e3 GIT binary patch literal 473 zcmXqLV!Ue5#8|a}nTe5!iGyp-^h{+}0~rG@HV&;ek8`#x%uEIbh7ty1Y|No7%sl+Q zi6teeMG7IQ#U%;>j*f;R210CH+H8z0j7^Jbm>79j+}zv@4HU$Ajf@OT4UG-JAWDMY z5(o^9jDg71($q4_zzwIFp4iPq6J_FIu>hGJX&}tT4t6OMBh<;vjO@%#3@n8f*M2!w z3YhR~u*oP31WqW7vHke8F!H0~ufrd9ZcAU8!T9Qp>PLBv`2Kd;l6@&n zohOwuvm{hD#w|`WNCA3|IaF4dk?}tZhXEUqVq#=8-~);AgT#P=!^mbJ3*z&!h_Q(5 zG@ZkBAbj2uQ^zN2r({ohRV?hDZXgemR%QVPVS`B4U!`*SK>0WO#T=)n3*5P5xUjGe zIjEUE84TQ*6d4Zpm(Ek~46@tqk*KWQ6QJ@jXo1CQp~+KrnB8&QbkgDgP{~=hJ}r$O f-&vnnY}Bvf3+=BAnPd2Fhm`W8s@j_VxhZo2a*l`C literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_signer_info_skid_valid/pai-Cert.pem b/credentials/development/commissioner_dut/struct_cd_signer_info_skid_valid/pai-Cert.pem new file mode 100644 index 00000000000000..29a18e6d0032de --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_signer_info_skid_valid/pai-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIB1TCCAXqgAwIBAgIICpyXaSNFMBwwCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA1MTMw +MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowRjEYMBYGA1UEAwwPTWF0dGVyIFRlc3Qg +UEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQBgqJ8AgIMBDgwMDAw +WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAARxONb6QnkQNA8oBhwjEFGQcVw98eVx +WfEh+sPwubZnqWgB6uwl8R8stBqcGguA+OD37aakvmSCickjaWoYJLFeo2YwZDAS +BgNVHRMBAf8ECDAGAQH/AgEBMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUuTWc +CsBXnqQ1QeQmyh3JSnihi5cwHwYDVR0jBBgwFoAUav0idx9RH+y/FkGXZxDc3DGh +cX4wCgYIKoZIzj0EAwIDSQAwRgIhAMOPdZ4niVI+t0hhIyuMUCTxUqA4qxKTlLg2 +3EGyyTjAAiEAzUaOKij49wXkOLEveg5Vj3lUnDHuuBoj4np9fI+dZJ0= +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_signer_info_skid_valid/pai-Key.der b/credentials/development/commissioner_dut/struct_cd_signer_info_skid_valid/pai-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..8d78b2cb0fdde8e5fa47fd274363a79fb4251b76 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1RzOF-dNL)m$!x6|Nr~&!DP*vrRTKcm3xN3G_wA;nzGQ-l$s=iM7$mV?giJXS literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_signer_info_skid_valid/pai-Key.pem b/credentials/development/commissioner_dut/struct_cd_signer_info_skid_valid/pai-Key.pem new file mode 100644 index 00000000000000..d92cef1dbb113e --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_signer_info_skid_valid/pai-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIElM3ljTjpe3hdv///vwwWTNmqXnxmQi4eyk8qpw9YN5oAoGCCqGSM49 +AwEHoUQDQgAEcTjW+kJ5EDQPKAYcIxBRkHFcPfHlcVnxIfrD8Lm2Z6loAersJfEf +LLQanBoLgPjg9+2mpL5kgonJI2lqGCSxXg== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_cd_signer_info_skid_valid/test_case_vector.json b/credentials/development/commissioner_dut/struct_cd_signer_info_skid_valid/test_case_vector.json new file mode 100644 index 00000000000000..297050af9cb362 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_signer_info_skid_valid/test_case_vector.json @@ -0,0 +1,9 @@ +{ + "description": "CD Test Vector: The subjectKeyIdentifier contains SKID of a well-known Zigbee Alliance certificate.", + "is_success_case": "true", + "dac_cert": "308201e43082018aa00302010202081466e500073be009300a06082a8648ce3d04030230463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303020170d3232303531333030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742044414331143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303059301306072a8648ce3d020106082a8648ce3d03010703420004e717d8bd661a7481bf72810766a1ecb7f5ce9817f2adf055de53bdef4e3b3422756c901483994650642d13a9bb13a7b849dfa1f5db950c0f9b1c9be808cd4a3da360305e300c0603551d130101ff04023000300e0603551d0f0101ff040403020780301d0603551d0e041604143cb747db31e05b858c43254e3019d3388368d22e301f0603551d23041830168014b9359c0ac0579ea43541e426ca1dc94a78a18b97300a06082a8648ce3d040302034800304502203d9e9899ec639d7a71118681e85a7f1cde03e3934da769782c94c02ff08cabea022100d235c42bafbf87030e54ccbfb727a92545074696925a527a60845c4c086504d2", + "pai_cert": "308201d53082017aa00302010202080a9c97692345301c300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414131143012060a2b0601040182a27c02010c04464646313020170d3232303531333030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303059301306072a8648ce3d020106082a8648ce3d030107034200047138d6fa427910340f28061c23105190715c3df1e57159f121fac3f0b9b667a96801eaec25f11f2cb41a9c1a0b80f8e0f7eda6a4be648289c923696a1824b15ea366306430120603551d130101ff040830060101ff020101300e0603551d0f0101ff040403020106301d0603551d0e04160414b9359c0ac0579ea43541e426ca1dc94a78a18b97301f0603551d230418301680146afd22771f511fecbf1641976710dcdc31a1717e300a06082a8648ce3d0403020349003046022100c38f759e2789523eb74861232b8c5024f152a038ab129394b836dc41b2c938c0022100cd468e2a28f8f705e438b12f7a0e558f79549c31eeb81a23e27a7d7c8f9d649d", + "certification_declaration": "3082010206092a864886f70d010702a081f43081f1020103310d300b0609608648016503040201305e06092a864886f70d010701a051044f152000012501f1ff360205008018250334122c04135a494732303134315a423333303030312d323424050024060025077698240800360b10140b44cabbc5016577aa8b44ffb90fcca140fe66201818317d307b020103801462fa823359acfaa9963e1cfa140addf504f37160300b0609608648016503040201300a06082a8648ce3d04030204473045022038f750ffb83fe674f203f07035cca23d18bafafbf92b65d07fa0336579676aa00221008648107106f03e5054e9d0bee0df886aca52fc47734a3a935e8cff39afa05feb", + "dac_private_key": "a2a32db38367172c6636bbf4525f77aa8605b1aa24285cc0e2be97a4cfbfc200", + "dac_public_key": "04e717d8bd661a7481bf72810766a1ecb7f5ce9817f2adf055de53bdef4e3b3422756c901483994650642d13a9bb13a7b849dfa1f5db950c0f9b1c9be808cd4a3d" +} diff --git a/credentials/development/commissioner_dut/struct_cd_signer_info_v2/cd.der b/credentials/development/commissioner_dut/struct_cd_signer_info_v2/cd.der new file mode 100644 index 0000000000000000000000000000000000000000..38477c9fe487520c0bcc3ab2d7454e06b42d1cbe GIT binary patch literal 262 zcmXqLVq{|D)N1o+`_9YA&a|NMi$UW@CPrpMUIT76&V)7(##Ck&CPsregd)ZTfh_)_ z3Ji>@j357-F|jfKd7-urjEyF{rYa%~0WB zFyj^w;dVK-`zT{-`KoT0|2z55EOhvnrXV37ixSuAk4-Nc0Us%)FaG{?95IKET)%_ z9B5`>Recho6!CUO_K`Tb_8X7BKZu+!ceh-pG@9+|{x?UZk4XQOtCl*(s?}*B`s=;_ z`sW|ktiQonAFOyuYjJ`>oB+H_%s_#c~AGS@tdZFYr0A3uJPyhe` literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_signer_info_v2/dac-Cert.pem b/credentials/development/commissioner_dut/struct_cd_signer_info_v2/dac-Cert.pem new file mode 100644 index 00000000000000..fedca40db5afcd --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_signer_info_v2/dac-Cert.pem @@ -0,0 +1,13 @@ +-----BEGIN CERTIFICATE----- +MIIB5DCCAYqgAwIBAgIIbrChSIkV+D0wCgYIKoZIzj0EAwIwRjEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQB +gqJ8AgIMBDgwMDAwIBcNMjIwNTEzMDAwMDAwWhgPOTk5OTEyMzEyMzU5NTlaMEYx +GDAWBgNVBAMMD01hdHRlciBUZXN0IERBQzEUMBIGCisGAQQBgqJ8AgEMBEZGRjEx +FDASBgorBgEEAYKifAICDAQ4MDAwMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE +NdPEwIMABSXkVCJY7ZhrxF4eh9ji9+BZnx7ddyx1WwbVv+zFG8Qb/R57GsYFKok4 +FfrvT6/n8Kyv2AF/UyHSKqNgMF4wDAYDVR0TAQH/BAIwADAOBgNVHQ8BAf8EBAMC +B4AwHQYDVR0OBBYEFCeEuaH+uV0hHpg7icTsi3rZW8h1MB8GA1UdIwQYMBaAFLPb +67ewqiZw8eHkHXPVyUZXhBsoMAoGCCqGSM49BAMCA0gAMEUCIEGCBn7X3bJs1+ib +1fSVRqerJZHytLH3nQI2WUDuhNXaAiEAm5cQQpl8AzIjC9Zw80n0Xuf6zbmLevfE +beGGk9XQdMs= +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_signer_info_v2/dac-Key.der b/credentials/development/commissioner_dut/struct_cd_signer_info_v2/dac-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..8fbd577bda308067189d5a3b87c0fae18f5f8e9c GIT binary patch literal 121 zcmV-<0EYiCcLD(c1Rxr`Ot*+19tR7UT}W3#4R28o=XlWx8D4JkxYnrE#2KIp1_&yK zNX|V20SBQ(13~}9Qz6nSqGB>w literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_signer_info_v2/dac-Key.pem b/credentials/development/commissioner_dut/struct_cd_signer_info_v2/dac-Key.pem new file mode 100644 index 00000000000000..75013ff3705399 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_signer_info_v2/dac-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIBq8TLeIHx4HC5hdSFdCDW9RD+d40QkZXm7yuNao1cQZoAoGCCqGSM49 +AwEHoUQDQgAENdPEwIMABSXkVCJY7ZhrxF4eh9ji9+BZnx7ddyx1WwbVv+zFG8Qb +/R57GsYFKok4FfrvT6/n8Kyv2AF/UyHSKg== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_cd_signer_info_v2/pai-Cert.der b/credentials/development/commissioner_dut/struct_cd_signer_info_v2/pai-Cert.der new file mode 100644 index 0000000000000000000000000000000000000000..31249e91bdfb69e7f1f4f289af7ebc2dd8c2ef4c GIT binary patch literal 473 zcmXqLV!Ue5#8|a}nTe5!iG%(7CE0?7OBNe&v2kd%d7QIlVP-NgFqAM5V`C0wVdmlY zO)M!%Em86mZp|b25vab^u%r^nkW+wiv`H+NCROucCbsC7@=$#Ko-T0bj^V<> zI^>{c_GB<{V^U=JXtJ~a*uly@?7lD5GNo^F$XkRj&o$g>Id5mev!6@nbpw?=uuc5% iWm}BZkJ~%%O>(UI%9pkG%lvzhaju4aGhXafT?PP)UzRuk literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_signer_info_v2/pai-Cert.pem b/credentials/development/commissioner_dut/struct_cd_signer_info_v2/pai-Cert.pem new file mode 100644 index 00000000000000..41b19be77361f1 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_signer_info_v2/pai-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIB1TCCAXqgAwIBAgIIB/fSHXChpKMwCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA1MTMw +MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowRjEYMBYGA1UEAwwPTWF0dGVyIFRlc3Qg +UEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQBgqJ8AgIMBDgwMDAw +WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAQ1edXi8Bn7KDp3K8zC7klkVlBKeNRc +gKmZRZzMN3yH/9ScfOVpaVqqv4/mknvo8/N3yNWgq/QBAbcSibcx8+2Po2YwZDAS +BgNVHRMBAf8ECDAGAQH/AgEBMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUs9vr +t7CqJnDx4eQdc9XJRleEGygwHwYDVR0jBBgwFoAUav0idx9RH+y/FkGXZxDc3DGh +cX4wCgYIKoZIzj0EAwIDSQAwRgIhAPE0uY/GwXm8B03oJmkb2QgfOFenbTG5OZ65 +YOb5pZ6LAiEA4D1h8PS2XDr427nekkF69Q5qvfSf3lleRTGOmOi9JaY= +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_signer_info_v2/pai-Key.der b/credentials/development/commissioner_dut/struct_cd_signer_info_v2/pai-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..e1d24b48c82cb58cb6d9b289f21c8f6bbd9950ce GIT binary patch literal 121 zcmV-<0EYiCcLD(c1RyC&Q)29tFu_%)LyQ*+?VkpA@Na7M)TaEp=mRw}z!0Dc1_&yK zNX|V20SBQ(13~}@j357-F|jfKd7-urjEyF{rYa%~0WB zFyj^w;dVK-`zT{-`KoT0|2z55EOhvnrXV3v(ZOa^`XVnm%R%$4dYIEX7GQ0cgAV`b47E_6#yF#QtSW# literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_version_number_match/dac-Cert.der b/credentials/development/commissioner_dut/struct_cd_version_number_match/dac-Cert.der new file mode 100644 index 0000000000000000000000000000000000000000..439016ad7e85950acb97edcb55c9d7a16bcd0428 GIT binary patch literal 488 zcmXqLVtiuI#MrffnTe5!i9;^`6FbMsa}N!;*f_M>JkHs&Ff$pr8A=$4u`!3TF!S*H zCYF?>7Ab_J7MCalIC>h27znX(X|pl1Fg7i!VPfQAadUGsL=$D=VX-g(0tIniBO?P- zLt_xfz#vM3-x3H6jf{cF)Y8;43a3pjj?QRi;z1Vo^PFY#F2DBRUfTS-+v#V~mX)GU^nG?)rTpE!etvC^7Pp<~ z?a-_J&1V7^?oKZGvpB&Z&VUCP7_!2QjQ?4f3>XafKsNb3&WSdAR? z%pME|u1pFX?7BL>Q|fM>_rEWmp~;@P@Y`kn%G{TgZDEfD=B7TF#-zybe;tQ^xeBkx dqf>42*I%WtUa^s-v9_)M2h$zF%VO=y)c{#Ij3)p9 literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_version_number_match/dac-Cert.pem b/credentials/development/commissioner_dut/struct_cd_version_number_match/dac-Cert.pem new file mode 100644 index 00000000000000..c0d302b934c79e --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_version_number_match/dac-Cert.pem @@ -0,0 +1,13 @@ +-----BEGIN CERTIFICATE----- +MIIB5DCCAYqgAwIBAgIIHm/yBwipzuEwCgYIKoZIzj0EAwIwRjEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQB +gqJ8AgIMBDgwMDAwIBcNMjIwNTEzMDAwMDAwWhgPOTk5OTEyMzEyMzU5NTlaMEYx +GDAWBgNVBAMMD01hdHRlciBUZXN0IERBQzEUMBIGCisGAQQBgqJ8AgEMBEZGRjEx +FDASBgorBgEEAYKifAICDAQ4MDAwMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE +oIBVl+4vhxeO0sEEU987hKUgnkMdbtPrSAulg/uLQvlytKkV5C9Muzpk/buvn31s +Kgs+FdtV1Y+DzFGhu2N0/KNgMF4wDAYDVR0TAQH/BAIwADAOBgNVHQ8BAf8EBAMC +B4AwHQYDVR0OBBYEFKevbuxU/sVdFh7ST9gkDCIVyAH1MB8GA1UdIwQYMBaAFDcg +LkdnJBuywytZaXyGEGaLVbF7MAoGCCqGSM49BAMCA0gAMEUCIAgHLSxNlH7Zz0/f +F2gpB2mh9tMPeW3peYZW4hCdZeCWAiEA/64IT3ckDUjiyoYf1+pnq6ixBIF9ho/4 +AtwR0xaHI3s= +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_version_number_match/dac-Key.der b/credentials/development/commissioner_dut/struct_cd_version_number_match/dac-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..4a0a330093abc2e9a599d581025a4a657d2cea6a GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R%FCK`<7o5pR63hl{}a|5iEZDHJ>7+$Q%*8||Y?7(<{61_&yK zNX|V20SBQ(13~}NDHNd`-?*Paj*f;R210CH+H8z0j7^Jbm>79j+}zv@4HU$Ajf@OT4UG-JAWDMY z5(o^9jDg71($q4_zzwIFp4iPq6J_FIu>hGJX&}tT4t6OMBh<;vjO@%#3@kq$#oqce zr8u)cN22MH=bwGCYwNvN-<+mKphFmgR;^^@^s{X>#p3xA|?I zgq^+5Bjp$8vKOZrqyRm~94af!$oQXy!+;G)F)=b4@PWkmL1MtbVPrFq1@ZY<#8^bk z74+QGRirl^){e}qX%k564&7L7APW|`8WH;9H*xX+__`8u&@p} zsF^(&3|yHM8MbG&&S~0Z+H_p*^@DFA?bl3Jym;I8L|CTe&@Vq8!L!*+3ew_>6M8K( fcDz%&yz6Vt^$2x+A9qCubw_o@71zJSI@|;R_ArTD literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_version_number_match/pai-Cert.pem b/credentials/development/commissioner_dut/struct_cd_version_number_match/pai-Cert.pem new file mode 100644 index 00000000000000..0f9d7f569f0b11 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_version_number_match/pai-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIB1DCCAXqgAwIBAgIIbgBPmdYDFXUwCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA1MTMw +MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowRjEYMBYGA1UEAwwPTWF0dGVyIFRlc3Qg +UEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQBgqJ8AgIMBDgwMDAw +WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAT44l3a/JRzaY9sGILSSfy+Xa1/S6vZ +n/JkdjrxwJl1PihglhqmMk5pdm1XGo0VZH4pCrzOs+1+GD4/TOIj6M5ro2YwZDAS +BgNVHRMBAf8ECDAGAQH/AgEBMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUNyAu +R2ckG7LDK1lpfIYQZotVsXswHwYDVR0jBBgwFoAUav0idx9RH+y/FkGXZxDc3DGh +cX4wCgYIKoZIzj0EAwIDSAAwRQIhALdqhZyCujWCxx7r4PZUh9Y0qOjthuQTHHTC ++k4MEc1rAiAbF6NgjTlouO4m07r1fNdYJy9MRyFAJ0EnIajX9F1A2Q== +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_version_number_match/pai-Key.der b/credentials/development/commissioner_dut/struct_cd_version_number_match/pai-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..ec5cce72b652ffb3ac37c3411566ffff206835c9 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1RzyWAbeQOEJoS^zgd3;k<*D7+XS&G&H=?4F84T32B)A31_&yK zNX|V20SBQ(13~}<_~KpK{FHNPk8Bu%(nJkHs&Ff$pr8A=$4u`!3TF!S*H zCYF?>7Ab_J7MCalIC>h27znX(X|pl1Fg7i!VPfQAadUGsL=$D=VX-g(0tIniBO?P- zLt_xfz#vM3-x3H6jf{cF)Y8;43a3pjj?QRi;-F*qHx$ZCu|6H}{?ihxfZkivD#y`jsc+{eiU|IXC&Q3SHQL{BLg6+|3)FFAqC= zBl*UA^B66aQ%~LmE?=Br5NE&x3=COeM#ldvOa=@Fd>|e_hzATT_67r45TB1lj78+> z#1}soeK^_0z@X4)%ChDoi_pru2J#?jWfowNHi#UpnRdVBfMXroq9WPUvbU?YEK@2) z4ti!!1_L)HMTWB}eA2(pPn_0$)Y-VPW7mH3Y(6K~a>dP?*X*w=oALJqP|0Rq1F^J? gzZ1Jk6SdX`FMGcC)6bQsmNoxL>U$RMaA_DXz#$Sh-}#p)e_LZ b$Ng=3owKm#r&i6_W7zLETq-2W%z$~Rj&=W*f_M>JkHs&Ff$n#7)lt3u`!3TF!S*H zCYF?>7Ab_J7MCalI64}N7znX(X|pl1Fg7i!VPfQAadUGsG*A%dH8L_VH8eH=gD44p zOCT^bG6o`3OH<1z12>#zdSW*dO_Yg;#R6n@q=7ISJJ_X6j8G>tGqN)~F|aTlH>_FU zT(^V4C0k>6Jg>iA3K?=}w%%QTvjEw(TI1Jc;6cZz(0Ut<=A0!4097Z++SrDI(MT|w{ zXw9_yEe9Oy*cKJZrk1^3wPl%7sewF5TA2kHgbgBDf0fGR1LfcB7jvARE^z0L;ljc? zF-YF%!)?TdS-){0xcQGc@GF_+zi^cSn`Z&XcU%$~EQpGiSN!r;kT g#wD#%%6YQwat1Zie%;~P{NPchYkG;o>fp+|04hF;H2?qr literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_version_number_missing/pai-Cert.pem b/credentials/development/commissioner_dut/struct_cd_version_number_missing/pai-Cert.pem new file mode 100644 index 00000000000000..2cc605be803067 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_version_number_missing/pai-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIB1DCCAXqgAwIBAgIIBZ0FoZNceuswCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA1MTMw +MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowRjEYMBYGA1UEAwwPTWF0dGVyIFRlc3Qg +UEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQBgqJ8AgIMBDgwMDAw +WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAQCxzF8oEN+uABEayi7Wei09akDWnS3 +p1tNbr4uG9oJitDE8Ib7EUisnxuSJtO5xYQCdQrHtwiyBo89JB3YZJQBo2YwZDAS +BgNVHRMBAf8ECDAGAQH/AgEBMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUxXyW +34TAQX4GonIdZXbtqrSmInUwHwYDVR0jBBgwFoAUav0idx9RH+y/FkGXZxDc3DGh +cX4wCgYIKoZIzj0EAwIDSAAwRQIhAJ7qrm1XPejeyq0XOewn5LDjCj7QZ+irP9h6 +kgFrnLSPAiAYGDDkrQGkhRojbh2HHjB8lvrcCrPg4mlFZ3Qgq1N53Q== +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_version_number_missing/pai-Key.der b/credentials/development/commissioner_dut/struct_cd_version_number_missing/pai-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..0be81f555524976bc389dcb8d19fe7442bce5584 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R$M%C`HADVU>8h%F%Lm*(0@?HxQ!&@W`OOnRpz0E9syL1_&yK zNX|V20SBQ(13~}<0>?3YphJGR07PpjyIJV8^{E3|bhoElO>Vv}8`=qq(8TbD`w>X2 bpBs`U)49cj0(A<@j357-F|jfKd7-urjEyF{rY4rmJu; zm~jh;aJ!t^eUve^d{wv0|DF727CQV(Q;?7_tTm_x+S(wJ^sC7@a?P)m)9hq^iE!Qh z%JR7|0o5g3Y#c!6p0j0PW@2$SaAi_txRunxw{NR$uzUDqnFWd4yY>mSx>p|wAk4-Nc0Us%)FaG{?95IKEIv+c zZ#sLb3un#vrF*!FOWke$js2h9E!d=`!d|Z^k!~@$^>5p<8rQorP095q_W1X$-g50F zXVgZrUN_m?I_Elx0qGvEORhO96n<9`+=0|o;=5RV_k0|pj*gMloF&&MLhBJylf z{WVtGciz8cXR}>Zv3Pf^aegnq@T~~_6%w#w&^-%0ZK%YAQzlQJTuODhPu47WDcq+6 zojcFrz|YrZhnAmQ6`Wpke5KISaJL?pm2F;3hL09b&Ye-5@R2n{^p?rZd#1rVa(!IC z%op_h$^6{;@Q1}|1}Q+#F^9?uGcx{X;V@tWQcR4D27DkfevlY2a2VMPWI=pB7BLo) z?0!C}uzQno?a!vh9A2Qcv@GnChk-muTA2kHgbgBDf0fGR1LfcB7jvARE^z0L;ljc? z`At1Ia`hP{r)K~@)@Ps!1_&yK zNX|V20SBQ(13~}<3=OaXy-l5-K*0IycEYF0s#9lt$EgzKS4NCPsfJ1dG2)?B+BDhTHB-24Ohxpc5lQ(2=R?Erzs531 literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_version_number_wrong/pai-Key.pem b/credentials/development/commissioner_dut/struct_cd_version_number_wrong/pai-Key.pem new file mode 100644 index 00000000000000..f18c8ec9763ce7 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_version_number_wrong/pai-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIEXrFkMrkPI1eRh2r/IsllRGGvlNPThy9Rklp2cAPtZnoAoGCCqGSM49 +AwEHoUQDQgAEDA2wAr1NnZ5AwPnrdsKnyapTZ3zHqRLlV0aMRKmGSgIx4qGTbZhz +YPEFVBXaNNneNVO4bUxF9J8RSfkD50PD8A== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_cd_version_number_wrong/test_case_vector.json b/credentials/development/commissioner_dut/struct_cd_version_number_wrong/test_case_vector.json new file mode 100644 index 00000000000000..890a96f4f8edb1 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_version_number_wrong/test_case_vector.json @@ -0,0 +1,9 @@ +{ + "description": "CD Test Vector: The version_number field doesn't match the VID and PID used in a DeviceSoftwareVersionModel entry in the DCL matching the certification record associated with the product presenting this CD.", + "is_success_case": "false", + "dac_cert": "308201e33082018aa003020102020844758023d5cdee58300a06082a8648ce3d04030230463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303020170d3232303531333030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742044414331143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303059301306072a8648ce3d020106082a8648ce3d030107034200044c4286ec898c7b719a98fa2dc37a0a27469fd8bff34738061b1a56eba8741b8434dafeb6a67c45dd1c82637fc8bc4f8eabb4d6e9098afe6930df55a5bf75605aa360305e300c0603551d130101ff04023000300e0603551d0f0101ff040403020780301d0603551d0e04160414e6927fd6053dee4bfb1d9b06d52438eec681a042301f0603551d230418301680146b8f0e1a56de926d3fcd655cc3a02aa57656f248300a06082a8648ce3d040302034700304402201f7ff3f395cbd7d945a9155c9900c71ae116e8508e270ffe80f737ebe12a81ae022078e512bc161b9dadd8f5517ff42d66b362117179e694341b492bac7bb0b0d978", + "pai_cert": "308201d53082017aa0030201020208211f8426dad5e932300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414131143012060a2b0601040182a27c02010c04464646313020170d3232303531333030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303059301306072a8648ce3d020106082a8648ce3d030107034200040c0db002bd4d9d9e40c0f9eb76c2a7c9aa53677cc7a912e557468c44a9864a0231e2a1936d987360f1055415da34d9de3553b86d4c45f49f1149f903e743c3f0a366306430120603551d130101ff040830060101ff020101300e0603551d0f0101ff040403020106301d0603551d0e041604146b8f0e1a56de926d3fcd655cc3a02aa57656f248301f0603551d230418301680146afd22771f511fecbf1641976710dcdc31a1717e300a06082a8648ce3d0403020349003046022100e7ffd3821d66d0eb5f894a880497e7d011d00b8201074124460dbeaf8264d1b0022100c67ce2865c04be5c16c571bd8637382aa4f6499427cc338b9c5f33297f75ae3e", + "certification_declaration": "3082010206092a864886f70d010702a081f43081f1020103310d300b0609608648016503040201305e06092a864886f70d010701a051044f152000012501f1ff360205008018250334122c04135a494732303134315a423333303030312d323424050024060025078967240800360b10140b44cabbc5016577aa8b44ffb90fcca140fe66201818317d307b020103801462fa823359acfaa9963e1cfa140addf504f37160300b0609608648016503040201300a06082a8648ce3d04030204473045022100da62840ebeb53d534757931ca061b78abe1285477bc4560f0db28870f41c882f02206da0181b931d025bcafed7ea045530a72be58c9743951ab98e112960a69531ee", + "dac_private_key": "e7a54b2eb24925f20a5c15ee9e9ee93b08663749818c67454a83da1e2ce5fdfb", + "dac_public_key": "044c4286ec898c7b719a98fa2dc37a0a27469fd8bff34738061b1a56eba8741b8434dafeb6a67c45dd1c82637fc8bc4f8eabb4d6e9098afe6930df55a5bf75605a" +} diff --git a/credentials/development/commissioner_dut/struct_cd_vid_mismatch/cd.der b/credentials/development/commissioner_dut/struct_cd_vid_mismatch/cd.der new file mode 100644 index 0000000000000000000000000000000000000000..20a4845d4c1bed886cb95bf6e9d8bc1873f44be8 GIT binary patch literal 262 zcmXqLVq{|D)N1o+`_9YA&a|NMi$UW@CPrpMUIT76&V)7(##Ck&CPsr;gd)ZT0W5x^ z3Ji=YjC^KHtPBkjs>~)rIxNCbp6*5lh9-tlPR7Ot1_p+@MkXq(3@U64s_bPmR5%#S zxCKPGT~6&j%9vWds@vuNPX03s9sZ>$NJtpg8PotRZ4gQN)npvG=GV$;b~3+2xbA*s z`COQQ>JTnA4xnq#*|IP*v3MA`F)1?4d9zvl;13ZgNuF|L``$a1d#{;BFty%)m$iG= sT`l&&JwPS@GfOz4JW69rpK>V)vRUYAe^Wa4)=eeBu14^~8HJ;j0K*|p0{{R3 literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_vid_mismatch/dac-Cert.der b/credentials/development/commissioner_dut/struct_cd_vid_mismatch/dac-Cert.der new file mode 100644 index 0000000000000000000000000000000000000000..cb5bffc9bb86dc2716b488cafad475ffabc9765a GIT binary patch literal 489 zcmXqLVti`Q#MrffnTe5!iNo^rJ*{qY0Y(EZHV&;ek8`#x%uEJuh7ty1Y|No7%sl+Q zi6teeMG7IQ#U%;>j-G}h210CH+H8z0j7^Jbm>79j+}zv@(L|YeSS$>HKtY_>$jHFd z&=|xqFo=@iw*&%1BV!;kwKTPi!fBI>qcfVB_-%?b5N2ZsyPt^>>Jer}c4j9AmKEX( zM?OySdn9mM{=u&3d4(sXXZ!R`ox^u#N_0v{Mbe)uMGsvL-&5w5o%Mn-?aAk*$4-7x z;`6v(_;NzW55N5G*2M`1aRxlVz>pPYWc<&Gn-o)U~gLShuX7)jeTOpz23{_jt8?2}b`#dSbf_6qSKWmOh!tXSHbJ f1%?=xt=k(;oIbGFERnCh_*~j?kxfq}*MtH91OJYO literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_vid_mismatch/dac-Cert.pem b/credentials/development/commissioner_dut/struct_cd_vid_mismatch/dac-Cert.pem new file mode 100644 index 00000000000000..9d2e32a59e957c --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_vid_mismatch/dac-Cert.pem @@ -0,0 +1,13 @@ +-----BEGIN CERTIFICATE----- +MIIB5TCCAYqgAwIBAgIIOcveKos3EAEwCgYIKoZIzj0EAwIwRjEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQB +gqJ8AgIMBDgwMDAwIBcNMjIwNTEzMDAwMDAwWhgPOTk5OTEyMzEyMzU5NTlaMEYx +GDAWBgNVBAMMD01hdHRlciBUZXN0IERBQzEUMBIGCisGAQQBgqJ8AgEMBEZGRjEx +FDASBgorBgEEAYKifAICDAQ4MDAwMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE +qBcgxPGSTuIQ2x/guluecckbm0yOlZwOzJRbZFR4YvzUcuFEw94jDR2a6AFm5POl +xsn0Ig5I13HpkIj4Tm+LhaNgMF4wDAYDVR0TAQH/BAIwADAOBgNVHQ8BAf8EBAMC +B4AwHQYDVR0OBBYEFNCc2Ta4XjZtQRzjLgxTinokz66TMB8GA1UdIwQYMBaAFFIx +uWZtvLQagstrf5guwol+Lv8sMAoGCCqGSM49BAMCA0kAMEYCIQCaVz9lresSBbSv +mouQnFEl8Q9HXybeYDL/FIxdijAhIwIhAKXkkQ46opHQAFxEtbeAyMvAozZhDodz +zmbHFLLlGaxV +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_vid_mismatch/dac-Key.der b/credentials/development/commissioner_dut/struct_cd_vid_mismatch/dac-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..9452cc734380319474b7319ead09aab2f0b4aa0d GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R(m(6X9Z=Qs@M?w@A@r_#8VONaY#`YF&$sJ0E=D2!x;t1_&yK zNX|V20SBQ(13~}SXRCr?i)Nqe b9h&F?X5{mw#>w;|4oKH=>5z!{PH&5ah~YJl literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_vid_mismatch/dac-Key.pem b/credentials/development/commissioner_dut/struct_cd_vid_mismatch/dac-Key.pem new file mode 100644 index 00000000000000..90ba8af8a49668 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_vid_mismatch/dac-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIPrOE+FinVLoBLe3SNFj+Bw7HUjlGghqXYuNOx984AiEoAoGCCqGSM49 +AwEHoUQDQgAEqBcgxPGSTuIQ2x/guluecckbm0yOlZwOzJRbZFR4YvzUcuFEw94j +DR2a6AFm5POlxsn0Ig5I13HpkIj4Tm+LhQ== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_cd_vid_mismatch/pai-Cert.der b/credentials/development/commissioner_dut/struct_cd_vid_mismatch/pai-Cert.der new file mode 100644 index 0000000000000000000000000000000000000000..2e4e85de7213e7120a2050076c73a15de9527fd1 GIT binary patch literal 472 zcmXqLV!UF|#8|a}nTe5!i9;!wJ?{Rc**gum*f_M>JkHs&Ff$n#7)lt3u`!3TF!S*H zCYF?>7Ab_J7MCalI64}N7znX(X|pl1Fg7i!VPfQAadUGsG*A%dH8L_VH8eH=gD44p zOCT^bG6o`3OH<1z12>#zdSW*dO_Yg;#R6n@q=7ISJJ_X6j8G>tGqN)~F|b&NMp{R| zes=jwo`UHWS*zcxX2oe#CLcH-;x?TF06e#iDgXcg literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_vid_mismatch/pai-Cert.pem b/credentials/development/commissioner_dut/struct_cd_vid_mismatch/pai-Cert.pem new file mode 100644 index 00000000000000..4a8541a5817142 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_vid_mismatch/pai-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIB1DCCAXqgAwIBAgIIImMHXt/Sm7kwCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA1MTMw +MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowRjEYMBYGA1UEAwwPTWF0dGVyIFRlc3Qg +UEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQBgqJ8AgIMBDgwMDAw +WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAQ7VVk7W+vm0/R56RyGd9VVF2tyY71d +/ScRvFDZd1Plr1eRDS0jnWkK5LEbaLYwzXBNnxn05s1Th55xFJXeUwW+o2YwZDAS +BgNVHRMBAf8ECDAGAQH/AgEBMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUUjG5 +Zm28tBqCy2t/mC7CiX4u/ywwHwYDVR0jBBgwFoAUav0idx9RH+y/FkGXZxDc3DGh +cX4wCgYIKoZIzj0EAwIDSAAwRQIgDX4kD8hB7Xq8o5JHvrpV4MXxTeeojhxy04FJ +XDAD3+ECIQC5YrjY806+enx/ZuvnLiA11B06+6qaXih5Y8DPVEaXCA== +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_vid_mismatch/pai-Key.der b/credentials/development/commissioner_dut/struct_cd_vid_mismatch/pai-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..449857cad1fc8926c7c14f2e4e9f36575ec03b49 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R!r=UpGhHu#V}qT5S-SZarDmt8zdq;(1ygsILK*TB4u|1_&yK zNX|V20SBQ(13~}Qsy%s literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_vid_mismatch/pai-Key.pem b/credentials/development/commissioner_dut/struct_cd_vid_mismatch/pai-Key.pem new file mode 100644 index 00000000000000..829baf3b07a2c8 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_vid_mismatch/pai-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIG9hXzdH3bCO6bVabRCZbj1Z1atyQCvieVoeqK8BllqioAoGCCqGSM49 +AwEHoUQDQgAEO1VZO1vr5tP0eekchnfVVRdrcmO9Xf0nEbxQ2XdT5a9XkQ0tI51p +CuSxG2i2MM1wTZ8Z9ObNU4eecRSV3lMFvg== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_cd_vid_mismatch/test_case_vector.json b/credentials/development/commissioner_dut/struct_cd_vid_mismatch/test_case_vector.json new file mode 100644 index 00000000000000..171239421fe7a3 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_vid_mismatch/test_case_vector.json @@ -0,0 +1,9 @@ +{ + "description": "CD Test Vector: The vendor_id field doesn't match the VID in DAC.", + "is_success_case": "false", + "dac_cert": "308201e53082018aa003020102020839cbde2a8b371001300a06082a8648ce3d04030230463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303020170d3232303531333030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742044414331143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303059301306072a8648ce3d020106082a8648ce3d03010703420004a81720c4f1924ee210db1fe0ba5b9e71c91b9b4c8e959c0ecc945b64547862fcd472e144c3de230d1d9ae80166e4f3a5c6c9f4220e48d771e99088f84e6f8b85a360305e300c0603551d130101ff04023000300e0603551d0f0101ff040403020780301d0603551d0e04160414d09cd936b85e366d411ce32e0c538a7a24cfae93301f0603551d230418301680145231b9666dbcb41a82cb6b7f982ec2897e2eff2c300a06082a8648ce3d04030203490030460221009a573f65adeb1205b4af9a8b909c5125f10f475f26de6032ff148c5d8a302123022100a5e4910e3aa291d0005c44b5b780c8cbc0a336610e8773ce66c714b2e519ac55", + "pai_cert": "308201d43082017aa00302010202082263075edfd29bb9300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414131143012060a2b0601040182a27c02010c04464646313020170d3232303531333030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303059301306072a8648ce3d020106082a8648ce3d030107034200043b55593b5bebe6d3f479e91c8677d555176b7263bd5dfd2711bc50d97753e5af57910d2d239d690ae4b11b68b630cd704d9f19f4e6cd53879e711495de5305bea366306430120603551d130101ff040830060101ff020101300e0603551d0f0101ff040403020106301d0603551d0e041604145231b9666dbcb41a82cb6b7f982ec2897e2eff2c301f0603551d230418301680146afd22771f511fecbf1641976710dcdc31a1717e300a06082a8648ce3d040302034800304502200d7e240fc841ed7abca39247beba55e0c5f14de7a88e1c72d381495c3003dfe1022100b962b8d8f34ebe7a7c7f66ebe72e2035d41d3afbaa9a5e287963c0cf54469708", + "certification_declaration": "3082010206092a864886f70d010702a081f43081f1020103310d300b0609608648016503040201305d06092a864886f70d010701a050044e1520000124010e360205008018250334122c04135a494732303134315a423333303030312d323424050024060025077698240800360b10140b44cabbc5016577aa8b44ffb90fcca140fe66201818317e307c020103801462fa823359acfaa9963e1cfa140addf504f37160300b0609608648016503040201300a06082a8648ce3d040302044830460221009cecb327c1f8141a190c77233f8ddc79bdd635580285dfee6abb9add2a0751bc022100ff6974085a48755d75e50a221106382d2bf622c6ed4624603e7c11f0cc20c579", + "dac_private_key": "face13e1629d52e804b7b748d163f81c3b1d48e51a086a5d8b8d3b1f7ce00884", + "dac_public_key": "04a81720c4f1924ee210db1fe0ba5b9e71c91b9b4c8e959c0ecc945b64547862fcd472e144c3de230d1d9ae80166e4f3a5c6c9f4220e48d771e99088f84e6f8b85" +} diff --git a/credentials/development/commissioner_dut/struct_cd_vid_missing/cd.der b/credentials/development/commissioner_dut/struct_cd_vid_missing/cd.der new file mode 100644 index 0000000000000000000000000000000000000000..b6452ee41ad238784ef873b8bd801a195b95a23a GIT binary patch literal 257 zcmXqL{Kv+r)#lOmotKfFX+h%$gT}W^jLe3-2Hb3%32h#Xsmv@)j0RB%MT`r4S-eFR z7#Pi%SQ#25RGCeLbXbI=Jl%~93{4E9oQ#bP3=9l)jZ9Qn8C2L9RN2dBsBkctaSMoW zyPVp6lrgn@RkzFko&0AOI{ZshkdQE}HK+#K*dUVhtI0TW&99Zy>|}n4aNYgN^0_bp z)fHT996+a@vt?msVsSTcWm05Vu)E3gjpTO6smc!eiJuB)9Ix>DIw7Lq_GImqm%iS+ pdyz@Ot|24q;JexErq?RGb$%N6DW32ME?NJXTPi(ANZ!510sy2kQK0|; literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_vid_missing/dac-Cert.der b/credentials/development/commissioner_dut/struct_cd_vid_missing/dac-Cert.der new file mode 100644 index 0000000000000000000000000000000000000000..5132070338072fdc70e15cbc3e1e92ae650d4c26 GIT binary patch literal 489 zcmXqLVti`Q#MrffnTe5!i9>d`Y3q%nj2Z@9Y#dr`9_MUXn3)XR3?&T2*qB3En0fep z6H7``ixfgqi%S#&96b$1420OYwAmP07@HQ=FfsD5xVgC*qKPu`uvi!Xfr2=%k&%I^ zp)rVKU=St2ZwUm3M#ey7YH4a2h0`V%M`tuM@!J$>Ak4-Nc0Us%)FaG{?95IKEP93s zjH2f+Gljcw$gBRDmh@>y@Rda?Ge5c;&tqg>de5@rvi$RDi{IbrObFX^DkGbP=OD}0 z?-gwVVr4ft{n`GkS)5=HXTSpt3|V1D#{Vo#1`Gy#ARa%62MjFs1_N0TpN~b1MWjYX zXZbP1tP|NOZ6DRmZ(jW(bzIUw9we>I0u0gykwtvJ^Ys~fp0DybqgBMXPguXESggS?;$1_&yK zNX|V20SBQ(13~}C!Q1EtJkHs&Ff$n#7)lt3u`!3TF!S*H zCYF?>7Ab_J7MCalI64}N7znX(X|pl1Fg7i!VPfQAadUGsG*A%dH8L_VH8eH=gD44p zOCT^bG6o`3OH<1z12>#zdSW*dO_Yg;#R6n@q=7ISJJ_X6j8G>tGqN)~F|hnQx#Mf@ z#di}Xd@W$`>+)I^w@hPZ#LKCX|2BFoYIqbAyE#I0Q&^tx{;&E%?i-uT1ZK$>t`jm- z{gB+4wUT?`LGi_D1}Q+#F^9?uGcx{X;V@tWQcR4D27DkfevlY2a2VMPWI=pB7BLo) zMSQ>W_b50{>r^W}!}Y7vmG9&&Sp#{Hv@#1Y2pdGQ{wkHr2g<+MFXlKsUEt0g!-a)) z$U)8Q!C>IZq{y(^l`+9W=j`Vz!QWK!FE1)f;@p2G_-#&tLZcqv$=T<=F)7pu&#lus gw@$vMbkf%733*&Cai)A+T?Lw%{^I9kkE(M40OHDt7XSbN literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_vid_missing/pai-Cert.pem b/credentials/development/commissioner_dut/struct_cd_vid_missing/pai-Cert.pem new file mode 100644 index 00000000000000..4d153408fbf70d --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_vid_missing/pai-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIB1DCCAXqgAwIBAgIIXGvLy9D1Wl0wCgYIKoZIzj0EAwIwMDEYMBYGA1UEAwwP +TWF0dGVyIFRlc3QgUEFBMRQwEgYKKwYBBAGConwCAQwERkZGMTAgFw0yMjA1MTMw +MDAwMDBaGA85OTk5MTIzMTIzNTk1OVowRjEYMBYGA1UEAwwPTWF0dGVyIFRlc3Qg +UEFJMRQwEgYKKwYBBAGConwCAQwERkZGMTEUMBIGCisGAQQBgqJ8AgIMBDgwMDAw +WTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAT+ybj1bdHukJD1cABOikqqXqYomVjp +lVn+sUiigOJcXbNYKbJWbhO/9S8SR7GCNhCaH3GuEjYl8GOBaqkLocEXo2YwZDAS +BgNVHRMBAf8ECDAGAQH/AgEBMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUog77 +b7wgQZaJJnXMCvqJRQ7J2h0wHwYDVR0jBBgwFoAUav0idx9RH+y/FkGXZxDc3DGh +cX4wCgYIKoZIzj0EAwIDSAAwRQIhAKtFAWA4LM3z1FP2JG/TonZiCb/MU+1sYCCB +Lg7Jm872AiB+E51+Ks6uH3x1krVbkG4KhF41DgqKcClpTxfOHcUnCg== +-----END CERTIFICATE----- diff --git a/credentials/development/commissioner_dut/struct_cd_vid_missing/pai-Key.der b/credentials/development/commissioner_dut/struct_cd_vid_missing/pai-Key.der new file mode 100644 index 0000000000000000000000000000000000000000..0b976abc5096351ef930964d1bf35cd89c74a051 GIT binary patch literal 121 zcmV-<0EYiCcLD(c1R%MD-HFueb-BX_n@~w7B#+#fUzx6lOW-^+#blcE6C$7r1_&yK zNX|V20SBQ(13~}<{>ixYZPD(Kko9l?PKrvZUZyCSSm~8n{;^1+fZ|+TvsfvzR&Eo& b^)C`fv4S=bnjdkl5;i69V}WX^3!%XmaYr=` literal 0 HcmV?d00001 diff --git a/credentials/development/commissioner_dut/struct_cd_vid_missing/pai-Key.pem b/credentials/development/commissioner_dut/struct_cd_vid_missing/pai-Key.pem new file mode 100644 index 00000000000000..aab61d2626282a --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_vid_missing/pai-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEILmE3YnU63W5wwebUEknJI/cmF+ZrodL4DwzxWSa8xMioAoGCCqGSM49 +AwEHoUQDQgAE/sm49W3R7pCQ9XAATopKql6mKJlY6ZVZ/rFIooDiXF2zWCmyVm4T +v/UvEkexgjYQmh9xrhI2JfBjgWqpC6HBFw== +-----END EC PRIVATE KEY----- diff --git a/credentials/development/commissioner_dut/struct_cd_vid_missing/test_case_vector.json b/credentials/development/commissioner_dut/struct_cd_vid_missing/test_case_vector.json new file mode 100644 index 00000000000000..478805ef0f0ab8 --- /dev/null +++ b/credentials/development/commissioner_dut/struct_cd_vid_missing/test_case_vector.json @@ -0,0 +1,9 @@ +{ + "description": "CD Test Vector: The vendor_id field is missing.", + "is_success_case": "false", + "dac_cert": "308201e53082018aa00302010202081dbb3585d8c50128300a06082a8648ce3d04030230463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303020170d3232303531333030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742044414331143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303059301306072a8648ce3d020106082a8648ce3d030107034200042e31600115cfd3025744081f25fc9662f2b853d4a2a969f147339e0103a5de3978d31fe796a3efdc896056bcca686b040cc104b5f77886101676d8094f06fcaca360305e300c0603551d130101ff04023000300e0603551d0f0101ff040403020780301d0603551d0e041604147c1c2ca7c6316ac86b6486f12737d9d5f41ac719301f0603551d23041830168014a20efb6fbc204196892675cc0afa89450ec9da1d300a06082a8648ce3d0403020349003046022100a579c4cf797e94fc30b83438f473d8b059d73a2d77e1591b327ec036cb5643e6022100f712d7a7094226d092d1ee2b0ab132f7d32d54fbcc7be6802073dba57e946139", + "pai_cert": "308201d43082017aa00302010202085c6bcbcbd0f55a5d300a06082a8648ce3d04030230303118301606035504030c0f4d617474657220546573742050414131143012060a2b0601040182a27c02010c04464646313020170d3232303531333030303030305a180f39393939313233313233353935395a30463118301606035504030c0f4d617474657220546573742050414931143012060a2b0601040182a27c02010c044646463131143012060a2b0601040182a27c02020c04383030303059301306072a8648ce3d020106082a8648ce3d03010703420004fec9b8f56dd1ee9090f570004e8a4aaa5ea6289958e99559feb148a280e25c5db35829b2566e13bff52f1247b18236109a1f71ae123625f063816aa90ba1c117a366306430120603551d130101ff040830060101ff020101300e0603551d0f0101ff040403020106301d0603551d0e04160414a20efb6fbc204196892675cc0afa89450ec9da1d301f0603551d230418301680146afd22771f511fecbf1641976710dcdc31a1717e300a06082a8648ce3d0403020348003045022100ab450160382ccdf3d453f6246fd3a2766209bfcc53ed6c6020812e0ec99bcef602207e139d7e2aceae1f7c7592b55b906e0a845e350e0a8a7029694f17ce1dc5270a", + "certification_declaration": "3081fe06092a864886f70d010702a081f03081ed020103310d300b0609608648016503040201305a06092a864886f70d010701a04d044b15200001360205008018250334122c04135a494732303134315a423333303030312d323424050024060025077698240800360b10140b44cabbc5016577aa8b44ffb90fcca140fe66201818317d307b020103801462fa823359acfaa9963e1cfa140addf504f37160300b0609608648016503040201300a06082a8648ce3d04030204473045022100a0bb8249ec19b7419523402f61f27098c7784af5905870db932ba9d2f5deddd102203e80686ac1ee9b0735d6784b2cf9338e21c8485374aff30b1a676c121f477c38", + "dac_private_key": "9e5e4c8be6723b50c72dfdca651dab1bb92a2aa92234230b87c9af73d7d983bc", + "dac_public_key": "042e31600115cfd3025744081f25fc9662f2b853d4a2a969f147339e0103a5de3978d31fe796a3efdc896056bcca686b040cc104b5f77886101676d8094f06fcac" +} diff --git a/src/tools/chip-cert/Cmd_GenAttCert.cpp b/src/tools/chip-cert/Cmd_GenAttCert.cpp index 6c98076c1fd4c5..c91ce8bee6e735 100644 --- a/src/tools/chip-cert/Cmd_GenAttCert.cpp +++ b/src/tools/chip-cert/Cmd_GenAttCert.cpp @@ -58,8 +58,8 @@ OptionDef gCmdOptionDefs[] = { "valid-from", kArgumentRequired, 'f' }, { "lifetime", kArgumentRequired, 'l' }, #if CHIP_CONFIG_INTERNAL_FLAG_GENERATE_DA_TEST_CASES - { "ignore-error", kNoArgument, 'i' }, - { "error-type", kArgumentRequired, 'e' }, + { "ignore-error", kNoArgument, 'I' }, + { "error-type", kArgumentRequired, 'E' }, #endif { } }; @@ -124,14 +124,14 @@ const char * const gCmdOptionHelp = " expiration date\n" "\n" #if CHIP_CONFIG_INTERNAL_FLAG_GENERATE_DA_TEST_CASES - " -i, --ignore-error\n" + " -I, --ignore-error\n" "\n" " Ignore some input parameters error.\n" " WARNING: This option makes it possible to circumvent attestation certificate\n" " structure requirement. This is required for negative testing of the attestation flow.\n" " Because of this it SHOULD NEVER BE ENABLED IN PRODUCTION BUILDS.\n" "\n" - " -e, --error-type \n" + " -E, --error-type \n" "\n" " When specified injects specific error into the structure of generated attestation certificate.\n" " Note that 'ignore-error' option MUST be specified for this error injection to take effect.\n" @@ -290,10 +290,10 @@ bool HandleOption(const char * progName, OptionSet * optSet, int id, const char } break; #if CHIP_CONFIG_INTERNAL_FLAG_GENERATE_DA_TEST_CASES - case 'i': + case 'I': gCertConfig.EnableErrorTestCase(); break; - case 'e': + case 'E': if (strcmp(arg, "cert-version") == 0) { gCertConfig.SetCertVersionWrong(); @@ -437,7 +437,8 @@ bool Cmd_GenAttCert(int argc, char * argv[]) if (gCertConfig.IsErrorTestCaseEnabled()) { fprintf(stderr, - "WARNING: The ignor-error option is set. This option makes it possible to generate invalid certificates.\n"); + "WARNING get-att-cert: The ignor-error option is set. This option makes it possible to generate invalid " + "certificates.\n"); } if (gAttCertType == kAttCertType_NotSpecified) diff --git a/src/tools/chip-cert/Cmd_GenCD.cpp b/src/tools/chip-cert/Cmd_GenCD.cpp index 9ad04df56ac652..e0534c7f8f4e8d 100644 --- a/src/tools/chip-cert/Cmd_GenCD.cpp +++ b/src/tools/chip-cert/Cmd_GenCD.cpp @@ -31,12 +31,16 @@ #include +#include + namespace { using namespace chip; +using namespace chip::ASN1; using namespace chip::ArgParser; using namespace chip::Credentials; using namespace chip::Crypto; +using namespace chip::TLV; #define CMD_NAME "chip-cert gen-cd" @@ -60,6 +64,10 @@ OptionDef gCmdOptionDefs[] = { "dac-origin-vendor-id", kArgumentRequired, 'o' }, { "dac-origin-product-id", kArgumentRequired, 'r' }, { "authorized-paa-cert", kArgumentRequired, 'a' }, +#if CHIP_CONFIG_INTERNAL_FLAG_GENERATE_DA_TEST_CASES + { "ignore-error", kNoArgument, 'I' }, + { "error-type", kArgumentRequired, 'E' }, +#endif { } }; @@ -137,6 +145,68 @@ const char * const gCmdOptionHelp = " Note that only the Subject Key Identifier (SKID) value will be extracted\n" " from the PAA certificate and put into CD Structure.\n" "\n" +#if CHIP_CONFIG_INTERNAL_FLAG_GENERATE_DA_TEST_CASES + " -I, --ignore-error\n" + "\n" + " Ignore some input parameters error.\n" + " WARNING: This option makes it possible to circumvent Certification Declaration\n" + " structure/parameter requirement. This is required for negative testing of the attestation flow.\n" + " Because of this it SHOULD NEVER BE ENABLED IN PRODUCTION BUILDS.\n" + "\n" + " -E, --error-type \n" + "\n" + " When specified injects specific error into the structure of generated Certification Declaration.\n" + " Note that 'ignore-error' option MUST be specified for this error injection to take effect.\n" + " Supported error types that can be injected are:\n" + " no-error - No error to inject.\n" + " format-version-missing - The CD TLV structure won't have format version field.\n" + " format-version-wrong - Format version will be set to 2 instead of required 1.\n" + " vid-missing - The CD TLV structure won't have vedor_id field.\n" + " vid-mismatch - The vendor_id field will have value that doesn't match the VID in DAC.\n" + " pid-array-missing - The CD TLV structure won't have product_id_array field.\n" + " pid-array-count0 - The product_id_array will be empty.\n" + " pid-array-count01-valid - The product_id_array field will have one valid PID value.\n" + " pid-array-count01-mismatch - The product_id_array field will have one PID value that doesn't match PID in DAC.\n" + " pid-array-count10-valid - The product_id_array field will have 10 PID values one of which is valid matches PID in DAC.\n" + " pid-array-count10-mismatch - The product_id_array field will have 10 PID values none of which matches the PID in DAC.\n" + " pid-array-count100-valid - The product_id_array field will have 100 PID values one of which is valid matches PID in DAC.\n" + " pid-array-count100-mismatch - The product_id_array field will have 100 PID values none of which matches the PID in DAC.\n" + " device-type-id-missing - The CD TLV structure won't have device_type_id field.\n" + " device-type-id-mismatch - device_type_id field won't match the value in the DCL entries associated with the VID and PID.\n" + " cert-id-missing - The CD TLV structure won't have certificate_id field.\n" + " cert-id-mismatch - The certificate_id field will contain value NOT allocated by the CSA.\n" + " cert-id-len-wrong - The certificate_id field will be truncated to have invalid length.\n" + " security-level-missing - The CD TLV structure won't have security_level field.\n" + " security-level-wrong - The security_level field will be set to invalid value (different from 0).\n" + " security-info-missing - The CD TLV structure won't have security_information field.\n" + " security-info-wrong - The security_information field will be set to invalid value (different from 0).\n" + " version-number-missing - The CD TLV structure won't have version_number field.\n" + " version-number-wrong - The version_number field will contain value NOT assigned by the CSA.\n" + " cert-type-missing - The CD TLV structure won't have certification_type field.\n" + " cert-type-wrong - The certification_type field will contain invalue value.\n" + " dac-origin-vid-present - The CD TLV structure will include optional dac_origin_vid field.\n" + " dac-origin-pid-present - The CD TLV structure will include optional dac_origin_pid field.\n" + " dac-origin-vid-pid-present - The CD TLV structure will include optional dac_origin_vid and dac_origin_pid fields.\n" + " dac-origin-vid-mismatch - The optional dac_origin_vid field will be present and won't match the VID in DAC.\n" + " dac-origin-pid-mismatch - The optional dac_origin_pid field will be present and won't match the PID in DAC.\n" + " authorized-paa-list-count0 - The authorized_paa_list will be empty TLV list.\n" + " authorized-paa-list-count1-valid - The authorized_paa_list will have one valid value.\n" + " authorized-paa-list-count2-valid - The authorized_paa_list will have two elements one of which is valid.\n" + " authorized-paa-list-count3-invalid - The authorized_paa_list will have three elements none of which is valid.\n" + " authorized-paa-list-count10-valid - The authorized_paa_list will have ten elements one of which is valid.\n" + " authorized-paa-list-count10-invalid- The authorized_paa_list will have ten elements none of which is valid.\n" + " signer-info-v2 - Signer Info version will be set to v2 instead of required v3.\n" + " signer-info-digest-algo - Use Signer Info SHA1 digest algorithm instead of required SHA256.\n" + " signer-info-skid - Inject error into SKID of a Signer Info signing certificate.\n" + " cms-v2 - CMS version will be set to v2 instead of required v3.\n" + " cms-digest-algo - Use SHA1 digest algorithm instead of required SHA256.\n" + " cms-sig-algo - Use ecdsa-with-SHA1 signature algorithm instead of required ecdsa-with-SHA256.\n" + " required secp256r1 (aka prime256v1).\n" + " cms-econtent-type - CMS eContentType is set to Microsoft Authenticode [MSAC] ( OID = { 1.3.6.1.4.1.311.2.1.4 } )\n" + " instead of required pkcs7_data.\n" + " cms-sig - Inject error into CMS signature.\n" + "\n" +#endif ; OptionSet gCmdOptions = @@ -162,10 +232,138 @@ OptionSet *gCmdOptionSets[] = }; // clang-format on +/** Certification Declaration Error and Configuration Flags + * + * By default all methods (if none of the class setters were used) return valid + * certification declaration configuration parameter as described in the spec. + * These parameters can be modified to inject errors into cd structure. + */ +class CDStructConfig +{ +public: + void EnableErrorTestCase() { mEnabled = true; } + void SetFormatVersionMissing() { mFlags.Set(CDConfigFlags::kFormatVersionMissing); } + void SetFormatVersionWrong() { mFlags.Set(CDConfigFlags::kFormatVersionWrong); } + void SetVIDMissing() { mFlags.Set(CDConfigFlags::kVIDMissing); } + void SetVIDWrong() { mFlags.Set(CDConfigFlags::kVIDWrong); } + void SetPIDArrayMissing() { mFlags.Set(CDConfigFlags::kPIDArrayMissing); } + void SetPIDArrayWrong() { mFlags.Set(CDConfigFlags::kPIDArrayWrong); } + void SetPIDArrayCount(uint8_t pidArrayCount) { mPIDArrayCount = pidArrayCount; } + void SetDeviceTypeIdMissing() { mFlags.Set(CDConfigFlags::kDeviceTypeIdMissing); } + void SetDeviceTypeIdWrong() { mFlags.Set(CDConfigFlags::kDeviceTypeIdWrong); } + void SetCertIdMissing() { mFlags.Set(CDConfigFlags::kCertIdMissing); } + void SetCertIdWrong() { mFlags.Set(CDConfigFlags::kCertIdWrong); } + void SetCertIdLenWrong() { mFlags.Set(CDConfigFlags::kCertIdLenWrong); } + void SetSecurityLevelMissing() { mFlags.Set(CDConfigFlags::kSecurityLevelMissing); } + void SetSecurityLevelWrong() { mFlags.Set(CDConfigFlags::kSecurityLevelWrong); } + void SetSecurityInfoMissing() { mFlags.Set(CDConfigFlags::kSecurityInfoMissing); } + void SetSecurityInfoWrong() { mFlags.Set(CDConfigFlags::kSecurityInfoWrong); } + void SetVersionNumberMissing() { mFlags.Set(CDConfigFlags::kVersionNumberMissing); } + void SetVersionNumberWrong() { mFlags.Set(CDConfigFlags::kVersionNumberWrong); } + void SetCertTypeMissing() { mFlags.Set(CDConfigFlags::kCertTypeMissing); } + void SetCertTypeWrong() { mFlags.Set(CDConfigFlags::kCertTypeWrong); } + void SetDACOriginVIDWrong() { mFlags.Set(CDConfigFlags::kDACOriginVID); } + void SetDACOriginPIDWrong() { mFlags.Set(CDConfigFlags::kDACOriginPID); } + void SetDACOriginVIDPresent() { mFlags.Set(CDConfigFlags::kDACOriginVIDPresent); } + void SetDACOriginPIDPresent() { mFlags.Set(CDConfigFlags::kDACOriginPIDPresent); } + void SetAuthPAAListPresent() { mFlags.Set(CDConfigFlags::kAuthPAAListPresent); } + void SetAuthPAAListWrong() { mFlags.Set(CDConfigFlags::kAuthPAAListWrong); } + void SetAuthPAAListCount(uint8_t authPAAListCount) { mAuthPAAListCount = authPAAListCount; } + void SetSignerInfoVersionWrong() { mFlags.Set(CDConfigFlags::kSignerInfoVersion); } + void SetSignerInfoDigestAlgoWrong() { mFlags.Set(CDConfigFlags::kSignerInfoDigestAlgo); } + void SetSignerInfoSKIDWrong() { mFlags.Set(CDConfigFlags::kSignerInfoSKID); } + void SetCMSVersionWrong() { mFlags.Set(CDConfigFlags::kCMSVersion); } + void SetCMSDigestAlgoWrong() { mFlags.Set(CDConfigFlags::kCMSDigestAlgo); } + void SetCMSSigAlgoWrong() { mFlags.Set(CDConfigFlags::kCMSSigAlgo); } + void SetCMSEContentTypeWrong() { mFlags.Set(CDConfigFlags::kCMSEContentType); } + void SetCMSSignatureWrong() { mFlags.Set(CDConfigFlags::kCMSSignature); } + + bool IsErrorTestCaseEnabled() { return mEnabled; } + bool IsFormatVersionPresent() { return (!mEnabled || !mFlags.Has(CDConfigFlags::kFormatVersionMissing)); } + int GetFormatVersion() { return (mEnabled && mFlags.Has(CDConfigFlags::kFormatVersionWrong)) ? 2 : 1; } + bool IsVIDPresent() { return (!mEnabled || !mFlags.Has(CDConfigFlags::kVIDMissing)); } + bool IsVIDCorrect() { return (!mEnabled || !mFlags.Has(CDConfigFlags::kVIDWrong)); } + bool IsPIDArrayPresent() { return (!mEnabled || !mFlags.Has(CDConfigFlags::kPIDArrayMissing)); } + bool IsPIDArrayCorrect() { return (!mEnabled || !mFlags.Has(CDConfigFlags::kPIDArrayWrong)); } + uint8_t GetPIDArrayCount() const { return mPIDArrayCount; } + bool IsDeviceTypeIdPresent() { return (!mEnabled || !mFlags.Has(CDConfigFlags::kDeviceTypeIdMissing)); } + bool IsDeviceTypeIdCorrect() { return (!mEnabled || !mFlags.Has(CDConfigFlags::kDeviceTypeIdWrong)); } + bool IsCertIdPresent() { return (!mEnabled || !mFlags.Has(CDConfigFlags::kCertIdMissing)); } + bool IsCertIdCorrect() { return (!mEnabled || !mFlags.Has(CDConfigFlags::kCertIdWrong)); } + bool IsCertIdLenCorrect() { return (!mEnabled || !mFlags.Has(CDConfigFlags::kCertIdLenWrong)); } + bool IsSecurityLevelPresent() { return (!mEnabled || !mFlags.Has(CDConfigFlags::kSecurityLevelMissing)); } + bool IsSecurityLevelCorrect() { return (!mEnabled || !mFlags.Has(CDConfigFlags::kSecurityLevelWrong)); } + bool IsSecurityInfoPresent() { return (!mEnabled || !mFlags.Has(CDConfigFlags::kSecurityInfoMissing)); } + bool IsSecurityInfoCorrect() { return (!mEnabled || !mFlags.Has(CDConfigFlags::kSecurityInfoWrong)); } + bool IsVersionNumberPresent() { return (!mEnabled || !mFlags.Has(CDConfigFlags::kVersionNumberMissing)); } + bool IsVersionNumberCorrect() { return (!mEnabled || !mFlags.Has(CDConfigFlags::kVersionNumberWrong)); } + bool IsCertTypePresent() { return (!mEnabled || !mFlags.Has(CDConfigFlags::kCertTypeMissing)); } + bool IsCertTypeCorrect() { return (!mEnabled || !mFlags.Has(CDConfigFlags::kCertTypeWrong)); } + bool IsDACOriginVIDCorrect() { return (!mEnabled || !mFlags.Has(CDConfigFlags::kDACOriginVID)); } + bool IsDACOriginPIDCorrect() { return (!mEnabled || !mFlags.Has(CDConfigFlags::kDACOriginPID)); } + bool IsDACOriginVIDPresent() { return (mEnabled && mFlags.Has(CDConfigFlags::kDACOriginVIDPresent)); } + bool IsDACOriginPIDPresent() { return (mEnabled && mFlags.Has(CDConfigFlags::kDACOriginPIDPresent)); } + bool IsAuthPAAListPresent() { return (mEnabled || mFlags.Has(CDConfigFlags::kAuthPAAListPresent)); } + bool IsAuthPAAListCorrect() { return (!mEnabled || !mFlags.Has(CDConfigFlags::kAuthPAAListWrong)); } + uint8_t GetAuthPAAListCount() const { return mAuthPAAListCount; } + bool IsSignerInfoVersionCorrect() { return (!mEnabled || !mFlags.Has(CDConfigFlags::kSignerInfoVersion)); } + bool IsSignerInfoDigestAlgoCorrect() { return (!mEnabled || !mFlags.Has(CDConfigFlags::kSignerInfoDigestAlgo)); } + bool IsSignerInfoSKIDCorrect() { return (!mEnabled || !mFlags.Has(CDConfigFlags::kSignerInfoSKID)); } + bool IsCMSVersionCorrect() { return (!mEnabled || !mFlags.Has(CDConfigFlags::kCMSVersion)); } + bool IsCMSDigestAlgoCorrect() { return (!mEnabled || !mFlags.Has(CDConfigFlags::kCMSDigestAlgo)); } + bool IsCMSSigAlgoCorrect() { return (!mEnabled || !mFlags.Has(CDConfigFlags::kCMSSigAlgo)); } + bool IsCMSEContentTypeCorrect() { return (!mEnabled || !mFlags.Has(CDConfigFlags::kCMSEContentType)); } + bool IsCMSSignatureCorrect() { return (!mEnabled || !mFlags.Has(CDConfigFlags::kCMSSignature)); } + +private: + enum class CDConfigFlags : uint64_t + { + kFormatVersionMissing = 0x0000000000000001, + kFormatVersionWrong = 0x0000000000000002, + kVIDMissing = 0x0000000000000004, + kVIDWrong = 0x0000000000000008, + kPIDArrayMissing = 0x0000000000000010, + kPIDArrayWrong = 0x0000000000000020, + kDeviceTypeIdMissing = 0x0000000000000040, + kDeviceTypeIdWrong = 0x0000000000000080, + kCertIdMissing = 0x0000000000000100, + kCertIdWrong = 0x0000000000000200, + kCertIdLenWrong = 0x0000000000000400, + kSecurityLevelMissing = 0x0000000000000800, + kSecurityLevelWrong = 0x0000000000001000, + kSecurityInfoMissing = 0x0000000000002000, + kSecurityInfoWrong = 0x0000000000004000, + kVersionNumberMissing = 0x0000000000008000, + kVersionNumberWrong = 0x0000000000010000, + kCertTypeMissing = 0x0000000000020000, + kCertTypeWrong = 0x0000000000040000, + kDACOriginVID = 0x0000000000080000, + kDACOriginPID = 0x0000000000100000, + kDACOriginVIDPresent = 0x0000000000200000, + kDACOriginPIDPresent = 0x0000000000400000, + kAuthPAAListPresent = 0x0000000000800000, + kAuthPAAListWrong = 0x0000000001000000, + kSignerInfoVersion = 0x0000000002000000, + kSignerInfoDigestAlgo = 0x0000000004000000, + kSignerInfoSKID = 0x0000000008000000, + kCMSVersion = 0x0000000010000000, + kCMSDigestAlgo = 0x0000000020000000, + kCMSSigAlgo = 0x0000000040000000, + kCMSEContentType = 0x0000000080000000, + kCMSSignature = 0x0000000100000000, + }; + + bool mEnabled = false; + chip::BitFlags mFlags; + uint8_t mPIDArrayCount = 1; + uint8_t mAuthPAAListCount = 1; +}; + CertificationElements gCertElements; const char * gCertFileName = nullptr; const char * gKeyFileName = nullptr; const char * gSignedCDFileName = nullptr; +CDStructConfig gCDConfig; bool ExtractSKIDFromX509Cert(X509 * cert, ByteSpan & skid) { @@ -294,6 +492,210 @@ bool HandleOption(const char * progName, OptionSet * optSet, int id, const char memcpy(gCertElements.AuthorizedPAAList[gCertElements.AuthorizedPAAListCount++], skid.data(), skid.size()); } break; +#if CHIP_CONFIG_INTERNAL_FLAG_GENERATE_DA_TEST_CASES + case 'I': + gCDConfig.EnableErrorTestCase(); + break; + case 'E': + if (strcmp(arg, "format-version-missing") == 0) + { + gCDConfig.SetFormatVersionMissing(); + } + else if (strcmp(arg, "format-version-wrong") == 0) + { + gCDConfig.SetFormatVersionWrong(); + } + else if (strcmp(arg, "vid-missing") == 0) + { + gCDConfig.SetVIDMissing(); + } + else if (strcmp(arg, "vid-mismatch") == 0) + { + gCDConfig.SetVIDWrong(); + } + else if (strcmp(arg, "pid-array-missing") == 0) + { + gCDConfig.SetPIDArrayMissing(); + } + else if (strcmp(arg, "pid-array-count0") == 0) + { + gCDConfig.SetPIDArrayCount(0); + } + else if (strcmp(arg, "pid-array-count01-valid") == 0) + { + gCDConfig.SetPIDArrayCount(1); + } + else if (strcmp(arg, "pid-array-count01-mismatch") == 0) + { + gCDConfig.SetPIDArrayCount(1); + gCDConfig.SetPIDArrayWrong(); + } + else if (strcmp(arg, "pid-array-count10-valid") == 0) + { + gCDConfig.SetPIDArrayCount(10); + } + else if (strcmp(arg, "pid-array-count10-mismatch") == 0) + { + gCDConfig.SetPIDArrayCount(10); + gCDConfig.SetPIDArrayWrong(); + } + else if (strcmp(arg, "pid-array-count100-valid") == 0) + { + gCDConfig.SetPIDArrayCount(100); + } + else if (strcmp(arg, "pid-array-count100-mismatch") == 0) + { + gCDConfig.SetPIDArrayCount(100); + gCDConfig.SetPIDArrayWrong(); + } + else if (strcmp(arg, "device-type-id-missing") == 0) + { + gCDConfig.SetDeviceTypeIdMissing(); + } + else if (strcmp(arg, "device-type-id-mismatch") == 0) + { + gCDConfig.SetDeviceTypeIdWrong(); + } + else if (strcmp(arg, "cert-id-missing") == 0) + { + gCDConfig.SetCertIdMissing(); + } + else if (strcmp(arg, "cert-id-mismatch") == 0) + { + gCDConfig.SetCertIdWrong(); + } + else if (strcmp(arg, "cert-id-len-wrong") == 0) + { + gCDConfig.SetCertIdLenWrong(); + } + else if (strcmp(arg, "security-level-missing") == 0) + { + gCDConfig.SetSecurityLevelMissing(); + } + else if (strcmp(arg, "security-level-wrong") == 0) + { + gCDConfig.SetSecurityLevelWrong(); + } + else if (strcmp(arg, "security-info-missing") == 0) + { + gCDConfig.SetSecurityInfoMissing(); + } + else if (strcmp(arg, "security-info-wrong") == 0) + { + gCDConfig.SetSecurityInfoWrong(); + } + else if (strcmp(arg, "version-number-missing") == 0) + { + gCDConfig.SetVersionNumberMissing(); + } + else if (strcmp(arg, "version-number-wrong") == 0) + { + gCDConfig.SetVersionNumberWrong(); + } + else if (strcmp(arg, "cert-type-missing") == 0) + { + gCDConfig.SetCertTypeMissing(); + } + else if (strcmp(arg, "cert-type-wrong") == 0) + { + gCDConfig.SetCertTypeWrong(); + } + else if (strcmp(arg, "dac-origin-vid-present") == 0) + { + gCDConfig.SetDACOriginVIDPresent(); + } + else if (strcmp(arg, "dac-origin-pid-present") == 0) + { + gCDConfig.SetDACOriginPIDPresent(); + } + else if (strcmp(arg, "dac-origin-vid-pid-present") == 0) + { + gCDConfig.SetDACOriginVIDPresent(); + gCDConfig.SetDACOriginPIDPresent(); + } + else if (strcmp(arg, "dac-origin-vid-mismatch") == 0) + { + gCDConfig.SetDACOriginVIDPresent(); + gCDConfig.SetDACOriginPIDPresent(); + gCDConfig.SetDACOriginVIDWrong(); + } + else if (strcmp(arg, "dac-origin-pid-mismatch") == 0) + { + gCDConfig.SetDACOriginVIDPresent(); + gCDConfig.SetDACOriginPIDPresent(); + gCDConfig.SetDACOriginPIDWrong(); + } + else if (strcmp(arg, "authorized-paa-list-count0") == 0) + { + gCDConfig.SetAuthPAAListPresent(); + gCDConfig.SetAuthPAAListCount(0); + } + else if (strcmp(arg, "authorized-paa-list-count1-valid") == 0) + { + gCDConfig.SetAuthPAAListPresent(); + gCDConfig.SetAuthPAAListCount(1); + } + else if (strcmp(arg, "authorized-paa-list-count2-valid") == 0) + { + gCDConfig.SetAuthPAAListPresent(); + gCDConfig.SetAuthPAAListCount(2); + } + else if (strcmp(arg, "authorized-paa-list-count3-invalid") == 0) + { + gCDConfig.SetAuthPAAListCount(3); + gCDConfig.SetAuthPAAListPresent(); + gCDConfig.SetAuthPAAListWrong(); + } + else if (strcmp(arg, "authorized-paa-list-count10-valid") == 0) + { + gCDConfig.SetAuthPAAListPresent(); + gCDConfig.SetAuthPAAListCount(10); + } + else if (strcmp(arg, "authorized-paa-list-count10-invalid") == 0) + { + gCDConfig.SetAuthPAAListCount(10); + gCDConfig.SetAuthPAAListPresent(); + gCDConfig.SetAuthPAAListWrong(); + } + else if (strcmp(arg, "signer-info-v2") == 0) + { + gCDConfig.SetSignerInfoVersionWrong(); + } + else if (strcmp(arg, "signer-info-digest-algo") == 0) + { + gCDConfig.SetSignerInfoDigestAlgoWrong(); + } + else if (strcmp(arg, "signer-info-skid") == 0) + { + gCDConfig.SetSignerInfoSKIDWrong(); + } + else if (strcmp(arg, "cms-v2") == 0) + { + gCDConfig.SetCMSVersionWrong(); + } + else if (strcmp(arg, "cms-digest-algo") == 0) + { + gCDConfig.SetCMSDigestAlgoWrong(); + } + else if (strcmp(arg, "cms-sig-algo") == 0) + { + gCDConfig.SetCMSSigAlgoWrong(); + } + else if (strcmp(arg, "cms-econtent-type") == 0) + { + gCDConfig.SetCMSEContentTypeWrong(); + } + else if (strcmp(arg, "cms-sig") == 0) + { + gCDConfig.SetCMSSignatureWrong(); + } + else if (strcmp(arg, "no-error") != 0) + { + PrintArgError("%s: Invalid value specified for the error type: %s\n", progName, arg); + return false; + } + break; +#endif default: PrintArgError("%s: Unhandled option: %s\n", progName, name); return false; @@ -302,6 +704,381 @@ bool HandleOption(const char * progName, OptionSet * optSet, int id, const char return true; } +static constexpr uint8_t sOID_ContentType_PKCS7Data[] = { 0x2A, 0x86, 0x48, 0x86, 0xF7, 0x0D, 0x01, 0x07, 0x01 }; +static constexpr uint8_t sOID_ContentType_MSAC[] = { 0x06, 0x0A, 0x2B, 0x06, 0x01, 0x04, 0x01, 0x82, 0x37, 0x02, 0x01, 0x04 }; +static constexpr uint8_t sOID_ContentType_PKCS7SignedData[] = { 0x2A, 0x86, 0x48, 0x86, 0xF7, 0x0D, 0x01, 0x07, 0x02 }; +static constexpr uint8_t sOID_DigestAlgo_SHA256[] = { 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x01 }; +static constexpr uint8_t sOID_DigestAlgo_SHA1[] = { 0x2B, 0x0E, 0x03, 0x02, 0x1A }; +static constexpr uint8_t sOID_SigAlgo_ECDSAWithSHA1[] = { 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x04, 0x01 }; + +/** Certification Declaration Element TLV Tags + */ +enum +{ + kTag_FormatVersion = 0, /**< [ unsigned int ] Format version. */ + kTag_VendorId = 1, /**< [ unsigned int ] Vedor identifier. */ + kTag_ProductIdArray = 2, /**< [ array ] Product identifiers (each is unsigned int). */ + kTag_DeviceTypeId = 3, /**< [ unsigned int ] Device Type identifier. */ + kTag_CertificateId = 4, /**< [ UTF-8 string, length 19 ] Certificate identifier. */ + kTag_SecurityLevel = 5, /**< [ unsigned int ] Security level. */ + kTag_SecurityInformation = 6, /**< [ unsigned int ] Security information. */ + kTag_VersionNumber = 7, /**< [ unsigned int ] Version number. */ + kTag_CertificationType = 8, /**< [ unsigned int ] Certification Type. */ + kTag_DACOriginVendorId = 9, /**< [ unsigned int, optional ] DAC origin vendor identifier. */ + kTag_DACOriginProductId = 10, /**< [ unsigned int, optional ] DAC origin product identifier. */ + kTag_AuthorizedPAAList = 11, /**< [ array, optional ] Authorized PAA List. */ +}; + +CHIP_ERROR EncodeCertificationElements_Ignore_Error(const CertificationElements & certElements, + MutableByteSpan & encodedCertElements, CDStructConfig & cdConfig) +{ + TLVWriter writer; + TLVType outerContainer1, outerContainer2; + + writer.Init(encodedCertElements); + + ReturnErrorOnFailure(writer.StartContainer(AnonymousTag(), kTLVType_Structure, outerContainer1)); + + if (cdConfig.IsFormatVersionPresent()) + { + ReturnErrorOnFailure(writer.Put(ContextTag(kTag_FormatVersion), cdConfig.GetFormatVersion())); + } + if (cdConfig.IsVIDPresent()) + { + if (cdConfig.IsVIDCorrect()) + { + ReturnErrorOnFailure(writer.Put(ContextTag(kTag_VendorId), certElements.VendorId)); + } + else + { + ReturnErrorOnFailure(writer.Put(ContextTag(kTag_VendorId), static_cast(certElements.VendorId ^ UINT16_MAX))); + } + } + if (cdConfig.IsPIDArrayPresent()) + { + ReturnErrorOnFailure(writer.StartContainer(ContextTag(kTag_ProductIdArray), kTLVType_Array, outerContainer2)); + uint16_t pid = + cdConfig.IsPIDArrayCorrect() ? certElements.ProductIds[0] : static_cast(certElements.ProductIds[0] + 1); + for (uint8_t i = 0; i < cdConfig.GetPIDArrayCount(); i++) + { + ReturnErrorOnFailure(writer.Put(AnonymousTag(), static_cast(pid++))); + } + ReturnErrorOnFailure(writer.EndContainer(outerContainer2)); + } + if (cdConfig.IsDeviceTypeIdPresent()) + { + if (cdConfig.IsDeviceTypeIdCorrect()) + { + ReturnErrorOnFailure(writer.Put(ContextTag(kTag_DeviceTypeId), certElements.DeviceTypeId)); + } + else + { + ReturnErrorOnFailure( + writer.Put(ContextTag(kTag_DeviceTypeId), static_cast(certElements.DeviceTypeId ^ UINT32_MAX))); + } + } + if (cdConfig.IsCertIdPresent()) + { + if (cdConfig.IsCertIdCorrect() && cdConfig.IsCertIdLenCorrect()) + { + ReturnErrorOnFailure(writer.PutString(ContextTag(kTag_CertificateId), certElements.CertificateId)); + } + else if (!cdConfig.IsCertIdCorrect()) + { + ReturnErrorOnFailure(writer.PutString(ContextTag(kTag_CertificateId), "INV20141ZB330001-24")); + } + else + { + std::string cert_id(certElements.CertificateId); + cert_id += "1234"; + ReturnErrorOnFailure(writer.PutString(ContextTag(kTag_CertificateId), cert_id.c_str())); + } + } + if (cdConfig.IsSecurityLevelPresent()) + { + if (cdConfig.IsSecurityLevelCorrect()) + { + ReturnErrorOnFailure(writer.Put(ContextTag(kTag_SecurityLevel), certElements.SecurityLevel)); + } + else + { + ReturnErrorOnFailure( + writer.Put(ContextTag(kTag_SecurityLevel), static_cast(certElements.SecurityLevel ^ UINT8_MAX))); + } + } + if (cdConfig.IsSecurityInfoPresent()) + { + if (cdConfig.IsSecurityInfoCorrect()) + { + ReturnErrorOnFailure(writer.Put(ContextTag(kTag_SecurityInformation), certElements.SecurityInformation)); + } + else + { + ReturnErrorOnFailure(writer.Put(ContextTag(kTag_SecurityInformation), + static_cast(certElements.SecurityInformation ^ UINT16_MAX))); + } + } + if (cdConfig.IsVersionNumberPresent()) + { + if (cdConfig.IsVersionNumberCorrect()) + { + ReturnErrorOnFailure(writer.Put(ContextTag(kTag_VersionNumber), certElements.VersionNumber)); + } + else + { + ReturnErrorOnFailure( + writer.Put(ContextTag(kTag_VersionNumber), static_cast(certElements.VersionNumber ^ UINT16_MAX))); + } + } + if (cdConfig.IsCertTypePresent()) + { + if (cdConfig.IsCertTypeCorrect()) + { + ReturnErrorOnFailure(writer.Put(ContextTag(kTag_CertificationType), certElements.CertificationType)); + } + else + { + ReturnErrorOnFailure( + writer.Put(ContextTag(kTag_CertificationType), static_cast(certElements.CertificationType ^ UINT8_MAX))); + } + } + if (cdConfig.IsDACOriginVIDPresent()) + { + if (cdConfig.IsDACOriginVIDCorrect() && certElements.DACOriginVIDandPIDPresent) + { + ReturnErrorOnFailure(writer.Put(ContextTag(kTag_DACOriginVendorId), certElements.DACOriginVendorId)); + } + else + { + uint16_t wrong_dac_origin_vid = 0x8008; + ReturnErrorOnFailure(writer.Put(ContextTag(kTag_DACOriginVendorId), wrong_dac_origin_vid)); + } + } + if (cdConfig.IsDACOriginPIDPresent()) + { + if (cdConfig.IsDACOriginPIDCorrect() && certElements.DACOriginVIDandPIDPresent) + { + ReturnErrorOnFailure(writer.Put(ContextTag(kTag_DACOriginProductId), certElements.DACOriginProductId)); + } + else + { + uint16_t wrong_dac_origin_pid = 0xFF00; + ReturnErrorOnFailure(writer.Put(ContextTag(kTag_DACOriginProductId), wrong_dac_origin_pid)); + } + } + if (cdConfig.IsAuthPAAListPresent()) + { + ReturnErrorOnFailure(writer.StartContainer(ContextTag(kTag_AuthorizedPAAList), kTLVType_Array, outerContainer2)); + uint8_t wrong_kid[kKeyIdentifierLength] = { 0xF4, 0x44, 0xCA, 0xBB, 0xC5, 0x01, 0x65, 0x77, 0xAA, 0x8B, + 0x44, 0xFF, 0xB9, 0x0F, 0xCC, 0xA1, 0x40, 0xFE, 0x66, 0x20 }; + for (uint8_t i = 0; i < cdConfig.GetAuthPAAListCount(); i++) + { + if (cdConfig.IsAuthPAAListCorrect() && (i < certElements.AuthorizedPAAListCount)) + { + ReturnErrorOnFailure(writer.Put(AnonymousTag(), ByteSpan(certElements.AuthorizedPAAList[i]))); + } + else + { + wrong_kid[(i % kKeyIdentifierLength)] ^= 0xFF; + ReturnErrorOnFailure(writer.Put(AnonymousTag(), ByteSpan(wrong_kid))); + } + } + ReturnErrorOnFailure(writer.EndContainer(outerContainer2)); + } + + ReturnErrorOnFailure(writer.EndContainer(outerContainer1)); + + ReturnErrorOnFailure(writer.Finalize()); + + encodedCertElements.reduce_size(writer.GetLengthWritten()); + + return CHIP_NO_ERROR; +} + +CHIP_ERROR EncodeEncapsulatedContent_Ignor_Error(const ByteSpan & cdContent, ASN1Writer & writer, CDStructConfig & cdConfig) +{ + /** + * EncapsulatedContentInfo ::= SEQUENCE { + * eContentType OBJECT IDENTIFIER pkcs7-data (1.2.840.113549.1.7.1), + * eContent [0] EXPLICIT OCTET STRING cd_content } + */ + CHIP_ERROR err = CHIP_NO_ERROR; + + ASN1_START_SEQUENCE + { + // eContentType OBJECT IDENTIFIER pkcs7-data (1.2.840.113549.1.7.1) + if (cdConfig.IsCMSEContentTypeCorrect()) + { + ReturnErrorOnFailure(writer.PutObjectId(sOID_ContentType_PKCS7Data, sizeof(sOID_ContentType_PKCS7Data))); + } + else + { + ReturnErrorOnFailure(writer.PutObjectId(sOID_ContentType_MSAC, sizeof(sOID_ContentType_MSAC))); + } + + // eContent [0] EXPLICIT OCTET STRING cd_content + ASN1_START_CONSTRUCTED(kASN1TagClass_ContextSpecific, 0) + { + // OCTET STRING cd_content + ReturnErrorOnFailure(writer.PutOctetString(cdContent.data(), static_cast(cdContent.size()))); + } + ASN1_END_CONSTRUCTED; + } + ASN1_END_SEQUENCE; + +exit: + return err; +} + +CHIP_ERROR EncodeSignerInfo_Ignor_Error(const ByteSpan & signerKeyId, const P256ECDSASignature & signature, ASN1Writer & writer, + CDStructConfig & cdConfig) +{ + /** + * SignerInfo ::= SEQUENCE { + * version INTEGER ( v3(3) ), + * subjectKeyIdentifier OCTET STRING, + * digestAlgorithm OBJECT IDENTIFIER sha256 (2.16.840.1.101.3.4.2.1), + * signatureAlgorithm OBJECT IDENTIFIER ecdsa-with-SHA256 (1.2.840.10045.4.3.2), + * signature OCTET STRING } + */ + CHIP_ERROR err = CHIP_NO_ERROR; + + ASN1_START_SET + { + ASN1_START_SEQUENCE + { + // version INTEGER ( v3(3) ) + ASN1_ENCODE_INTEGER(cdConfig.IsSignerInfoVersionCorrect() ? 3 : 2); + + // subjectKeyIdentifier OCTET STRING + if (cdConfig.IsSignerInfoSKIDCorrect()) + { + ReturnErrorOnFailure(writer.PutOctetString(kASN1TagClass_ContextSpecific, 0, signerKeyId.data(), + static_cast(signerKeyId.size()))); + } + else + { + uint8_t wrong_skid[kKeyIdentifierLength]; + memcpy(wrong_skid, signerKeyId.data(), signerKeyId.size()); + wrong_skid[7] ^= 0xFF; + ReturnErrorOnFailure(writer.PutOctetString(kASN1TagClass_ContextSpecific, 0, wrong_skid, sizeof(wrong_skid))); + } + + // digestAlgorithm OBJECT IDENTIFIER sha256 (2.16.840.1.101.3.4.2.1) + ASN1_START_SEQUENCE + { + if (cdConfig.IsSignerInfoDigestAlgoCorrect()) + { + ReturnErrorOnFailure(writer.PutObjectId(sOID_DigestAlgo_SHA256, sizeof(sOID_DigestAlgo_SHA256))); + } + else + { + ReturnErrorOnFailure(writer.PutObjectId(sOID_DigestAlgo_SHA1, sizeof(sOID_DigestAlgo_SHA1))); + } + } + ASN1_END_SEQUENCE; + + // signatureAlgorithm OBJECT IDENTIFIER ecdsa-with-SHA256 (1.2.840.10045.4.3.2) + ASN1_START_SEQUENCE + { + if (cdConfig.IsCMSSigAlgoCorrect()) + { + ASN1_ENCODE_OBJECT_ID(kOID_SigAlgo_ECDSAWithSHA256); + } + else + { + ReturnErrorOnFailure(writer.PutObjectId(sOID_SigAlgo_ECDSAWithSHA1, sizeof(sOID_SigAlgo_ECDSAWithSHA1))); + } + } + ASN1_END_SEQUENCE; + + uint8_t asn1SignatureBuf[kMax_ECDSA_Signature_Length_Der]; + MutableByteSpan asn1Signature(asn1SignatureBuf); + ReturnErrorOnFailure(EcdsaRawSignatureToAsn1(kP256_FE_Length, ByteSpan(signature, signature.Length()), asn1Signature)); + + if (!cdConfig.IsCMSSignatureCorrect()) + { + asn1SignatureBuf[10] ^= 0xFF; + } + + // signature OCTET STRING + ReturnErrorOnFailure(writer.PutOctetString(asn1Signature.data(), static_cast(asn1Signature.size()))); + } + ASN1_END_SEQUENCE; + } + ASN1_END_SET; + +exit: + return err; +} + +CHIP_ERROR CMS_Sign_Ignore_Error(const ByteSpan & cdContent, const ByteSpan & signerKeyId, Crypto::P256Keypair & signerKeypair, + MutableByteSpan & signedMessage, CDStructConfig & cdConfig) +{ + /** + * CertificationDeclaration ::= SEQUENCE { + * version INTEGER ( v3(3) ), + * digestAlgorithm OBJECT IDENTIFIER sha256 (2.16.840.1.101.3.4.2.1), + * encapContentInfo EncapsulatedContentInfo, + * signerInfo SignerInfo } + */ + CHIP_ERROR err = CHIP_NO_ERROR; + ASN1Writer writer; + uint32_t size = static_cast(std::min(static_cast(UINT32_MAX), signedMessage.size())); + + writer.Init(signedMessage.data(), size); + + ASN1_START_SEQUENCE + { + // OID identifies the CMS signed-data content type + ReturnErrorOnFailure(writer.PutObjectId(sOID_ContentType_PKCS7SignedData, sizeof(sOID_ContentType_PKCS7SignedData))); + + ASN1_START_CONSTRUCTED(kASN1TagClass_ContextSpecific, 0) + { + ASN1_START_SEQUENCE + { + // version INTEGER ( v3(3) ) + ASN1_ENCODE_INTEGER(cdConfig.IsCMSVersionCorrect() ? 3 : 2); + + // digestAlgorithm OBJECT IDENTIFIER sha256 (2.16.840.1.101.3.4.2.1) + ASN1_START_SET + { + ASN1_START_SEQUENCE + { + if (cdConfig.IsCMSDigestAlgoCorrect()) + { + ReturnErrorOnFailure(writer.PutObjectId(sOID_DigestAlgo_SHA256, sizeof(sOID_DigestAlgo_SHA256))); + } + else + { + ReturnErrorOnFailure(writer.PutObjectId(sOID_DigestAlgo_SHA1, sizeof(sOID_DigestAlgo_SHA1))); + } + } + ASN1_END_SEQUENCE; + } + ASN1_END_SET; + + // encapContentInfo EncapsulatedContentInfo + ReturnErrorOnFailure(EncodeEncapsulatedContent_Ignor_Error(cdContent, writer, cdConfig)); + + Crypto::P256ECDSASignature signature; + ReturnErrorOnFailure(signerKeypair.ECDSA_sign_msg(cdContent.data(), cdContent.size(), signature)); + + // signerInfo SignerInfo + ReturnErrorOnFailure(EncodeSignerInfo_Ignor_Error(signerKeyId, signature, writer, cdConfig)); + } + ASN1_END_SEQUENCE; + } + ASN1_END_CONSTRUCTED; + } + ASN1_END_SEQUENCE; + + signedMessage.reduce_size(writer.GetLengthWritten()); + +exit: + return err; +} + } // namespace bool Cmd_GenCD(int argc, char * argv[]) @@ -314,6 +1091,13 @@ bool Cmd_GenCD(int argc, char * argv[]) VerifyOrReturnError(ParseArgs(CMD_NAME, argc, argv, gCmdOptionSets), false); + if (gCDConfig.IsErrorTestCaseEnabled()) + { + fprintf(stderr, + "WARNING gen-cd: The ignor-error option is set. This option makes it possible to generate invalid certification " + "declaration.\n"); + } + if (gKeyFileName == nullptr) { fprintf(stderr, "Please specify the signing private key file name using the --key option.\n"); @@ -331,19 +1115,7 @@ bool Cmd_GenCD(int argc, char * argv[]) fprintf(stderr, "Please specify the file name for the signed Certification Declaration using the --out option.\n"); return false; } - - if (gCertElements.VendorId == 0 || gCertElements.ProductIdsCount == 0 || gCertElements.DeviceTypeId == 0 || - strlen(gCertElements.CertificateId) == 0 || gCertElements.VersionNumber == 0) - { - fprintf(stderr, "Please specify all mandatory CD elements.\n"); - return false; - } - - if (gCertElements.DACOriginVIDandPIDPresent && (gCertElements.DACOriginVendorId == 0 || gCertElements.DACOriginProductId == 0)) - { - fprintf(stderr, "The DAC Origin Vendor Id and Product Id SHALL be specified together.\n"); - return false; - } + fprintf(stderr, "gSignedCDFileName = %s\n", gSignedCDFileName); if (strcmp(gSignedCDFileName, "-") != 0 && access(gSignedCDFileName, R_OK) == 0) { @@ -354,6 +1126,23 @@ bool Cmd_GenCD(int argc, char * argv[]) return false; } + if (!gCDConfig.IsErrorTestCaseEnabled()) + { + if (gCertElements.VendorId == 0 || gCertElements.ProductIdsCount == 0 || strlen(gCertElements.CertificateId) == 0 || + gCertElements.VersionNumber == 0) + { + fprintf(stderr, "Please specify all mandatory CD elements.\n"); + return false; + } + + if (gCertElements.DACOriginVIDandPIDPresent && + (gCertElements.DACOriginVendorId == 0 || gCertElements.DACOriginProductId == 0)) + { + fprintf(stderr, "The DAC Origin Vendor Id and Product Id SHALL be specified together.\n"); + return false; + } + } + { std::unique_ptr cert(X509_new(), &X509_free); std::unique_ptr key(EVP_PKEY_new(), &EVP_PKEY_free); @@ -376,12 +1165,28 @@ bool Cmd_GenCD(int argc, char * argv[]) // Encode CD TLV content. uint8_t encodedCDBuf[kCertificationElements_TLVEncodedMaxLength]; MutableByteSpan encodedCD(encodedCDBuf); - VerifyOrReturnError(EncodeCertificationElements(gCertElements, encodedCD) == CHIP_NO_ERROR, false); + if (gCDConfig.IsErrorTestCaseEnabled()) + { + VerifyOrReturnError(EncodeCertificationElements_Ignore_Error(gCertElements, encodedCD, gCDConfig) == CHIP_NO_ERROR, + false); + } + else + { + VerifyOrReturnError(EncodeCertificationElements(gCertElements, encodedCD) == CHIP_NO_ERROR, false); + } // Sign CD. uint8_t signedMessageBuf[kMaxCMSSignedCDMessage]; MutableByteSpan signedMessage(signedMessageBuf); - VerifyOrReturnError(CMS_Sign(encodedCD, signerKeyId, keypair, signedMessage) == CHIP_NO_ERROR, false); + if (gCDConfig.IsErrorTestCaseEnabled()) + { + VerifyOrReturnError(CMS_Sign_Ignore_Error(encodedCD, signerKeyId, keypair, signedMessage, gCDConfig) == CHIP_NO_ERROR, + false); + } + else + { + VerifyOrReturnError(CMS_Sign(encodedCD, signerKeyId, keypair, signedMessage) == CHIP_NO_ERROR, false); + } // Write to file. { 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 bf33c2b16e00cb..8a675f73948337 100755 --- a/src/tools/chip-cert/gen_com_dut_test_vectors.py +++ b/src/tools/chip-cert/gen_com_dut_test_vectors.py @@ -311,6 +311,327 @@ class CertType(Enum): }, ] +CD_STRUCT_TEST_CASES = [ + { + "description": 'Valid format_version field set to 1.', + "test_folder": 'format_version_1', + "error_flag": 'no-error', + "is_success_case": 'true', + }, + { + "description": 'The format_version field is missing.', + "test_folder": 'format_version_missing', + "error_flag": 'format-version-missing', + "is_success_case": 'false', + }, + { + "description": 'Invalid format_version field set to 2.', + "test_folder": 'format_version_2', + "error_flag": 'format-version-wrong', + "is_success_case": 'false', + }, + { + "description": 'The vendor_id field is missing.', + "test_folder": 'vid_missing', + "error_flag": 'vid-missing', + "is_success_case": 'false', + }, + { + "description": "The vendor_id field doesn't match the VID in DAC.", + "test_folder": 'vid_mismatch', + "error_flag": 'vid-mismatch', + "is_success_case": 'false', + }, + { + "description": 'The product_id_array field is missing.', + "test_folder": 'pid_array_missing', + "error_flag": 'pid-array-missing', + "is_success_case": 'false', + }, + { + "description": "The product_id_array field is empty TLV array.", + "test_folder": 'pid_array_count0', + "error_flag": 'pid-array-count0', + "is_success_case": 'false', + }, + { + "description": "The product_id_array field has one PID value which matches the PID value in DAC.", + "test_folder": 'pid_array_count01_valid', + "error_flag": 'pid-array-count01-valid', + "is_success_case": 'true', + }, + { + "description": "The product_id_array field has one PID value that doesn't match the PID value in DAC.", + "test_folder": 'pid_array_count01_mismatch', + "error_flag": 'pid-array-count01-mismatch', + "is_success_case": 'false', + }, + { + "description": "The product_id_array field has 10 PID values one of which matches the PID value in DAC.", + "test_folder": 'pid_array_count10_valid', + "error_flag": 'pid-array-count10-valid', + "is_success_case": 'true', + }, + { + "description": "The product_id_array field has 10 PID values none of which matches the PID value in DAC.", + "test_folder": 'pid_array_count10_mismatch', + "error_flag": 'pid-array-count10-mismatch', + "is_success_case": 'false', + }, + { + "description": "The product_id_array field has 100 PID values one of which matches the PID value in DAC.", + "test_folder": 'pid_array_count100_valid', + "error_flag": 'pid-array-count100-valid', + "is_success_case": 'true', + }, + { + "description": "The product_id_array field has 100 PID values none of which matches the PID value in DAC.", + "test_folder": 'pid_array_count100_mismatch', + "error_flag": 'pid-array-count100-mismatch', + "is_success_case": 'false', + }, + { + "description": "The device_type_id field is missing.", + "test_folder": 'device_type_id_missing', + "error_flag": 'device-type-id-missing', + "is_success_case": 'false', + }, + { + "description": "The device_type_id field doesn't match the device_type_id value in the DCL entries associated with the VID and PID.", + "test_folder": 'device_type_id_mismatch', + "error_flag": 'device-type-id-mismatch', + "is_success_case": 'false', + }, + { + "description": "The certificate_id field is missing.", + "test_folder": 'cert_id_missing', + "error_flag": 'cert-id-missing', + "is_success_case": 'false', + }, + { + "description": "The certificate_id field doesn't contain a globally unique serial number allocated by the CSA for this CD.", + "test_folder": 'cert_id_mismatch', + "error_flag": 'cert-id-mismatch', + "is_success_case": 'false', + }, + { + "description": 'The certificate_id field has wrong length.', + "test_folder": 'cert_id_len_wrong', + "error_flag": 'cert-id-len-wrong', + "is_success_case": 'false', + }, + { + "description": 'The security_level field is missing.', + "test_folder": 'security_level_missing', + "error_flag": 'security-level-missing', + "is_success_case": 'false', + }, + { + "description": 'The security_level field is set to invalid value (different from 0).', + "test_folder": 'security_level_wrong', + "error_flag": 'security-level-wrong', + "is_success_case": 'false', + }, + { + "description": 'The security_information field is missing.', + "test_folder": 'security_info_missing', + "error_flag": 'security-info-missing', + "is_success_case": 'false', + }, + { + "description": 'The security_information field is set to invalid value (different from 0).', + "test_folder": 'security_info_wrong', + "error_flag": 'security-info-wrong', + "is_success_case": 'false', + }, + { + "description": 'The version_number field is missing.', + "test_folder": 'version_number_missing', + "error_flag": 'version-number-missing', + "is_success_case": 'true', + }, + { + "description": 'The version_number field matches the VID and PID used in a DeviceSoftwareVersionModel entry in the DCL matching the certification record associated with the product presenting this CD.', + "test_folder": 'version_number_match', + "error_flag": 'no-error', + "is_success_case": 'true', + }, + { + "description": "The version_number field doesn't match the VID and PID used in a DeviceSoftwareVersionModel entry in the DCL matching the certification record associated with the product presenting this CD.", + "test_folder": 'version_number_wrong', + "error_flag": 'version-number-wrong', + "is_success_case": 'false', + }, + { + "description": 'The certification_type field is missing.', + "test_folder": 'cert_type_missing', + "error_flag": 'cert-type-missing', + "is_success_case": 'false', + }, + { + "description": 'The certification_type field is set to invalid value.', + "test_folder": 'cert_type_wrong', + "error_flag": 'cert-type-wrong', + "is_success_case": 'false', + }, + { + "description": 'The dac_origin_vendor_id and dac_origin_product_id fields are not present.', + "test_folder": 'dac_origin_vid_pid_missing', + "error_flag": 'no-error', + "is_success_case": 'true', + }, + { + "description": 'The dac_origin_vendor_id fild is present and dac_origin_product_id fields is not present.', + "test_folder": 'dac_origin_vid_present_pid_missing', + "error_flag": 'dac-origin-vid-present', + "is_success_case": 'false', + }, + { + "description": 'The dac_origin_vendor_id fild is not present and dac_origin_product_id is present.', + "test_folder": 'dac_origin_vid_missing_pid_present', + "error_flag": 'dac-origin-pid-present', + "is_success_case": 'false', + }, + { + "description": 'The dac_origin_vendor_id and dac_origin_product_id fields present and contain the VID and PID values that match the VID and PID found in the DAC Subject DN.', + "test_folder": 'dac_origin_vid_pid_present_match', + "error_flag": 'dac-origin-vid-pid-present', + "is_success_case": 'true', + }, + { + "description": "The dac_origin_vendor_id and dac_origin_product_id fields present and the VID value doesn't match the VID found in the DAC Subject DN.", + "test_folder": 'dac_origin_vid_pid_present_vid_mismatch', + "error_flag": 'dac-origin-vid-mismatch', + "is_success_case": 'false', + }, + { + "description": "The dac_origin_vendor_id and dac_origin_product_id fields present and the PID value doesn't match the PID found in the DAC Subject DN.", + "test_folder": 'dac_origin_vid_pid_present_pid_mismatch', + "error_flag": 'dac-origin-pid-mismatch', + "is_success_case": 'false', + }, + { + "description": 'The optional authorized_paa_list field is not present.', + "test_folder": 'authorized_paa_list_missing', + "error_flag": 'no-error', + "is_success_case": 'true', + }, + { + "description": 'The authorized_paa_list contains one valid PAA which is authorized to sign the PAI.', + "test_folder": 'authorized_paa_list_count0', + "error_flag": 'authorized-paa-list-count0', + "is_success_case": 'false', + }, + { + "description": 'The authorized_paa_list contains one valid PAA which is authorized to sign the PAI.', + "test_folder": 'authorized_paa_list_count1_valid', + "error_flag": 'authorized-paa-list-count1-valid', + "is_success_case": 'true', + }, + { + "description": 'The authorized_paa_list contains two PAAs one of which is valid PAA authorized to sign the PAI.', + "test_folder": 'authorized_paa_list_count2_valid', + "error_flag": 'authorized-paa-list-count2-valid', + "is_success_case": 'true', + }, + { + "description": 'The authorized_paa_list contains three PAAs none of which is a valid PAA authorized to sign the PAI.', + "test_folder": 'authorized_paa_list_count3_invalid', + "error_flag": 'authorized-paa-list-count3-invalid', + "is_success_case": 'false', + }, + { + "description": 'The authorized_paa_list contains ten PAAs one of which is valid PAA authorized to sign the PAI.', + "test_folder": 'authorized_paa_list_count10_valid', + "error_flag": 'authorized-paa-list-count10-valid', + "is_success_case": 'true', + }, + { + "description": 'The authorized_paa_list contains ten PAAs none of which is a valid PAA authorized to sign the PAI.', + "test_folder": 'authorized_paa_list_count10_invalid', + "error_flag": 'authorized-paa-list-count10-invalid', + "is_success_case": 'false', + }, + { + "description": 'Invalid Signer Info version set to v2.', + "test_folder": 'signer_info_v2', + "error_flag": 'signer-info-v2', + "is_success_case": 'false', + }, + { + "description": 'Invalid Signer Info digest algorithm SHA1.', + "test_folder": 'signer_info_digest_algo_sha1', + "error_flag": 'signer-info-digest-algo', + "is_success_case": 'false', + }, + { + "description": 'The subjectKeyIdentifier contains SKID of a well-known Zigbee Alliance certificate.', + "test_folder": 'signer_info_skid_valid', + "error_flag": 'no-error', + "is_success_case": 'true', + }, + { + "description": 'The subjectKeyIdentifier contains invalid SKID of a certificate unknown by Zigbee Alliance.', + "test_folder": 'signer_info_skid_invalid', + "error_flag": 'signer-info-skid', + "is_success_case": 'false', + }, + { + "description": 'Valid CMS version set to v3.', + "test_folder": 'cms_v3', + "error_flag": 'no-error', + "is_success_case": 'true', + }, + { + "description": 'Invalid CMS version set to v2.', + "test_folder": 'cms_v2', + "error_flag": 'cms-v2', + "is_success_case": 'false', + }, + { + "description": 'Valid CMS digest algorithm SHA256.', + "test_folder": 'cms_digest_algo_sha256', + "error_flag": 'no-error', + "is_success_case": 'true', + }, + { + "description": 'Invalid CMS digest algorithm SHA1.', + "test_folder": 'cms_digest_algo_sha1', + "error_flag": 'cms-digest-algo', + "is_success_case": 'false', + }, + { + "description": 'Valid CMS signature algorithm ECDSA_WITH_SHA256.', + "test_folder": 'cms_sig_algo_ecdsa_with_sha256', + "error_flag": 'no-error', + "is_success_case": 'true', + }, + { + "description": 'Invalid CMS signature algorithm ECDSA_WITH_SHA1.', + "test_folder": 'cms_sig_algo_ecdsa_with_sha1', + "error_flag": 'cms-sig-algo', + "is_success_case": 'false', + }, + { + "description": 'Valid CMS eContentType pkcs7-data.', + "test_folder": 'cms_econtent_type_pkcs7_data', + "error_flag": 'no-error', + "is_success_case": 'true', + }, + { + "description": 'Invalid CMS eContentType is set to Microsoft Authenticode [MSAC] OID = { 1.3.6.1.4.1.311.2.1.4 }.', + "test_folder": 'cms_econtent_type_msac', + "error_flag": 'cms-econtent-type', + "is_success_case": 'false', + }, + { + "description": 'Invalid CMS Signature.', + "test_folder": 'cms_signature', + "error_flag": 'cms-sig', + "is_success_case": 'false', + }, +] + class Names: def __init__(self, cert_type: CertType, paa_path, test_case_out_dir): @@ -352,7 +673,7 @@ 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 + 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) @@ -554,6 +875,43 @@ 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_case in CD_STRUCT_TEST_CASES: + test_case_out_dir = args.outdir + '/struct_cd_' + test_case["test_folder"] + vid = 0xFFF1 + pid = 0x8000 + + # Generate PAI Cert/Key + builder = DevCertBuilder(CertType.PAI, 'no-error', args.paapath, test_case_out_dir, + chipcert, vid, pid, '') + builder.make_certs_and_keys() + + # Generate DAC Cert/Key + builder = DevCertBuilder(CertType.DAC, 'no-error', args.paapath, test_case_out_dir, + chipcert, vid, pid, '') + builder.make_certs_and_keys() + + # Generate Certification Declaration (CD) + vid_flag = ' -V 0x{:X}'.format(vid) + pid_flag = ' -p 0x{:X}'.format(pid) + + dac_origin_flag = ' ' + if test_case["error_flag"] == 'dac-origin-vid-present' or test_case["error_flag"] == 'dac-origin-vid-pid-present': + dac_origin_flag += ' -o 0x{:X}'.format(vid) + if test_case["error_flag"] == 'dac-origin-pid-present' or test_case["error_flag"] == 'dac-origin-vid-pid-present': + dac_origin_flag += ' -r 0x{:X}'.format(pid) + + if test_case["error_flag"] == 'authorized-paa-list-count0' or test_case["error_flag"] == 'authorized-paa-list-count1-valid' or test_case["error_flag"] == 'authorized-paa-list-count2-valid' or test_case["error_flag"] == 'authorized-paa-list-count3-invalid' or test_case["error_flag"] == 'authorized-paa-list-count10-valid' or test_case["error_flag"] == 'authorized-paa-list-count10-invalid': + authorized_paa_flag = ' -a ' + args.paapath + 'Cert.pem' + else: + authorized_paa_flag = '' + + cmd = chipcert + ' gen-cd -I -E ' + test_case["error_flag"] + ' -K ' + cd_key + ' -C ' + cd_cert + ' -O ' + test_case_out_dir + '/cd.der' + \ + ' -f 1 ' + vid_flag + pid_flag + dac_origin_flag + authorized_paa_flag + ' -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, 'cd', test_case) + if __name__ == '__main__': sys.exit(main())