code: func Load(der []byte) (*Data, error) {
  	var err error
  
  	d := new(Data)
  	d.Cert, err = x509.ParseCertificate(der)
  	if err != nil {
  		return nil, err
  	}
  
  	if err = d.setCertificateType(); err != nil {
  		fmt.Println(err)
  	}
  
  	return d, nil
  }
docs: // Load raw certificate bytes into a Data struct