Searched refs:certificateToPemString (Results 1 – 2 of 2) sorted by relevance
296 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()
418 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 Ikev2VpnProfile608 certificateToPemString(cert); in checkCert()