]> WPIA git - gigi.git/blobdiff - src/org/cacert/gigi/dbObjects/Certificate.java
upd: set MAXIMUM_PLAUSIBLE_AGE to 120 years
[gigi.git] / src / org / cacert / gigi / dbObjects / Certificate.java
index 541272bdae1fb43a7e9b60186aaed84054309447..2e35c33e48a9f8580b8e1db1096a487ba4c5c6f5 100644 (file)
@@ -22,7 +22,6 @@ import org.cacert.gigi.database.GigiResultSet;
 import org.cacert.gigi.output.template.Outputable;
 import org.cacert.gigi.output.template.TranslateCommand;
 import org.cacert.gigi.util.KeyStorage;
-import org.cacert.gigi.util.Notary;
 
 public class Certificate implements IdCachable {
 
@@ -141,7 +140,7 @@ public class Certificate implements IdCachable {
         this.owner = owner;
         this.dn = dn;
         if (dn.size() == 0) {
-            throw new GigiApiException("DN must not be empty");
+            throw new GigiApiException("DN must not be empty.");
         }
         dnString = stringifyDN(dn);
         this.md = md;
@@ -287,7 +286,6 @@ public class Certificate implements IdCachable {
         if (getStatus() != CertificateStatus.DRAFT) {
             throw new IllegalStateException();
         }
-        Notary.writeUserAgreement(actor, "CCA", "issue certificate", "", true, 0);
 
         return Job.sign(this, start, period);