@Test @SuppressWarnings("static-method") @Ignore public void testPolicyIdFilter() throws Exception { final AOKeyStoreManager ksm = AOKeyStoreManagerFactory.getAOKeyStoreManager( AOKeyStore.DNIEJAVA, null, "TIFSEU", new CachePasswordCallback("12345".toCharArray()), null ); final String[] aliases = ksm.getAliases(); System.out.println("ORIGINAL"); for (final String alias : aliases) { System.out.println(alias); } System.out.println(); System.out.println("FILTRADOS"); final String[] fileteredAliases = new PseudonymFilter().matches(aliases, ksm); for (final String alias : fileteredAliases) { System.out.println(alias); } }
@Override public boolean matches(final X509Certificate cert) { return AOUtil.isPseudonymCert(cert); }
PseudonymFilter extends CertificateFilter { @Override public boolean matches(final X509Certificate cert) { return AOUtil.isPseudonymCert(cert); } }
PseudonymFilter extends CertificateFilter { @Override public boolean matches(final X509Certificate cert) { return AOUtil.isPseudonymCert(cert); }  }
PseudonymFilter extends CertificateFilter { @Override public boolean matches(final X509Certificate cert) { return AOUtil.isPseudonymCert(cert); }  @Override boolean matches(final X509Certificate cert); @Override String[] matches(final String[] aliases, final KeyStoreManager ksm); }
PseudonymFilter extends CertificateFilter { @Override public boolean matches(final X509Certificate cert) { return AOUtil.isPseudonymCert(cert); }  @Override boolean matches(final X509Certificate cert); @Override String[] matches(final String[] aliases, final KeyStoreManager ksm);  }