public static boolean isTrustedCertificateEntry(String alias,KeyStore keyStore) throws KeyStoreException {
  return keyStore.isCertificateEntry(alias);
}

public static boolean isTrustedCertificateEntry ( String alias , KeyStore keyStore ) throws KeyStoreException { return keyStore . isCertificateEntry ( alias ) ; }
is the named entry in the keystore a trusted certificate entry ?
