#include <peerconfiguration.h>
Inheritance diagram for openikev2::PeerConfiguration:

Public Member Functions | |
| PeerConfiguration () | |
| Creates a new Peer configuration with default values. | |
| virtual void | addPeerId (auto_ptr< ID > id) |
| Add a peer ID to the configuration. | |
| virtual void | deletePeerId (ID &id) |
| Remove a peer ID from the configuration. | |
| virtual bool | hasPeerId (const ID &id) const |
| Indicates if this Peer Configuration has a peer ID. | |
| 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 | |
| Enums::ROLE_ID | role |
| Configuration role. | |
| auto_ptr< IkeConfiguration > | ike_configuration |
| IKE configuration. | |
| auto_ptr< IpsecConfiguration > | ipsec_configuration |
| IPSEC configuration. | |
Protected Attributes | |
| AutoVector< ID > | peer_ids |
| Collection of Peer IDs having this configuration. | |
Friends | |
| class | Configuration |
| void openikev2::PeerConfiguration::addPeerId | ( | auto_ptr< ID > | id | ) | [virtual] |
| void openikev2::PeerConfiguration::deletePeerId | ( | ID & | id | ) | [virtual] |
| bool openikev2::PeerConfiguration::hasPeerId | ( | const ID & | id | ) | const [virtual] |
Indicates if this Peer Configuration has a peer ID.
| id | Peer ID |
| string openikev2::PeerConfiguration::toStringTab | ( | uint8_t | tabs | ) | const [virtual] |
Construct a textual representation of the object, preceded of a num of tabs of size TAB_SIZE.
| tabs | Num of tabs preceding the textual representation. |
Implements openikev2::Printable.
Configuration role.
Only for initiators, responders or both.
1.5.1