Searched refs:cert (Results 26 - 32 of 32) sorted by relevance

12

/frameworks/base/keystore/tests/src/android/security/
H A DAndroidKeyPairGeneratorTest.java27 import java.security.cert.Certificate;
28 import java.security.cert.CertificateFactory;
29 import java.security.cert.X509Certificate;
/frameworks/base/tests/CoreTests/android/core/
H A DSSLSocketTest.java37 import java.security.cert.X509Certificate;
452 // Regression test for #1204316: Missing client cert unit test. Passes on
815 assertTrue("Client cert chain must not be null", clientChain != null);
816 assertTrue("Client cert chain must not be empty", clientChain.length != 0);
823 assertTrue("Server cert chain must not be null", serverChain != null);
824 assertTrue("Server cert chain must not be empty", serverChain.length != 0);
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DDevicePolicyManagerService.java124 import java.security.cert.CertificateException;
125 import java.security.cert.CertificateFactory;
126 import java.security.cert.X509Certificate;
2894 X509Certificate cert = parseCert(certBuffer);
2895 pemCert = Credentials.convertToPem(cert);
2897 Log.e(LOG_TAG, "Problem converting cert", ce);
2900 Log.e(LOG_TAG, "Problem reading cert", ioe);
2955 public boolean installKeyPair(ComponentName who, byte[] privKey, byte[] cert, String alias) { argument
2968 return keyChain.installKeyPair(privKey, cert, alias);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiConfigStore.java76 import java.security.cert.Certificate;
77 import java.security.cert.CertificateException;
3902 Certificate cert = (X509Certificate) factory.generateCertificate(
3905 if (cert != null) {
3906 mNeedsSoftwareKeystore = hasHardwareBackedKey(cert);
4142 // Remove client key+cert
4164 private boolean putCertInKeyStore(String name, Certificate cert) { argument
4166 byte[] certData = Credentials.convertToPem(cert);
4181 if (DBG) Log.d(TAG, "removing client private key and user cert");
4189 if (DBG) Log.d(TAG, "removing CA cert");
[all...]
/frameworks/webview/chromium/java/com/android/webview/chromium/
H A DWebViewContentsClientAdapter.java72 import java.security.cert.X509Certificate;
/frameworks/base/core/java/android/content/pm/
H A DPackageParser.java68 import java.security.cert.Certificate;
69 import java.security.cert.CertificateEncodingException;
/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageManagerService.java198 import java.security.cert.CertificateEncodingException;
199 import java.security.cert.CertificateException;
8578 // not signed with the same cert as the caller.
8584 "Caller does not have same cert as new installer package "
8590 // be signed with the same cert as the caller.
8601 "Caller does not have same cert as old installer package "
10655 // If the defining package is signed with our cert, it's okay. This

Completed in 344 milliseconds

12