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