Home
last modified time | relevance | path

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

1234

/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 …]
DCertInstaller.java33 import android.security.Credentials;
34 import android.security.KeyChain;
35 import android.security.KeyChain.KeyChainConnection;
36 import android.security.KeyStore;
48 import java.security.cert.X509Certificate;
DUtil.java27 import java.security.MessageDigest;
28 import java.security.NoSuchAlgorithmException;
/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/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/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/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/KeyChain/src/com/android/keychain/
DKeyChainService.java35 import android.security.Credentials;
36 import android.security.IKeyChainService;
37 import android.security.KeyChain;
38 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.java35 import android.security.Credentials;
36 import android.security.IKeyChainAliasCallback;
37 import android.security.KeyChain;
38 import android.security.KeyStore;
52 import java.security.cert.CertificateException;
53 import java.security.cert.CertificateFactory;
54 import java.security.cert.X509Certificate;
61 import javax.security.auth.x500.X500Principal;
/packages/apps/Settings/src/com/android/settings/
DCredentialStorage.java34 import android.security.Credentials;
35 import android.security.KeyChain;
36 import android.security.KeyChain.KeyChainConnection;
37 import android.security.KeyStore;
51 import com.android.settings.security.ConfigureKeyGuardDialog;
57 import sun.security.util.ObjectIdentifier;
58 import sun.security.x509.AlgorithmId;
DUserCredentialsSettings.java35 import android.security.Credentials;
36 import android.security.IKeyChainService;
37 import android.security.KeyChain;
38 import android.security.KeyChain.KeyChainConnection;
39 import android.security.KeyStore;
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DTestCertActivity.java41 import java.security.KeyFactory;
42 import java.security.NoSuchAlgorithmException;
43 import java.security.PublicKey;
44 import java.security.spec.InvalidKeySpecException;
45 import java.security.spec.X509EncodedKeySpec;
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DAddWifiFragment.java169 int security; in connectToAccessPoint() local
171 security = mSpinnerLineItem.getItem(mSelectedPosition).getSecurityType(); in connectToAccessPoint()
174 security = mAccessPoint.getSecurity(); in connectToAccessPoint()
176 switch (security) { in connectToAccessPoint()
201 Log.w(TAG, "invalid security type: " + security); in connectToAccessPoint()
DAccessPointSecurity.java43 for (int security : SECURITY_TYPES) { in getSecurityTypes()
44 securities.add(new AccessPointSecurity(context, security)); in getSecurityTypes()
/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/providers/DownloadProvider/src/com/android/providers/downloads/
DRealSystemFacade.java30 import android.security.NetworkSecurityPolicy;
31 import android.security.net.config.ApplicationConfig;
33 import java.security.GeneralSecurityException;
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/imap/
DDigestMd5Utils.java30 import java.security.MessageDigest;
31 import java.security.NoSuchAlgorithmException;
32 import java.security.SecureRandom;
/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/KeyChain/support/src/com/android/keychain/tests/support/
DKeyChainServiceTestSupport.java23 import android.security.KeyChain;
24 import android.security.KeyStore;

1234