code: func WriteCertificateInformation(w io.Writer, db *sql.DB, cert *certdb.Certificate) error {
  	tx, err := db.Begin()
  	if err != nil {
  		fmt.Fprintf(os.Stderr, "[!] %s\n", err)
  		os.Exit(1)
  	}
  	defer certdb.Finalize(&err, tx)
  
  	err = writeBasicInformation(w, cert.X509())
  	if err != nil {
  		return err
  	}
  
  	err = writeCertificateReleases(w, tx, cert)
  	if err != nil {
  		return err
  	}
  
  	return nil
  }
docs: // WriteCertificateInformation pretty prints details about the given certificate
  // to the given io.Writer.