Subject
The subject defines the distinguished name (DN) information included in the certificate. Global platform certificate templates support the subject_identifier attribute, which can be sourced from an enrollment request or configured as a fixed value.
JSON structure example
Hex_string encoding for subject_identifier
"subject": {
"attributes": [
{
"type": "subject_identifier",
"encoding": "hex_string",
"allowed_source": [
"user_supplied",
"fixed_value"
]
}
]
}Auto encoding for subject_identifier
"subject": {
"attributes": [
{
"type": "subject_identifier",
"encoding": "auto",
"allowed_source": [
"user_supplied",
"fixed_value"
]
}
]
}Parameters
Name | Type | Required/optional | Possible values |
|---|---|---|---|
| Object | Required | Defines the subject distinguished name (DN) attributes that can be included in the issued certificate |
| Array of objects | Required | Specifies the subject attributes that can be included in the certificate subject DN |
| String | Required | Specifies the subject attribute type. Supported values include:
|
| String | Optional | Specifies whether the attribute is required or optional in the certificate subject. Supported values:
|
| String | Optional | Specifies the encoding used for the subject attribute value. Supported values:
|
| Array of strings | Required | Specifies the allowed sources for the subject attribute value. Supported values:
|