code: func CertInfo(cert *x509.Certificate) string {
  	return fmt.Sprintf("cert(%v issued by %v:%v)", cert.Subject.CommonName, cert.Issuer.CommonName, cert.Issuer.SerialNumber)
  }
docs: // CertInfo returns diagnostic information about certificate