Enum RevocationReason
- java.lang.Object
-
- java.lang.Enum<RevocationReason>
-
- com.google.cloud.security.privateca.v1beta1.RevocationReason
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<RevocationReason>
public enum RevocationReason extends Enum<RevocationReason> implements com.google.protobuf.ProtocolMessageEnum
A [RevocationReason][google.cloud.security.privateca.v1beta1.RevocationReason] indicates whether a [Certificate][google.cloud.security.privateca.v1beta1.Certificate] has been revoked, and the reason for revocation. These correspond to standard revocation reasons from RFC 5280. Note that the enum labels and values in this definition are not the same ASN.1 values defined in RFC 5280. These values will be translated to the correct ASN.1 values when a CRL is created.
Protobuf enumgoogle.cloud.security.privateca.v1beta1.RevocationReason
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AFFILIATION_CHANGED
The subject or other attributes in this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] have changed.ATTRIBUTE_AUTHORITY_COMPROMISE
The authority which determines appropriate attributes for a [Certificate][google.cloud.security.privateca.v1beta1.Certificate] may have been compromised.CERTIFICATE_AUTHORITY_COMPROMISE
The key material for a certificate authority in the issuing path may have leaked.CERTIFICATE_HOLD
This [Certificate][google.cloud.security.privateca.v1beta1.Certificate] should not be considered valid, it is expected that it may become valid in the future.CESSATION_OF_OPERATION
This [Certificate][google.cloud.security.privateca.v1beta1.Certificate] or entities in the issuing path have ceased to operate.KEY_COMPROMISE
Key material for this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] may have leaked.PRIVILEGE_WITHDRAWN
This [Certificate][google.cloud.security.privateca.v1beta1.Certificate] no longer has permission to assert the listed attributes.REVOCATION_REASON_UNSPECIFIED
Default unspecified value.SUPERSEDED
This [Certificate][google.cloud.security.privateca.v1beta1.Certificate] has been superseded.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static int
AFFILIATION_CHANGED_VALUE
The subject or other attributes in this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] have changed.static int
ATTRIBUTE_AUTHORITY_COMPROMISE_VALUE
The authority which determines appropriate attributes for a [Certificate][google.cloud.security.privateca.v1beta1.Certificate] may have been compromised.static int
CERTIFICATE_AUTHORITY_COMPROMISE_VALUE
The key material for a certificate authority in the issuing path may have leaked.static int
CERTIFICATE_HOLD_VALUE
This [Certificate][google.cloud.security.privateca.v1beta1.Certificate] should not be considered valid, it is expected that it may become valid in the future.static int
CESSATION_OF_OPERATION_VALUE
This [Certificate][google.cloud.security.privateca.v1beta1.Certificate] or entities in the issuing path have ceased to operate.static int
KEY_COMPROMISE_VALUE
Key material for this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] may have leaked.static int
PRIVILEGE_WITHDRAWN_VALUE
This [Certificate][google.cloud.security.privateca.v1beta1.Certificate] no longer has permission to assert the listed attributes.static int
REVOCATION_REASON_UNSPECIFIED_VALUE
Default unspecified value.static int
SUPERSEDED_VALUE
This [Certificate][google.cloud.security.privateca.v1beta1.Certificate] has been superseded.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static RevocationReason
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<RevocationReason>
internalGetValueMap()
static RevocationReason
valueOf(int value)
Deprecated.static RevocationReason
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static RevocationReason
valueOf(String name)
Returns the enum constant of this type with the specified name.static RevocationReason[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REVOCATION_REASON_UNSPECIFIED
public static final RevocationReason REVOCATION_REASON_UNSPECIFIED
Default unspecified value. This value does indicate that a [Certificate][google.cloud.security.privateca.v1beta1.Certificate] has been revoked, but that a reason has not been recorded.
REVOCATION_REASON_UNSPECIFIED = 0;
-
KEY_COMPROMISE
public static final RevocationReason KEY_COMPROMISE
Key material for this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] may have leaked.
KEY_COMPROMISE = 1;
-
CERTIFICATE_AUTHORITY_COMPROMISE
public static final RevocationReason CERTIFICATE_AUTHORITY_COMPROMISE
The key material for a certificate authority in the issuing path may have leaked.
CERTIFICATE_AUTHORITY_COMPROMISE = 2;
-
AFFILIATION_CHANGED
public static final RevocationReason AFFILIATION_CHANGED
The subject or other attributes in this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] have changed.
AFFILIATION_CHANGED = 3;
-
SUPERSEDED
public static final RevocationReason SUPERSEDED
This [Certificate][google.cloud.security.privateca.v1beta1.Certificate] has been superseded.
SUPERSEDED = 4;
-
CESSATION_OF_OPERATION
public static final RevocationReason CESSATION_OF_OPERATION
This [Certificate][google.cloud.security.privateca.v1beta1.Certificate] or entities in the issuing path have ceased to operate.
CESSATION_OF_OPERATION = 5;
-
CERTIFICATE_HOLD
public static final RevocationReason CERTIFICATE_HOLD
This [Certificate][google.cloud.security.privateca.v1beta1.Certificate] should not be considered valid, it is expected that it may become valid in the future.
CERTIFICATE_HOLD = 6;
-
PRIVILEGE_WITHDRAWN
public static final RevocationReason PRIVILEGE_WITHDRAWN
This [Certificate][google.cloud.security.privateca.v1beta1.Certificate] no longer has permission to assert the listed attributes.
PRIVILEGE_WITHDRAWN = 7;
-
ATTRIBUTE_AUTHORITY_COMPROMISE
public static final RevocationReason ATTRIBUTE_AUTHORITY_COMPROMISE
The authority which determines appropriate attributes for a [Certificate][google.cloud.security.privateca.v1beta1.Certificate] may have been compromised.
ATTRIBUTE_AUTHORITY_COMPROMISE = 8;
-
UNRECOGNIZED
public static final RevocationReason UNRECOGNIZED
-
-
Field Detail
-
REVOCATION_REASON_UNSPECIFIED_VALUE
public static final int REVOCATION_REASON_UNSPECIFIED_VALUE
Default unspecified value. This value does indicate that a [Certificate][google.cloud.security.privateca.v1beta1.Certificate] has been revoked, but that a reason has not been recorded.
REVOCATION_REASON_UNSPECIFIED = 0;
- See Also:
- Constant Field Values
-
KEY_COMPROMISE_VALUE
public static final int KEY_COMPROMISE_VALUE
Key material for this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] may have leaked.
KEY_COMPROMISE = 1;
- See Also:
- Constant Field Values
-
CERTIFICATE_AUTHORITY_COMPROMISE_VALUE
public static final int CERTIFICATE_AUTHORITY_COMPROMISE_VALUE
The key material for a certificate authority in the issuing path may have leaked.
CERTIFICATE_AUTHORITY_COMPROMISE = 2;
- See Also:
- Constant Field Values
-
AFFILIATION_CHANGED_VALUE
public static final int AFFILIATION_CHANGED_VALUE
The subject or other attributes in this [Certificate][google.cloud.security.privateca.v1beta1.Certificate] have changed.
AFFILIATION_CHANGED = 3;
- See Also:
- Constant Field Values
-
SUPERSEDED_VALUE
public static final int SUPERSEDED_VALUE
This [Certificate][google.cloud.security.privateca.v1beta1.Certificate] has been superseded.
SUPERSEDED = 4;
- See Also:
- Constant Field Values
-
CESSATION_OF_OPERATION_VALUE
public static final int CESSATION_OF_OPERATION_VALUE
This [Certificate][google.cloud.security.privateca.v1beta1.Certificate] or entities in the issuing path have ceased to operate.
CESSATION_OF_OPERATION = 5;
- See Also:
- Constant Field Values
-
CERTIFICATE_HOLD_VALUE
public static final int CERTIFICATE_HOLD_VALUE
This [Certificate][google.cloud.security.privateca.v1beta1.Certificate] should not be considered valid, it is expected that it may become valid in the future.
CERTIFICATE_HOLD = 6;
- See Also:
- Constant Field Values
-
PRIVILEGE_WITHDRAWN_VALUE
public static final int PRIVILEGE_WITHDRAWN_VALUE
This [Certificate][google.cloud.security.privateca.v1beta1.Certificate] no longer has permission to assert the listed attributes.
PRIVILEGE_WITHDRAWN = 7;
- See Also:
- Constant Field Values
-
ATTRIBUTE_AUTHORITY_COMPROMISE_VALUE
public static final int ATTRIBUTE_AUTHORITY_COMPROMISE_VALUE
The authority which determines appropriate attributes for a [Certificate][google.cloud.security.privateca.v1beta1.Certificate] may have been compromised.
ATTRIBUTE_AUTHORITY_COMPROMISE = 8;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static RevocationReason[] 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 (RevocationReason c : RevocationReason.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RevocationReason valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- 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 RevocationReason 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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
forNumber
public static RevocationReason 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<RevocationReason> 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 RevocationReason 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
-
-