- DRAFT(false), BEING_ISSUED(true), ISSUED(false), BEING_REVOKED(true), REVOKED(
- false);
+ /**
+ * This certificate is not in the database, has no id and only exists as
+ * this java object.
+ */
+ DRAFT(false),
+ /**
+ * The certificate has been written to the database and is waiting for
+ * the signer to sign it.
+ */
+ SIGNING(true),
+ /**
+ * The certificate has been signed. It is stored in the database.
+ * {@link Certificate#cert()} is valid.
+ */
+ ISSUED(false),
+ /**
+ * The cetrificate is about to be revoked by the signer bot.
+ */
+ BEING_REVOKED(true),
+
+ /**
+ * The certificate has been revoked.
+ */
+ REVOKED(false),
+
+ /**
+ * If this certificate cannot be updated because an error happened in
+ * the signer.
+ */
+ ERROR(false);