Searched defs:providers (Results 1 - 3 of 3) sorted by relevance

/libcore/luni/src/main/java/java/security/
H A DSecurity.java48 // - load statically registered providers
49 // - if no provider description file found then load default providers
73 // Register default providers
97 Provider[] providers = getProviders();
98 for (Provider provider : providers) {
111 * positions define the preference order in which providers are searched for
126 // one position for next providers; Note: The position is 1-based
136 * Adds the given {@code provider} to the collection of providers at the
150 * of providers. If the the {@code Provider} with the specified name is
181 * Returns an array containing all installed providers
318 filterProviders(ArrayList<Provider> providers, String service, String algorithm, String attribute, String attrValue) argument
[all...]
/libcore/luni/src/main/java/org/apache/harmony/security/fortress/
H A DServices.java28 * This class contains information about all registered providers and preferred
35 * all serviceName.algName in the registered providers.
61 * Registered providers.
63 private static final ArrayList<Provider> providers = new ArrayList<Provider>(20); field in class:Services
79 providers.add(p);
91 * Returns a copy of the registered providers as an array.
94 return providers;
111 int size = providers.size();
115 providers.add(position - 1, provider);
125 Provider p = providers
[all...]
/libcore/luni/src/test/java/libcore/javax/crypto/
H A DECDHKeyAgreementTest.java48 * Tests for all registered Elliptic Curve Diffie-Hellman {@link KeyAgreement} providers.
93 * the {@code KeyAgreement} instances work with keys of all registered providers.
373 Provider[] providers = Security.getProviders("KeyAgreement.ECDH");
374 if (providers == null) {
377 // Sort providers by name to guarantee non-determinism in the order in which providers are
379 return sortByName(providers);
383 Provider[] providers = Security.getProviders("KeyFactory.EC");
384 if (providers == null) {
387 // Sort providers b
429 sortByName(Provider[] providers) argument
[all...]

Completed in 328 milliseconds