Enum RevocationReason
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<RevocationReason>
@Generated
public enum RevocationReason
extends Enum<RevocationReason>
implements com.google.protobuf.ProtocolMessageEnum
A [RevocationReason][google.cloud.security.privateca.v1.RevocationReason] indicates whether a [Certificate][google.cloud.security.privateca.v1.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 enum
google.cloud.security.privateca.v1.RevocationReason-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe subject or other attributes in this [Certificate][google.cloud.security.privateca.v1.Certificate] have changed.The authority which determines appropriate attributes for a [Certificate][google.cloud.security.privateca.v1.Certificate] may have been compromised.The key material for a certificate authority in the issuing path may have leaked.This [Certificate][google.cloud.security.privateca.v1.Certificate] should not be considered valid, it is expected that it may become valid in the future.This [Certificate][google.cloud.security.privateca.v1.Certificate] or entities in the issuing path have ceased to operate.Key material for this [Certificate][google.cloud.security.privateca.v1.Certificate] may have leaked.This [Certificate][google.cloud.security.privateca.v1.Certificate] no longer has permission to assert the listed attributes.Default unspecified value.This [Certificate][google.cloud.security.privateca.v1.Certificate] has been superseded. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe subject or other attributes in this [Certificate][google.cloud.security.privateca.v1.Certificate] have changed.static final intThe authority which determines appropriate attributes for a [Certificate][google.cloud.security.privateca.v1.Certificate] may have been compromised.static final intThe key material for a certificate authority in the issuing path may have leaked.static final intThis [Certificate][google.cloud.security.privateca.v1.Certificate] should not be considered valid, it is expected that it may become valid in the future.static final intThis [Certificate][google.cloud.security.privateca.v1.Certificate] or entities in the issuing path have ceased to operate.static final intKey material for this [Certificate][google.cloud.security.privateca.v1.Certificate] may have leaked.static final intThis [Certificate][google.cloud.security.privateca.v1.Certificate] no longer has permission to assert the listed attributes.static final intDefault unspecified value.static final intThis [Certificate][google.cloud.security.privateca.v1.Certificate] has been superseded. -
Method Summary
Modifier and TypeMethodDescriptionstatic RevocationReasonforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<RevocationReason>static RevocationReasonvalueOf(int value) Deprecated.static RevocationReasonvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static RevocationReasonReturns 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 Details
-
REVOCATION_REASON_UNSPECIFIED
Default unspecified value. This value does indicate that a [Certificate][google.cloud.security.privateca.v1.Certificate] has been revoked, but that a reason has not been recorded.
REVOCATION_REASON_UNSPECIFIED = 0; -
KEY_COMPROMISE
Key material for this [Certificate][google.cloud.security.privateca.v1.Certificate] may have leaked.
KEY_COMPROMISE = 1; -
CERTIFICATE_AUTHORITY_COMPROMISE
The key material for a certificate authority in the issuing path may have leaked.
CERTIFICATE_AUTHORITY_COMPROMISE = 2; -
AFFILIATION_CHANGED
The subject or other attributes in this [Certificate][google.cloud.security.privateca.v1.Certificate] have changed.
AFFILIATION_CHANGED = 3; -
SUPERSEDED
This [Certificate][google.cloud.security.privateca.v1.Certificate] has been superseded.
SUPERSEDED = 4; -
CESSATION_OF_OPERATION
This [Certificate][google.cloud.security.privateca.v1.Certificate] or entities in the issuing path have ceased to operate.
CESSATION_OF_OPERATION = 5; -
CERTIFICATE_HOLD
This [Certificate][google.cloud.security.privateca.v1.Certificate] should not be considered valid, it is expected that it may become valid in the future.
CERTIFICATE_HOLD = 6; -
PRIVILEGE_WITHDRAWN
This [Certificate][google.cloud.security.privateca.v1.Certificate] no longer has permission to assert the listed attributes.
PRIVILEGE_WITHDRAWN = 7; -
ATTRIBUTE_AUTHORITY_COMPROMISE
The authority which determines appropriate attributes for a [Certificate][google.cloud.security.privateca.v1.Certificate] may have been compromised.
ATTRIBUTE_AUTHORITY_COMPROMISE = 8; -
UNRECOGNIZED
-
-
Field Details
-
REVOCATION_REASON_UNSPECIFIED_VALUE
public static final int REVOCATION_REASON_UNSPECIFIED_VALUEDefault unspecified value. This value does indicate that a [Certificate][google.cloud.security.privateca.v1.Certificate] has been revoked, but that a reason has not been recorded.
REVOCATION_REASON_UNSPECIFIED = 0;- See Also:
-
KEY_COMPROMISE_VALUE
public static final int KEY_COMPROMISE_VALUEKey material for this [Certificate][google.cloud.security.privateca.v1.Certificate] may have leaked.
KEY_COMPROMISE = 1;- See Also:
-
CERTIFICATE_AUTHORITY_COMPROMISE_VALUE
public static final int CERTIFICATE_AUTHORITY_COMPROMISE_VALUEThe key material for a certificate authority in the issuing path may have leaked.
CERTIFICATE_AUTHORITY_COMPROMISE = 2;- See Also:
-
AFFILIATION_CHANGED_VALUE
public static final int AFFILIATION_CHANGED_VALUEThe subject or other attributes in this [Certificate][google.cloud.security.privateca.v1.Certificate] have changed.
AFFILIATION_CHANGED = 3;- See Also:
-
SUPERSEDED_VALUE
public static final int SUPERSEDED_VALUEThis [Certificate][google.cloud.security.privateca.v1.Certificate] has been superseded.
SUPERSEDED = 4;- See Also:
-
CESSATION_OF_OPERATION_VALUE
public static final int CESSATION_OF_OPERATION_VALUEThis [Certificate][google.cloud.security.privateca.v1.Certificate] or entities in the issuing path have ceased to operate.
CESSATION_OF_OPERATION = 5;- See Also:
-
CERTIFICATE_HOLD_VALUE
public static final int CERTIFICATE_HOLD_VALUEThis [Certificate][google.cloud.security.privateca.v1.Certificate] should not be considered valid, it is expected that it may become valid in the future.
CERTIFICATE_HOLD = 6;- See Also:
-
PRIVILEGE_WITHDRAWN_VALUE
public static final int PRIVILEGE_WITHDRAWN_VALUEThis [Certificate][google.cloud.security.privateca.v1.Certificate] no longer has permission to assert the listed attributes.
PRIVILEGE_WITHDRAWN = 7;- See Also:
-
ATTRIBUTE_AUTHORITY_COMPROMISE_VALUE
public static final int ATTRIBUTE_AUTHORITY_COMPROMISE_VALUEThe authority which determines appropriate attributes for a [Certificate][google.cloud.security.privateca.v1.Certificate] may have been compromised.
ATTRIBUTE_AUTHORITY_COMPROMISE = 8;- See Also:
-
-
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
-
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
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
-