1#if !defined(RESIP_TLSPEERAUTHMANAGER_HXX)
2#define RESIP_TLSPEERAUTHMANAGER_HXX
14class DialogUsageManager;
56 typedef std::map<Data, SipMessage*> MessageMap;
59 std::set<Data> mTrustedPeers;
60 bool mThirdPartyRequiresCertificate;
An alternative to std::string, encapsulates an arbitrary buffer of bytes.
The base-class used for message-passing.
Represents a SIP message.
virtual bool isTrustedSource(const SipMessage &msg)
should return true if the request should be trusted based on the source/transport default implementat...
virtual ~TlsPeerAuthManager()
virtual ProcessingResult process(Message *msg)
virtual AsyncBool asyncLookup(TlsPeerIdentityInfoMessage *info)
virtual SipMessage * handleTlsPeerIdentityInfo(TlsPeerIdentityInfoMessage *tpiInfo)
virtual bool requiresAuthorization(const SipMessage &msg)
should return true if the request must be challenged The default is to challenge all requests - overr...
virtual AsyncBool authorizedForThisIdentity(const resip::Data &transactionId, const std::list< resip::Data > &peerNames, resip::Uri &fromUri)
should return true if the passed in user is authorized for the provided uri
virtual Result handle(SipMessage *sipMsg)
Represents the "SIP-URI" and "SIPS-URI" elements in the RFC 3261 grammar.
dcm! – add UnusedChecking(_enum) below;
std::map< Data, PermittedFromAddresses > CommonNameMappings
std::set< Data > PermittedFromAddresses