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

#include <AclStore.hxx>

Classes

class  AddressRecord
 
class  TlsPeerNameRecord
 

Public Types

typedef resip::Data Key
 
typedef std::vector< TlsPeerNameRecord > TlsPeerNameList
 
typedef std::vector< AddressRecord > AddressList
 

Public Member Functions

 AclStore (AbstractDb &db)
 
 ~AclStore ()
 
bool addAcl (const resip::Data &tlsPeerName, const resip::Data &address, const short &mask, const short &port, const short &family, const short &transport)
 
bool addAcl (const resip::Data &tlsPeerNameOrAddress, const short &port, const short &transport)
 
void eraseAcl (const resip::Data &tlsPeerName, const resip::Data &address, const short &mask, const short &port, const short &family, const short &transport)
 
void eraseAcl (const resip::Data &key)
 
resip::Data getTlsPeerName (const resip::Data &key)
 
resip::Tuple getAddressTuple (const resip::Data &key)
 
short getAddressMask (const resip::Data &key)
 
Key getFirstTlsPeerNameKey ()
 
Key getNextTlsPeerNameKey (Key &key)
 
Key getFirstAddressKey ()
 
Key getNextAddressKey (Key &key)
 
bool isTlsPeerNameTrusted (const std::list< resip::Data > &tlsPeerNames)
 
bool isAddressTrusted (const resip::Tuple &address)
 
bool isRequestTrusted (const resip::SipMessage &request)
 

Detailed Description

Definition at line 14 of file AclStore.hxx.

Member Typedef Documentation

◆ AddressList

Definition at line 35 of file AclStore.hxx.

◆ Key

◆ TlsPeerNameList

Definition at line 34 of file AclStore.hxx.

Constructor & Destructor Documentation

◆ AclStore()

AclStore::AclStore ( AbstractDb &  db)

Definition at line 30 of file AclStore.cxx.

◆ ~AclStore()

AclStore::~AclStore ( )

Definition at line 57 of file AclStore.cxx.

Member Function Documentation

◆ addAcl() [1/2]

bool AclStore::addAcl ( const resip::Data &  tlsPeerName,
const resip::Data &  address,
const short &  mask,
const short &  port,
const short &  family,
const short &  transport 
)

Definition at line 62 of file AclStore.cxx.

◆ addAcl() [2/2]

bool AclStore::addAcl ( const resip::Data &  tlsPeerNameOrAddress,
const short &  port,
const short &  transport 
)

Definition at line 135 of file AclStore.cxx.

◆ eraseAcl() [1/2]

void AclStore::eraseAcl ( const resip::Data &  key)

Definition at line 302 of file AclStore.cxx.

◆ eraseAcl() [2/2]

void AclStore::eraseAcl ( const resip::Data &  tlsPeerName,
const resip::Data &  address,
const short &  mask,
const short &  port,
const short &  family,
const short &  transport 
)

Definition at line 289 of file AclStore.cxx.

◆ getAddressMask()

short AclStore::getAddressMask ( const resip::Data &  key)

Definition at line 485 of file AclStore.cxx.

◆ getAddressTuple()

resip::Tuple AclStore::getAddressTuple ( const resip::Data &  key)

Definition at line 473 of file AclStore.cxx.

◆ getFirstAddressKey()

AclStore::Key AclStore::getFirstAddressKey ( )

Definition at line 401 of file AclStore.cxx.

◆ getFirstTlsPeerNameKey()

AclStore::Key AclStore::getFirstTlsPeerNameKey ( )

Definition at line 341 of file AclStore.cxx.

◆ getNextAddressKey()

AclStore::Key AclStore::getNextAddressKey ( Key &  key)

Definition at line 441 of file AclStore.cxx.

◆ getNextTlsPeerNameKey()

AclStore::Key AclStore::getNextTlsPeerNameKey ( Key &  key)

Definition at line 381 of file AclStore.cxx.

◆ getTlsPeerName()

resip::Data AclStore::getTlsPeerName ( const resip::Data &  key)

Definition at line 461 of file AclStore.cxx.

◆ isAddressTrusted()

bool AclStore::isAddressTrusted ( const resip::Tuple &  address)

Definition at line 516 of file AclStore.cxx.

◆ isRequestTrusted()

bool AclStore::isRequestTrusted ( const resip::SipMessage &  request)

Definition at line 532 of file AclStore.cxx.

◆ isTlsPeerNameTrusted()

bool AclStore::isTlsPeerNameTrusted ( const std::list< resip::Data > &  tlsPeerNames)

Definition at line 497 of file AclStore.cxx.


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