public final class SubjectAltNames extends GeneratedMessageV3 implements SubjectAltNamesOrBuilder
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).
Protobuf type google.cloud.security.privateca.v1beta1.SubjectAltNames
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
CUSTOM_SANS_FIELD_NUMBER
public static final int CUSTOM_SANS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
DNS_NAMES_FIELD_NUMBER
public static final int DNS_NAMES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
EMAIL_ADDRESSES_FIELD_NUMBER
public static final int EMAIL_ADDRESSES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
IP_ADDRESSES_FIELD_NUMBER
public static final int IP_ADDRESSES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
URIS_FIELD_NUMBER
public static final int URIS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static SubjectAltNames getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static SubjectAltNames.Builder newBuilder()
newBuilder(SubjectAltNames prototype)
public static SubjectAltNames.Builder newBuilder(SubjectAltNames prototype)
public static SubjectAltNames parseDelimitedFrom(InputStream input)
public static SubjectAltNames parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static SubjectAltNames parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SubjectAltNames parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static SubjectAltNames parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SubjectAltNames parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SubjectAltNames parseFrom(CodedInputStream input)
public static SubjectAltNames parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SubjectAltNames parseFrom(InputStream input)
public static SubjectAltNames parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static SubjectAltNames parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SubjectAltNames parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<SubjectAltNames> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getCustomSans(int index)
public X509Extension getCustomSans(int index)
Contains additional subject alternative name values.
repeated .google.cloud.security.privateca.v1beta1.X509Extension custom_sans = 5;
Parameter |
---|
Name | Description |
index | int
|
getCustomSansCount()
public int getCustomSansCount()
Contains additional subject alternative name values.
repeated .google.cloud.security.privateca.v1beta1.X509Extension custom_sans = 5;
Returns |
---|
Type | Description |
int | |
getCustomSansList()
public List<X509Extension> getCustomSansList()
Contains additional subject alternative name values.
repeated .google.cloud.security.privateca.v1beta1.X509Extension custom_sans = 5;
getCustomSansOrBuilder(int index)
public X509ExtensionOrBuilder getCustomSansOrBuilder(int index)
Contains additional subject alternative name values.
repeated .google.cloud.security.privateca.v1beta1.X509Extension custom_sans = 5;
Parameter |
---|
Name | Description |
index | int
|
getCustomSansOrBuilderList()
public List<? extends X509ExtensionOrBuilder> getCustomSansOrBuilderList()
Contains additional subject alternative name values.
repeated .google.cloud.security.privateca.v1beta1.X509Extension custom_sans = 5;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.security.privateca.v1beta1.X509ExtensionOrBuilder> | |
getDefaultInstanceForType()
public SubjectAltNames getDefaultInstanceForType()
getDnsNames(int index)
public String getDnsNames(int index)
Contains only valid, fully-qualified host names.
repeated string dns_names = 1;
Parameter |
---|
Name | Description |
index | int
The index of the element to return.
|
Returns |
---|
Type | Description |
String | The dnsNames at the given index.
|
getDnsNamesBytes(int index)
public ByteString getDnsNamesBytes(int index)
Contains only valid, fully-qualified host names.
repeated string dns_names = 1;
Parameter |
---|
Name | Description |
index | int
The index of the value to return.
|
Returns |
---|
Type | Description |
ByteString | The bytes of the dnsNames at the given index.
|
getDnsNamesCount()
public int getDnsNamesCount()
Contains only valid, fully-qualified host names.
repeated string dns_names = 1;
Returns |
---|
Type | Description |
int | The count of dnsNames.
|
getDnsNamesList()
public ProtocolStringList getDnsNamesList()
Contains only valid, fully-qualified host names.
repeated string dns_names = 1;
getEmailAddresses(int index)
public String getEmailAddresses(int index)
Contains only valid RFC 2822 E-mail addresses.
repeated string email_addresses = 3;
Parameter |
---|
Name | Description |
index | int
The index of the element to return.
|
Returns |
---|
Type | Description |
String | The emailAddresses at the given index.
|
getEmailAddressesBytes(int index)
public ByteString getEmailAddressesBytes(int index)
Contains only valid RFC 2822 E-mail addresses.
repeated string email_addresses = 3;
Parameter |
---|
Name | Description |
index | int
The index of the value to return.
|
Returns |
---|
Type | Description |
ByteString | The bytes of the emailAddresses at the given index.
|
getEmailAddressesCount()
public int getEmailAddressesCount()
Contains only valid RFC 2822 E-mail addresses.
repeated string email_addresses = 3;
Returns |
---|
Type | Description |
int | The count of emailAddresses.
|
getEmailAddressesList()
public ProtocolStringList getEmailAddressesList()
Contains only valid RFC 2822 E-mail addresses.
repeated string email_addresses = 3;
getIpAddresses(int index)
public String getIpAddresses(int index)
Contains only valid 32-bit IPv4 addresses or RFC 4291 IPv6 addresses.
repeated string ip_addresses = 4;
Parameter |
---|
Name | Description |
index | int
The index of the element to return.
|
Returns |
---|
Type | Description |
String | The ipAddresses at the given index.
|
getIpAddressesBytes(int index)
public ByteString getIpAddressesBytes(int index)
Contains only valid 32-bit IPv4 addresses or RFC 4291 IPv6 addresses.
repeated string ip_addresses = 4;
Parameter |
---|
Name | Description |
index | int
The index of the value to return.
|
Returns |
---|
Type | Description |
ByteString | The bytes of the ipAddresses at the given index.
|
getIpAddressesCount()
public int getIpAddressesCount()
Contains only valid 32-bit IPv4 addresses or RFC 4291 IPv6 addresses.
repeated string ip_addresses = 4;
Returns |
---|
Type | Description |
int | The count of ipAddresses.
|
getIpAddressesList()
public ProtocolStringList getIpAddressesList()
Contains only valid 32-bit IPv4 addresses or RFC 4291 IPv6 addresses.
repeated string ip_addresses = 4;
getParserForType()
public Parser<SubjectAltNames> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUris(int index)
public String getUris(int index)
Contains only valid RFC 3986 URIs.
repeated string uris = 2;
Parameter |
---|
Name | Description |
index | int
The index of the element to return.
|
Returns |
---|
Type | Description |
String | The uris at the given index.
|
getUrisBytes(int index)
public ByteString getUrisBytes(int index)
Contains only valid RFC 3986 URIs.
repeated string uris = 2;
Parameter |
---|
Name | Description |
index | int
The index of the value to return.
|
Returns |
---|
Type | Description |
ByteString | The bytes of the uris at the given index.
|
getUrisCount()
public int getUrisCount()
Contains only valid RFC 3986 URIs.
repeated string uris = 2;
Returns |
---|
Type | Description |
int | The count of uris.
|
getUrisList()
public ProtocolStringList getUrisList()
Contains only valid RFC 3986 URIs.
repeated string uris = 2;
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public SubjectAltNames.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SubjectAltNames.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public SubjectAltNames.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides