chromium/components/policy/test/data/pref_mapping/RequiredClientCertificateForUser.json

[
  {
    "os": [
      "chromeos_ash"
    ],
    "policy_pref_mapping_tests": [
      {
        "note": "Check default values (no policies set)",
        "prefs": {
          "required_client_certificate_for_user": {
            "default_value": []
          }
        }
      },
      {
        "note": "Simple value",
        "policies": {
          "RequiredClientCertificateForUser": [
            {
              "cert_profile_id": "cert_profile_id_1",
              "enable_remote_attestation_check": true,
              "key_algorithm": "rsa",
              "name": "Certificate Profile 1",
              "policy_version": "some_hash",
              "renewal_period_seconds": 2592000
            }
          ]
        },
        "prefs": {
          "required_client_certificate_for_user": {
            "value": [
              {
                "cert_profile_id": "cert_profile_id_1",
                "enable_remote_attestation_check": true,
                "key_algorithm": "rsa",
                "name": "Certificate Profile 1",
                "policy_version": "some_hash",
                "renewal_period_seconds": 2592000
              }
            ]
          }
        }
      },
      {
        "note": "Simple value with dynamic protocol",
        "policies": {
          "RequiredClientCertificateForUser": [
            {
              "cert_profile_id": "cert_profile_id_1",
              "enable_remote_attestation_check": true,
              "key_algorithm": "rsa",
              "name": "Certificate Profile 1",
              "policy_version": "some_hash",
              "protocol_version": 2,
              "renewal_period_seconds": 2592000
            }
          ]
        },
        "prefs": {
          "required_client_certificate_for_user": {
            "value": [
              {
                "cert_profile_id": "cert_profile_id_1",
                "enable_remote_attestation_check": true,
                "key_algorithm": "rsa",
                "name": "Certificate Profile 1",
                "policy_version": "some_hash",
                "protocol_version": 2,
                "renewal_period_seconds": 2592000
              }
            ]
          }
        }
      }
    ]
  }
]