Home
last modified time | relevance | path

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

/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/
DIkeSessionParamsTest.java180 IkeAuthConfig remoteConfig = sessionParams.getRemoteAuthConfig(); in verifyIkeParamsMinimum() local
181 assertTrue(remoteConfig instanceof IkeAuthPskConfig); in verifyIkeParamsMinimum()
182 assertArrayEquals(IKE_PSK, ((IkeAuthPskConfig) remoteConfig).getPsk()); in verifyIkeParamsMinimum()
347 IkeAuthConfig remoteConfig = sessionParams.getRemoteAuthConfig(); in verifyIkeParamsWithPsk() local
348 assertTrue(remoteConfig instanceof IkeAuthPskConfig); in verifyIkeParamsWithPsk()
349 assertArrayEquals(IKE_PSK, ((IkeAuthPskConfig) remoteConfig).getPsk()); in verifyIkeParamsWithPsk()
389 IkeAuthConfig remoteConfig = sessionParams.getRemoteAuthConfig(); in testBuildWithEap() local
390 assertTrue(remoteConfig instanceof IkeAuthDigitalSignRemoteConfig); in testBuildWithEap()
392 mServerCaCert, ((IkeAuthDigitalSignRemoteConfig) remoteConfig).getRemoteCaCert()); in testBuildWithEap()
409 IkeAuthConfig remoteConfig = sessionParams.getRemoteAuthConfig(); in testBuildWithEapOnlyAuth() local
[all …]
/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/
DIkeSessionParamsTest.java179 IkeAuthConfig remoteConfig = sessionParams.getRemoteAuthConfig(); in verifyAuthPskConfig() local
180 assertTrue(remoteConfig instanceof IkeAuthPskConfig); in verifyAuthPskConfig()
181 assertEquals(IkeSessionParams.IKE_AUTH_METHOD_PSK, remoteConfig.mAuthMethod); in verifyAuthPskConfig()
182 assertArrayEquals(PSK, ((IkeAuthPskConfig) remoteConfig).mPsk); in verifyAuthPskConfig()
488 IkeAuthConfig remoteConfig = sessionParams.getRemoteAuthConfig(); in testBuildWithEap() local
489 assertTrue(remoteConfig instanceof IkeAuthDigitalSignRemoteConfig); in testBuildWithEap()
490 assertEquals(IkeSessionParams.IKE_AUTH_METHOD_PUB_KEY_SIGNATURE, remoteConfig.mAuthMethod); in testBuildWithEap()
493 ((IkeAuthDigitalSignRemoteConfig) remoteConfig).mTrustAnchor.getTrustedCert()); in testBuildWithEap()
523 IkeAuthConfig remoteConfig = sessionParams.getRemoteAuthConfig(); in testBuildWithDigitalSignatureAuth() local
524 assertTrue(remoteConfig instanceof IkeAuthDigitalSignRemoteConfig); in testBuildWithDigitalSignatureAuth()
[all …]
/packages/modules/IPsec/src/java/android/net/ipsec/ike/
DIkeSessionParams.java1547 IkeAuthConfig remoteConfig = new IkeAuthDigitalSignRemoteConfig(serverCaCert); in setAuthDigitalSignature() local
1549 return setAuth(localConfig, remoteConfig); in setAuthDigitalSignature()