reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
TlsPeerIdentityInfoMessage.cxx
Go to the documentation of this file.
1
2#include "rutil/ResipAssert.h"
3
5#include "rutil/Data.hxx"
6#include "rutil/Logger.hxx"
7
8using namespace resip;
9using namespace std;
10
11#define RESIPROCATE_SUBSYSTEM Subsystem::DUM
12
13
15 resip::TransactionUser* transactionUser) :
16 DumFeatureMessage(transactionId),
17 mAuthorized(false)
18{
19 mTu = transactionUser;
20}
21
25
28{
29 resip_assert(false); return NULL;
30}
31
32std::ostream&
33TlsPeerIdentityInfoMessage::encode(std::ostream& strm) const
34{
35 strm << "TlsPeerIdentityInfoMessage " << mAuthorized;
36 return strm;
37}
38
39std::ostream&
41{
42 return encode(strm);
43}
44
45std::ostream&
46resip::operator<<(std::ostream& strm, const TlsPeerIdentityInfoMessage& msg)
47{
48 return msg.encode(strm);
49}
50
51/* ====================================================================
52 *
53 * Copyright 2014 Daniel Pocock http://danielpocock.com All rights reserved.
54 *
55 * Redistribution and use in source and binary forms, with or without
56 * modification, are permitted provided that the following conditions
57 * are met:
58 *
59 * 1. Redistributions of source code must retain the above copyright
60 * notice, this list of conditions and the following disclaimer.
61 *
62 * 2. Redistributions in binary form must reproduce the above copyright
63 * notice, this list of conditions and the following disclaimer in
64 * the documentation and/or other materials provided with the
65 * distribution.
66 *
67 * 3. Neither the name of the author(s) nor the names of any contributors
68 * may be used to endorse or promote products derived from this software
69 * without specific prior written permission.
70 *
71 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) AND CONTRIBUTORS "AS IS" AND
72 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
73 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
74 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR(S) OR CONTRIBUTORS BE LIABLE
75 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
76 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
77 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
78 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
79 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
80 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
81 * SUCH DAMAGE.
82 *
83 * ====================================================================
84 *
85 *
86 */
87
#define resip_assert(x)
This file needs to work for both C and C++ code.
An alternative to std::string, encapsulates an arbitrary buffer of bytes.
Definition Data.hxx:90
dcm! – what is the intent of ApplicationMessage, especially as used in
The base-class used for message-passing.
Definition Message.hxx:21
TransactionUser * mTu
Definition Message.hxx:50
TlsPeerIdentityInfoMessage(const Data &transactionId, resip::TransactionUser *transactionUser)
virtual std::ostream & encode(std::ostream &strm) const
virtual std::ostream & encodeBrief(std::ostream &strm) const
virtual resip::Message * clone() const
The base-class for an RFC 3261 Transaction User.
dcm! – add UnusedChecking(_enum) below;
EncodeStream & operator<<(EncodeStream &strm, const BaseException &e)