public static final class CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames extends GeneratedMessageV3 implements CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNamesOrBuilder
AllowedSubjectAltNames specifies the allowed values for
SubjectAltNames by the CertificateAuthority when issuing
Certificates.
Protobuf type
google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames
Static Fields
ALLOWED_DNS_NAMES_FIELD_NUMBER
public static final int ALLOWED_DNS_NAMES_FIELD_NUMBER
Field Value
ALLOWED_EMAIL_ADDRESSES_FIELD_NUMBER
public static final int ALLOWED_EMAIL_ADDRESSES_FIELD_NUMBER
Field Value
ALLOWED_IPS_FIELD_NUMBER
public static final int ALLOWED_IPS_FIELD_NUMBER
Field Value
ALLOWED_URIS_FIELD_NUMBER
public static final int ALLOWED_URIS_FIELD_NUMBER
Field Value
ALLOW_CUSTOM_SANS_FIELD_NUMBER
public static final int ALLOW_CUSTOM_SANS_FIELD_NUMBER
Field Value
ALLOW_GLOBBING_DNS_WILDCARDS_FIELD_NUMBER
public static final int ALLOW_GLOBBING_DNS_WILDCARDS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder newBuilder()
Returns
newBuilder(CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames prototype)
public static CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder newBuilder(CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames prototype)
Parameter
Returns
public static CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getAllowCustomSans()
public boolean getAllowCustomSans()
Optional. Specifies if to allow custom X509Extension values.
bool allow_custom_sans = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
boolean | The allowCustomSans.
|
getAllowGlobbingDnsWildcards()
public boolean getAllowGlobbingDnsWildcards()
Optional. Specifies if glob patterns used for allowed_dns_names allows
wildcard certificates.
bool allow_globbing_dns_wildcards = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
boolean | The allowGlobbingDnsWildcards.
|
getAllowedDnsNames(int index)
public String getAllowedDnsNames(int index)
Optional. Contains valid, fully-qualified host names. Glob patterns are also
supported. To allow an explicit wildcard certificate, escape with
backlash (i.e. \
).
E.g. for globbed entries: bar.com
will allow foo.bar.com
, but not
.bar.com
, unless the allow_globbing_dns_wildcards field is set.
E.g. for wildcard entries: \.bar.com
will allow *.bar.com
, but not
foo.bar.com
.
repeated string allowed_dns_names = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name | Description |
index | int
The index of the element to return.
|
Returns
Type | Description |
String | The allowedDnsNames at the given index.
|
getAllowedDnsNamesBytes(int index)
public ByteString getAllowedDnsNamesBytes(int index)
Optional. Contains valid, fully-qualified host names. Glob patterns are also
supported. To allow an explicit wildcard certificate, escape with
backlash (i.e. \
).
E.g. for globbed entries: bar.com
will allow foo.bar.com
, but not
.bar.com
, unless the allow_globbing_dns_wildcards field is set.
E.g. for wildcard entries: \.bar.com
will allow *.bar.com
, but not
foo.bar.com
.
repeated string allowed_dns_names = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name | Description |
index | int
The index of the value to return.
|
Returns
Type | Description |
ByteString | The bytes of the allowedDnsNames at the given index.
|
getAllowedDnsNamesCount()
public int getAllowedDnsNamesCount()
Optional. Contains valid, fully-qualified host names. Glob patterns are also
supported. To allow an explicit wildcard certificate, escape with
backlash (i.e. \
).
E.g. for globbed entries: bar.com
will allow foo.bar.com
, but not
.bar.com
, unless the allow_globbing_dns_wildcards field is set.
E.g. for wildcard entries: \.bar.com
will allow *.bar.com
, but not
foo.bar.com
.
repeated string allowed_dns_names = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
int | The count of allowedDnsNames.
|
getAllowedDnsNamesList()
public ProtocolStringList getAllowedDnsNamesList()
Optional. Contains valid, fully-qualified host names. Glob patterns are also
supported. To allow an explicit wildcard certificate, escape with
backlash (i.e. \
).
E.g. for globbed entries: bar.com
will allow foo.bar.com
, but not
.bar.com
, unless the allow_globbing_dns_wildcards field is set.
E.g. for wildcard entries: \.bar.com
will allow *.bar.com
, but not
foo.bar.com
.
repeated string allowed_dns_names = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
getAllowedEmailAddresses(int index)
public String getAllowedEmailAddresses(int index)
Optional. Contains valid RFC 2822 E-mail addresses. Glob patterns are also
supported.
repeated string allowed_email_addresses = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name | Description |
index | int
The index of the element to return.
|
Returns
Type | Description |
String | The allowedEmailAddresses at the given index.
|
getAllowedEmailAddressesBytes(int index)
public ByteString getAllowedEmailAddressesBytes(int index)
Optional. Contains valid RFC 2822 E-mail addresses. Glob patterns are also
supported.
repeated string allowed_email_addresses = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name | Description |
index | int
The index of the value to return.
|
Returns
Type | Description |
ByteString | The bytes of the allowedEmailAddresses at the given index.
|
getAllowedEmailAddressesCount()
public int getAllowedEmailAddressesCount()
Optional. Contains valid RFC 2822 E-mail addresses. Glob patterns are also
supported.
repeated string allowed_email_addresses = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
int | The count of allowedEmailAddresses.
|
getAllowedEmailAddressesList()
public ProtocolStringList getAllowedEmailAddressesList()
Optional. Contains valid RFC 2822 E-mail addresses. Glob patterns are also
supported.
repeated string allowed_email_addresses = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
getAllowedIps(int index)
public String getAllowedIps(int index)
Optional. Contains valid 32-bit IPv4 addresses and subnet ranges or RFC 4291 IPv6
addresses and subnet ranges. Subnet ranges are specified using the
'/' notation (e.g. 10.0.0.0/8, 2001:700:300:1800::/64). Glob patterns
are supported only for ip address entries (i.e. not for subnet ranges).
repeated string allowed_ips = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name | Description |
index | int
The index of the element to return.
|
Returns
Type | Description |
String | The allowedIps at the given index.
|
getAllowedIpsBytes(int index)
public ByteString getAllowedIpsBytes(int index)
Optional. Contains valid 32-bit IPv4 addresses and subnet ranges or RFC 4291 IPv6
addresses and subnet ranges. Subnet ranges are specified using the
'/' notation (e.g. 10.0.0.0/8, 2001:700:300:1800::/64). Glob patterns
are supported only for ip address entries (i.e. not for subnet ranges).
repeated string allowed_ips = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name | Description |
index | int
The index of the value to return.
|
Returns
Type | Description |
ByteString | The bytes of the allowedIps at the given index.
|
getAllowedIpsCount()
public int getAllowedIpsCount()
Optional. Contains valid 32-bit IPv4 addresses and subnet ranges or RFC 4291 IPv6
addresses and subnet ranges. Subnet ranges are specified using the
'/' notation (e.g. 10.0.0.0/8, 2001:700:300:1800::/64). Glob patterns
are supported only for ip address entries (i.e. not for subnet ranges).
repeated string allowed_ips = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
int | The count of allowedIps.
|
getAllowedIpsList()
public ProtocolStringList getAllowedIpsList()
Optional. Contains valid 32-bit IPv4 addresses and subnet ranges or RFC 4291 IPv6
addresses and subnet ranges. Subnet ranges are specified using the
'/' notation (e.g. 10.0.0.0/8, 2001:700:300:1800::/64). Glob patterns
are supported only for ip address entries (i.e. not for subnet ranges).
repeated string allowed_ips = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns
getAllowedUris(int index)
public String getAllowedUris(int index)
Optional. Contains valid RFC 3986 URIs. Glob patterns are also supported. To
match across path seperators (i.e. '/') use the double star glob
pattern (i.e. '**').
repeated string allowed_uris = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name | Description |
index | int
The index of the element to return.
|
Returns
Type | Description |
String | The allowedUris at the given index.
|
getAllowedUrisBytes(int index)
public ByteString getAllowedUrisBytes(int index)
Optional. Contains valid RFC 3986 URIs. Glob patterns are also supported. To
match across path seperators (i.e. '/') use the double star glob
pattern (i.e. '**').
repeated string allowed_uris = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name | Description |
index | int
The index of the value to return.
|
Returns
Type | Description |
ByteString | The bytes of the allowedUris at the given index.
|
getAllowedUrisCount()
public int getAllowedUrisCount()
Optional. Contains valid RFC 3986 URIs. Glob patterns are also supported. To
match across path seperators (i.e. '/') use the double star glob
pattern (i.e. '**').
repeated string allowed_uris = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
int | The count of allowedUris.
|
getAllowedUrisList()
public ProtocolStringList getAllowedUrisList()
Optional. Contains valid RFC 3986 URIs. Glob patterns are also supported. To
match across path seperators (i.e. '/') use the double star glob
pattern (i.e. '**').
repeated string allowed_uris = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
getDefaultInstanceForType()
public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames getDefaultInstanceForType()
Returns
getParserForType()
public Parser<CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions