Searched refs:PSK_BYTES (Results 1 – 2 of 2) sorted by relevance
66 private static final byte[] PSK_BYTES = "preSharedKey".getBytes(); field in Ikev2VpnProfileTest153 builder.setAuthPsk(PSK_BYTES); in testBuildPresharedKeyProfile()157 assertArrayEquals(PSK_BYTES, profile.getPresharedKey()); in testBuildPresharedKeyProfile()169 builder.setAuthPsk(PSK_BYTES); in testBuildWithAllowedAlgorithmsAead()184 builder.setAuthPsk(PSK_BYTES); in testBuildWithAllowedAlgorithmsNormal()258 builder.setAuthPsk(PSK_BYTES); in testBuildExcludeLocalRoutesSet()298 builder.setAuthPsk(PSK_BYTES); in testPskConvertToVpnProfile()302 assertEquals(Ikev2VpnProfile.encodeForIpsecSecret(PSK_BYTES), profile.ipsecSecret); in testPskConvertToVpnProfile()353 builder.setAuthPsk(PSK_BYTES); in testPskFromVpnProfileDiscardsIrrelevantValues()374 profile.ipsecSecret = new String(PSK_BYTES); in testUsernamePasswordFromVpnProfileDiscardsIrrelevantValues()[all …]
55 private static final byte[] PSK_BYTES = "preSharedKey".getBytes(); field in VpnManagerTest127 .setAuthPsk(PSK_BYTES) in getPlatformVpnProfile()