code: func hashUbiquity(cert *x509.Certificate) HashUbiquity {
  	switch cert.SignatureAlgorithm {
  	case x509.ECDSAWithSHA1, x509.DSAWithSHA1, x509.SHA1WithRSA:
  		return SHA1Ubiquity
  	case x509.ECDSAWithSHA256, x509.ECDSAWithSHA384, x509.ECDSAWithSHA512,
  		x509.DSAWithSHA256, x509.SHA256WithRSA, x509.SHA384WithRSA,
  		x509.SHA512WithRSA:
  		return SHA2Ubiquity
  	case x509.MD5WithRSA, x509.MD2WithRSA:
  		return MD5Ubiquity
  	default:
  		return UnknownHashUbiquity
  	}
  }
docs: // hashUbiquity computes the ubiquity of the hash algorithm in the
  // signature algorithm of a cert.
  // SHA1 > SHA2 > MD > Others