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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
ALLOWED_DNS_NAMES_FIELD_NUMBER
public static final int ALLOWED_DNS_NAMES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
ALLOWED_EMAIL_ADDRESSES_FIELD_NUMBER
public static final int ALLOWED_EMAIL_ADDRESSES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
ALLOWED_IPS_FIELD_NUMBER
public static final int ALLOWED_IPS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
ALLOWED_URIS_FIELD_NUMBER
public static final int ALLOWED_URIS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
ALLOW_CUSTOM_SANS_FIELD_NUMBER
public static final int ALLOW_CUSTOM_SANS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
ALLOW_GLOBBING_DNS_WILDCARDS_FIELD_NUMBER
public static final int ALLOW_GLOBBING_DNS_WILDCARDS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder newBuilder()
newBuilder(CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames prototype)
public static CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder newBuilder(CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames prototype)
public static CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames parseDelimitedFrom(InputStream input)
public static CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames parseFrom(CodedInputStream input)
public static CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames parseFrom(InputStream input)
public static CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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];
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];
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];
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];
getDefaultInstanceForType()
public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames getDefaultInstanceForType()
getParserForType()
public Parser<CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides