reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
repro::TlsPeerIdentityStore Class Reference

#include <TlsPeerIdentityStore.hxx>

Public Types

typedef resip::Data Key
 

Public Member Functions

 TlsPeerIdentityStore (AbstractDb &db)
 
virtual ~TlsPeerIdentityStore ()
 
AbstractDb::TlsPeerIdentityRecord getTlsPeerIdentityInfo (const Key &key) const
 
bool isAuthorized (const std::set< resip::Data > &peerNames, const std::set< resip::Data > &identities) const
 
bool addTlsPeerIdentity (const resip::Data &peerName, const resip::Data &authorizedIdentity)
 
void eraseTlsPeerIdentity (const Key &key)
 
bool updateTlsPeerIdentity (const Key &originalKey, const resip::Data &peerName, const resip::Data &authorizedIdentity)
 
Key getFirstKey ()
 
Key getNextKey ()
 

Static Public Member Functions

static Key buildKey (const resip::Data &peerName, const resip::Data &authorizedIdentity)
 
static void getTlsPeerIdentityFromKey (const AbstractDb::Key &key, resip::Data &peerName, resip::Data &authorizedIdentity)
 

Detailed Description

Definition at line 20 of file TlsPeerIdentityStore.hxx.

Member Typedef Documentation

◆ Key

Constructor & Destructor Documentation

◆ TlsPeerIdentityStore()

TlsPeerIdentityStore::TlsPeerIdentityStore ( AbstractDb &  db)

Definition at line 25 of file TlsPeerIdentityStore.cxx.

◆ ~TlsPeerIdentityStore()

TlsPeerIdentityStore::~TlsPeerIdentityStore ( )
virtual

Definition at line 29 of file TlsPeerIdentityStore.cxx.

Member Function Documentation

◆ addTlsPeerIdentity()

bool TlsPeerIdentityStore::addTlsPeerIdentity ( const resip::Data &  peerName,
const resip::Data &  authorizedIdentity 
)

Definition at line 47 of file TlsPeerIdentityStore.cxx.

◆ buildKey()

TlsPeerIdentityStore::Key TlsPeerIdentityStore::buildKey ( const resip::Data &  peerName,
const resip::Data &  authorizedIdentity 
)
static

Definition at line 91 of file TlsPeerIdentityStore.cxx.

◆ eraseTlsPeerIdentity()

void TlsPeerIdentityStore::eraseTlsPeerIdentity ( const Key &  key)

Definition at line 58 of file TlsPeerIdentityStore.cxx.

◆ getFirstKey()

TlsPeerIdentityStore::Key TlsPeerIdentityStore::getFirstKey ( )

Definition at line 79 of file TlsPeerIdentityStore.cxx.

◆ getNextKey()

TlsPeerIdentityStore::Key TlsPeerIdentityStore::getNextKey ( )

Definition at line 85 of file TlsPeerIdentityStore.cxx.

◆ getTlsPeerIdentityFromKey()

void TlsPeerIdentityStore::getTlsPeerIdentityFromKey ( const AbstractDb::Key &  key,
resip::Data &  peerName,
resip::Data &  authorizedIdentity 
)
static

Definition at line 98 of file TlsPeerIdentityStore.cxx.

◆ getTlsPeerIdentityInfo()

AbstractDb::TlsPeerIdentityRecord TlsPeerIdentityStore::getTlsPeerIdentityInfo ( const Key &  key) const

Definition at line 34 of file TlsPeerIdentityStore.cxx.

◆ isAuthorized()

bool TlsPeerIdentityStore::isAuthorized ( const std::set< resip::Data > &  peerNames,
const std::set< resip::Data > &  identities 
) const

Definition at line 40 of file TlsPeerIdentityStore.cxx.

◆ updateTlsPeerIdentity()

bool TlsPeerIdentityStore::updateTlsPeerIdentity ( const Key &  originalKey,
const resip::Data &  peerName,
const resip::Data &  authorizedIdentity 
)

Definition at line 64 of file TlsPeerIdentityStore.cxx.


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