Searched defs:selector (Results 1 - 16 of 16) sorted by relevance

/libcore/ojluni/src/main/java/java/security/cert/
H A DCertStoreSpi.java72 * match the specified selector. If no {@code Certificate}s
73 * match the selector, an empty {@code Collection} will be returned.
77 * {@code Certificate}s that match the selector. For instance,
88 * @param selector A {@code CertSelector} used to select which
92 * match the specified selector (never {@code null})
96 (CertSelector selector) throws CertStoreException;
100 * match the specified selector. If no {@code CRL}s
101 * match the selector, an empty {@code Collection} will be returned.
105 * {@code CRL}s that match the selector. For instance,
116 * @param selector
95 engineGetCertificates(CertSelector selector) argument
123 engineGetCRLs(CRLSelector selector) argument
[all...]
H A DCertStore.java52 * {@link #getCertificates(CertSelector selector) getCertificates} and
53 * {@link #getCRLs(CRLSelector selector) getCRLs} methods.
135 * match the specified selector. If no {@code Certificate}s
136 * match the selector, an empty {@code Collection} will be returned.
140 * {@code Certificate}s that match the selector. For instance,
151 * @param selector A {@code CertSelector} used to select which
155 * match the specified selector (never {@code null})
159 (CertSelector selector) throws CertStoreException {
160 return storeSpi.engineGetCertificates(selector);
165 * match the specified selector
158 getCertificates(CertSelector selector) argument
188 getCRLs(CRLSelector selector) argument
[all...]
H A DPKIXParameters.java647 * @param selector a {@code CertSelector} specifying the constraints
651 public void setTargetCertConstraints(CertSelector selector) { argument
652 if (selector != null)
653 certSelector = (CertSelector) selector.clone();
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/
H A DMyCertStoreSpi.java51 public Collection<Certificate> engineGetCertificates(CertSelector selector) argument
53 if (selector == null) {
59 public Collection<CRL> engineGetCRLs(CRLSelector selector) argument
61 if (selector == null) {
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/spi/
H A DAbstractSelectionKeyTest.java29 * @tests AbstractSelectionKey#isValid() without selector
45 // expected: no selector available
60 public Selector selector() { method in class:AbstractSelectionKeyTest.MockSelectionKey
/libcore/ojluni/src/main/java/sun/nio/ch/
H A DSelectionKeyImpl.java42 public final SelectorImpl selector; field in class:SelectionKeyImpl
52 selector = sel;
59 public Selector selector() { method in class:SelectionKeyImpl
60 return selector;
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
H A DCertStoreHelper.java129 public abstract X509CertSelector wrap(X509CertSelector selector, argument
138 public abstract X509CRLSelector wrap(X509CRLSelector selector, argument
H A DBuilder.java415 * selector to resultCerts. Self-signed certs are not useful here
418 * If the targetCert criterion of the selector is set, only that cert
427 boolean addMatchingCerts(X509CertSelector selector, argument
432 X509Certificate targetCert = selector.getCertificate();
435 if (selector.match(targetCert) && !X509CertImpl.isSelfSigned
453 store.getCertificates(selector);
H A DDistributionPointFetcher.java65 * Return the X509CRLs matching this selector. The selector must be
68 public static Collection<X509CRL> getCRLs(X509CRLSelector selector, argument
78 return getCRLs(selector, signFlag, prevKey, null, provider, certStores,
83 * Return the X509CRLs matching this selector. The selector must be
86 public static Collection<X509CRL> getCRLs(X509CRLSelector selector, argument
97 X509Certificate cert = selector.getCertificateChecking();
121 Collection<X509CRL> crls = getCRLs(selector, certImpl,
144 private static Collection<X509CRL> getCRLs(X509CRLSelector selector, argument
[all...]
H A DURICertStore.java234 * match the specified selector. If no <code>X509Certificate</code>s
235 * match the selector, an empty <code>Collection</code> will be returned.
237 * @param selector a <code>CertSelector</code> used to select which
241 * match the specified selector
247 (CertSelector selector) throws CertStoreException {
252 X509CertSelector xsel = (X509CertSelector) selector;
260 // Safe cast since xsel is an X509 certificate selector.
273 return getMatchingCerts(certs, selector);
289 return getMatchingCerts(certs, selector);
298 return getMatchingCerts(certs, selector);
246 engineGetCertificates(CertSelector selector) argument
327 getMatchingCerts(Collection<X509Certificate> certs, CertSelector selector) argument
356 engineGetCRLs(CRLSelector selector) argument
439 getMatchingCRLs(X509CRL crl, CRLSelector selector) argument
[all...]
/libcore/ojluni/src/main/java/java/nio/channels/
H A DSelectionKey.java37 * selector. A key remains valid until it is <i>cancelled</i> by invoking its
39 * selector. Cancelling a key does not immediately remove it from its
40 * selector; it is instead added to the selector's <a
54 * be tested for readiness the next time one of the selector's selection
60 * the key's channel has been detected to be ready by the key's selector.
62 * be updated by the selector during a selection operation, but it cannot be
93 * synchronized with certain operations of the selector. Exactly how this
118 // -- Channel and selector operations --
129 * Returns the selector fo
134 public abstract Selector selector(); method in class:SelectionKey
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
H A DSelectionKeyTest.java34 Selector selector; field in class:SelectionKeyTest
44 selector = Selector.open();
47 selectionKey = sc.register(selector, SelectionKey.OP_CONNECT);
53 selector.close();
54 selector = null;
89 public Selector selector() { method in class:SelectionKeyTest.MockSelectionKey
196 selector.close();
301 selector.select();
311 * @tests java.nio.channels.SelectionKey#selector()
314 assertSame(selector, selectionKe
[all...]
H A DSelectorTest.java44 private Selector selector; field in class:SelectorTest
59 selector = Selector.open();
69 selector.close();
80 assertNotNull(selector);
87 assertTrue(selector.isOpen());
88 selector.close();
89 assertFalse(selector.isOpen());
97 assertNotNull(selector.provider());
98 assertSame(SelectorProvider.provider(), selector.provider());
105 SelectionKey key = ssc.register(selector, SelectionKe
[all...]
/libcore/luni/src/test/java/tests/security/cert/
H A DCertStore2Test.java354 public Collection<? extends CRL> engineGetCRLs(CRLSelector selector) argument
356 if (selector != null) {
357 if (!(selector instanceof MyCRLSelector)) {
367 CertSelector selector) throws CertStoreException {
368 if (selector != null) {
369 if (!(selector instanceof MyCertSelector)) {
366 engineGetCertificates( CertSelector selector) argument
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
H A DProxySelectorTest.java61 private ProxySelector selector = ProxySelector.getDefault(); field in class:ProxySelectorTest
113 proxyList = selector.select(httpUri);
129 proxyList = selector.select(httpUri);
132 proxyList = selector.select(httpsUri);
135 proxyList = selector.select(ftpUri);
138 proxyList = selector.select(tcpUri);
154 proxyList = selector.select(httpUri);
170 proxyList = selector.select(httpUri);
174 proxyList = selector.select(httpsUri);
178 proxyList = selector
[all...]
/libcore/luni/src/test/java/libcore/java/security/
H A DProviderTest.java825 public Collection<? extends Certificate> engineGetCertificates(CertSelector selector) argument
831 public Collection<? extends CRL> engineGetCRLs(CRLSelector selector) argument
844 public Collection<? extends Certificate> engineGetCertificates(CertSelector selector) argument
850 public Collection<? extends CRL> engineGetCRLs(CRLSelector selector) argument
863 public Collection<? extends Certificate> engineGetCertificates(CertSelector selector) argument
869 public Collection<? extends CRL> engineGetCRLs(CRLSelector selector) argument

Completed in 902 milliseconds