#include <cryptocontroller.h>
Static Public Member Functions | |
| static void | setImplementation (auto_ptr< CryptoControllerImpl > impl) |
| Sets the CryptoController implementation. | |
| static auto_ptr< DiffieHellman > | getDiffieHellman (Enums::DH_ID group) |
| Creates a new DiffieHellman object using the current implementation. | |
| static auto_ptr< Cipher > | getCipher (Proposal &proposal, auto_ptr< ByteArray > encr_key, auto_ptr< ByteArray > integ_key) |
| Creates a new Cipher object. | |
| static auto_ptr< Random > | getRandom () |
| Creates a new Random object using the current implementation. | |
| static auto_ptr< PseudoRandomFunction > | getPseudoRandomFunction (Transform &prf_transform) |
| Creates a new PseudoRandomFunction object. | |
| static auto_ptr< KeyRing > | getKeyRing (Proposal &proposal, const PseudoRandomFunction &prf) |
| Creates a new KeyRing object. | |
| static auto_ptr< Payload_NOTIFY > | generateCookie (Message &message) |
| Creates a new cookie using the current implementation. | |
| static auto_ptr< Proposal > | chooseProposal (Payload_SA &received_payload_sa, Proposal &desired_proposal) |
| Creates a new Proposal containing the matching selection between a received Payload_SA and a desired Proposal. | |
Static Protected Attributes | |
| static auto_ptr< CryptoControllerImpl > | implementation |
| Implementation of the CryptoController. | |
| void openikev2::CryptoController::setImplementation | ( | auto_ptr< CryptoControllerImpl > | impl | ) | [static] |
Sets the CryptoController implementation.
The old one will be deleted.
| impl | CryptoController implementation |
| auto_ptr< DiffieHellman > openikev2::CryptoController::getDiffieHellman | ( | Enums::DH_ID | group | ) | [static] |
Creates a new DiffieHellman object using the current implementation.
| group | DiffieHellman group |
| auto_ptr< Random > openikev2::CryptoController::getRandom | ( | ) | [static] |
| auto_ptr< PseudoRandomFunction > openikev2::CryptoController::getPseudoRandomFunction | ( | Transform & | prf_transform | ) | [static] |
Creates a new PseudoRandomFunction object.
| prf_transform | PRF trandform |
| auto_ptr< KeyRing > openikev2::CryptoController::getKeyRing | ( | Proposal & | proposal, | |
| const PseudoRandomFunction & | prf | |||
| ) | [static] |
| auto_ptr< Payload_NOTIFY > openikev2::CryptoController::generateCookie | ( | Message & | message | ) | [static] |
Creates a new cookie using the current implementation.
| message | Full IKE_SA_INIT request message |
| auto_ptr< Proposal > openikev2::CryptoController::chooseProposal | ( | Payload_SA & | received_payload_sa, | |
| Proposal & | desired_proposal | |||
| ) | [static] |
Creates a new Proposal containing the matching selection between a received Payload_SA and a desired Proposal.
| received_payload_sa | Received Payload_SA | |
| desired_proposal | Our desired Proposal |
1.5.1