@Override
    public List<String> list() {
        final List<String> list = new ArrayList<>();
        try {
            final javax.net.ssl.X509KeyManager manager = this.getKeystore();
            {
                final String[] aliases = manager.getClientAliases("RSA", null);
                if(null != aliases) {
                    Collections.addAll(list, aliases);
                }
            }
            {
                final String[] aliases = manager.getClientAliases("DSA", null);
                if(null != aliases) {
                    Collections.addAll(list, aliases);
                }
            }
        }
        catch(IOException e) {
            log.warn(String.format("Failure listing aliases. %s", e.getMessage()));
            return Collections.emptyList();
        }
        return list;
    }
@Test
    public void testList() {
        assertTrue(new DefaultX509KeyManager().init().list().isEmpty());
    }