if (!loaded) { throw new IllegalStateException ("not loaded"); } if (keyring == null) { return false; } if (!(keyring instanceof IPublicKeyring)) { return false; } return ((IPublicKeyring) keyring).containsCertificate(alias);
log.entering(this.getClass().getName(), "engineIsCertificateEntry", alias);  ensureLoaded(); boolean result = publicKR.containsCertificate(alias);  log.exiting(this.getClass().getName(), "engineIsCertificateEntry", Boolean.valueOf(result)); return result;
  public boolean engineIsCertificateEntry(String alias)  {    if (!loaded)      {        throw new IllegalStateException ("not loaded");      }    if (keyring == null)      {        return false;      }    if (!(keyring instanceof IPublicKeyring))      {        return false;      }    return ((IPublicKeyring) keyring).containsCertificate(alias);  }