Enum RevocationReason

java.lang.Object
java.lang.Enum<RevocationReason>
com.google.cloud.security.privateca.v1.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 Details

    • REVOCATION_REASON_UNSPECIFIED

      public static final RevocationReason 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

      public static final RevocationReason KEY_COMPROMISE
       Key material for this
       [Certificate][google.cloud.security.privateca.v1.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.v1.Certificate] have changed.
       
      AFFILIATION_CHANGED = 3;
    • SUPERSEDED

      public static final RevocationReason SUPERSEDED
       This [Certificate][google.cloud.security.privateca.v1.Certificate] has been
       superseded.
       
      SUPERSEDED = 4;
    • CESSATION_OF_OPERATION

      public static final RevocationReason 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

      public static final RevocationReason 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

      public static final RevocationReason 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

      public static final RevocationReason 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

      public static final RevocationReason UNRECOGNIZED
  • Field Details

    • 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.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_VALUE
       Key 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_VALUE
       The 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_VALUE
       The 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_VALUE
       This [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_VALUE
       This [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_VALUE
       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;
      See Also:
    • PRIVILEGE_WITHDRAWN_VALUE

      public static final int PRIVILEGE_WITHDRAWN_VALUE
       This [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_VALUE
       The 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

      public static RevocationReason[] 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

      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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.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 name
      NullPointerException - 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 interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static 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 name
      NullPointerException - if the argument is null