Enum ErrorCode

    • Enum Constant Detail

      • ALREADY_ISSUED

        public static final ErrorCode ALREADY_ISSUED
      • BAD_CERT_TEMPLATE

        public static final ErrorCode BAD_CERT_TEMPLATE
      • BAD_REQUEST

        public static final ErrorCode BAD_REQUEST
      • BAD_POP

        public static final ErrorCode BAD_POP
      • CERT_REVOKED

        public static final ErrorCode CERT_REVOKED
      • CERT_UNREVOKED

        public static final ErrorCode CERT_UNREVOKED
      • CRL_FAILURE

        public static final ErrorCode CRL_FAILURE
      • DATABASE_FAILURE

        public static final ErrorCode DATABASE_FAILURE
      • INVALID_EXTENSION

        public static final ErrorCode INVALID_EXTENSION
      • NOT_PERMITTED

        public static final ErrorCode NOT_PERMITTED
      • SYSTEM_FAILURE

        public static final ErrorCode SYSTEM_FAILURE
      • SYSTEM_UNAVAILABLE

        public static final ErrorCode SYSTEM_UNAVAILABLE
      • UNKNOWN_CERT

        public static final ErrorCode UNKNOWN_CERT
      • UNKNOWN_CERT_PROFILE

        public static final ErrorCode UNKNOWN_CERT_PROFILE
      • PATH_NOT_FOUND

        public static final ErrorCode PATH_NOT_FOUND
      • UNAUTHORIZED

        public static final ErrorCode UNAUTHORIZED
    • Method Detail

      • values

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

        public static ErrorCode 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
      • getCode

        public int getCode()
      • ofCode

        public static ErrorCode ofCode​(int code)