Searched refs:localConfig (Results 1 – 4 of 4) sorted by relevance
177 IkeAuthConfig localConfig = sessionParams.getLocalAuthConfig(); in verifyIkeParamsMinimum() local178 assertTrue(localConfig instanceof IkeAuthPskConfig); in verifyIkeParamsMinimum()179 assertArrayEquals(IKE_PSK, ((IkeAuthPskConfig) localConfig).getPsk()); in verifyIkeParamsMinimum()344 IkeAuthConfig localConfig = sessionParams.getLocalAuthConfig(); in verifyIkeParamsWithPsk() local345 assertTrue(localConfig instanceof IkeAuthPskConfig); in verifyIkeParamsWithPsk()346 assertArrayEquals(IKE_PSK, ((IkeAuthPskConfig) localConfig).getPsk()); in verifyIkeParamsWithPsk()386 IkeAuthConfig localConfig = sessionParams.getLocalAuthConfig(); in testBuildWithEap() local387 assertTrue(localConfig instanceof IkeAuthEapConfig); in testBuildWithEap()388 assertEquals(EAP_ALL_METHODS_CONFIG, ((IkeAuthEapConfig) localConfig).getEapConfig()); in testBuildWithEap()406 IkeAuthConfig localConfig = sessionParams.getLocalAuthConfig(); in testBuildWithEapOnlyAuth() local[all …]
174 IkeAuthConfig localConfig = sessionParams.getLocalAuthConfig(); in verifyAuthPskConfig() local175 assertTrue(localConfig instanceof IkeAuthPskConfig); in verifyAuthPskConfig()176 assertEquals(IkeSessionParams.IKE_AUTH_METHOD_PSK, localConfig.mAuthMethod); in verifyAuthPskConfig()177 assertArrayEquals(PSK, ((IkeAuthPskConfig) localConfig).mPsk); in verifyAuthPskConfig()483 IkeAuthConfig localConfig = sessionParams.getLocalAuthConfig(); in testBuildWithEap() local484 assertTrue(localConfig instanceof IkeAuthEapConfig); in testBuildWithEap()485 assertEquals(IkeSessionParams.IKE_AUTH_METHOD_EAP, localConfig.mAuthMethod); in testBuildWithEap()486 assertEquals(eapConfig, ((IkeAuthEapConfig) localConfig).mEapConfig); in testBuildWithEap()513 IkeAuthConfig localConfig = sessionParams.getLocalAuthConfig(); in testBuildWithDigitalSignatureAuth() local514 assertTrue(localConfig instanceof IkeAuthDigitalSignLocalConfig); in testBuildWithDigitalSignatureAuth()[all …]
1544 IkeAuthConfig localConfig = in setAuthDigitalSignature() local1549 return setAuth(localConfig, remoteConfig); in setAuthDigitalSignature()
880 private static int getEncryptionType(SoftApConfiguration localConfig) { in getEncryptionType() argument882 switch (localConfig.getSecurityType()) { in getEncryptionType()