code: func ChainHashUbiquity(chain []*x509.Certificate) HashUbiquity {
  	ret := math.MaxInt32
  	for _, cert := range chain {
  		uscore := int(hashUbiquity(cert))
  		if ret > uscore {
  			ret = uscore
  		}
  	}
  	return HashUbiquity(ret)
  }
docs: // ChainHashUbiquity scores a chain based on the hash algorithms used
  // by the certificates in the chain.