Skip to main content

Subject directory attribute

Define subject directory attribute extensions in the certificate.

Example JSON

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

Parameters

Name

Type

Req/Opt

Description

subject_directory_attibute

object

optional

Subject directory attribute details

.. include

string

optional

Define if the subject directory attribute should be included in the certificate.

Possible values:

  • yes: include subject directory attribute in the certificate

  • optional: if provided, include the subject directory attribute in the certificate

  • no (default): do not include subject directory attribute in the certificate

.. allow_encoded_ext_value

boolean

optional

If true, allow encoded subject attribute directory. If false, do not include the allow_encoded_ext parameter. IoT only supports the true value.