Home
last modified time | relevance | path

Searched refs:security (Results 1 – 25 of 61) sorted by relevance

123

/packages/apps/Settings/tests/app/src/com/android/settings/vpn2/
DCertInstallerHelper.java20 import android.security.Credentials;
21 import android.security.KeyStore;
40 import java.security.KeyStoreException;
41 import java.security.NoSuchAlgorithmException;
42 import java.security.KeyStore.PasswordProtection;
43 import java.security.KeyStore.PrivateKeyEntry;
44 import java.security.PrivateKey;
45 import java.security.UnrecoverableEntryException;
46 import java.security.cert.Certificate;
47 import java.security.cert.CertificateEncodingException;
[all …]
/packages/apps/CertInstaller/src/com/android/certinstaller/
DCredentialHelper.java26 import android.security.Credentials;
27 import android.security.KeyChain;
28 import android.security.IKeyChainService;
40 import java.security.KeyFactory;
41 import java.security.KeyStore.PasswordProtection;
42 import java.security.KeyStore.PrivateKeyEntry;
43 import java.security.KeyStore;
44 import java.security.NoSuchAlgorithmException;
45 import java.security.PrivateKey;
46 import java.security.cert.Certificate;
[all …]
DWiFiInstaller.java14 import android.security.Credentials;
15 import android.security.KeyStore;
23 import java.security.PrivateKey;
24 import java.security.interfaces.RSAPrivateKey;
DCertInstaller.java31 import android.security.Credentials;
32 import android.security.KeyChain;
33 import android.security.KeyChain.KeyChainConnection;
34 import android.security.KeyStore;
46 import java.security.cert.X509Certificate;
DUtil.java27 import java.security.MessageDigest;
28 import java.security.NoSuchAlgorithmException;
DCertInstallerMain.java26 import android.security.Credentials;
27 import android.security.KeyChain;
/packages/apps/Email/provider_src/com/android/email/activity/setup/
DAccountSecurity.java160 final SecurityPolicy security = SecurityPolicy.getInstance(this); in onCreate() local
161 security.clearNotification(); in onCreate()
378 SecurityPolicy security = SecurityPolicy.getInstance(this); in tryAdvanceSecurity() local
380 if (!security.isActiveAdmin()) { in tryAdvanceSecurity()
385 repostNotification(account, security); in tryAdvanceSecurity()
395 repostNotification(account, security); in tryAdvanceSecurity()
404 security.getAdminComponent()); in tryAdvanceSecurity()
416 if (security.isActive(null)) { in tryAdvanceSecurity()
421 security.syncAccount(account); in tryAdvanceSecurity()
422 security.clearNotification(); in tryAdvanceSecurity()
[all …]
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
DSSLUtils.java23 import android.security.KeyChain;
24 import android.security.KeyChainException;
35 import java.security.KeyManagementException;
36 import java.security.NoSuchAlgorithmException;
37 import java.security.Principal;
38 import java.security.PrivateKey;
39 import java.security.PublicKey;
40 import java.security.cert.Certificate;
41 import java.security.cert.CertificateException;
42 import java.security.cert.CertificateFactory;
[all …]
DSSLSocketFactory.java57 import java.security.KeyManagementException;
58 import java.security.KeyStore;
59 import java.security.KeyStoreException;
60 import java.security.NoSuchAlgorithmException;
61 import java.security.SecureRandom;
62 import java.security.UnrecoverableKeyException;
DCertificateRequestor.java24 import android.security.KeyChain;
25 import android.security.KeyChainAliasCallback;
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/
DKeyChainTestActivity.java24 import android.security.KeyChain;
25 import android.security.KeyChainAliasCallback;
26 import android.security.KeyChainException;
32 import java.security.KeyStore;
33 import java.security.Principal;
34 import java.security.PrivateKey;
35 import java.security.cert.CertificateException;
36 import java.security.cert.X509Certificate;
45 import libcore.java.security.TestKeyStore;
DKeyChainServiceTest.java25 import android.security.Credentials;
26 import android.security.IKeyChainService;
27 import android.security.KeyStore;
30 import java.security.KeyStore.PrivateKeyEntry;
31 import java.security.cert.Certificate;
34 import libcore.java.security.TestKeyStore;
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DWifiConfigHelper.java74 WifiConfiguration config, WifiSecurity security) { in setConfigKeyManagementBySecurity() argument
77 switch (security) { in setConfigKeyManagementBySecurity()
155 WifiSecurity security) { in getConfiguration() argument
156 WifiConfiguration config = getFromConfiguredNetworks(context, ssid, security); in getConfiguration()
162 setConfigKeyManagementBySecurity(config, security); in getConfiguration()
239 WifiSecurity security) { in getFromConfiguredNetworks() argument
252 if (configuredSecurity.equals(security)) { in getFromConfiguredNetworks()
DWifiConnectionActivity.java40 public static Intent createIntent(Context context, AccessPoint result, WifiSecurity security) { in createIntent() argument
43 .putExtra(EXTRA_WIFI_SECURITY_NAME, security.name()); in createIntent()
47 final WifiSecurity security = WifiSecurity.getSecurity(result); in createIntent() local
48 return createIntent(context, result, security); in createIntent()
52 final WifiSecurity security = WifiSecurity.getSecurity(configuration); in createIntent() local
56 .putExtra(EXTRA_WIFI_SECURITY_NAME, security.name()); in createIntent()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DHostAuth.java168 String security = ""; in getSchemeString() local
171 security = "+ssl+"; in getSchemeString()
174 security = "+ssl+trustallcerts"; in getSchemeString()
177 security = "+tls+"; in getSchemeString()
180 security = "+tls+trustallcerts"; in getSchemeString()
185 if (TextUtils.isEmpty(security)) { in getSchemeString()
189 if (!security.endsWith("+")) { in getSchemeString()
190 security += "+"; in getSchemeString()
192 security += SSLUtils.escapeForSchemeName(clientAlias); in getSchemeString()
195 return protocol + security; in getSchemeString()
/packages/apps/KeyChain/src/com/android/keychain/
DKeyChainService.java34 import android.security.Credentials;
35 import android.security.IKeyChainService;
36 import android.security.KeyChain;
37 import android.security.KeyStore;
42 import java.security.cert.CertificateException;
43 import java.security.cert.CertificateEncodingException;
44 import java.security.cert.CertificateFactory;
45 import java.security.cert.X509Certificate;
DKeyChainActivity.java36 import android.security.Credentials;
37 import android.security.IKeyChainAliasCallback;
38 import android.security.KeyChain;
39 import android.security.KeyStore;
53 import java.security.cert.CertificateException;
54 import java.security.cert.CertificateFactory;
55 import java.security.cert.X509Certificate;
62 import javax.security.auth.x500.X500Principal;
/packages/apps/Settings/src/com/android/settings/
DUserCredentialsSettings.java32 import android.security.Credentials;
33 import android.security.IKeyChainService;
34 import android.security.KeyChain;
35 import android.security.KeyChain.KeyChainConnection;
36 import android.security.KeyStore;
DCredentialStorage.java34 import android.security.Credentials;
35 import android.security.KeyChain;
36 import android.security.KeyChain.KeyChainConnection;
37 import android.security.KeyStore;
51 import sun.security.util.ObjectIdentifier;
52 import sun.security.x509.AlgorithmId;
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DRealSystemFacade.java29 import android.security.NetworkSecurityPolicy;
30 import android.security.net.config.ApplicationConfig;
32 import java.security.GeneralSecurityException;
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DFingerprint.java21 import java.security.DigestInputStream;
22 import java.security.MessageDigest;
23 import java.security.NoSuchAlgorithmException;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DMD5Calculator.java21 import java.security.MessageDigest;
31 } catch (java.security.NoSuchAlgorithmException e) { in checksum()
/packages/apps/Settings/src/com/android/settings/vpn2/
DVpnUtils.java20 import android.security.Credentials;
21 import android.security.KeyStore;
DConfigDialogFragment.java31 import android.security.Credentials;
32 import android.security.KeyStore;
/packages/apps/KeyChain/support/src/com/android/keychain/tests/support/
DKeyChainServiceTestSupport.java23 import android.security.KeyChain;
24 import android.security.KeyStore;

123