サブジェクト属性は、証明書に含めることができるサブジェクトの属性を定義します。
{
...
"subject": {
"attributes": [
{
"type": "common_name",
"encoding": "auto",
"allowed_source": [
"csr",
"fixed_value",
"user_supplied"
]
},
{
"type": "organization_name",
"include": "optional",
"encoding": "auto",
"allowed_source": [
"csr",
"fixed_value",
"user_supplied"
]
},
{
"type": "organization_unit",
"include": "optional",
"encoding": "auto",
"allowed_source": [
"csr",
"fixed_value",
"user_supplied"
]
}
]
}
}
名前 | タイプ | 必須/任意 | 説明 |
---|---|---|---|
subject | object | required | サブジェクトの属性の詳細 |
.. attributes | オブジェクトの配列 | required | 証明書に含める属性のリスト |
.. .. type | string | required | 証明書に含める属性のタイプ 可能な値: |
.. .. include | string | optional | サブジェクト属性の値が必須であるか任意であるかを定義します。 可能な値:
|
.. .. encoding | string | optional | サブジェクト属性値のエンコード規格を定義します。 可能な値:
|
.. .. allowed_source | 文字列の配列 | required | サブジェクト属性値の許容されるソースを定義します。 可能な値:
|