Home
last modified time | relevance | path

Searched refs:keyStore (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java854 public void startLegacyVpn(VpnProfile profile, KeyStore keyStore, LinkProperties egress) { in startLegacyVpn() argument
858 startLegacyVpnPrivileged(profile, keyStore, egress); in startLegacyVpn()
870 public void startLegacyVpnPrivileged(VpnProfile profile, KeyStore keyStore, in startLegacyVpnPrivileged() argument
872 if (!keyStore.isUnlocked()) { in startLegacyVpnPrivileged()
892 byte[] value = keyStore.get(Credentials.USER_CERTIFICATE + profile.ipsecUserCert); in startLegacyVpnPrivileged()
896 byte[] value = keyStore.get(Credentials.CA_CERTIFICATE + profile.ipsecCaCert); in startLegacyVpnPrivileged()
900 byte[] value = keyStore.get(Credentials.USER_CERTIFICATE + profile.ipsecServerCert); in startLegacyVpnPrivileged()
/frameworks/base/tests/CoreTests/android/core/
DSSLSocketTest.java771 KeyStore keyStore = KeyStore.getInstance(KeyStore.getDefaultType()); in getKeyManagers() local
772 keyStore.load(inputStream, PASSWORD.toCharArray()); in getKeyManagers()
777 keyManagerFactory.init(keyStore, PASSWORD.toCharArray()); in getKeyManagers()
/frameworks/base/docs/html/training/articles/
Dsecurity-ssl.jd207 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/
DAndroidKeyStoreTest.java2335 private static X509Certificate generateCertificate(android.security.KeyStore keyStore, in generateCertificate() argument
2348 final byte[] pubKeyBytes = keyStore.getPubkey(privateKeyAlias); in generateCertificate()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java11502 final KeyStore keyStore = KeyStore.getInstance(); in removeKeystoreDataIfNeeded() local
11503 if (keyStore != null) { in removeKeystoreDataIfNeeded()
11506 keyStore.clearUid(UserHandle.getUid(individual, appId)); in removeKeystoreDataIfNeeded()
11509 keyStore.clearUid(UserHandle.getUid(userId, appId)); in removeKeystoreDataIfNeeded()