16#ifndef __Glacier2_SSLInfo_h__
17#define __Glacier2_SSLInfo_h__
33#ifndef ICE_IGNORE_VERSION
34# if ICE_INT_VERSION / 100 != 307
35# error Ice version mismatch!
37# if ICE_INT_VERSION % 100 >= 50
38# error Beta header file detected
40# if ICE_INT_VERSION % 100 < 11
41# error Ice patch level mismatch!
46# if defined(ICE_STATIC_LIBS)
48# elif defined(GLACIER2_API_EXPORTS)
49# define GLACIER2_API ICE_DECLSPEC_EXPORT
51# define GLACIER2_API ICE_DECLSPEC_IMPORT
55#ifdef ICE_CPP11_MAPPING
97 std::tuple<const ::std::string&, const int&, const ::std::string&, const int&, const ::std::string&, const ::Ice::StringSeq&> ice_tuple()
const
104using Ice::operator<=;
106using Ice::operator>=;
107using Ice::operator==;
108using Ice::operator!=;
117struct StreamableTraits<::Glacier2::SSLInfo>
119 static const StreamHelperCategory helper = StreamHelperCategoryStruct;
120 static const int minWireSize = 12;
121 static const bool fixedLength =
false;
125struct StreamReader<::Glacier2::SSLInfo, S>
127 static void read(S* istr, ::Glacier2::SSLInfo& v)
184 static const StreamHelperCategory helper = StreamHelperCategoryStruct;
185 static const int minWireSize = 12;
186 static const bool fixedLength =
false;
190struct StreamWriter< ::Glacier2::SSLInfo, S>
192 static void write(S* ostr, const ::Glacier2::SSLInfo& v)
194 ostr->write(v.remoteHost);
195 ostr->write(v.remotePort);
196 ostr->write(v.localHost);
197 ostr->write(v.localPort);
198 ostr->write(v.cipher);
199 ostr->write(v.certs);
204struct StreamReader< ::Glacier2::SSLInfo, S>
206 static void read(S* istr, ::Glacier2::SSLInfo& v)
Definition PermissionsVerifier.h:524
Definition BuiltinSequences.h:113
::std::vector< ::std::string > StringSeq
A sequence of strings.
Definition BuiltinSequences.h:153
int Int
The mapping for the Slice int type.
Definition Config.h:54
Information taken from an SSL connection used for permissions verification.
Definition SSLInfo.h:148
::Ice::StringSeq certs
The certificate chain.
Definition SSLInfo.h:172
::Ice::Int localPort
The router's port.
Definition SSLInfo.h:164
::std::string localHost
The router's host.
Definition SSLInfo.h:160
::Ice::Int remotePort
The remote port.
Definition SSLInfo.h:156
::std::string remoteHost
The remote host.
Definition SSLInfo.h:152
::std::string cipher
The negotiated cipher suite.
Definition SSLInfo.h:168