#include <SecurityBlock.h>

Public Types | |
| enum | BLOCK_TYPES { BUNDLE_AUTHENTICATION_BLOCK = 0x02, PAYLOAD_INTEGRITY_BLOCK = 0x03, PAYLOAD_CONFIDENTIAL_BLOCK = 0x04, EXTENSION_SECURITY_BLOCK = 0x09 } |
| enum | CIPHERSUITE_FLAGS { CONTAINS_SECURITY_RESULT = 1 << 0, CONTAINS_CORRELATOR = 1 << 1, CONTAINS_CIPHERSUITE_PARAMS = 1 << 2, CONTINAS_SECURITY_DESTINATION = 1 << 3, CONTINAS_SECURITY_SOURCE = 1 << 4, BIT5_RESERVED = 1 << 5, BIT6_RESERVED = 1 << 6 } |
Public Member Functions | |
| virtual | ~SecurityBlock ()=0 |
| virtual std::list< dtn::data::EID > | getEIDList () const |
Protected Member Functions | |
| SecurityBlock (SecurityBlock::BLOCK_TYPES type) | |
| SecurityBlock (SecurityBlock::BLOCK_TYPES type, ibrcommon::BLOB::Reference ref) | |
| virtual void | read () |
| virtual void | commit () |
Protected Attributes | |
| dtn::data::EID | _security_source |
| dtn::data::EID | _security_destination |
| dtn::data::SDNV | _ciphersuite_id |
| dtn::data::SDNV | _ciphersuite_flags |
| dtn::data::SDNV | _correlator |
| dtn::data::BundleString | _ciphersuite_params |
| dtn::data::BundleString | _security_result |
Definition at line 22 of file SecurityBlock.h.
| BUNDLE_AUTHENTICATION_BLOCK | |
| PAYLOAD_INTEGRITY_BLOCK | |
| PAYLOAD_CONFIDENTIAL_BLOCK | |
| EXTENSION_SECURITY_BLOCK |
Definition at line 25 of file SecurityBlock.h.
| CONTAINS_SECURITY_RESULT | |
| CONTAINS_CORRELATOR | |
| CONTAINS_CIPHERSUITE_PARAMS | |
| CONTINAS_SECURITY_DESTINATION | |
| CONTINAS_SECURITY_SOURCE | |
| BIT5_RESERVED | |
| BIT6_RESERVED |
Definition at line 33 of file SecurityBlock.h.
| dtn::data::SecurityBlock::~SecurityBlock | ( | ) | [pure virtual] |
Definition at line 27 of file SecurityBlock.cpp.
| dtn::data::SecurityBlock::SecurityBlock | ( | SecurityBlock::BLOCK_TYPES | type | ) | [protected] |
Definition at line 15 of file SecurityBlock.cpp.
| dtn::data::SecurityBlock::SecurityBlock | ( | SecurityBlock::BLOCK_TYPES | type, | |
| ibrcommon::BLOB::Reference | ref | |||
| ) | [protected] |
Definition at line 21 of file SecurityBlock.cpp.
| list< EID > dtn::data::SecurityBlock::getEIDList | ( | ) | const [virtual] |
Reimplemented from dtn::data::Block.
Definition at line 31 of file SecurityBlock.cpp.
References _ciphersuite_flags, _security_destination, _security_source, CONTINAS_SECURITY_DESTINATION, and CONTINAS_SECURITY_SOURCE.
| void dtn::data::SecurityBlock::read | ( | ) | [protected, virtual] |
Definition at line 44 of file SecurityBlock.cpp.
| void dtn::data::SecurityBlock::commit | ( | ) | [protected, virtual] |
Definition at line 62 of file SecurityBlock.cpp.
Definition at line 58 of file SecurityBlock.h.
dtn::data::SDNV dtn::data::SecurityBlock::_correlator [protected] |
Definition at line 60 of file SecurityBlock.h.
Definition at line 62 of file SecurityBlock.h.
Definition at line 63 of file SecurityBlock.h.
1.5.6