Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/net/
DVpnProfile.java116 public String ipsecUserCert = ""; // 12 field in VpnProfile
169 ipsecUserCert = in.readString(); in VpnProfile()
220 out.writeString(ipsecUserCert); in writeToParcel()
278 profile.ipsecUserCert = values[12]; in decode()
331 builder.append(VALUE_DELIMITER).append(ipsecUserCert); in encode()
443 l2tpSecret, ipsecIdentifier, ipsecSecret, ipsecUserCert, ipsecCaCert, ipsecServerCert, in hashCode()
469 && Objects.equals(ipsecUserCert, other.ipsecUserCert) in equals()
/frameworks/base/tests/net/java/android/net/
DIkev2VpnProfileTest.java282 assertEquals("", profile.ipsecUserCert); in testPskConvertToVpnProfile()
299 assertEquals("", profile.ipsecUserCert); in testUsernamePasswordConvertToVpnProfile()
313 assertEquals(Ikev2VpnProfile.certificateToPemString(mUserCert), profile.ipsecUserCert); in testRsaConvertToVpnProfile()
333 profile.ipsecUserCert = Ikev2VpnProfile.certificateToPemString(mUserCert); in testPskFromVpnProfileDiscardsIrrelevantValues()
350 profile.ipsecUserCert = Ikev2VpnProfile.certificateToPemString(mUserCert); in testUsernamePasswordFromVpnProfileDiscardsIrrelevantValues()
/frameworks/base/tests/net/java/com/android/internal/net/
DVpnProfileTest.java66 assertEquals("", p.ipsecUserCert); in testDefaults()
93 p.ipsecUserCert = "corge"; in getSampleIkev2Profile()
/frameworks/base/core/java/android/net/
DIkev2VpnProfile.java424 profile.ipsecUserCert = certificateToPemString(mUserCert); in toVpnProfile()
498 final X509Certificate userCert = certificateFromPemString(profile.ipsecUserCert); in fromVpnProfile()
531 if (profile.ipsecSecret.isEmpty() || profile.ipsecUserCert.isEmpty()) { in isValidVpnProfile()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java1939 if (!profile.ipsecUserCert.isEmpty()) {
1940 privateKey = Credentials.USER_PRIVATE_KEY + profile.ipsecUserCert;
1941 byte[] value = keyStore.get(Credentials.USER_CERTIFICATE + profile.ipsecUserCert);
1964 profile.ipsecUserCert = userCert;