public boolean containsCertificate(@NotNull String alias) {
      myReadLock.lock();
      try {
        return myKeyStore.containsAlias(alias);
      }
      catch (KeyStoreException e) {
        LOG.error(e);
        return false;
      }
      finally {
        myReadLock.unlock();
      }
    }
public boolean containsCertificate(@NotNull String alias)