Home
last modified time | relevance | path

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

12345678910>>...19

/packages/modules/Wifi/service/java/com/android/server/wifi/
DMacAddressUtil.java20 import android.security.keystore.AndroidKeyStoreProvider;
21 import android.security.keystore.KeyGenParameterSpec;
22 import android.security.keystore.KeyProperties;
27 import java.security.InvalidAlgorithmParameterException;
28 import java.security.InvalidKeyException;
29 import java.security.Key;
30 import java.security.KeyStore;
31 import java.security.KeyStoreException;
32 import java.security.NoSuchAlgorithmException;
33 import java.security.NoSuchProviderException;
[all …]
/packages/apps/CertInstaller/src/com/android/certinstaller/
DCredentialHelper.java19 import static android.security.KeyStore.UID_SELF;
31 import android.security.Credentials;
32 import android.security.IKeyChainService;
33 import android.security.KeyChain;
47 import java.security.KeyFactory;
48 import java.security.KeyStore;
49 import java.security.KeyStore.PasswordProtection;
50 import java.security.KeyStore.PrivateKeyEntry;
51 import java.security.NoSuchAlgorithmException;
52 import java.security.PrivateKey;
[all …]
/packages/apps/KeyChain/src/com/android/keychain/
DKeyChainService.java21 import static android.security.KeyStore.UID_SELF;
35 import android.hardware.security.keymint.ErrorCode;
42 import android.security.AppUriAuthenticationPolicy;
43 import android.security.CredentialManagementApp;
44 import android.security.IKeyChainService;
45 import android.security.KeyChain;
46 import android.security.KeyStore2;
47 import android.security.keystore.KeyGenParameterSpec;
48 import android.security.keystore.KeyProperties;
49 import android.security.keystore.ParcelableKeyGenParameterSpec;
[all …]
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/
DKeyChainActivityTest.java38 import java.security.KeyFactory;
39 import java.security.KeyStore;
40 import java.security.KeyStoreException;
41 import java.security.NoSuchAlgorithmException;
42 import java.security.PrivateKey;
43 import java.security.cert.Certificate;
44 import java.security.cert.CertificateException;
45 import java.security.cert.CertificateFactory;
46 import java.security.cert.X509Certificate;
47 import java.security.spec.InvalidKeySpecException;
[all …]
DBasicKeyChainServiceTest.java34 import android.security.Credentials;
35 import android.security.IKeyChainService;
36 import android.security.KeyChain;
37 import android.security.keystore.KeyGenParameterSpec;
38 import android.security.keystore.KeyProperties;
39 import android.security.keystore.ParcelableKeyGenParameterSpec;
46 import java.security.KeyStore;
47 import java.security.KeyStore.PrivateKeyEntry;
48 import java.security.cert.Certificate;
49 import java.security.cert.CertificateEncodingException;
[all …]
/packages/apps/Settings/src/com/android/settings/utils/
DAndroidKeystoreAliasLoader.java19 import android.security.keystore.KeyProperties;
20 import android.security.keystore2.AndroidKeyStoreLoadStoreParameter;
23 import java.security.Key;
24 import java.security.KeyStore;
25 import java.security.KeyStoreException;
26 import java.security.NoSuchAlgorithmException;
27 import java.security.PrivateKey;
28 import java.security.UnrecoverableKeyException;
29 import java.security.cert.Certificate;
/packages/apps/RemoteProvisioner/tests/unittests/src/com/android/remoteprovisioner/unittest/
DUtils.java32 import java.security.AlgorithmParameters;
33 import java.security.KeyFactory;
34 import java.security.KeyPair;
35 import java.security.KeyPairGenerator;
36 import java.security.MessageDigest;
37 import java.security.PublicKey;
38 import java.security.cert.X509Certificate;
39 import java.security.spec.ECGenParameterSpec;
40 import java.security.spec.ECParameterSpec;
41 import java.security.spec.ECPoint;
[all …]
DServerToSystemTest.java19 import static android.hardware.security.keymint.SecurityLevel.TRUSTED_ENVIRONMENT;
20 import static android.security.keystore.KeyProperties.KEY_ALGORITHM_EC;
21 import static android.security.keystore.KeyProperties.PURPOSE_SIGN;
31 import android.security.keystore.KeyGenParameterSpec;
32 import android.security.remoteprovisioning.AttestationPoolStatus;
33 import android.security.remoteprovisioning.ImplInfo;
34 import android.security.remoteprovisioning.IRemoteProvisioning;
50 import java.security.KeyPairGenerator;
51 import java.security.KeyStore;
52 import java.security.cert.Certificate;
DSystemInterfaceTest.java19 import static android.security.keystore.KeyProperties.KEY_ALGORITHM_EC;
20 import static android.security.keystore.KeyProperties.PURPOSE_SIGN;
31 import android.hardware.security.keymint.DeviceInfo;
32 import android.hardware.security.keymint.ProtectedData;
33 import android.hardware.security.keymint.SecurityLevel;
36 import android.security.keystore.KeyGenParameterSpec;
37 import android.security.remoteprovisioning.IRemoteProvisioning;
66 import java.security.KeyPair;
67 import java.security.KeyPairGenerator;
68 import java.security.KeyStore;
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DWifiConfigStoreEncryptionUtil.java22 import android.security.keystore.AndroidKeyStoreProvider;
23 import android.security.keystore.KeyGenParameterSpec;
24 import android.security.keystore.KeyProperties;
28 import java.security.InvalidAlgorithmParameterException;
29 import java.security.InvalidKeyException;
30 import java.security.KeyStore;
31 import java.security.KeyStoreException;
32 import java.security.NoSuchAlgorithmException;
33 import java.security.NoSuchProviderException;
34 import java.security.ProviderException;
[all …]
/packages/modules/Wifi/framework/java/android/net/wifi/
DParcelUtil.java22 import java.security.KeyFactory;
23 import java.security.NoSuchAlgorithmException;
24 import java.security.PrivateKey;
25 import java.security.cert.CertificateEncodingException;
26 import java.security.cert.CertificateException;
27 import java.security.cert.CertificateFactory;
28 import java.security.cert.X509Certificate;
29 import java.security.spec.InvalidKeySpecException;
30 import java.security.spec.PKCS8EncodedKeySpec;
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/utils/
DIkeCertUtils.java21 import java.security.KeyFactory;
22 import java.security.NoSuchAlgorithmException;
23 import java.security.cert.CertificateException;
24 import java.security.cert.CertificateFactory;
25 import java.security.cert.X509Certificate;
26 import java.security.interfaces.RSAPrivateKey;
27 import java.security.spec.InvalidKeySpecException;
28 import java.security.spec.PKCS8EncodedKeySpec;
/packages/apps/Car/Dialer/src/com/android/car/dialer/storage/
DCipherConverter.java19 import android.security.keystore.KeyGenParameterSpec;
20 import android.security.keystore.KeyProperties;
31 import java.security.InvalidAlgorithmParameterException;
32 import java.security.InvalidKeyException;
33 import java.security.KeyStore;
34 import java.security.KeyStoreException;
35 import java.security.NoSuchAlgorithmException;
36 import java.security.NoSuchProviderException;
37 import java.security.UnrecoverableKeyException;
38 import java.security.cert.CertificateException;
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeKePayload.java41 import java.security.GeneralSecurityException;
42 import java.security.InvalidAlgorithmParameterException;
43 import java.security.InvalidKeyException;
44 import java.security.KeyFactory;
45 import java.security.KeyPair;
46 import java.security.KeyPairGenerator;
47 import java.security.NoSuchAlgorithmException;
48 import java.security.NoSuchProviderException;
49 import java.security.PrivateKey;
50 import java.security.ProviderException;
[all …]
DIkeCertPayload.java28 import java.security.KeyStore;
29 import java.security.KeyStoreException;
30 import java.security.NoSuchAlgorithmException;
31 import java.security.ProviderException;
32 import java.security.cert.CertificateException;
33 import java.security.cert.TrustAnchor;
34 import java.security.cert.X509CRL;
35 import java.security.cert.X509Certificate;
/packages/apps/SecureElement/src/com/android/se/security/ara/
DAraController.java36 package com.android.se.security.ara;
47 import com.android.se.security.AccessRuleCache;
48 import com.android.se.security.ChannelAccess;
49 import com.android.se.security.gpac.BerTlv;
50 import com.android.se.security.gpac.ParserException;
51 import com.android.se.security.gpac.REF_AR_DO;
52 import com.android.se.security.gpac.Response_ALL_AR_DO;
53 import com.android.se.security.gpac.Response_DO_Factory;
56 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/modules/Wifi/framework/tests/src/android/net/wifi/
DFakeKeys.java22 import java.security.KeyFactory;
23 import java.security.NoSuchAlgorithmException;
24 import java.security.PrivateKey;
25 import java.security.cert.CertificateFactory;
26 import java.security.cert.X509Certificate;
27 import java.security.spec.InvalidKeySpecException;
28 import java.security.spec.PKCS8EncodedKeySpec;
/packages/apps/Car/libs/encryption-runner/src/android/car/encryptionrunner/
DUkey2EncryptionRunner.java26 import com.google.security.cryptauth.lib.securegcm.D2DConnectionContext;
27 import com.google.security.cryptauth.lib.securegcm.Ukey2Handshake;
28 import com.google.security.cryptauth.lib.securemessage.CryptoOps;
32 import java.security.InvalidKeyException;
33 import java.security.MessageDigest;
34 import java.security.NoSuchAlgorithmException;
35 import java.security.SignatureException;
79 } catch (com.google.security.cryptauth.lib.securegcm.HandshakeException e) { in initHandshake()
108 } catch (com.google.security.cryptauth.lib.securegcm.HandshakeException in respondToInitRequest()
156 } catch (com.google.security.cryptauth.lib.securegcm.HandshakeException in continueHandshake()
[all …]
/packages/apps/Settings/src/com/android/settings/wifi/dpp/
DWifiNetworkConfig.java59 WifiNetworkConfig(String security, String ssid, String preSharedKey, in WifiNetworkConfig() argument
61 mSecurity = security; in WifiNetworkConfig()
93 final String security = intent.getStringExtra(WifiDppUtils.EXTRA_WIFI_SECURITY); in getValidConfigOrNull() local
102 return getValidConfigOrNull(security, ssid, preSharedKey, hiddenSsid, networkId, isHotspot); in getValidConfigOrNull()
105 static WifiNetworkConfig getValidConfigOrNull(String security, String ssid, in getValidConfigOrNull() argument
107 if (!isValidConfig(security, ssid, preSharedKey, hiddenSsid)) { in getValidConfigOrNull()
111 return new WifiNetworkConfig(security, ssid, preSharedKey, hiddenSsid, networkId, in getValidConfigOrNull()
124 static boolean isValidConfig(String security, String ssid, String preSharedKey, in isValidConfig() argument
126 if (!TextUtils.isEmpty(security) && !SECURITY_NO_PASSWORD.equals(security)) { in isValidConfig()
DWifiDppUtils.java180 final int security = wifiEntry.getSecurity(); in getSecurityString() local
181 switch (security) { in getSecurityString()
303 String security; in getHotspotConfiguratorIntentOrNull() local
306 security = WifiQrCode.SECURITY_SAE; in getHotspotConfiguratorIntentOrNull()
309 security = WifiQrCode.SECURITY_WPA_PSK; in getHotspotConfiguratorIntentOrNull()
311 security = WifiQrCode.SECURITY_NO_PASSWORD; in getHotspotConfiguratorIntentOrNull()
322 if (!TextUtils.isEmpty(security)) { in getHotspotConfiguratorIntentOrNull()
323 intent.putExtra(EXTRA_WIFI_SECURITY, security); in getHotspotConfiguratorIntentOrNull()
348 final String security = getSecurityString(wifiConfiguration); in setConfiguratorIntentExtra() local
358 if (!TextUtils.isEmpty(security)) { in setConfiguratorIntentExtra()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DFakeKeys.java6 import java.security.KeyFactory;
7 import java.security.NoSuchAlgorithmException;
8 import java.security.PrivateKey;
9 import java.security.cert.CertificateFactory;
10 import java.security.cert.X509Certificate;
11 import java.security.spec.InvalidKeySpecException;
12 import java.security.spec.PKCS8EncodedKeySpec;
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DWifiUtil.java176 public static boolean isOpenNetwork(int security) { in isOpenNetwork() argument
177 return security == WifiEntry.SECURITY_NONE || security == WifiEntry.SECURITY_OWE; in isOpenNetwork()
193 public static void connectToWifiEntry(Context context, String ssid, int security, in connectToWifiEntry() argument
196 WifiConfiguration wifiConfig = getWifiConfig(ssid, security, password, hidden); in connectToWifiEntry()
200 private static WifiConfiguration getWifiConfig(String ssid, int security, in getWifiConfig() argument
206 return finishWifiConfig(wifiConfig, security, password); in getWifiConfig()
223 private static WifiConfiguration finishWifiConfig(WifiConfiguration wifiConfig, int security, in finishWifiConfig() argument
225 switch (security) { in finishWifiConfig()
254 if (security == WifiEntry.SECURITY_EAP_SUITE_B) { in finishWifiConfig()
274 throw new IllegalArgumentException("unknown security type " + security); in finishWifiConfig()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointProvisioningTestUtil.java27 import java.security.KeyStore;
28 import java.security.KeyStoreException;
29 import java.security.NoSuchAlgorithmException;
30 import java.security.cert.Certificate;
31 import java.security.cert.CertificateException;
32 import java.security.cert.CertificateFactory;
33 import java.security.cert.X509Certificate;
/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;

12345678910>>...19