/frameworks/base/keystore/java/android/security/keystore/ |
D | KeyStoreCryptoOperationUtils.java | 46 KeyStore keyStore, AndroidKeyStoreKey key, int beginOpResultCode) { in getInvalidKeyExceptionForInit() argument 54 keyStore.getInvalidKeyException(key.getAlias(), key.getUid(), beginOpResultCode); in getInvalidKeyExceptionForInit() 75 KeyStore keyStore, AndroidKeyStoreKey key, int beginOpResultCode) { in getExceptionForCipherInit() argument 89 return getInvalidKeyExceptionForInit(keyStore, key, beginOpResultCode); in getExceptionForCipherInit()
|
D | AndroidKeyStoreProvider.java | 216 @NonNull KeyStore keyStore, @NonNull String privateKeyAlias, int uid) in loadAndroidKeyStorePublicKeyFromKeystore() 219 int errorCode = keyStore.getKeyCharacteristics( in loadAndroidKeyStorePublicKeyFromKeystore() 226 ExportResult exportResult = keyStore.exportKey( in loadAndroidKeyStorePublicKeyFromKeystore() 256 @NonNull KeyStore keyStore, @NonNull String privateKeyAlias, int uid) in loadAndroidKeyStoreKeyPairFromKeystore() 259 loadAndroidKeyStorePublicKeyFromKeystore(keyStore, privateKeyAlias, uid); in loadAndroidKeyStoreKeyPairFromKeystore() 267 @NonNull KeyStore keyStore, @NonNull String privateKeyAlias, int uid) in loadAndroidKeyStorePrivateKeyFromKeystore() 269 KeyPair keyPair = loadAndroidKeyStoreKeyPairFromKeystore(keyStore, privateKeyAlias, uid); in loadAndroidKeyStorePrivateKeyFromKeystore() 275 @NonNull KeyStore keyStore, @NonNull String secretKeyAlias, int uid) in loadAndroidKeyStoreSecretKeyFromKeystore() 278 int errorCode = keyStore.getKeyCharacteristics( in loadAndroidKeyStoreSecretKeyFromKeystore()
|
D | AndroidKeyStoreAuthenticatedAESCipherSpi.java | 176 KeyStore keyStore, IBinder operationToken) { in createMainDataStreamer() argument 179 keyStore, operationToken)); in createMainDataStreamer() 192 KeyStore keyStore, IBinder operationToken) { in createAdditionalAuthenticationDataStreamer() argument 194 new AdditionalAuthenticationDataStream(keyStore, operationToken)); in createAdditionalAuthenticationDataStreamer() 408 private AdditionalAuthenticationDataStream(KeyStore keyStore, IBinder operationToken) { in AdditionalAuthenticationDataStream() argument 409 mKeyStore = keyStore; in AdditionalAuthenticationDataStream()
|
D | AndroidKeyStoreECDSASignatureSpi.java | 46 protected KeyStoreCryptoOperationStreamer createMainDataStreamer(KeyStore keyStore, in createMainDataStreamer() argument 49 super.createMainDataStreamer(keyStore, operationToken), in createMainDataStreamer()
|
D | KeyStoreCryptoOperationChunkedStreamer.java | 326 public MainDataStream(KeyStore keyStore, IBinder operationToken) { in MainDataStream() argument 327 mKeyStore = keyStore; in MainDataStream()
|
D | AndroidKeyStoreSecretKeyFactorySpi.java | 76 static KeyInfo getKeyInfo(KeyStore keyStore, String entryAlias, String keyAliasInKeystore, in getKeyInfo() argument 79 int errorCode = keyStore.getKeyCharacteristics( in getKeyInfo()
|
D | AndroidKeyStoreSignatureSpiBase.java | 242 KeyStore keyStore, IBinder operationToken) { in createMainDataStreamer() argument 245 keyStore, operationToken)); in createMainDataStreamer()
|
D | AndroidKeyStoreCipherSpiBase.java | 299 KeyStore keyStore, IBinder operationToken) { in createMainDataStreamer() argument 302 keyStore, operationToken)); in createMainDataStreamer() 314 @SuppressWarnings("unused") KeyStore keyStore, in createAdditionalAuthenticationDataStreamer()
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/ |
D | OSUManager.java | 135 KeyStore keyStore = KeyStore.getInstance(KeyStore.getDefaultType()); in loadKeyStore() local 138 keyStore.load(in, null); in loadKeyStore() 146 Certificate cert = keyStore.getCertificate(alias); in loadKeyStore() 172 Certificate cert = keyStore.getCertificate(alias); in loadKeyStore() 176 keyStore.deleteEntry(alias); in loadKeyStore() 181 keyStore.setCertificateEntry( in loadKeyStore() 187 keyStore.store(out, null); in loadKeyStore() 191 Enumeration<String> aliases = keyStore.aliases(); in loadKeyStore() 197 keyStore.load(null, null); in loadKeyStore() 200 keyStore.setCertificateEntry( in loadKeyStore() [all …]
|
D | OSUSocketFactory.java | 287 private static X509Certificate getCert(KeyStore keyStore, String alias) in getCert() argument 289 Certificate cert = keyStore.getCertificate(alias); in getCert() 296 public static Set<X509Certificate> getRootCerts(KeyStore keyStore) throws KeyStoreException { in getRootCerts() argument 300 Certificate cert = keyStore.getCertificate( in getRootCerts()
|
D | ClientKeyManager.java | 30 public ClientKeyManager(HomeSP homeSP, KeyStore keyStore) throws IOException { in ClientKeyManager() argument 31 mKeyStore = keyStore; in ClientKeyManager()
|
D | WiFiKeyManager.java | 30 public WiFiKeyManager(KeyStore keyStore) throws IOException { in WiFiKeyManager() argument 31 mKeyStore = keyStore; in WiFiKeyManager()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | FrameworkFacade.java | 164 KeyStore keyStore) { in makeWifiConfigManager() argument 166 keyStore); in makeWifiConfigManager()
|
D | WifiConfigStore.java | 102 WifiConfigStore(WifiNative wifiNative, KeyStore keyStore, LocalLog localLog, in WifiConfigStore() argument 105 mKeyStore = keyStore; in WifiConfigStore()
|
D | WifiConfigManager.java | 336 UserManager userManager, KeyStore keyStore) { in WifiConfigManager() argument 340 mKeyStore = keyStore; in WifiConfigManager()
|
/frameworks/base/services/core/java/com/android/server/ |
D | LockSettingsService.java | 744 java.security.KeyStore keyStore = java.security.KeyStore.getInstance("AndroidKeyStore"); in getDecryptedPasswordForTiedProfile() local 745 keyStore.load(null); in getDecryptedPasswordForTiedProfile() 746 SecretKey decryptionKey = (SecretKey) keyStore.getKey( in getDecryptedPasswordForTiedProfile() 1026 java.security.KeyStore keyStore = java.security.KeyStore.getInstance("AndroidKeyStore"); in tieProfileLockToParent() local 1027 keyStore.load(null); in tieProfileLockToParent() 1028 keyStore.setEntry( in tieProfileLockToParent() 1035 keyStore.setEntry( in tieProfileLockToParent() 1046 SecretKey keyStoreEncryptionKey = (SecretKey) keyStore.getKey( in tieProfileLockToParent() 1494 java.security.KeyStore keyStore = java.security.KeyStore.getInstance("AndroidKeyStore"); 1495 keyStore.load(null); [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | PasspointManagementObjectManagerTest.java | 100 KeyStore keyStore = mock(KeyStore.class); in addMoFromWifiConfig() local 101 Credential credential = new Credential(enterpriseConfig, keyStore, false); in addMoFromWifiConfig()
|
D | WifiStateMachineTest.java | 206 UserManager userManager, KeyStore keyStore){ in getFrameworkFacade() 208 clock, userManager, keyStore); in getFrameworkFacade()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/pps/ |
D | Credential.java | 132 public Credential(WifiEnterpriseConfig enterpriseConfig, KeyStore keyStore, boolean update) in Credential() argument 155 byte[] octets = keyStore.get(Credentials.USER_CERTIFICATE + alias); in Credential()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Vpn.java | 1280 public void startLegacyVpn(VpnProfile profile, KeyStore keyStore, LinkProperties egress) { in startLegacyVpn() argument 1284 startLegacyVpnPrivileged(profile, keyStore, egress); in startLegacyVpn() 1296 public void startLegacyVpnPrivileged(VpnProfile profile, KeyStore keyStore, in startLegacyVpnPrivileged() argument 1316 byte[] value = keyStore.get(Credentials.USER_CERTIFICATE + profile.ipsecUserCert); in startLegacyVpnPrivileged() 1320 byte[] value = keyStore.get(Credentials.CA_CERTIFICATE + profile.ipsecCaCert); in startLegacyVpnPrivileged() 1324 byte[] value = keyStore.get(Credentials.USER_CERTIFICATE + profile.ipsecServerCert); in startLegacyVpnPrivileged()
|
/frameworks/base/docs/html/training/articles/ |
D | security-ssl.jd | 207 KeyStore keyStore = KeyStore.getInstance(keyStoreType); 208 keyStore.load(null, null); 209 keyStore.setCertificateEntry("ca", ca); 214 tmf.init(keyStore);
|
/frameworks/base/keystore/tests/src/android/security/keystore/ |
D | AndroidKeyStoreTest.java | 1915 private static X509Certificate generateCertificate(android.security.KeyStore keyStore, in generateCertificate() argument 1921 keyStore, privateKeyAlias, KeyStore.UID_SELF); in generateCertificate()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerService.java | 16639 final KeyStore keyStore = KeyStore.getInstance(); 16640 if (keyStore != null) { 16643 keyStore.clearUid(UserHandle.getUid(individual, appId)); 16646 keyStore.clearUid(UserHandle.getUid(userId, appId));
|