Home
last modified time | relevance | path

Searched refs:certificateToPemString (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/tests/net/java/android/net/
DIkev2VpnProfileTest.java296 assertEquals(Ikev2VpnProfile.certificateToPemString(mServerRootCa), profile.ipsecCaCert); in testUsernamePasswordConvertToVpnProfile()
313 assertEquals(Ikev2VpnProfile.certificateToPemString(mUserCert), profile.ipsecUserCert); in testRsaConvertToVpnProfile()
317 assertEquals(Ikev2VpnProfile.certificateToPemString(mServerRootCa), profile.ipsecCaCert); in testRsaConvertToVpnProfile()
332 profile.ipsecCaCert = Ikev2VpnProfile.certificateToPemString(mServerRootCa); in testPskFromVpnProfileDiscardsIrrelevantValues()
333 profile.ipsecUserCert = Ikev2VpnProfile.certificateToPemString(mUserCert); in testPskFromVpnProfileDiscardsIrrelevantValues()
350 profile.ipsecUserCert = Ikev2VpnProfile.certificateToPemString(mUserCert); in testUsernamePasswordFromVpnProfileDiscardsIrrelevantValues()
/frameworks/base/core/java/android/net/
DIkev2VpnProfile.java418 mServerRootCaCert == null ? "" : certificateToPemString(mServerRootCaCert); in toVpnProfile()
424 profile.ipsecUserCert = certificateToPemString(mUserCert); in toVpnProfile()
428 mServerRootCaCert == null ? "" : certificateToPemString(mServerRootCaCert); in toVpnProfile()
551 public static String certificateToPemString(@Nullable X509Certificate cert) in certificateToPemString() method in Ikev2VpnProfile
608 certificateToPemString(cert); in checkCert()