Home
last modified time | relevance | path

Searched refs:cert (Results 1 – 13 of 13) sorted by relevance

/packages/apps/CertInstaller/src/com/android/certinstaller/
DCredentialHelper.java41 import java.security.cert.Certificate;
42 import java.security.cert.CertificateEncodingException;
43 import java.security.cert.CertificateException;
44 import java.security.cert.CertificateFactory;
45 import java.security.cert.X509Certificate;
107 for (X509Certificate cert : mCaCerts) { in onSaveStates()
108 certs.add(cert.getEncoded()); in onSaveStates()
125 for (byte[] cert : certs) { in onRestoreStates()
126 parseCert(cert); in onRestoreStates()
141 X509Certificate cert = (X509Certificate) in parseCert() local
[all …]
DCertInstaller.java40 import java.security.cert.X509Certificate;
220 X509Certificate cert = mCredentials.getUserCertificate(); in installOthers() local
221 if (cert != null) { in installOthers()
223 String key = Util.toMd5(cert.getPublicKey().getEncoded()); in installOthers()
/packages/apps/Browser/src/com/android/browser/
DPageDialogsHandler.java243 SslCertificate cert = tab.getWebView().getCertificate(); in showSSLCertificate() local
244 if (cert == null) { in showSSLCertificate()
249 mSSLCertificateDialog = createSslCertificateDialog(cert, tab.getSslCertificateError()) in showSSLCertificate()
283 SslCertificate cert = error.getCertificate(); in showSSLCertificateOnError() local
284 if (cert == null) { in showSSLCertificateOnError()
291 mSSLCertificateOnErrorDialog = createSslCertificateDialog(cert, error) in showSSLCertificateOnError()
DKeyChainLookup.java25 import java.security.cert.X509Certificate;
/packages/apps/KeyChain/src/com/android/keychain/
DKeyChainActivity.java46 import java.security.cert.CertificateException;
47 import java.security.cert.CertificateFactory;
48 import java.security.cert.X509Certificate;
336 X509Certificate cert; in doInBackground() local
339 cert = (X509Certificate)cf.generateCertificate(in); in doInBackground()
344 X500Principal subjectPrincipal = cert.getSubjectX500Principal(); in doInBackground()
DKeyChainService.java38 import java.security.cert.CertificateException;
39 import java.security.cert.CertificateFactory;
40 import java.security.cert.X509Certificate;
/packages/apps/Settings/src/com/android/settings/
DTrustedCredentialsSettings.java42 import java.security.cert.CertificateEncodingException;
43 import java.security.cert.X509Certificate;
230 X509Certificate cert = (X509Certificate) mStore.getCertificate(alias, true); in doInBackground() local
235 cert)); in doInBackground()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
DSSLUtils.java31 import java.security.cert.CertificateException;
32 import java.security.cert.X509Certificate;
DEmailClientConnectionManager.java35 import java.security.cert.CertificateException;
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/
DKeyChainTestActivity.java35 import java.security.cert.CertificateException;
36 import java.security.cert.X509Certificate;
DKeyChainServiceTest.java31 import java.security.cert.Certificate;
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiConfigController.java696 private void setCertificate(Spinner spinner, String prefix, String cert) { in setCertificate() argument
697 if (cert != null && cert.startsWith(prefix)) { in setCertificate()
698 setSelection(spinner, cert.substring(prefix.length())); in setCertificate()
/packages/apps/Exchange/exchange2/src/com/android/exchange/
DEasSyncService.java102 import java.security.cert.CertificateException;