Enum CRLDistributionPointRevocationReason

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      AA_COMPROMISE
      Indicates that a CRL distribution point may revoke a certificate if an associated attribute authority has been compromised.
      AFFILIATION_CHANGED
      Indicates that a CRL distribution point may revoke a certificate if the owner of a certificate is no longer affiliated with its issuer.
      CA_COMPROMISE
      Indicates that a CRL distribution point may revoke a certificate if the certificate issuer's private key may have been compromised.
      CERTIFICATE_HOLD
      Indicates that a CRL distribution point may revoke a certificate if the certificate has been put on hold.
      CESSATION_OF_OPERATION
      Indicates that a CRL distribution point may revoke a certificate if the certification authority is no longer in operation.
      KEY_COMPROMISE
      Indicates that a CRL distribution point may revoke a certificate if the certificate's private key may have been compromised.
      PRIVILEGE_WITHDRAWN
      Indicates that a CRL distribution point may revoke a certificate if one or more of the privileges granted to the certificate have been withdrawn.
      SUPERSEDED
      Indicates that a CRL distribution point may revoke a certificate if it has been superseded by a newer certificate.
      UNSPECIFIED
      Indicates that a CRL distribution point may revoke a certificate for an unspecified reason.
    • Method Detail

      • values

        public static CRLDistributionPointRevocationReason[] 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 (CRLDistributionPointRevocationReason c : CRLDistributionPointRevocationReason.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static CRLDistributionPointRevocationReason 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 name
        java.lang.NullPointerException - if the argument is null
      • getName

        public java.lang.String getName()
        Retrieves a human-readable name for this CRL distribution point revocation reason.
        Returns:
        A human-readable name for this CRL distribution point revocation reason.
      • forName

        public static CRLDistributionPointRevocationReason forName​(java.lang.String name)
        Retrieves the CRL distribution point revocation reason with the specified name.
        Parameters:
        name - The name of the CRL distribution point revocation reason to retrieve. It must not be null.
        Returns:
        The requested CRL distribution point revocation reason, or null if no such reason is defined.