Reference documentation and code samples for the Google Certificate Authority Service V1beta1 Client class SubjectAltNames.
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).
Generated from protobuf message google.cloud.security.privateca.v1beta1.SubjectAltNames
Namespace
Google \ Cloud \ Security \ PrivateCA \ V1beta1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ dns_names |
array
Contains only valid, fully-qualified host names. |
↳ uris |
array
Contains only valid RFC 3986 URIs. |
↳ email_addresses |
array
Contains only valid RFC 2822 E-mail addresses. |
↳ ip_addresses |
array
Contains only valid 32-bit IPv4 addresses or RFC 4291 IPv6 addresses. |
↳ custom_sans |
array<Google\Cloud\Security\PrivateCA\V1beta1\X509Extension>
Contains additional subject alternative name values. |
getDnsNames
Contains only valid, fully-qualified host names.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setDnsNames
Contains only valid, fully-qualified host names.
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |
getUris
Contains only valid RFC 3986 URIs.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setUris
Contains only valid RFC 3986 URIs.
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |
getEmailAddresses
Contains only valid RFC 2822 E-mail addresses.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setEmailAddresses
Contains only valid RFC 2822 E-mail addresses.
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |
getIpAddresses
Contains only valid 32-bit IPv4 addresses or RFC 4291 IPv6 addresses.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setIpAddresses
Contains only valid 32-bit IPv4 addresses or RFC 4291 IPv6 addresses.
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |
getCustomSans
Contains additional subject alternative name values.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setCustomSans
Contains additional subject alternative name values.
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\Security\PrivateCA\V1beta1\X509Extension>
|
Returns | |
---|---|
Type | Description |
$this |