|
IBR-DTNSuite 0.6
|
#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, size_t length) const |
| void | set (TLV_TYPES type, std::string value) |
| void | set (TLV_TYPES type, const unsigned char *value, size_t length) |
| void | remove (TLV_TYPES type) |
| const std::string | toString () const |
| size_t | getLength () const |
Friends | |
| std::ostream & | operator<< (std::ostream &stream, const TLVList &tlvlist) |
| std::istream & | operator>> (std::istream &stream, TLVList &tlvlist) |
Definition at line 104 of file SecurityBlock.h.
| dtn::security::SecurityBlock::TLVList::TLVList | ( | ) | [inline] |
Definition at line 107 of file SecurityBlock.h.
| virtual dtn::security::SecurityBlock::TLVList::~TLVList | ( | ) | [inline, virtual] |
Definition at line 108 of file SecurityBlock.h.
| const std::string dtn::security::SecurityBlock::TLVList::get | ( | SecurityBlock::TLV_TYPES | type | ) | const |
Definition at line 58 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, | ||
| size_t | length | ||
| ) | const |
Definition at line 71 of file SecurityBlock.cpp.
| size_t dtn::security::SecurityBlock::TLVList::getLength | ( | ) | const |
Definition at line 40 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 99 of file SecurityBlock.cpp.
| void dtn::security::SecurityBlock::TLVList::set | ( | TLV_TYPES | type, |
| const unsigned char * | value, | ||
| size_t | length | ||
| ) |
Definition at line 93 of file SecurityBlock.cpp.
| void dtn::security::SecurityBlock::TLVList::set | ( | SecurityBlock::TLV_TYPES | type, |
| std::string | value | ||
| ) |
| const std::string dtn::security::SecurityBlock::TLVList::toString | ( | ) | const |
Definition at line 28 of file SecurityBlock.cpp.
Referenced by dtn::security::MutualSerializer::operator<<().
| std::ostream& operator<< | ( | std::ostream & | stream, |
| const TLVList & | tlvlist | ||
| ) | [friend] |
Definition at line 119 of file SecurityBlock.cpp.
| std::istream& operator>> | ( | std::istream & | stream, |
| SecurityBlock::TLVList & | tlvlist | ||
| ) | [friend] |
Definition at line 131 of file SecurityBlock.cpp.