Home
last modified time | relevance | path

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

12345678910>>...13

/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 …]
/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;
38 import android.security.keymaster.KeymasterArguments;
39 import android.security.keymaster.KeymasterCertificateChain;
40 import android.security.keystore.AttestationUtils;
41 import android.security.keystore.DeviceIdAttestationException;
42 import android.security.keystore.KeyGenParameterSpec;
43 import android.security.keystore.ParcelableKeyGenParameterSpec;
[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/SecureElement/src/com/android/se/security/ara/
DAraController.java36 package com.android.se.security.ara;
42 import com.android.se.security.AccessRuleCache;
43 import com.android.se.security.ChannelAccess;
44 import com.android.se.security.gpac.BerTlv;
45 import com.android.se.security.gpac.ParserException;
46 import com.android.se.security.gpac.REF_AR_DO;
47 import com.android.se.security.gpac.Response_ALL_AR_DO;
48 import com.android.se.security.gpac.Response_DO_Factory;
51 import java.security.AccessControlException;
DAccessRuleApplet.java36 package com.android.se.security.ara;
39 import com.android.se.security.CommandApdu;
40 import com.android.se.security.ResponseApdu;
41 import com.android.se.security.gpac.BerTlv;
42 import com.android.se.security.gpac.ParserException;
43 import com.android.se.security.gpac.Response_DO_Factory;
44 import com.android.se.security.gpac.Response_RefreshTag_DO;
48 import java.security.AccessControlException;
/packages/apps/Settings/src/com/android/settings/wifi/dpp/
DWifiNetworkConfig.java60 WifiNetworkConfig(String security, String ssid, String preSharedKey, in WifiNetworkConfig() argument
62 mSecurity = security; in WifiNetworkConfig()
94 final String security = intent.getStringExtra(WifiDppUtils.EXTRA_WIFI_SECURITY); in getValidConfigOrNull() local
103 return getValidConfigOrNull(security, ssid, preSharedKey, hiddenSsid, networkId, isHotspot); in getValidConfigOrNull()
106 public static WifiNetworkConfig getValidConfigOrNull(String security, String ssid, in getValidConfigOrNull() argument
108 if (!isValidConfig(security, ssid, preSharedKey, hiddenSsid)) { in getValidConfigOrNull()
112 return new WifiNetworkConfig(security, ssid, preSharedKey, hiddenSsid, networkId, in getValidConfigOrNull()
125 public static boolean isValidConfig(String security, String ssid, String preSharedKey, in isValidConfig() argument
127 if (!TextUtils.isEmpty(security) && !SECURITY_NO_PASSWORD.equals(security)) { in isValidConfig()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/dpp/
DWifiNetworkConfig.java60 WifiNetworkConfig(String security, String ssid, String preSharedKey, in WifiNetworkConfig() argument
62 mSecurity = security; in WifiNetworkConfig()
94 final String security = intent.getStringExtra(WifiDppUtils.EXTRA_WIFI_SECURITY); in getValidConfigOrNull() local
103 return getValidConfigOrNull(security, ssid, preSharedKey, hiddenSsid, networkId, isHotspot); in getValidConfigOrNull()
106 public static WifiNetworkConfig getValidConfigOrNull(String security, String ssid, in getValidConfigOrNull() argument
108 if (!isValidConfig(security, ssid, preSharedKey, hiddenSsid)) { in getValidConfigOrNull()
112 return new WifiNetworkConfig(security, ssid, preSharedKey, hiddenSsid, networkId, in getValidConfigOrNull()
125 public static boolean isValidConfig(String security, String ssid, String preSharedKey, in isValidConfig() argument
127 if (!TextUtils.isEmpty(security) && !SECURITY_NO_PASSWORD.equals(security)) { in isValidConfig()
/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;
/packages/services/Car/service/src/com/android/car/trust/
DCarTrustedDeviceService.java25 import android.security.keystore.KeyGenParameterSpec;
26 import android.security.keystore.KeyProperties;
37 import java.security.InvalidAlgorithmParameterException;
38 import java.security.InvalidKeyException;
39 import java.security.Key;
40 import java.security.KeyStore;
41 import java.security.KeyStoreException;
42 import java.security.NoSuchAlgorithmException;
43 import java.security.NoSuchProviderException;
44 import java.security.UnrecoverableKeyException;
[all …]
/packages/apps/SecureElement/src/com/android/se/security/arf/PKCS15/
DEFACConditions.java40 package com.android.se.security.arf.pkcs15;
45 import com.android.se.security.ApduFilter;
46 import com.android.se.security.ChannelAccess;
47 import com.android.se.security.arf.ASN1;
48 import com.android.se.security.arf.DERParser;
49 import com.android.se.security.arf.SecureElement;
50 import com.android.se.security.gpac.AID_REF_DO;
51 import com.android.se.security.gpac.Hash_REF_DO;
DEFACRules.java40 package com.android.se.security.arf.pkcs15;
46 import com.android.se.security.arf.ASN1;
47 import com.android.se.security.arf.DERParser;
48 import com.android.se.security.arf.SecureElement;
49 import com.android.se.security.arf.SecureElementException;
50 import com.android.se.security.gpac.AID_REF_DO;
DEFACMain.java40 package com.android.se.security.arf.pkcs15;
45 import com.android.se.security.arf.ASN1;
46 import com.android.se.security.arf.DERParser;
47 import com.android.se.security.arf.SecureElement;
48 import com.android.se.security.arf.SecureElementException;
DEFDIR.java36 package com.android.se.security.arf.pkcs15;
40 import com.android.se.security.arf.ASN1;
41 import com.android.se.security.arf.DERParser;
42 import com.android.se.security.arf.SecureElement;
43 import com.android.se.security.arf.SecureElementException;
DEFDODF.java36 package com.android.se.security.arf.pkcs15;
41 import com.android.se.security.arf.ASN1;
42 import com.android.se.security.arf.DERParser;
43 import com.android.se.security.arf.SecureElement;
44 import com.android.se.security.arf.SecureElementException;
DPKCS15Handler.java40 package com.android.se.security.arf.pkcs15;
45 import com.android.se.security.arf.SecureElement;
46 import com.android.se.security.arf.SecureElementException;
49 import java.security.AccessControlException;
50 import java.security.cert.CertificateException;
/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;
/packages/services/Car/EncryptionRunner/src/android/car/encryptionrunner/
DUkey2EncryptionRunner.java24 import com.google.security.cryptauth.lib.securegcm.D2DConnectionContext;
25 import com.google.security.cryptauth.lib.securegcm.Ukey2Handshake;
27 import java.security.SignatureException;
51 } catch (com.google.security.cryptauth.lib.securegcm.HandshakeException e) { in initHandshake()
74 } catch (com.google.security.cryptauth.lib.securegcm.HandshakeException in respondToInitRequest()
115 } catch (com.google.security.cryptauth.lib.securegcm.HandshakeException in continueHandshake()
172 } catch (com.google.security.cryptauth.lib.securegcm.HandshakeException e) { in verifyPin()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/wifi/
DWifiConfigurationProvider.java34 import java.security.Key;
35 import java.security.KeyStore;
36 import java.security.KeyStoreException;
37 import java.security.NoSuchAlgorithmException;
38 import java.security.PrivateKey;
39 import java.security.UnrecoverableKeyException;
40 import java.security.cert.Certificate;
41 import java.security.cert.CertificateException;
42 import java.security.cert.CertificateFactory;
43 import java.security.cert.X509Certificate;
/packages/apps/SecureElement/src/com/android/se/security/arf/
DSecureElement.java40 package com.android.se.security.arf;
46 import com.android.se.security.ChannelAccess;
47 import com.android.se.security.arf.pkcs15.EF;
48 import com.android.se.security.gpac.AID_REF_DO;
49 import com.android.se.security.gpac.Hash_REF_DO;
50 import com.android.se.security.gpac.REF_DO;
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DWifiConfigHelper.java78 WifiConfiguration config, int security) { in setConfigKeyManagementBySecurity() argument
81 switch (security) { in setConfigKeyManagementBySecurity()
165 public static WifiConfiguration getConfiguration(Context context, String ssid, int security) { in getConfiguration() argument
166 WifiConfiguration config = getFromConfiguredNetworks(context, ssid, security); in getConfiguration()
172 setConfigKeyManagementBySecurity(config, security); in getConfiguration()
212 int security) { in getFromConfiguredNetworks() argument
225 if (configuredSecurity == security) { in getFromConfiguredNetworks()
/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/SecureElement/
DPREUPLOAD.cfg5 src/com/android/se/security/
6 src/com/android/se/security/ara/
7 src/com/android/se/security/arf/
8 src/com/android/se/security/gpac/
/packages/apps/Settings/src/com/android/settings/security/
DCredentialStorage.java17 package com.android.settings.security;
33 import android.security.Credentials;
34 import android.security.KeyChain;
35 import android.security.KeyChain.KeyChainConnection;
36 import android.security.KeyStore;
54 import sun.security.util.ObjectIdentifier;
55 import sun.security.x509.AlgorithmId;
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/security/
DCredentialStorage.java17 package com.android.car.developeroptions.security;
33 import android.security.Credentials;
34 import android.security.KeyChain;
35 import android.security.KeyChain.KeyChainConnection;
36 import android.security.KeyStore;
54 import sun.security.util.ObjectIdentifier;
55 import sun.security.x509.AlgorithmId;

12345678910>>...13