|
IBR-DTNSuite
0.10
|
#include <SecurityBlock.h>


Public Member Functions | |
| TLVList () | |
| virtual | ~TLVList () |
| const std::string | get (TLV_TYPES type) const |
| void | get (TLV_TYPES type, unsigned char *value, dtn::data::Length length) const |
| void | set (TLV_TYPES type, std::string value) |
| void | set (TLV_TYPES type, const unsigned char *value, dtn::data::Length length) |
| void | remove (TLV_TYPES type) |
| const std::string | toString () const |
| dtn::data::Length | getLength () const |
Friends | |
| std::ostream & | operator<< (std::ostream &stream, const TLVList &tlvlist) |
| std::istream & | operator>> (std::istream &stream, TLVList &tlvlist) |
Definition at line 128 of file SecurityBlock.h.
|
inline |
Definition at line 131 of file SecurityBlock.h.
|
inlinevirtual |
Definition at line 132 of file SecurityBlock.h.
| const std::string dtn::security::SecurityBlock::TLVList::get | ( | SecurityBlock::TLV_TYPES | type | ) | const |
Definition at line 73 of file SecurityBlock.cpp.
Referenced by dtn::security::SecurityBlock::decryptBlock(), dtn::security::PayloadConfidentialBlock::decryptPayload(), dtn::security::SecurityBlock::getKey(), dtn::security::SecurityBlock::getSalt(), and dtn::security::BundleAuthenticationBlock::verify().
| void dtn::security::SecurityBlock::TLVList::get | ( | TLV_TYPES | type, |
| unsigned char * | value, | ||
| dtn::data::Length | length | ||
| ) | const |
Definition at line 86 of file SecurityBlock.cpp.
| dtn::data::Length dtn::security::SecurityBlock::TLVList::getLength | ( | ) | const |
Definition at line 56 of file SecurityBlock.cpp.
Referenced by dtn::security::PayloadIntegrityBlock::deserialize(), dtn::security::SecurityBlock::getLength(), dtn::security::SecurityBlock::getLength_mutable(), dtn::security::SecurityBlock::getSecurityResultSize(), dtn::security::MutualSerializer::operator<<(), and dtn::security::operator>>().
| void dtn::security::SecurityBlock::TLVList::remove | ( | SecurityBlock::TLV_TYPES | type | ) |
Definition at line 114 of file SecurityBlock.cpp.
| void dtn::security::SecurityBlock::TLVList::set | ( | SecurityBlock::TLV_TYPES | type, |
| std::string | value | ||
| ) |
Definition at line 100 of file SecurityBlock.cpp.
Referenced by dtn::security::SecurityBlock::addFragmentRange(), dtn::security::SecurityBlock::addKey(), dtn::security::SecurityBlock::addSalt(), dtn::security::BundleAuthenticationBlock::auth(), dtn::security::PayloadConfidentialBlock::encrypt(), and dtn::security::PayloadIntegrityBlock::sign().
| void dtn::security::SecurityBlock::TLVList::set | ( | TLV_TYPES | type, |
| const unsigned char * | value, | ||
| dtn::data::Length | length | ||
| ) |
Definition at line 108 of file SecurityBlock.cpp.
| const std::string dtn::security::SecurityBlock::TLVList::toString | ( | ) | const |
Definition at line 44 of file SecurityBlock.cpp.
Referenced by dtn::security::MutualSerializer::operator<<().
|
friend |
Definition at line 134 of file SecurityBlock.cpp.
|
friend |
Definition at line 146 of file SecurityBlock.cpp.