code: func ThumbprintSHA1(cert *x509.Certificate) string {
  	sum := sha1.Sum(cert.Raw)
  	hex := make([]string, len(sum))
  	for i, b := range sum {
  		hex[i] = fmt.Sprintf("%02X", b)
  	}
  	return strings.Join(hex, ":")
  }
docs: // ThumbprintSHA1 returns the thumbprint of the given cert in the same format used by the SDK and Client.SetThumbprint.
  //
  // See: SSLVerifyFault.Thumbprint, SessionManagerGenericServiceTicket.Thumbprint, HostConnectSpec.SslThumbprint