Home
last modified time | relevance | path

Searched refs:store (Results 1 – 23 of 23) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DSSLSessionTest.java80 KeyStore store = server.getStore(); in test_getPeerPrincipal() local
81 X509Certificate cert = (X509Certificate)store.getCertificate("mykey"); in test_getPeerPrincipal()
122 KeyStore store = client.getStore(); in test_getLocalCertificates() local
123 Certificate cert = store.getCertificate("mykey"); in test_getLocalCertificates()
133 KeyStore store = client.getStore(); in test_getLocalPrincipal() local
134 X509Certificate cert = (X509Certificate)store.getCertificate("mykey"); in test_getLocalPrincipal()
470 private KeyStore store; field in SSLSessionTest.TestServer
479 store = provideKeys ? getKeyStore(keys) : null; in TestServer()
480 KeyManager[] keyManagers = store != null ? getKeyManagers(store) : null; in TestServer()
532 return store; in getStore()
[all …]
/libcore/ojluni/src/main/java/java/time/format/
DDateTimeTextProvider.java143 Object store = findStore(field, locale); in getText() local
144 if (store instanceof LocaleStore) { in getText()
145 return ((LocaleStore) store).getText(value, style); in getText()
221 Object store = findStore(field, locale); in getTextIterator() local
222 if (store instanceof LocaleStore) { in getTextIterator()
223 return ((LocaleStore) store).getTextIterator(style); in getTextIterator()
312 Object store = CACHE.get(key); in findStore() local
313 if (store == null) { in findStore()
314 store = createStore(field, locale); in findStore()
315 CACHE.putIfAbsent(key, store); in findStore()
[all …]
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DKeyStore4Test.java286 keyStore.store(os, password); in testStoreOutputStreamCharArray()
298 keyStore.store(os, null); in testStoreOutputStreamCharArray()
311 keyStore.store(os, "".toCharArray()); in testStoreOutputStreamCharArray()
324 keyStore.store(null, null); in testStoreOutputStreamCharArray()
337 uninitialized.store(null, null); in testStoreOutputStreamCharArray()
356 keyStore.store(new KeyStore.LoadStoreParameter() { in testStoreLoadStoreParameter()
372 keyStore.store(null); in testStoreLoadStoreParameter()
385 keyStore.store(new KeyStore.LoadStoreParameter() { in testStoreLoadStoreParameter()
404 keyStore.store(new KeyStore.LoadStoreParameter() { in testStoreLoadStoreParameter()
420 keyStore.store(new KeyStore.LoadStoreParameter() { in testStoreLoadStoreParameter()
[all …]
DKeyStore3Test.java58 mockKeyStore.store(null); in test_store()
66 mockKeyStore.store(null); in test_store()
DKeyStoreTest.java125 kss[i].store(null); in testLoadStore02()
136 kss[i].store(lParam); in testLoadStore02()
DKeyStore2Test.java155 keyTest.store(out, pssWord); in creatCertificate()
914 keyStore.store(null); in test_store_java_securityKeyStore_LoadStoreParameter()
927 keyStore.store(new ByteArrayOutputStream(), "pwd".toCharArray()); in test_store_java_io_OutputStream_char()
934 keyStore.store(null, "pwd".toCharArray()); in test_store_java_io_OutputStream_char()
DKeyStoreBuilderTest.java504 ks.store(fos, pass); in createKS()
/libcore/luni/src/test/java/libcore/java/security/cert/
DOldPKIXParametersTest.java182 KeyStore store = KeyStore.getInstance("PKCS12"); in testPKIXParametersKeyStore04() local
187 PKIXParameters p = new PKIXParameters(store); in testPKIXParametersKeyStore04()
192 store = KeyStore.getInstance("PKCS12"); in testPKIXParametersKeyStore04()
193 store.load(stream, new String(KeyStoreTestPKCS12.keyStorePassword) in testPKIXParametersKeyStore04()
198 PKIXParameters p = new PKIXParameters(store); in testPKIXParametersKeyStore04()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DPropertiesTest.java678 myProps.store(out, "A Header"); in test_storeLjava_io_OutputStreamLjava_lang_String()
712 myProps.store(new OutputStreamWriter(out), "A Header"); in test_storeLjava_io_WriterLjava_lang_String()
730 myProps.store((Writer) null, "some comments"); in test_storeLjava_io_WriterLjava_lang_String()
738 myProps.store(new OutputStreamWriter(new ByteArrayOutputStream()), in test_storeLjava_io_WriterLjava_lang_String()
745 myProps.store(new OutputStreamWriter(new ByteArrayOutputStream()), in test_storeLjava_io_WriterLjava_lang_String()
750 myProps.store(new OutputStreamWriter(new ByteArrayOutputStream()), in test_storeLjava_io_WriterLjava_lang_String()
967 props.store(baos, comment1 + '\r' + comment2); in testStore_scenario0()
976 props.store(baos, comment1 + '\n' + comment2); in testStore_scenario1()
985 props.store(baos, comment1 + '\r' + '\n' + comment2); in testStore_scenario2()
994 props.store(baos, comment1 + '\n' + '\r' + comment2); in testStore_scenario3()
[all …]
/libcore/ojluni/src/main/java/java/security/cert/
DPKIXParameters.java302 public void addCertStore(CertStore store) { in addCertStore() argument
303 if (store != null) { in addCertStore()
304 this.certStores.add(store); in addCertStore()
/libcore/ojluni/src/main/java/java/net/
DCookieManager.java153 public CookieManager(CookieStore store, in CookieManager() argument
161 if (store == null) { in CookieManager()
164 cookieJar = store; in CookieManager()
/libcore/ojluni/annotations/hiddenapi/java/util/
DProperties.java78 public void store(java.io.Writer writer, java.lang.String comments) throws java.io.IOException { in store() method in Properties
82 public void store(java.io.OutputStream out, java.lang.String comments) in store() method in Properties
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/
DHttpsURLConnectionTest.java100 private static File store; field in HttpsURLConnectionTest
104 store = File.createTempFile("key_store", "bks");
668 if (store != null) { in setUp()
672 FileOutputStream out = new FileOutputStream(store); in setUp()
687 if (store != null) { in tearDown()
688 store.delete(); in tearDown()
717 return store.getAbsolutePath(); in getKeyStoreFileName()
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
DPKIX.java249 for (CertStore store : stores) { in getTargetSubject()
253 store.getCertificates(sel); in getTargetSubject()
DBuilder.java450 for (CertStore store : certStores) { in addMatchingCerts()
453 store.getCertificates(selector); in addMatchingCerts()
DRevocationChecker.java278 for (CertStore store : stores) {
281 store.getCertificates(sel);
502 for (CertStore store : certStores) {
504 for (CRL crl : store.getCRLs(sel)) {
513 CertStoreHelper.isCausedByNetworkIssue(store.getType(),e)) {
DDistributionPointFetcher.java274 for (CertStore store : certStores) { in getCRLs()
276 for (CRL crl : store.getCRLs(xcs)) { in getCRLs()
285 savedCSE = new PKIX.CertStoreTypeException(store.getType(),cse); in getCRLs()
/libcore/luni/src/test/java/libcore/java/util/logging/
DOldMemoryHandlerTest.java56 p.store(bos, ""); in propertiesToInputStream()
DOldFileHandlerTest.java91 p.store(bos, ""); in propertiesToInputStream()
/libcore/support/src/test/java/tests/resources/manifest/
Dhyts_MANIFEST.MF22 com.ibm.ive.eccomm.client.services.registry.store; specification-version=1.0.0
/libcore/luni/src/test/java/libcore/java/net/
DAbstractCookiesTest.java1259 private CookieManager store(String[][] cookies, in store() method in AbstractCookiesTest
1309 CookieManager manager = store( in test_Put_Get_LURI_LMap()
1332 manager = store(new String[][] { cookies[2] }, responseHeaders, null); in test_Put_Get_LURI_LMap()
1340 manager = store(new String[][] { cookies[3] }, responseHeaders, null); in test_Put_Get_LURI_LMap()
1349 manager = store(new String[][] { cookies[4] }, responseHeaders, in test_Put_Get_LURI_LMap()
1357 manager = store(new String[][] { cookies[3] }, responseHeaders, in test_Put_Get_LURI_LMap()
1364 manager = store(new String[][] { cookies[5] }, responseHeaders, in test_Put_Get_LURI_LMap()
1422 CookieStore store = new FakeStore(); in testCookieManager_LCookieStore_LCookiePolicy() local
1423 CookieManager cookieManager = new CookieManager(store, in testCookieManager_LCookieStore_LCookiePolicy()
1427 assertSame(store, cookieManager.getCookieStore()); in testCookieManager_LCookieStore_LCookiePolicy()
[all …]
/libcore/ojluni/src/main/java/java/util/
DProperties.java717 store(out, comments); in save()
770 public void store(Writer writer, String comments) in store() method in Properties
817 public void store(OutputStream out, String comments) in store() method in Properties
/libcore/ojluni/src/main/java/java/security/
DKeyStore.java1409 public final void store(OutputStream stream, char[] password) in store() method in KeyStore
1439 public final void store(LoadStoreParameter param) in store() method in KeyStore