code: func PublicKeysEqual(a, b interface{}) (bool, error) {
  	if a == nil || b == nil {
  		return false, errors.New("One or more nil arguments to PublicKeysEqual")
  	}
  	aBytes, err := x509.MarshalPKIXPublicKey(a)
  	if err != nil {
  		return false, err
  	}
  	bBytes, err := x509.MarshalPKIXPublicKey(b)
  	if err != nil {
  		return false, err
  	}
  	return bytes.Compare(aBytes, bBytes) == 0, nil
  }
docs: // PublicKeysEqual determines whether two public keys have the same marshalled
  // bytes as one another