code: func Check(d *certdata.Data) *errors.Errors {
  	var e = errors.New(nil)
  
  	switch d.Type {
  	case "EV":
  		if strings.LastIndex(d.Cert.Subject.CommonName, "*") > -1 {
  			e.Err("Certificate should not contain a wildcard")
  		}
  		for _, n := range d.Cert.DNSNames {
  			if strings.LastIndex(n, "*") > -1 {
  				e.Err("Certificate subjectAltName '%s' should not contain a wildcard", n)
  			}
  		}
  	case "DV", "OV":
  		if strings.LastIndex(d.Cert.Subject.CommonName, "*") > 0 {
  			e.Err("Certificate wildcard is only allowed as prefix")
  		}
  		for _, n := range d.Cert.DNSNames {
  			if strings.LastIndex(n, "*") > 0 {
  				e.Err("Certificate subjectAltName '%s' wildcard is only allowed as prefix", n)
  			}
  		}
  	}
  
  	return e
  }
docs: // Check performs a strict verification on the extension according to the standard(s)