OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:getcertificatechain
(Results
1 - 25
of
55
) sorted by null
1
2
3
/libcore/luni/src/test/java/libcore/java/security/cert/
PKIXParametersTest.java
37
ks.setKeyEntry("key", pke.getPrivateKey(), password, pke.
getCertificateChain
());
38
ks.setCertificateEntry("cert", pke.
getCertificateChain
()[0]);
44
keyOnly.setKeyEntry("key", pke.getPrivateKey(), password, pke.
getCertificateChain
());
/libcore/support/src/test/java/libcore/javax/net/ssl/
ForwardingX509ExtendedKeyManager.java
48
public X509Certificate[]
getCertificateChain
(String alias) {
49
return delegate.
getCertificateChain
(alias);
TestKeyManager.java
122
public X509Certificate[]
getCertificateChain
(String alias) {
123
out.print("TestKeyManager.
getCertificateChain
");
126
return dumpCerts(keyManager.
getCertificateChain
(alias));
/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/
X509ExtendedKeyManagerTest.java
73
* @see javax.net.ssl.X509KeyManager#
getCertificateChain
(java.lang.String)
75
public X509Certificate[]
getCertificateChain
(String alias) {
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
KeyManagerImplTest.java
56
assertNull(km.
getCertificateChain
("alias"));
79
assertTrue(km.
getCertificateChain
("ssl_test_store") != null);
/libcore/luni/src/test/java/tests/api/javax/net/ssl/
X509ExtendedKeyManagerTest.java
57
* @see javax.net.ssl.X509KeyManager#
getCertificateChain
(java.lang.String)
59
public X509Certificate[]
getCertificateChain
(String arg0) {
147
* @see javax.net.ssl.X509KeyManager#
getCertificateChain
(java.lang.String)
149
public X509Certificate[]
getCertificateChain
(String alias) {
/libcore/luni/src/test/java/libcore/javax/net/ssl/
TrustManagerFactoryTest.java
156
X509Certificate[] chain = (X509Certificate[]) pke.
getCertificateChain
();
214
X509Certificate[] chain = (X509Certificate[])pke.
getCertificateChain
();
252
ks.setKeyEntry("key", pke.getPrivateKey(), "pw".toCharArray(), pke.
getCertificateChain
());
258
trustManager.checkServerTrusted((X509Certificate[]) pke.
getCertificateChain
(), "RSA");
295
X509Certificate[] chain = (X509Certificate[]) privateKeyEntry.
getCertificateChain
();
KeyManagerFactoryTest.java
224
assertNull(keyType, km.
getCertificateChain
(alias));
230
X509Certificate[] certificateChain = km.
getCertificateChain
(alias);
257
Arrays.<Certificate>asList(privateKeyEntry.
getCertificateChain
()),
/development/samples/KeyChainDemo/src/com/example/android/keychain/
KeyChainDemoActivity.java
203
X509Certificate[] certs =
getCertificateChain
(alias);
262
private X509Certificate[]
getCertificateChain
(String alias) {
264
return KeyChain.
getCertificateChain
(this, alias);
290
return
getCertificateChain
(getAlias()) != null
/libcore/crypto/src/test/java/org/conscrypt/
TrustManagerImplTest.java
73
X509Certificate[] chain3 = (X509Certificate[])pke.
getCertificateChain
();
106
X509Certificate[] chain3 = (X509Certificate[])pke.
getCertificateChain
();
120
X509Certificate[] chain3 = (X509Certificate[])pke.
getCertificateChain
();
141
X509Certificate[] chain3 = (X509Certificate[]) pke.
getCertificateChain
();
/libcore/crypto/src/main/java/org/conscrypt/
KeyManagerImpl.java
97
public X509Certificate[]
getCertificateChain
(String alias) {
102
Certificate[] certs = hash.get(alias).
getCertificateChain
();
154
final Certificate[] chain = entry.
getCertificateChain
();
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/
X509KeyManagerImpl.java
200
public X509Certificate[]
getCertificateChain
(String s) {
203
X509Certificate[] cert = (X509Certificate[]) keyTest.
getCertificateChain
(s);
215
Certificate[] cert = keyTest.
getCertificateChain
(s);
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
KeyStore2Test.java
317
* java.security.KeyStore#
getCertificateChain
(java.lang.String)
321
// java.security.KeyStore.
getCertificateChain
(java.lang.String)
330
keyTest.
getCertificateChain
("anAlias");
343
Certificate[] certRes = keyTest.
getCertificateChain
("alias2");
344
assertEquals("there are more than two certificate returned from
getCertificateChain
",
346
assertEquals("the first certificate returned from
getCertificateChain
is not correct",
348
assertEquals("the second certificate returned from
getCertificateChain
is not correct",
350
Certificate[] certResNull = keyTest.
getCertificateChain
("alias1");
351
assertNull("the certificate chain returned from
getCertificateChain
is NOT null",
355
keyTest.
getCertificateChain
(null)
[
all
...]
KeyStorePrivateKeyEntryTest.java
75
Certificate[] chain = privateKeyEntry.
getCertificateChain
();
KSPrivateKeyEntryTest.java
136
* Test for <code>
getCertificateChain
()</code> method Assertion: returns
143
Certificate[] res = ksPKE.
getCertificateChain
();
/libcore/luni/src/test/java/libcore/java/security/
KeyStoreTest.java
234
getPrivateKey().
getCertificateChain
());
273
ks.setKeyEntry(alias, privateKey.getPrivateKey(), null, privateKey.
getCertificateChain
());
288
privateKey.
getCertificateChain
());
303
privateKey.
getCertificateChain
());
358
assertEquals(Arrays.asList(getPrivateKey().
getCertificateChain
()),
359
Arrays.asList(privateKey.
getCertificateChain
()));
393
assertEquals(Arrays.asList(getPrivateKey().
getCertificateChain
()),
622
keyStore.
getCertificateChain
(null);
632
keyStore.
getCertificateChain
(null);
640
assertNull(keyStore.
getCertificateChain
(""));
[
all
...]
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/
KeyChainTestActivity.java
246
@Override public X509Certificate[]
getCertificateChain
(String alias) {
248
log("KeyChainKeyManager
getCertificateChain
...");
250
= KeyChain.
getCertificateChain
(KeyChainTestActivity.this, alias);
KeyChainServiceTest.java
161
Certificate intermediate1 = pke1.
getCertificateChain
()[1];
172
Certificate intermediate2 = pke2.
getCertificateChain
()[1];
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
KeyStorePrivateKeyEntryTest.java
75
Certificate[] chain = privateKeyEntry.
getCertificateChain
();
KSPrivateKeyEntryTest.java
142
* Test for <code>
getCertificateChain
()</code> method Assertion: returns
149
Certificate[] res = ksPKE.
getCertificateChain
();
KeyStore2Test.java
289
* @tests java.security.KeyStore#
getCertificateChain
(java.lang.String)
293
// java.security.KeyStore.
getCertificateChain
(java.lang.String)
309
.
getCertificateChain
("alias2");
311
+ "from
getCertificateChain
", certRes.length == 2);
312
assertTrue("the certificates returned from
getCertificateChain
"
317
.
getCertificateChain
("alias1");
319
+ "
getCertificateChain
is NOT null", certResNull);
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
SSLUtils.java
223
@Override public abstract X509Certificate[]
getCertificateChain
(String alias);
269
public X509Certificate[]
getCertificateChain
(String alias) {
310
certificateChain = KeyChain.
getCertificateChain
(context, alias);
363
public X509Certificate[]
getCertificateChain
(String alias) {
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/
SSLClientCertificateRequest.java
39
// KeyChain.
getCertificateChain
() and KeyChain.getPrivateKey(). Unfortunately, these APIs are
86
chain = KeyChain.
getCertificateChain
(context, mAlias);
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/
KeyStore_Impl1Test.java
235
* <code>
getCertificateChain
(String alias)</code>
263
kss[i].
getCertificateChain
("");
503
cc = ((KeyStore.PrivateKeyEntry) en).
getCertificateChain
();
520
cc = kss[i].
getCertificateChain
(aliases[j]);
618
assertNull("Incorrect CertificateChain", kss[i].
getCertificateChain
(aliases[j]));
711
* <code>
getCertificateChain
(String alias)</code>
724
* setKeyEntry(..) stores used entry, getKey(..) returns it and
getCertificateChain
(...)
[
all
...]
KeyStore_Impl2Test.java
98
assertNull("
getCertificateChain
must return null", keyS
99
.
getCertificateChain
(alias));
221
keyS.
getCertificateChain
(alias);
Completed in 880 milliseconds
1
2
3