simplify CertificateMessage constructor