16#ifndef __IceSSL_ConnectionInfo_h__
17#define __IceSSL_ConnectionInfo_h__
34#ifndef ICE_IGNORE_VERSION
35# if ICE_INT_VERSION / 100 != 307
36# error Ice version mismatch!
38# if ICE_INT_VERSION % 100 >= 50
39# error Beta header file detected
41# if ICE_INT_VERSION % 100 < 11
42# error Ice patch level mismatch!
47# if defined(ICE_STATIC_LIBS)
49# elif defined(ICESSL_API_EXPORTS)
50# define ICESSL_API ICE_DECLSPEC_EXPORT
52# define ICESSL_API ICE_DECLSPEC_IMPORT
56#ifdef ICE_CPP11_MAPPING
72class ICE_CLASS(ICESSL_API) ConnectionInfo :
public ::Ice::ConnectionInfo
78 ConnectionInfo() =
default;
80 ConnectionInfo(
const ConnectionInfo&) =
default;
81 ConnectionInfo(ConnectionInfo&&) =
default;
82 ConnectionInfo& operator=(
const ConnectionInfo&) =
default;
83 ConnectionInfo& operator=(ConnectionInfo&&) =
default;
95 ConnectionInfo(const ::std::shared_ptr<::Ice::ConnectionInfo>& underlying,
bool incoming, const ::std::string& adapterName, const ::std::string& connectionId, const ::std::string& cipher,
const std::vector<CertificatePtr>& certs,
bool verified) :
96 ::Ice::ConnectionInfo(underlying, incoming, adapterName, connectionId),
106 ::std::string cipher;
110 std::vector<CertificatePtr> certs;
185#ifdef ICE_CPP11_COMPILER
210inline bool operator<(
const ConnectionInfo& lhs,
const ConnectionInfo& rhs)
#define ICESSL_API
Definition ConnectionInfoF.h:49
#define ICE_MEMBER(API)
Definition Config.h:177
Provides access to the connection details of an SSL connection.
Definition ConnectionInfo.h:156
ConnectionInfo()
Definition ConnectionInfo.h:163
ConnectionInfoPtr PointerType
Definition ConnectionInfo.h:159
virtual ~ConnectionInfo()
ConnectionInfo(const ::Ice::ConnectionInfoPtr &underlying, bool incoming, const ::std::string &adapterName, const ::std::string &connectionId, const ::std::string &cipher, const std::vector< CertificatePtr > &certs, bool verified)
One-shot constructor to initialize all data members.
Definition ConnectionInfo.h:177
std::vector< CertificatePtr > certs
The certificate chain.
Definition ConnectionInfo.h:197
::std::string cipher
The negotiated cipher suite.
Definition ConnectionInfo.h:193
bool verified
The certificate chain verification status.
Definition ConnectionInfo.h:201
Base class providing access to the connection details.
Definition Connection.h:1030
::Ice::ConnectionInfoPtr underlying
The information of the underyling transport or null if there's no underlying transport.
Definition Connection.h:1065
::std::string adapterName
The name of the adapter associated with the connection.
Definition Connection.h:1074
::std::string connectionId
The connection id.
Definition Connection.h:1078
bool incoming
Whether or not the connection is an incoming or outgoing connection.
Definition Connection.h:1070
Base class for local Slice classes and interfaces.
Definition LocalObject.h:25
Definition ConnectionInfo.h:138
::IceInternal::Handle< ConnectionInfo > ConnectionInfoPtr
Definition ConnectionInfo.h:144
Definition BuiltinSequences.h:113