Searched refs:encodeForIpsecSecret (Results 1 – 3 of 3) sorted by relevance
421 profile.ipsecSecret = encodeForIpsecSecret(mPresharedKey); in toVpnProfile()426 PREFIX_INLINE + encodeForIpsecSecret(mRsaPrivateKey.getEncoded()); in toVpnProfile()584 public static String encodeForIpsecSecret(@NonNull byte[] secret) { in encodeForIpsecSecret() method in Ikev2VpnProfile
277 assertEquals(Ikev2VpnProfile.encodeForIpsecSecret(PSK_BYTES), profile.ipsecSecret); in testPskConvertToVpnProfile()311 + Ikev2VpnProfile.encodeForIpsecSecret(mPrivateKey.getEncoded()); in testRsaConvertToVpnProfile()
1976 Ikev2VpnProfile.encodeForIpsecSecret(profile.ipsecSecret.getBytes());