SubjectAltNames
Stay organized with collections
Save and categorize content based on your preferences.
SubjectAltNames
corresponds to a more modern way of listing what the asserted identity is in a certificate (i.e., compared to the "common name" in the distinguished name).
JSON representation |
{
"dnsNames": [
string
],
"uris": [
string
],
"emailAddresses": [
string
],
"ipAddresses": [
string
],
"customSans": [
{
object (X509Extension )
}
]
} |
Fields |
dnsNames[] |
string
Contains only valid, fully-qualified host names.
|
uris[] |
string
Contains only valid RFC 3986 URIs.
|
emailAddresses[] |
string
Contains only valid RFC 2822 E-mail addresses.
|
ipAddresses[] |
string
Contains only valid 32-bit IPv4 addresses or RFC 4291 IPv6 addresses.
|
customSans[] |
object (X509Extension )
Contains additional subject alternative name values.
|
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."],[[["`SubjectAltNames` is a modern method for specifying the asserted identity in a certificate, contrasting with the older \"common name\" approach."],["The JSON representation of `SubjectAltNames` includes fields for DNS names, URIs, email addresses, IP addresses, and custom subject alternative names."],["The `dnsNames`, `uris`, `emailAddresses`, and `ipAddresses` fields exclusively contain valid, fully-qualified host names, RFC 3986 URIs, RFC 2822 E-mail addresses, and IPv4 or IPv6 addresses, respectively."],["The `customSans` field allows for the inclusion of additional subject alternative name values, as defined by the X509Extension object."]]],[]]