Searched refs:IkeAuthPskConfig (Results 1 – 5 of 5) sorted by relevance
/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/ |
D | IkeSessionParamsTest.java | 25 import static android.net.ipsec.ike.IkeSessionParams.IkeAuthPskConfig; 178 assertTrue(localConfig instanceof IkeAuthPskConfig); in verifyIkeParamsMinimum() 179 assertArrayEquals(IKE_PSK, ((IkeAuthPskConfig) localConfig).getPsk()); in verifyIkeParamsMinimum() 181 assertTrue(remoteConfig instanceof IkeAuthPskConfig); in verifyIkeParamsMinimum() 182 assertArrayEquals(IKE_PSK, ((IkeAuthPskConfig) remoteConfig).getPsk()); in verifyIkeParamsMinimum() 345 assertTrue(localConfig instanceof IkeAuthPskConfig); in verifyIkeParamsWithPsk() 346 assertArrayEquals(IKE_PSK, ((IkeAuthPskConfig) localConfig).getPsk()); in verifyIkeParamsWithPsk() 348 assertTrue(remoteConfig instanceof IkeAuthPskConfig); in verifyIkeParamsWithPsk() 349 assertArrayEquals(IKE_PSK, ((IkeAuthPskConfig) remoteConfig).getPsk()); in verifyIkeParamsWithPsk()
|
/packages/modules/IPsec/src/java/android/net/ipsec/ike/ |
D | IkeSessionParams.java | 732 return IkeAuthPskConfig.fromPersistableBundle(in); in fromPersistableBundle() 787 public static class IkeAuthPskConfig extends IkeAuthConfig { class in IkeSessionParams 794 IkeAuthPskConfig(byte[] psk) { in IkeAuthPskConfig() method in IkeSessionParams.IkeAuthPskConfig 805 public static IkeAuthPskConfig fromPersistableBundle(@NonNull PersistableBundle in) { in fromPersistableBundle() 811 return new IkeAuthPskConfig(PersistableBundleUtils.toByteArray(pskBundle)); in fromPersistableBundle() 841 if (!super.equals(o) || !(o instanceof IkeAuthPskConfig)) { in equals() 845 return Arrays.equals(mPsk, ((IkeAuthPskConfig) o).mPsk); in equals() 1416 return setAuth(new IkeAuthPskConfig(sharedKey), new IkeAuthPskConfig(sharedKey)); in setAuthPsk()
|
/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/ |
D | IkeSessionParamsTest.java | 31 import static android.net.ipsec.test.ike.IkeSessionParams.IkeAuthPskConfig; 175 assertTrue(localConfig instanceof IkeAuthPskConfig); in verifyAuthPskConfig() 177 assertArrayEquals(PSK, ((IkeAuthPskConfig) localConfig).mPsk); in verifyAuthPskConfig() 180 assertTrue(remoteConfig instanceof IkeAuthPskConfig); in verifyAuthPskConfig() 182 assertArrayEquals(PSK, ((IkeAuthPskConfig) remoteConfig).mPsk); in verifyAuthPskConfig() 771 verifyPersistableBundleEncodeDecodeIsLossless(new IkeAuthPskConfig(PSK)); in testPersistableBundleEncodeDecodePskAuth()
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ |
D | IkeSessionStateMachine.java | 87 import android.net.ipsec.ike.IkeSessionParams.IkeAuthPskConfig; 3841 ((IkeAuthPskConfig) authConfig).mPsk, in buildIkeAuthReq() 3986 ((IkeAuthPskConfig) mIkeSessionParams.getRemoteAuthConfig()).mPsk, in authenticate()
|
/packages/modules/IPsec/api/ |
D | current.txt | 251 …public static class IkeSessionParams.IkeAuthPskConfig extends android.net.ipsec.ike.IkeSessionPara…
|