Searched refs:remoteConfig (Results 1 – 3 of 3) sorted by relevance
180 IkeAuthConfig remoteConfig = sessionParams.getRemoteAuthConfig(); in verifyIkeParamsMinimum() local181 assertTrue(remoteConfig instanceof IkeAuthPskConfig); in verifyIkeParamsMinimum()182 assertArrayEquals(IKE_PSK, ((IkeAuthPskConfig) remoteConfig).getPsk()); in verifyIkeParamsMinimum()347 IkeAuthConfig remoteConfig = sessionParams.getRemoteAuthConfig(); in verifyIkeParamsWithPsk() local348 assertTrue(remoteConfig instanceof IkeAuthPskConfig); in verifyIkeParamsWithPsk()349 assertArrayEquals(IKE_PSK, ((IkeAuthPskConfig) remoteConfig).getPsk()); in verifyIkeParamsWithPsk()389 IkeAuthConfig remoteConfig = sessionParams.getRemoteAuthConfig(); in testBuildWithEap() local390 assertTrue(remoteConfig instanceof IkeAuthDigitalSignRemoteConfig); in testBuildWithEap()392 mServerCaCert, ((IkeAuthDigitalSignRemoteConfig) remoteConfig).getRemoteCaCert()); in testBuildWithEap()409 IkeAuthConfig remoteConfig = sessionParams.getRemoteAuthConfig(); in testBuildWithEapOnlyAuth() local[all …]
179 IkeAuthConfig remoteConfig = sessionParams.getRemoteAuthConfig(); in verifyAuthPskConfig() local180 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() local489 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() local524 assertTrue(remoteConfig instanceof IkeAuthDigitalSignRemoteConfig); in testBuildWithDigitalSignatureAuth()[all …]
1547 IkeAuthConfig remoteConfig = new IkeAuthDigitalSignRemoteConfig(serverCaCert); in setAuthDigitalSignature() local1549 return setAuth(localConfig, remoteConfig); in setAuthDigitalSignature()