Enum AcmeError

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<AcmeError>

    public enum AcmeError
    extends java.lang.Enum<AcmeError>
    ACME Error.
    Author:
    Lijun Liao (xipki)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      accountDoesNotExist
      The request specified an account that does not exist.
      alreadyRevoked
      The request specified a certificate to be revoked that has already been revoked.
      badCSR
      The CSR is unacceptable (e.g., due to a short key).
      badNonce
      The client sent an unacceptable anti-replay nonce.
      badPublicKey
      The JWS was signed by a public key the server does not support.
      badRevocationReason
      The revocation reason provided is not allowed by the server.
      badSignatureAlgorithm
      The JWS was signed with an algorithm the server does not support.
      caa
      Certification Authority Authorization (CAA) records forbid the CA from issuing a certificate.
      compound
      Specific error conditions are indicated in the "subproblems" array.
      connection
      The server could not connect to validation target.
      dns
      There was a problem with a DNS query during identifier validation.
      externalAccountRequired
      The request must include a value for the "externalAccountBinding" field.
      incorrectResponse
      Response received didn't match the challenge's requirements.
      invalidContact
      A contact URL for an account was invalid.
      malformed
      The request message was malformed.
      orderNotReady
      The request attempted to finalize an order that is not ready to be finalized.
      rateLimited
      The request exceeds a rate limit.
      rejectedIdentifier
      The server will not issue certificates for the identifier.
      serverInternal
      The server experienced an internal error.
      tls
      The server received a TLS error during validation.
      unauthorized
      The client lacks sufficient authorization.
      unsupportedContact
      A contact URL for an account used an unsupported protocol scheme.
      unsupportedIdentifier
      An identifier is of an unsupported type.
      userActionRequired
      Visit the "instance" URL and take actions specified there.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getQualifiedCode()  
      static AcmeError valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static AcmeError[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • accountDoesNotExist

        public static final AcmeError accountDoesNotExist
        The request specified an account that does not exist.
      • alreadyRevoked

        public static final AcmeError alreadyRevoked
        The request specified a certificate to be revoked that has already been revoked.
      • badCSR

        public static final AcmeError badCSR
        The CSR is unacceptable (e.g., due to a short key).
      • badNonce

        public static final AcmeError badNonce
        The client sent an unacceptable anti-replay nonce.
      • badPublicKey

        public static final AcmeError badPublicKey
        The JWS was signed by a public key the server does not support.
      • badRevocationReason

        public static final AcmeError badRevocationReason
        The revocation reason provided is not allowed by the server.
      • badSignatureAlgorithm

        public static final AcmeError badSignatureAlgorithm
        The JWS was signed with an algorithm the server does not support.
      • caa

        public static final AcmeError caa
        Certification Authority Authorization (CAA) records forbid the CA from issuing a certificate.
      • compound

        public static final AcmeError compound
        Specific error conditions are indicated in the "subproblems" array.
      • connection

        public static final AcmeError connection
        The server could not connect to validation target.
      • dns

        public static final AcmeError dns
        There was a problem with a DNS query during identifier validation.
      • externalAccountRequired

        public static final AcmeError externalAccountRequired
        The request must include a value for the "externalAccountBinding" field.
      • incorrectResponse

        public static final AcmeError incorrectResponse
        Response received didn't match the challenge's requirements.
      • invalidContact

        public static final AcmeError invalidContact
        A contact URL for an account was invalid.
      • malformed

        public static final AcmeError malformed
        The request message was malformed.
      • orderNotReady

        public static final AcmeError orderNotReady
        The request attempted to finalize an order that is not ready to be finalized.
      • rateLimited

        public static final AcmeError rateLimited
        The request exceeds a rate limit.
      • rejectedIdentifier

        public static final AcmeError rejectedIdentifier
        The server will not issue certificates for the identifier.
      • serverInternal

        public static final AcmeError serverInternal
        The server experienced an internal error.
      • tls

        public static final AcmeError tls
        The server received a TLS error during validation.
      • unauthorized

        public static final AcmeError unauthorized
        The client lacks sufficient authorization.
      • unsupportedContact

        public static final AcmeError unsupportedContact
        A contact URL for an account used an unsupported protocol scheme.
      • unsupportedIdentifier

        public static final AcmeError unsupportedIdentifier
        An identifier is of an unsupported type.
      • userActionRequired

        public static final AcmeError userActionRequired
        Visit the "instance" URL and take actions specified there.
    • Method Detail

      • values

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

        public static AcmeError 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
      • getQualifiedCode

        public java.lang.String getQualifiedCode()