diff options
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_ClientCredentials.h')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_ClientCredentials.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_ClientCredentials.h b/TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_ClientCredentials.h index 06f37977679..aacb3c5a950 100644 --- a/TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_ClientCredentials.h +++ b/TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_ClientCredentials.h @@ -23,6 +23,7 @@ #endif /* ACE_LACKS_PRAGMA_ONCE */ #include "orbsvcs/orbsvcs/SSLIOP/SSLIOP_Credentials.h" +#include "orbsvcs/orbsvcs/SSLIOP/SSLIOP_SSL.h" #include "orbsvcs/orbsvcs/SecurityLevel3C.h" @@ -35,6 +36,7 @@ #pragma warning(disable:4250) #endif /* _MSC_VER */ + namespace TAO { namespace SSLIOP @@ -53,7 +55,9 @@ namespace TAO public: /// Constructor - ClientCredentials (::X509 *cert, ::EVP_PKEY *evp); + ClientCredentials (::X509 * cert, + ::EVP_PKEY * evp, + ::SSL * ssl); /** * @name SecurityLevel3::Credentials Methods @@ -127,6 +131,12 @@ namespace TAO */ ~ClientCredentials (void); + private: + + /// Reference to the OpenSSL @c SSL data structure associated + /// with the current security context (e.g. SSL connection). + TAO::SSLIOP::SSL_var ssl_; + }; } // End SSLIOP namespace |