Subject
describes parts of a distinguished name that, in turn, describes the subject of the certificate.
JSON representation |
---|
{
"commonName": string,
"countryCode": string,
"organization": string,
"organizationalUnit": string,
"locality": string,
"province": string,
"streetAddress": string,
"postalCode": string,
"rdnSequence": [
{
object ( |
Fields | |
---|---|
commonName |
The "common name" of the subject. |
countryCode |
The country code of the subject. |
organization |
The organization of the subject. |
organizationalUnit |
The organizationalUnit of the subject. |
locality |
The locality or city of the subject. |
province |
The province, territory, or regional state of the subject. |
streetAddress |
The street address of the subject. |
postalCode |
The postal code of the subject. |
rdnSequence[] |
This field can be used in place of the named subject fields. |
RelativeDistinguishedName
RelativeDistinguishedName
specifies a relative distinguished name which will be used to build a distinguished name.
JSON representation |
---|
{
"attributes": [
{
object ( |
Fields | |
---|---|
attributes[] |
Attributes describes the attribute value assertions in the RDN. |
AttributeTypeAndValue
AttributeTypeAndValue
specifies an attribute type and value. It can use either a OID or enum value to specify the attribute type.
JSON representation |
---|
{ "value": string, // Union field |
Fields | |
---|---|
value |
The value for the attribute type. |
Union field attribute_type . The attribute type for the attribute and value pair. attribute_type can be only one of the following: |
|
type |
The attribute type of the attribute and value pair. |
objectId |
Object ID for an attribute type of an attribute and value pair. |
AttributeType
AttributeType
specifies the type of Attribute in a relative distinguished name.
Enums | |
---|---|
ATTRIBUTE_TYPE_UNSPECIFIED |
Attribute type is unspecified. |
COMMON_NAME |
The "common name" of the subject. |
COUNTRY_CODE |
The country code of the subject. |
ORGANIZATION |
The organization of the subject. |
ORGANIZATIONAL_UNIT |
The organizational unit of the subject. |
LOCALITY |
The locality or city of the subject. |
PROVINCE |
The province, territory, or regional state of the subject. |
STREET_ADDRESS |
The street address of the subject. |
POSTAL_CODE |
The postal code of the subject. |