Searched defs:store (Results 1 - 11 of 11) sorted by relevance

/libcore/luni/src/main/java/java/net/
H A DCookieManager.java36 * some cookies into a cookie store. Three built-in CookiePolicy is defined:
56 private CookieStore store; field in class:CookieManager
76 * Constructs a new cookie manager using a specified cookie store and a
79 * @param store
86 public CookieManager(CookieStore store, CookiePolicy cookiePolicy) { argument
87 this.store = store == null ? new CookieStoreImpl() : store;
112 for (HttpCookie cookie : store.get(uri)) {
186 // if the cookie conforms to the policy, add it into the store
[all...]
/libcore/crypto/src/main/java/org/conscrypt/
H A DCertPinManager.java46 public CertPinManager(TrustedCertificateStore store) throws PinManagerException { argument
48 certStore = store;
53 public CertPinManager(String path, TrustedCertificateStore store) throws PinManagerException { argument
58 certStore = store;
H A DPinListEntry.java59 public PinListEntry(String entry, TrustedCertificateStore store) throws PinEntryException { argument
63 certStore = store;
H A DTrustedCertificateKeyStoreSpi.java33 private final TrustedCertificateStore store = new TrustedCertificateStore(); field in class:TrustedCertificateKeyStoreSpi
50 return store.getCertificate(alias);
54 return store.getCreationDate(alias);
78 return Collections.enumeration(store.aliases());
82 return store.containsAlias(alias);
86 return store.aliases().size();
101 return store.getCertificateAlias(c);
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/
H A DTestUtils.java68 // Key store type used during testing
774 private static CertStore store; field in class:TestUtils
799 store = CertStore.getInstance("Collection", params);
834 buildParams.addCertStore(store);
/libcore/luni/src/main/java/java/security/cert/
H A DPKIXParameters.java93 * the key store containing trusted certificates.
295 * Adds a certificate store to the list of certificate stores that are used
298 * @param store
299 * the store to add, if {@code null}, it will be ignored.
301 public void addCertStore(CertStore store) { argument
302 if (store == null) {
310 // add store
311 certStores.add(store);
/libcore/luni/src/main/java/java/util/
H A DProperties.java59 * default) or the {@code load}/{@code store} overloads that take
489 * writing — use {@link #store} instead for better exception
495 store(out, comment);
523 public synchronized void store(OutputStream out, String comment) throws IOException { method in class:Properties
524 store(new OutputStreamWriter(out, "ISO-8859-1"), comment);
537 public synchronized void store(Writer writer, String comment) throws IOException { method in class:Properties
702 * have to know canonical name for encoding used to store data in XML
703 * since the XML parser must recognize encoding name used to store data.
/libcore/luni/src/main/java/java/security/
H A DKeyStore.java42 * The type of the system key store can be changed by setting the {@code
79 * the concrete key store.
231 * key from the store.
517 * the {@code OutputStream} to write the store's data to.
530 public final void store(OutputStream stream, char[] password) method in class:KeyStore
545 * the {@code LoadStoreParameter} that specifies how to store
559 public final void store(LoadStoreParameter param) throws KeyStoreException, method in class:KeyStore
657 * the entry to store.
785 * searched, otherwise the key store from the specified provider is
845 * searched, otherwise the key store fro
[all...]
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/
H A DHttpsURLConnectionTest.java78 // the password to the store
96 private static File store; field in class:HttpsURLConnectionTest
100 store = File.createTempFile("key_store", "bks");
606 if (store != null) {
610 FileOutputStream out = new FileOutputStream(store);
620 fail("couldn't set up key store");
625 if (store != null) {
626 store.delete();
655 * Returns the file name of the key/trust store. The key store fil
[all...]
/libcore/luni/src/test/java/tests/api/javax/net/ssl/
H A DSSLSessionTest.java74 KeyStore store = server.getStore();
75 X509Certificate cert = (X509Certificate)store.getCertificate("mykey");
133 KeyStore store = client.getStore();
134 Certificate cert = store.getCertificate("mykey");
144 KeyStore store = client.getStore();
145 X509Certificate cert = (X509Certificate)store.getCertificate("mykey");
482 private KeyStore store; field in class:SSLSessionTest.TestServer
491 store = provideKeys ? getKeyStore(keys) : null;
492 KeyManager[] keyManagers = store != null ? getKeyManagers(store)
563 private KeyStore store; field in class:SSLSessionTest.TestClient
[all...]
/libcore/crypto/src/test/java/org/conscrypt/
H A DTrustedCertificateStoreTest.java192 private TrustedCertificateStore store; field in class:TrustedCertificateStoreTest
204 store = new TrustedCertificateStore(DIR_SYSTEM, DIR_ADDED, DIR_DELETED);
221 store = null;
235 store.deleteCertificateEntry(getAliasSystemCa1());
242 store.deleteCertificateEntry(getAliasSystemCa1());
244 store.deleteCertificateEntry(getAliasSystemCa2());
262 store.getCertificate(null);
266 assertNull(store.getCertificate(""));
269 store.getCreationDate(null);
273 assertNull(store
[all...]

Completed in 201 milliseconds