Home
last modified time | relevance | path

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

12345678910>>...16

/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.java35 import android.security.Credentials;
36 import android.security.IKeyChainService;
37 import android.security.KeyChain;
38 import android.security.KeyStore;
39 import android.security.keymaster.KeymasterArguments;
40 import android.security.keymaster.KeymasterCertificateChain;
41 import android.security.keystore.AttestationUtils;
42 import android.security.keystore.DeviceIdAttestationException;
43 import android.security.keystore.KeyGenParameterSpec;
44 import android.security.keystore.ParcelableKeyGenParameterSpec;
[all …]
/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.java30 import java.security.GeneralSecurityException;
31 import java.security.InvalidAlgorithmParameterException;
32 import java.security.InvalidKeyException;
33 import java.security.KeyFactory;
34 import java.security.KeyPair;
35 import java.security.KeyPairGenerator;
36 import java.security.NoSuchAlgorithmException;
37 import java.security.ProviderException;
38 import java.security.SecureRandom;
39 import java.security.spec.InvalidKeySpecException;
DIkeCertPayload.java29 import java.security.KeyStore;
30 import java.security.KeyStoreException;
31 import java.security.NoSuchAlgorithmException;
32 import java.security.ProviderException;
33 import java.security.cert.CertificateException;
34 import java.security.cert.TrustAnchor;
35 import java.security.cert.X509CRL;
36 import java.security.cert.X509Certificate;
DIkeAuthDigitalSignPayload.java30 import java.security.InvalidKeyException;
31 import java.security.NoSuchAlgorithmException;
32 import java.security.PrivateKey;
33 import java.security.ProviderException;
34 import java.security.Signature;
35 import java.security.SignatureException;
36 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/IPsec/api/
Dsystem-lint-baseline.txt36 …uilder#setAuthDigitalSignature(java.security.cert.X509Certificate, java.security.cert.X509Certific…
37 …Builder.setAuthDigitalSignature(java.security.cert.X509Certificate,java.security.cert.X509Certific…
38 …ture(java.security.cert.X509Certificate, java.security.cert.X509Certificate, java.util.List<java.s…
39 …nature(java.security.cert.X509Certificate,java.security.cert.X509Certificate,java.util.List<java.s…
40 …Builder: android.net.ipsec.ike.IkeSessionParams.Builder#setAuthEap(java.security.cert.X509Certific…
41 …g method android.net.ipsec.ike.IkeSessionParams.Builder.setAuthEap(java.security.cert.X509Certific…
/packages/apps/Car/libs/EncryptionRunner/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.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/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/KeyChain/tests/src/com/android/keychain/tests/
DKeyChainActivityTest.java26 import android.security.Credentials;
27 import android.security.KeyStore;
37 import java.security.cert.Certificate;
38 import java.security.cert.CertificateEncodingException;
39 import java.security.cert.CertificateException;
40 import java.security.cert.CertificateFactory;
41 import java.security.cert.X509Certificate;
47 import javax.security.auth.x500.X500Principal;
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;
DBasicKeyChainServiceTest.java33 import android.security.Credentials;
34 import android.security.IKeyChainService;
35 import android.security.KeyChain;
36 import android.security.keystore.KeyGenParameterSpec;
37 import android.security.keystore.KeyProperties;
38 import android.security.keystore.ParcelableKeyGenParameterSpec;
44 import java.security.KeyStore.PrivateKeyEntry;
45 import java.security.cert.Certificate;
46 import java.security.cert.CertificateException;
47 import libcore.java.security.TestKeyStore;
/packages/apps/Car/libs/connected-device-lib/src/com/android/car/connecteddevice/storage/
DConnectedDeviceStorage.java28 import android.security.keystore.KeyGenParameterSpec;
29 import android.security.keystore.KeyProperties;
38 import java.security.InvalidAlgorithmParameterException;
39 import java.security.InvalidKeyException;
40 import java.security.Key;
41 import java.security.KeyStore;
42 import java.security.KeyStoreException;
43 import java.security.NoSuchAlgorithmException;
44 import java.security.NoSuchProviderException;
45 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;
/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.java36 import java.security.Key;
37 import java.security.KeyStore;
38 import java.security.KeyStoreException;
39 import java.security.NoSuchAlgorithmException;
40 import java.security.PrivateKey;
41 import java.security.UnrecoverableKeyException;
42 import java.security.cert.Certificate;
43 import java.security.cert.CertificateException;
44 import java.security.cert.CertificateFactory;
45 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/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/testutils/
DCertUtils.java28 import java.security.KeyFactory;
29 import java.security.cert.CertificateFactory;
30 import java.security.cert.X509Certificate;
31 import java.security.interfaces.RSAPrivateKey;
32 import java.security.spec.PKCS8EncodedKeySpec;

12345678910>>...16