Subject
Stay organized with collections
Save and categorize content based on your preferences.
Subject
describes parts of a distinguished name that, in turn, describes the subject of the certificate.
JSON representation |
{
"countryCode": string,
"organization": string,
"organizationalUnit": string,
"locality": string,
"province": string,
"streetAddress": string,
"postalCode": string
} |
Fields |
countryCode |
string
The country code of the subject.
|
organization |
string
The organization of the subject.
|
organizationalUnit |
string
The organizationalUnit of the subject.
|
locality |
string
The locality or city of the subject.
|
province |
string
The province, territory, or regional state of the subject.
|
streetAddress |
string
The street address of the subject.
|
postalCode |
string
The postal code of the subject.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-10-05 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2020-10-05 UTC."],[[["This content outlines the JSON representation of a certificate's subject, detailing its structure and components."],["The subject's JSON representation includes fields for `countryCode`, `organization`, `organizationalUnit`, `locality`, `province`, `streetAddress`, and `postalCode`."],["Each field in the JSON represents a string value that provides specific information about the subject's location or affiliation."],["The defined fields collectively describe the distinguished name that identifies the certificate's subject."]]],[]]