|
OpenSDN source code
|
#include <bgp_config.h>
Public Types | |
| enum | KeyType { NIL = 0 , MD5 } |
| typedef AuthenticationKeyChain::iterator | iterator |
| typedef AuthenticationKeyChain::const_iterator | const_iterator |
Public Member Functions | |
| iterator | begin () |
| iterator | end () |
| const_iterator | begin () const |
| const_iterator | end () const |
| AuthenticationData () | |
| AuthenticationData (KeyType type, const AuthenticationKeyChain &chain) | |
| bool | operator== (const AuthenticationData &rhs) const |
| bool | operator< (const AuthenticationData &rhs) const |
| AuthenticationData & | operator= (const AuthenticationData &rhs) |
| const AuthenticationKey * | Find (int key_id) const |
| bool | IsMd5 () const |
| bool | Empty () const |
| void | Clear () |
| std::string | KeyTypeToString () const |
| void | AddKeyToKeyChain (const AuthenticationKey &key) |
| KeyType | key_type () const |
| void | set_key_type (KeyType in_type) |
| const AuthenticationKeyChain & | key_chain () const |
| void | set_key_chain (const AuthenticationKeyChain &in_chain) |
| std::vector< std::string > | KeysToString () const |
| std::vector< std::string > | KeysToStringDetail () const |
Static Public Member Functions | |
| static std::string | KeyTypeToString (KeyType key_type) |
Private Attributes | |
| KeyType | key_type_ |
| AuthenticationKeyChain | key_chain_ |
Definition at line 41 of file bgp_config.h.
| typedef AuthenticationKeyChain::const_iterator AuthenticationData::const_iterator |
Definition at line 48 of file bgp_config.h.
| typedef AuthenticationKeyChain::iterator AuthenticationData::iterator |
Definition at line 47 of file bgp_config.h.
| Enumerator | |
|---|---|
| NIL | |
| MD5 | |
Definition at line 43 of file bgp_config.h.
| AuthenticationData::AuthenticationData | ( | ) |
Definition at line 49 of file bgp_config.cc.
| AuthenticationData::AuthenticationData | ( | KeyType | type, |
| const AuthenticationKeyChain & | chain | ||
| ) |
Definition at line 52 of file bgp_config.cc.
| void AuthenticationData::AddKeyToKeyChain | ( | const AuthenticationKey & | key | ) |
Definition at line 91 of file bgp_config.cc.
|
inline |
Definition at line 50 of file bgp_config.h.
|
inline |
Definition at line 52 of file bgp_config.h.
| void AuthenticationData::Clear | ( | ) |
Definition at line 110 of file bgp_config.cc.
| bool AuthenticationData::Empty | ( | ) | const |
Definition at line 106 of file bgp_config.cc.
|
inline |
Definition at line 51 of file bgp_config.h.
|
inline |
Definition at line 53 of file bgp_config.h.
| const AuthenticationKey * AuthenticationData::Find | ( | int | key_id | ) | const |
Definition at line 95 of file bgp_config.cc.
|
inline |
Definition at line 63 of file bgp_config.h.
|
inline |
Definition at line 74 of file bgp_config.h.
|
inline |
Definition at line 70 of file bgp_config.h.
| vector< string > AuthenticationData::KeysToString | ( | ) | const |
| vector< string > AuthenticationData::KeysToStringDetail | ( | ) | const |
| string AuthenticationData::KeyTypeToString | ( | ) | const |
Definition at line 114 of file bgp_config.cc.
|
static |
| bool AuthenticationData::operator< | ( | const AuthenticationData & | rhs | ) | const |
| AuthenticationData & AuthenticationData::operator= | ( | const AuthenticationData & | rhs | ) |
| bool AuthenticationData::operator== | ( | const AuthenticationData & | rhs | ) | const |
|
inline |
Definition at line 75 of file bgp_config.h.
|
inline |
Definition at line 71 of file bgp_config.h.
|
private |
Definition at line 83 of file bgp_config.h.
|
private |
Definition at line 82 of file bgp_config.h.