Home
last modified time | relevance | path

Searched refs:encodeForIpsecSecret (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/net/
DIkev2VpnProfile.java421 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
/frameworks/base/tests/net/java/android/net/
DIkev2VpnProfileTest.java277 assertEquals(Ikev2VpnProfile.encodeForIpsecSecret(PSK_BYTES), profile.ipsecSecret); in testPskConvertToVpnProfile()
311 + Ikev2VpnProfile.encodeForIpsecSecret(mPrivateKey.getEncoded()); in testRsaConvertToVpnProfile()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java1976 Ikev2VpnProfile.encodeForIpsecSecret(profile.ipsecSecret.getBytes());