#include <eapclientcontroller.h>
Public Member Functions | |
| virtual auto_ptr< Payload_EAP > | processEapRequest (const Payload_EAP &eap_request)=0 |
| Processes an EAP request and generates the adecuated response. | |
| virtual void | processEapSuccess (const Payload_EAP &eap_success) |
| Processes an EAP success notification. | |
| virtual ByteArray * | getSharedSecret () const |
| Get the shared secret value generated along the EAP process. | |
Protected Member Functions | |
| virtual void | setSharedSecret (auto_ptr< ByteArray > shared_secret) |
| Sets the shared secret generated along the EAP process. | |
Protected Attributes | |
| auto_ptr< ByteArray > | shared_secret |
| If the EAP authentication method generates a shared secret, it will be held here (NULL otherwise). | |
This class holds the client state of the EAP process.
| void openikev2::EapClientController::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::EapClientController::processEapRequest | ( | const Payload_EAP & | eap_request | ) | [pure virtual] |
Processes an EAP request and generates the adecuated response.
| eap_request | The received EAP request |
| void openikev2::EapClientController::processEapSuccess | ( | const Payload_EAP & | eap_success | ) | [virtual] |
Processes an EAP success notification.
Usually this method fills the "shared_secret" attribute in order to be used in the authentication (if needed).
| eap_success | The received EAP success |
| ByteArray * openikev2::EapClientController::getSharedSecret | ( | ) | const [virtual] |
Get the shared secret value generated along the EAP process.
1.5.1