openikev2::GeneralConfiguration Class Reference

This class represents the General Configuration of OpenIKEv2. More...

#include <generalconfiguration.h>

Inheritance diagram for openikev2::GeneralConfiguration:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 GeneralConfiguration ()
 Creates a new GeneralConfiguration object setting its default values.
virtual auto_ptr< GeneralConfigurationclone () const
 Creates a clone of this GeneralConfiguration.
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

uint32_t cookie_threshold
 Number of Half-Opened IKE_SAs to start cookie DoS protection mechanism.
uint32_t cookie_lifetime
 Lifetime of the cookie secret.
uint32_t ike_max_halfopen_time
 Maximun time to perform initial exchanges.
auto_ptr< ByteArrayvendor_id
 Vendor ID to be used.
auto_ptr< AttributeMapattributemap
 Extra configuration attribute.

Detailed Description

This class represents the General Configuration of OpenIKEv2.

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


Member Function Documentation

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

Creates a clone of this GeneralConfiguration.

Returns:
A new GeneralConfiguration object

string openikev2::GeneralConfiguration::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:50 2007 for libopenikev2 by  doxygen 1.5.1