/frameworks/base/keystore/java/android/security/ |
IKeyChainService.aidl | 27 byte[] getCertificate(String alias);
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/cert/ |
TrustAnchor_ImplTest.java | 69 (X509Certificate)ks.getCertificate(certAlias), 73 (X509Certificate)ks.getCertificate(certAlias), 77 (X509Certificate)ks.getCertificate(certAlias), 81 (X509Certificate)ks.getCertificate(certAlias), 100 (X509Certificate)ks.getCertificate(certAlias), 122 (X509Certificate)ks.getCertificate(certAlias), 175 (X509Certificate)ks.getCertificate(certAlias), 188 (X509Certificate)ks.getCertificate(certAlias), 201 (X509Certificate)ks.getCertificate(certAlias), 214 (X509Certificate)ks.getCertificate(certAlias) [all...] |
/frameworks/base/core/java/android/net/http/ |
SslError.java | 158 public SslCertificate getCertificate() { 225 " certificate: " + getCertificate() +
|
/libcore/luni/src/test/java/libcore/java/security/ |
KeyStoreTest.java | 220 getPrivateKey().getCertificate()); 294 setCertificate(ks, alias, getPrivateKey().getCertificate()); 315 assertEquals(getPrivateKey().getCertificate(), privateKey.getCertificate()); 336 assertEquals(getPrivateKey().getCertificate(), actual); 340 assertEquals(getPrivateKey2().getCertificate(), actual); 345 assertEquals(getPrivateKey().getCertificate(), 608 keyStore.getCertificate(null); 618 keyStore.getCertificate(null); 626 assertNull(keyStore.getCertificate("")); [all...] |
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/ |
KeyChainServiceTest.java | 178 Credentials.convertToPem(pke1.getCertificate()))); 186 Credentials.convertToPem(pke2.getCertificate()))); 212 byte[] certificate = mService.getCertificate(alias1); 214 assertEquals(Arrays.toString(Credentials.convertToPem(pke1.getCertificate())), 226 mService.getCertificate(alias2);
|
/packages/apps/Email/src/com/android/email/view/ |
CertificateSelector.java | 103 public String getCertificate() { 129 return new SavedState(super.onSaveInstanceState(), getCertificate());
|
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/build/ |
DebugKeyProvider.java | 147 public Certificate getCertificate() throws KeyStoreException, NoSuchAlgorithmException, 150 return mEntry.getCertificate();
|
MakeIdentity.java | 86 c.setPublicKey(entry.getCertificate().getPublicKey());
|
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
DigitalSignatureTest.java | 45 cert = entry.getCertificate();
|
/external/bouncycastle/src/main/java/org/bouncycastle/x509/ |
X509CertStoreSelector.java | 61 cs.setCertificate(selector.getCertificate());
|
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
TrustedCertificateKeyStoreSpi.java | 50 return store.getCertificate(alias);
|
TrustedCertificateStore.java | 127 public Certificate getCertificate(String alias) { 128 return getCertificate(alias, false); 131 public Certificate getCertificate(String alias, boolean includeDeletedSystem) { 272 return getCertificate(alias, includeDeletedSystem) != null;
|
/libcore/luni/src/test/java/libcore/javax/crypto/ |
CipherTest.java | 109 .getPrivateKey("RSA", "RSA").getCertificate();
|
/external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/ |
JDKX509CertificateFactory.java | 64 return getCertificate(); 72 private Certificate getCertificate() 190 return getCertificate();
|
/libcore/luni/src/main/java/org/apache/harmony/security/provider/cert/ |
X509CertFactoryImpl.java | 105 return getCertificate(decodePEM(inStream, CERT_BOUND_SUFFIX)); 109 return getCertificate(inStream); 188 result.add(getCertificate(inStream)); 190 result.add(getCertificate(encoding)); 600 private static Certificate getCertificate(byte[] encoding) 630 private static Certificate getCertificate(InputStream inStream) [all...] |
/libcore/luni/src/test/java/org/apache/harmony/xnet/provider/jsse/ |
TrustedCertificateStoreTest.java | 260 store.getCertificate(null); 264 assertNull(store.getCertificate("")); 432 PublicKey publicKey = getPrivate().getCertificate().getPublicKey(); 528 assertEquals(x, store.getCertificate(alias)); 545 assertNull(store.getCertificate(alias)); 550 store.getCertificate(alias, true) != null);
|
/packages/apps/Browser/src/com/android/browser/ |
PageDialogsHandler.java | 205 (view != null && view.getCertificate() != null)) { 241 SslCertificate cert = tab.getWebView().getCertificate(); 281 SslCertificate cert = error.getCertificate();
|
/cts/tests/tests/security/src/android/security/cts/ |
CertificateTest.java | 73 X509Certificate certificate = (X509Certificate) keyStore.getCertificate(alias);
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
KSPrivateKeyEntryTest.java | 158 * Test for <code>getCertificate()</code> method 165 Certificate res = ksPKE.getCertificate();
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
KSPrivateKeyEntryTest.java | 152 * Test for <code>getCertificate()</code> method 159 Certificate res = ksPKE.getCertificate();
|
KeyStore2Test.java | 244 * java.security.KeyStore#getCertificate(java.lang.String) 248 // java.security.KeyStore.getCertificate(java.lang.String) 256 keyTest.getCertificate("anAlias"); 267 Certificate certRes = keyTest.getCertificate("alias1"); 268 assertEquals("the public key of the certificate from getCertificate() " 276 Certificate cert2 = keyTest.getCertificate("alias2"); 527 Certificate resultCert = keyTest.getCertificate("alias1"); 528 assertEquals("the public key of the certificate from getCertificate() " 781 assertEquals(new MyCertificate(type, testEncoding), pkeActual1.getCertificate()); [all...] |
/sdk/sdkmanager/libs/sdklib/tests/src/com/android/sdklib/internal/build/ |
DebugKeyProviderTest.java | 78 X509Certificate certificate = (X509Certificate) provider.getCertificate();
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/ |
KeyStore_Impl3Test.java | 194 assertEquals("Incorrect entry", kss[i].getCertificate(aliases[4]), 195 kss1[i].getCertificate(aliases[4]));
|
/libcore/luni/src/test/java/tests/api/javax/net/ssl/ |
SSLSessionTest.java | 80 X509Certificate cert = (X509Certificate)store.getCertificate("mykey"); 139 Certificate cert = store.getCertificate("mykey"); 150 X509Certificate cert = (X509Certificate)store.getCertificate("mykey");
|
/external/apache-harmony/auth/src/test/java/common/javax/security/auth/x500/ |
X500PrivateCredentialTest.java | 158 X509Certificate c= cred.getCertificate();
|