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;
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);