#include <eapservercontroller.h>
Public Member Functions | |
| virtual auto_ptr< Payload_EAP > | generateInitialEapRequest ()=0 |
| Generates the Initial EAP request message to be included in the IKE_AUTH response. | |
| virtual auto_ptr< Payload_EAP > | processEapResponse (const Payload_EAP &eap_response)=0 |
| Processes the EAP response and generates the next EAP request, EAP success or EAP failure message. | |
| virtual ByteArray * | getSharedSecret () const |
| Get the shared secret value generated along the EAP process. | |
Public Attributes | |
| auto_ptr< Message > | eap_init_req |
| EAP_INIT request message. | |
| auto_ptr< ByteArray > | shared_secret |
| If the EAP authentication method generates a shared secret, it will be held here (NULL otherwise). | |
Protected Member Functions | |
| virtual void | setSharedSecret (auto_ptr< ByteArray > shared_secret) |
| Sets the shared secret generated along the EAP process. | |
This class holds the server state of the EAP process.
| void openikev2::EapServerController::setSharedSecret | ( | auto_ptr< ByteArray > | shared_secret | ) | [protected, virtual] |
Sets the shared secret generated along the EAP process.
| shared_secret | Shared secret |
| virtual auto_ptr<Payload_EAP> openikev2::EapServerController::generateInitialEapRequest | ( | ) | [pure virtual] |
Generates the Initial EAP request message to be included in the IKE_AUTH response.
| virtual auto_ptr<Payload_EAP> openikev2::EapServerController::processEapResponse | ( | const Payload_EAP & | eap_response | ) | [pure virtual] |
Processes the EAP response and generates the next EAP request, EAP success or EAP failure message.
| eap_response | Received EAP response |
| ByteArray * openikev2::EapServerController::getSharedSecret | ( | ) | const [virtual] |
Get the shared secret value generated along the EAP process.
1.5.1