void EncryptedCertificate::printOn(Reporter& report) const { if(decryptedCertificate){ decryptedCertificate->printOn(report); report.writeBlock(certificateAuthorityReference, tr("Certificate verified from:")); } else { report.writeBlock(certificateAuthorityReference, tr("Unverified certificate, needs verification from:")); } }