]> WPIA git - gigi.git/blobdiff - src/org/cacert/gigi/dbObjects/Certificate.java
upd: show language and version for trainings
[gigi.git] / src / org / cacert / gigi / dbObjects / Certificate.java
index 541272bdae1fb43a7e9b60186aaed84054309447..5dfaa5d6a1709ae88727979633fc594b58e7fe86 100644 (file)
@@ -141,7 +141,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 +287,7 @@ public class Certificate implements IdCachable {
         if (getStatus() != CertificateStatus.DRAFT) {
             throw new IllegalStateException();
         }
-        Notary.writeUserAgreement(actor, "CCA", "issue certificate", "", true, 0);
+        Notary.writeUserAgreement(actor, "ToS", "certificate issuance", "", true, 0);
 
         return Job.sign(this, start, period);