List of usage examples for java.security.cert X509CRLSelector setIssuers
public void setIssuers(Collection<X500Principal> issuers)
From source file:mitm.common.security.crl.CRLStoreMaintainerImpl.java
private CloseableIterator<X509CRL> getCRLsWithSameIssuer(X509CRL crl) throws CRLStoreException { Check.notNull(crl, "crl"); X509CRLSelector crlSelector = new X509CRLSelector(); crlSelector.setIssuers(Collections.singletonList(crl.getIssuerX500Principal())); CloseableIterator<X509CRL> iterator = crlStore.getCRLIterator(crlSelector); return iterator; }