Skip to main content

Subject directory attributes

Define subject directory attribute extensions in the certificate.

JSON structure example

"extensions": {  
  "subject_directory_attribute": {
	"include":"yes",
    "allow_encoded_ext_value": true
  }
}

Parameters

表 1. Parameters: Subject directory attributes

Name

Type

Required/optional

Possible values

subject_directory_attribute

Object

Optional

-

.. include

String

Optional

Specifies whether the Subject Directory Attributes extension is included in issued certificates. Supported values include:

  • yes: Always includes the extension

  • Optional: Includes the extension only when a value is provided

  • no: Excludes the extension

.. allow_encoded_ext_value

Boolean

Optional

Specifies whether encoded Subject Directory Attribute values can be provided in certificate profiles and enrollment requests. Supported values include:

  • true: Allows encoded extension values

注意

Only true is supported. The value must use the Subject Directory Attribute JSON format