Lines Matching defs:selector
224 * match the specified selector. If no <code>Certificate</code>s
225 * match the selector, an empty <code>Collection</code> will be returned.
227 * @param selector a <code>CertSelector</code> used to select which
231 * match the specified selector
234 public Collection<? extends Certificate> engineGetCertificates(CertSelector selector)
237 // no selector means match all
238 if (selector == null) {
245 if (selector instanceof X509CertSelector == false) {
247 matchX509Certs(selector, matches);
249 if (selector.match(cert)) {
259 X509CertSelector x509Selector = (X509CertSelector)selector;
302 private void matchX509Certs(CertSelector selector,
308 if (selector.match(cert)) {
314 if (selector.match(cert)) {
324 * match the specified selector. If no <code>CRL</code>s
325 * match the selector, an empty <code>Collection</code> will be returned.
327 * @param selector a <code>CRLSelector</code> used to select which
331 * match the specified selector
334 public Collection<CRL> engineGetCRLs(CRLSelector selector)
337 if (selector == null) {
344 if (selector instanceof X509CRLSelector == false) {
346 matchX509CRLs(selector, matches);
348 if (selector.match(crl)) {
358 X509CRLSelector x509Selector = (X509CRLSelector)selector;
393 private void matchX509CRLs(CRLSelector selector, Collection<CRL> matches) {
397 if (selector.match(crl)) {
403 if (selector.match(crl)) {