IBR-DTNSuite  0.8
dtn::daemon::Configuration::Security Class Reference

#include <Configuration.h>

Inheritance diagram for dtn::daemon::Configuration::Security:
Collaboration diagram for dtn::daemon::Configuration::Security:

List of all members.

Public Member Functions

bool enabled () const
bool doTLS () const
 checks if TLS shall be activated
bool TLSRequired () const
 Checks if TLS is required.

Protected Member Functions

 Security ()
virtual ~Security ()
void load (const ibrcommon::ConfigFile &conf)

Friends

class Configuration

Detailed Description

Definition at line 415 of file Configuration.h.


Constructor & Destructor Documentation

Definition at line 87 of file Configuration.cpp.

Definition at line 1058 of file Configuration.cpp.


Member Function Documentation

checks if TLS shall be activated

Returns:
true if TLS is requested, false otherwise If TLS is requested, the TCP Convergence Layer Contact Header has the most significant bit of the flags field set to 1. If both peers support it, a TLS Handshake is executed.

Definition at line 1065 of file Configuration.cpp.

Referenced by __daemon_run().

Definition at line 1060 of file Configuration.cpp.

Referenced by __daemon_run().

void dtn::daemon::Configuration::Security::load ( const ibrcommon::ConfigFile conf) [protected, virtual]

Checks if TLS is required.

Returns:
true if TLS is required, false otherwise If TLS is required, this node should abort TCP Convergence Layer Connections immediately if TLS is not available or fails

Definition at line 1070 of file Configuration.cpp.

References dtn::utils::Clock::quality.


Friends And Related Function Documentation

friend class Configuration [friend]

Definition at line 417 of file Configuration.h.


The documentation for this class was generated from the following files: