Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/net/
DVpnProfile.java124 public String ipsecCaCert = ""; // 13 field in VpnProfile
170 ipsecCaCert = in.readString(); in VpnProfile()
221 out.writeString(ipsecCaCert); in writeToParcel()
279 profile.ipsecCaCert = values[13]; in decode()
332 builder.append(VALUE_DELIMITER).append(ipsecCaCert); in encode()
443 l2tpSecret, ipsecIdentifier, ipsecSecret, ipsecUserCert, ipsecCaCert, ipsecServerCert, in hashCode()
470 && Objects.equals(ipsecCaCert, other.ipsecCaCert) in equals()
/frameworks/base/tests/net/java/android/net/
DIkev2VpnProfileTest.java283 assertEquals("", profile.ipsecCaCert); in testPskConvertToVpnProfile()
296 assertEquals(Ikev2VpnProfile.certificateToPemString(mServerRootCa), profile.ipsecCaCert); in testUsernamePasswordConvertToVpnProfile()
317 assertEquals(Ikev2VpnProfile.certificateToPemString(mServerRootCa), profile.ipsecCaCert); in testRsaConvertToVpnProfile()
332 profile.ipsecCaCert = Ikev2VpnProfile.certificateToPemString(mServerRootCa); in testPskFromVpnProfileDiscardsIrrelevantValues()
/frameworks/base/tests/net/java/com/android/internal/net/
DVpnProfileTest.java67 assertEquals("", p.ipsecCaCert); in testDefaults()
94 p.ipsecCaCert = "grault"; in getSampleIkev2Profile()
/frameworks/base/core/java/android/net/
DIkev2VpnProfile.java417 profile.ipsecCaCert = in toVpnProfile()
427 profile.ipsecCaCert = in toVpnProfile()
478 certificateFromPemString(profile.ipsecCaCert)); in fromVpnProfile()
499 final X509Certificate serverRootCa = certificateFromPemString(profile.ipsecCaCert); in fromVpnProfile()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java1944 if (!profile.ipsecCaCert.isEmpty()) {
1945 byte[] value = keyStore.get(Credentials.CA_CERTIFICATE + profile.ipsecCaCert);
1967 profile.ipsecCaCert = caCert;