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
,java.io.Serializable
,java.lang.Comparable<SubjectAltNameMatcher.SanType>
- Enclosing class:
- SubjectAltNameMatcher
public static enum SubjectAltNameMatcher.SanType extends java.lang.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 enumenvoy.extensions.transport_sockets.tls.v3.SubjectAltNameMatcher.SanType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DNS
DNS = 2;
EMAIL
EMAIL = 1;
IP_ADDRESS
IP_ADDRESS = 4;
OTHER_NAME
OTHER_NAME = 5;
SAN_TYPE_UNSPECIFIED
SAN_TYPE_UNSPECIFIED = 0;
UNRECOGNIZED
URI
URI = 3;
-
Field Summary
Fields Modifier and Type Field Description static int
DNS_VALUE
DNS = 2;
static int
EMAIL_VALUE
EMAIL = 1;
private static com.google.protobuf.Internal.EnumLiteMap<SubjectAltNameMatcher.SanType>
internalValueMap
static int
IP_ADDRESS_VALUE
IP_ADDRESS = 4;
static int
OTHER_NAME_VALUE
OTHER_NAME = 5;
static int
SAN_TYPE_UNSPECIFIED_VALUE
SAN_TYPE_UNSPECIFIED = 0;
static int
URI_VALUE
URI = 3;
private int
value
private static SubjectAltNameMatcher.SanType[]
VALUES
-
Constructor Summary
Constructors Modifier Constructor Description private
SanType(int value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static SubjectAltNameMatcher.SanType
forNumber(int value)
static com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor()
com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType()
int
getNumber()
com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor()
static com.google.protobuf.Internal.EnumLiteMap<SubjectAltNameMatcher.SanType>
internalGetValueMap()
static SubjectAltNameMatcher.SanType
valueOf(int value)
Deprecated.static SubjectAltNameMatcher.SanType
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static SubjectAltNameMatcher.SanType
valueOf(java.lang.String 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 Detail
-
SAN_TYPE_UNSPECIFIED
public static final SubjectAltNameMatcher.SanType SAN_TYPE_UNSPECIFIED
SAN_TYPE_UNSPECIFIED = 0;
-
EMAIL
public static final SubjectAltNameMatcher.SanType EMAIL
EMAIL = 1;
-
DNS
public static final SubjectAltNameMatcher.SanType DNS
DNS = 2;
-
URI
public static final SubjectAltNameMatcher.SanType URI
URI = 3;
-
IP_ADDRESS
public static final SubjectAltNameMatcher.SanType IP_ADDRESS
IP_ADDRESS = 4;
-
OTHER_NAME
public static final SubjectAltNameMatcher.SanType OTHER_NAME
OTHER_NAME = 5;
-
UNRECOGNIZED
public static final SubjectAltNameMatcher.SanType UNRECOGNIZED
-
-
Field Detail
-
SAN_TYPE_UNSPECIFIED_VALUE
public static final int SAN_TYPE_UNSPECIFIED_VALUE
SAN_TYPE_UNSPECIFIED = 0;
- See Also:
- Constant Field Values
-
EMAIL_VALUE
public static final int EMAIL_VALUE
EMAIL = 1;
- See Also:
- Constant Field Values
-
DNS_VALUE
public static final int DNS_VALUE
DNS = 2;
- See Also:
- Constant Field Values
-
URI_VALUE
public static final int URI_VALUE
URI = 3;
- See Also:
- Constant Field Values
-
IP_ADDRESS_VALUE
public static final int IP_ADDRESS_VALUE
IP_ADDRESS = 4;
- See Also:
- Constant Field Values
-
OTHER_NAME_VALUE
public static final int OTHER_NAME_VALUE
OTHER_NAME = 5;
- See Also:
- Constant Field Values
-
internalValueMap
private static final com.google.protobuf.Internal.EnumLiteMap<SubjectAltNameMatcher.SanType> internalValueMap
-
VALUES
private static final SubjectAltNameMatcher.SanType[] VALUES
-
value
private final int value
-
-
Method Detail
-
values
public static SubjectAltNameMatcher.SanType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SubjectAltNameMatcher.SanType c : SubjectAltNameMatcher.SanType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SubjectAltNameMatcher.SanType valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static SubjectAltNameMatcher.SanType valueOf(int value)
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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
forNumber
public static SubjectAltNameMatcher.SanType forNumber(int value)
- 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:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final 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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-