code: public Enumeration<String> aliases() throws KeyStoreException, KeyException {
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              Tr.entry(tc, "aliases");
          Enumeration<String> aliases = null;
          try {
              KeyStore jKeyStore = getKeyStore(false, false);
              if (jKeyStore == null) {
                  throw new KeyStoreException("The keystore [" + name + "] is not present in the configuration");
              }
              aliases = jKeyStore.aliases();
          } catch (KeyStoreException e) {
              throw e;
          } catch (Exception ex) {
              throw new KeyException(ex.getMessage(), ex);
          }
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              Tr.exit(tc, "aliases: " + aliases);
          return aliases;
      }
docs: /*
  Return the certificate aliases in the keystore