Enum SubjectAltNameMatcher.SanType
java.lang.Object
java.lang.Enum<SubjectAltNameMatcher.SanType>
io.envoyproxy.envoy.extensions.transport_sockets.tls.v3.SubjectAltNameMatcher.SanType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<SubjectAltNameMatcher.SanType>
- Enclosing class:
SubjectAltNameMatcher
public static enum SubjectAltNameMatcher.SanType
extends Enum<SubjectAltNameMatcher.SanType>
implements com.google.protobuf.ProtocolMessageEnum
Indicates the choice of GeneralName as defined in section 4.2.1.5 of RFC 5280 to match against.Protobuf enum
envoy.extensions.transport_sockets.tls.v3.SubjectAltNameMatcher.SanType-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDNS = 2;EMAIL = 1;IP_ADDRESS = 4;OTHER_NAME = 5;SAN_TYPE_UNSPECIFIED = 0;URI = 3; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDNS = 2;static final intEMAIL = 1;private static final com.google.protobuf.Internal.EnumLiteMap<SubjectAltNameMatcher.SanType> static final intIP_ADDRESS = 4;static final intOTHER_NAME = 5;static final intSAN_TYPE_UNSPECIFIED = 0;static final intURI = 3;private final intprivate static final SubjectAltNameMatcher.SanType[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<SubjectAltNameMatcher.SanType> valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.Returns the enum constant of this type with the specified name.static SubjectAltNameMatcher.SanType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SAN_TYPE_UNSPECIFIED
SAN_TYPE_UNSPECIFIED = 0; -
EMAIL
EMAIL = 1; -
DNS
DNS = 2; -
URI
URI = 3; -
IP_ADDRESS
IP_ADDRESS = 4; -
OTHER_NAME
OTHER_NAME = 5; -
UNRECOGNIZED
-
-
Field Details
-
SAN_TYPE_UNSPECIFIED_VALUE
public static final int SAN_TYPE_UNSPECIFIED_VALUESAN_TYPE_UNSPECIFIED = 0;- See Also:
-
EMAIL_VALUE
public static final int EMAIL_VALUEEMAIL = 1;- See Also:
-
DNS_VALUE
public static final int DNS_VALUEDNS = 2;- See Also:
-
URI_VALUE
public static final int URI_VALUEURI = 3;- See Also:
-
IP_ADDRESS_VALUE
public static final int IP_ADDRESS_VALUEIP_ADDRESS = 4;- See Also:
-
OTHER_NAME_VALUE
public static final int OTHER_NAME_VALUEOTHER_NAME = 5;- See Also:
-
internalValueMap
private static final com.google.protobuf.Internal.EnumLiteMap<SubjectAltNameMatcher.SanType> internalValueMap -
VALUES
-
value
private final int value
-
-
Constructor Details
-
SanType
private SanType(int value)
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<SubjectAltNameMatcher.SanType> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static SubjectAltNameMatcher.SanType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-