reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
ConnectionInfo.hxx
Go to the documentation of this file.
1#if !defined(RESIP_CONNECTIONINFO_HXX)
2#define RESIP_CONNECTIONINFO_HXX
3
4#include <list>
5#include <memory>
6
7#include "rutil/Data.hxx"
9
10namespace resip
11{
12
13class WsCookieContext;
14
27{
28 public:
32 std::list<Data> mTlsPeerNames;
33
37
40
43 std::shared_ptr<WsCookieContext> mWsCookieContext;
44};
45
46}
47
48#endif
49
50/* ====================================================================
51 *
52 * Copyright (c) 2026 SIP Spectrum, Inc. https://www.sipspectrum.com
53 *
54 * Redistribution and use in source and binary forms, with or without
55 * modification, are permitted provided that the following conditions
56 * are met:
57 *
58 * 1. Redistributions of source code must retain the above copyright
59 * notice, this list of conditions and the following disclaimer.
60 *
61 * 2. Redistributions in binary form must reproduce the above copyright
62 * notice, this list of conditions and the following disclaimer in
63 * the documentation and/or other materials provided with the
64 * distribution.
65 *
66 * 3. Neither the name of the author(s) nor the names of any contributors
67 * may be used to endorse or promote products derived from this software
68 * without specific prior written permission.
69 *
70 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) AND CONTRIBUTORS "AS IS" AND
71 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
72 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
73 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR(S) OR CONTRIBUTORS BE LIABLE
74 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
75 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
76 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
77 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
78 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
79 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
80 * SUCH DAMAGE.
81 *
82 * ====================================================================
83 *
84 */
Facts about a TLS or WebSocket connection that do not change once it is set up.
Data mTlsSni
SNI (TLS server_name) the peer sent in its ClientHello.
std::shared_ptr< WsCookieContext > mWsCookieContext
Parsed cookie authentication elements from the WebSocket Upgrade request, if the transport has a WsCo...
std::list< Data > mTlsPeerNames
Names from the peer's verified TLS certificate (subjectAltName, or commonName if it has none).
CookieList mWsCookies
Cookies from the WebSocket Upgrade request.
An alternative to std::string, encapsulates an arbitrary buffer of bytes.
Definition Data.hxx:90
dcm! – add UnusedChecking(_enum) below;
std::vector< Cookie > CookieList
Definition Cookie.hxx:35