openikev2::IpsecConfiguration Class Reference

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

#include <ipsecconfiguration.h>

Inheritance diagram for openikev2::IpsecConfiguration:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 IpsecConfiguration (auto_ptr< Proposal > proposal)
 Creates a new IpsecConfiguration object.
virtual auto_ptr< IpsecConfigurationclone () const
 Creates a clone of this IPSEC configuration.
virtual ProposalgetProposal ()
 Gets the internal proposal structure.
virtual void setProposal (auto_ptr< Proposal > proposal)
 Sets the internal proposal structure.
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 max_allocations_soft
 Maximun number of allocations.
uint32_t max_allocations_hard
 Maximun number of allocations.
uint32_t lifetime_soft
 Lifetime (in seconds) of the SA.
uint32_t lifetime_hard
 Lifetime (in seconds) of the SA.
uint32_t max_bytes_soft
 Lifetime (in bytes) of the SA.
uint32_t max_bytes_hard
 Lifetime (in bytes) of the SA.
auto_ptr< AttributeMapattribute_map
 Using this map the class attributes can be extended dynamically.

Protected Attributes

auto_ptr< Proposalproposal
 IPSEC proposal.

Detailed Description

This class represents an IPsec SA configuration.

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


Constructor & Destructor Documentation

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

Creates a new IpsecConfiguration object.

Parameters:
proposal IPSEC proposal


Member Function Documentation

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

Creates a clone of this IPSEC configuration.

Returns:
A new IpsecConfiguration object

Proposal & openikev2::IpsecConfiguration::getProposal (  )  [virtual]

Gets the internal proposal structure.

Returns:
The proposal structure

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

Sets the internal proposal structure.

Parameters:
proposal The proposal structure

string openikev2::IpsecConfiguration::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.


Member Data Documentation

uint32_t openikev2::IpsecConfiguration::max_allocations_soft

Maximun number of allocations.

Soft limit.

uint32_t openikev2::IpsecConfiguration::max_allocations_hard

Maximun number of allocations.

Hard limit.

uint32_t openikev2::IpsecConfiguration::lifetime_soft

Lifetime (in seconds) of the SA.

Soft limit

uint32_t openikev2::IpsecConfiguration::lifetime_hard

Lifetime (in seconds) of the SA.

Hard limit

uint32_t openikev2::IpsecConfiguration::max_bytes_soft

Lifetime (in bytes) of the SA.

Soft limit

uint32_t openikev2::IpsecConfiguration::max_bytes_hard

Lifetime (in bytes) of the SA.

Hard limit


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