Searched refs:store (Results 1 - 22 of 22) sorted by relevance

/libcore/luni/src/test/java/org/apache/harmony/xnet/provider/jsse/
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...]
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
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);
H A DCertPinManager.java47 public CertPinManager(TrustedCertificateStore store) throws PinManagerException { argument
49 certStore = store;
54 public CertPinManager(String path, TrustedCertificateStore store) throws PinManagerException { argument
59 certStore = store;
H A DPinListEntry.java59 public PinListEntry(String entry, TrustedCertificateStore store) throws PinEntryException { argument
63 certStore = store;
/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/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/luni/src/test/java/libcore/java/security/cert/
H A DOldPKIXParametersTest.java183 KeyStore store = KeyStore.getInstance("PKCS12");
188 PKIXParameters p = new PKIXParameters(store);
193 store = KeyStore.getInstance("PKCS12");
194 store.load(stream, new String(KeyStoreTestPKCS12.keyStorePassword)
199 PKIXParameters p = new PKIXParameters(store);
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
H A DKeyStore4Test.java286 keyStore.store(os, password);
298 keyStore.store(os, null);
311 keyStore.store(os, "".toCharArray());
324 keyStore.store(null, null);
337 uninitialized.store(null, null);
356 keyStore.store(new KeyStore.LoadStoreParameter() {
372 keyStore.store(null);
385 keyStore.store(new KeyStore.LoadStoreParameter() {
404 keyStore.store(new KeyStore.LoadStoreParameter() {
420 keyStore.store(ne
[all...]
H A DKeyStore3Test.java84 mockKeyStore.store(null);
92 mockKeyStore.store(null);
H A DKeyStoreTest.java106 * <code>store(LoadStoreParameter param)</code>
125 kss[i].store(null);
136 kss[i].store(lParam);
184 * default security key store type or "jks" string
H A DKeyStore2Test.java155 keyTest.store(out, pssWord);
906 * java.security.KeyStore#store(KeyStore.LoadStoreParameter)
913 keyStore.store(null);
920 * java.security.KeyStore#store(OutputStream, char[])
926 keyStore.store(new ByteArrayOutputStream(), "pwd".toCharArray());
932 keyStore.store(null, "pwd".toCharArray());
H A DKeyStoreBuilderTest.java504 ks.store(fos, pass);
/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/test/java/libcore/java/util/logging/
H A DOldMemoryHandlerTest.java56 p.store(bos, "");
H A DOldFileHandlerTest.java90 p.store(bos, "");
/libcore/luni/src/test/java/libcore/java/security/
H A DKeyStoreTest.java81 private static final char[] PASSWORD_STORE = "store password".toCharArray();
149 // JKS key stores cannot store secret keys, neither can the RI's PKCS12
1455 assertTrue("Should have non-empty store: " + keyStore.getType(),
1458 assertEquals("Should have empty store: " + keyStore.getType(), 0, keyStore.size());
1465 assertTrue("Should have non-empty store: " + keyStore.getType(),
1654 keyStore.store(null, null);
1665 keyStore.store(out, null);
1673 keyStore.store(out, null);
1679 keyStore.store(out, null);
1695 keyStore.store(ou
[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/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/test/java/tests/targets/security/
H A DKeyStoreTest.java154 keyStore.store(stream, "the keystore password".toCharArray());
/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/main/native/
H A Dlibcore_io_Memory.cpp32 // 32-bit ARM has load/store alignment restrictions for longs.
37 // MIPS has load/store alignment restrictions for longs, ints and shorts.
47 #error unknown load/store alignment restrictions for this architecture

Completed in 417 milliseconds