openikev2::IkeConfiguration Class Reference

This class represents an IKE SA configuration. More...

#include <ikeconfiguration.h>

Inheritance diagram for openikev2::IkeConfiguration:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 IkeConfiguration (auto_ptr< Proposal > proposal)
 Creates a new IkeConfiguration object, settins its default parameters.
virtual auto_ptr< IkeConfigurationclone () const
 Creates a clone of this IkeConfiguration object.
virtual ProposalgetProposal () const
 Gets the proposal.
virtual void setProposal (auto_ptr< Proposal > proposal)
 Sets the proposal.
virtual string toStringTab (uint8_t tabs) const
 Construct a textual representation of the object, preceded of a num of tabs of size TAB_SIZE.

Public Attributes

auto_ptr< IDmy_id
 ID to be used with this IKE SA.
Enums::AUTH_METHOD auth_method
 Authentication method to be used.
Enums::AUTH_METHOD peer_auth_method
 Authentication method to be used for the peer.
bool request_configuration
 Indicates if configuration must be requested (initiator role).
uint32_t retransmition_time
 Base retransmition time.
uint32_t retransmition_factor
 Factor to be added to retransmition time after each retransmition.
uint32_t rekey_time
 IKE SA lifetime.
uint32_t ike_max_exchange_retransmitions
 Maximun number of retransmitions.
bool initiator_uses_eap
 Use EAP authentication.
auto_ptr< CertificateControllercertificate_controller
 Certificate controller.
auto_ptr< PskControllerpsk_controller
 PSK controller.
bool send_cert_req
 Indicates if we want to send CERT_REQ payloads.
bool send_cert
 Indicates if we want to send CERT payloads.
bool hash_url_support
 Indicates if we supports HASH & URL.
auto_ptr< AttributeMapattributemap
 Using this map the class attributes can be extended dynamically.

Protected Attributes

auto_ptr< Proposalproposal
 IKE proposal for this IKE SA.

Detailed Description

This class represents an IKE SA configuration.

Author:
Pedro J. Fernandez Ruiz, Alejandro Perez Mendez <pedroj.fernandez@dif.um.es, alejandro_perez@dif.um.es>


Constructor & Destructor Documentation

openikev2::IkeConfiguration::IkeConfiguration ( auto_ptr< Proposal proposal  ) 

Creates a new IkeConfiguration object, settins its default parameters.

Parameters:
proposal IKE proposal


Member Function Documentation

auto_ptr< IkeConfiguration > openikev2::IkeConfiguration::clone (  )  const [virtual]

Creates a clone of this IkeConfiguration object.

Returns:
A new IkeConfiguration object

Proposal & openikev2::IkeConfiguration::getProposal (  )  const [virtual]

Gets the proposal.

Returns:
IKE proposal

void openikev2::IkeConfiguration::setProposal ( auto_ptr< Proposal proposal  )  [virtual]

Sets the proposal.

Parameters:
proposal New IKE proposal

string openikev2::IkeConfiguration::toStringTab ( uint8_t  tabs  )  const [virtual]

Construct a textual representation of the object, preceded of a num of tabs of size TAB_SIZE.

Parameters:
tabs Num of tabs preceding the textual representation.
Returns:
Textual tabulated represetation of the object.

Implements openikev2::Printable.


Generated on Fri Jul 27 11:04:51 2007 for libopenikev2 by  doxygen 1.5.1