Package dev.sigstore.proto.common.v1
Enum SubjectAlternativeNameType
- java.lang.Object
-
- java.lang.Enum<SubjectAlternativeNameType>
-
- dev.sigstore.proto.common.v1.SubjectAlternativeNameType
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<SubjectAlternativeNameType>
public enum SubjectAlternativeNameType extends java.lang.Enum<SubjectAlternativeNameType> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumdev.sigstore.common.v1.SubjectAlternativeNameType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EMAILEMAIL = 1;OTHER_NAMEOID 1.3.6.1.4.1.57264.1.7 See https://github.com/sigstore/fulcio/blob/main/docs/oid-info.md#1361415726417--othername-san for more details.SUBJECT_ALTERNATIVE_NAME_TYPE_UNSPECIFIEDSUBJECT_ALTERNATIVE_NAME_TYPE_UNSPECIFIED = 0;UNRECOGNIZEDURIURI = 2;
-
Field Summary
Fields Modifier and Type Field Description static intEMAIL_VALUEEMAIL = 1;static intOTHER_NAME_VALUEOID 1.3.6.1.4.1.57264.1.7 See https://github.com/sigstore/fulcio/blob/main/docs/oid-info.md#1361415726417--othername-san for more details.static intSUBJECT_ALTERNATIVE_NAME_TYPE_UNSPECIFIED_VALUESUBJECT_ALTERNATIVE_NAME_TYPE_UNSPECIFIED = 0;static intURI_VALUEURI = 2;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static SubjectAlternativeNameTypeforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<SubjectAlternativeNameType>internalGetValueMap()static SubjectAlternativeNameTypevalueOf(int value)Deprecated.static SubjectAlternativeNameTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static SubjectAlternativeNameTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static SubjectAlternativeNameType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUBJECT_ALTERNATIVE_NAME_TYPE_UNSPECIFIED
public static final SubjectAlternativeNameType SUBJECT_ALTERNATIVE_NAME_TYPE_UNSPECIFIED
SUBJECT_ALTERNATIVE_NAME_TYPE_UNSPECIFIED = 0;
-
EMAIL
public static final SubjectAlternativeNameType EMAIL
EMAIL = 1;
-
URI
public static final SubjectAlternativeNameType URI
URI = 2;
-
OTHER_NAME
public static final SubjectAlternativeNameType OTHER_NAME
OID 1.3.6.1.4.1.57264.1.7 See https://github.com/sigstore/fulcio/blob/main/docs/oid-info.md#1361415726417--othername-san for more details.
OTHER_NAME = 3;
-
UNRECOGNIZED
public static final SubjectAlternativeNameType UNRECOGNIZED
-
-
Field Detail
-
SUBJECT_ALTERNATIVE_NAME_TYPE_UNSPECIFIED_VALUE
public static final int SUBJECT_ALTERNATIVE_NAME_TYPE_UNSPECIFIED_VALUE
SUBJECT_ALTERNATIVE_NAME_TYPE_UNSPECIFIED = 0;- See Also:
- Constant Field Values
-
EMAIL_VALUE
public static final int EMAIL_VALUE
EMAIL = 1;- See Also:
- Constant Field Values
-
URI_VALUE
public static final int URI_VALUE
URI = 2;- See Also:
- Constant Field Values
-
OTHER_NAME_VALUE
public static final int OTHER_NAME_VALUE
OID 1.3.6.1.4.1.57264.1.7 See https://github.com/sigstore/fulcio/blob/main/docs/oid-info.md#1361415726417--othername-san for more details.
OTHER_NAME = 3;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static SubjectAlternativeNameType[] 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 (SubjectAlternativeNameType c : SubjectAlternativeNameType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SubjectAlternativeNameType 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:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static SubjectAlternativeNameType 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 SubjectAlternativeNameType 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<SubjectAlternativeNameType> 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 final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static SubjectAlternativeNameType 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
-
-