This interface provides access to the SSL session information.
Sample Java code:
... code to set ORB ssl properties, create session ... MyComponent myComp = MyComponentHelper.narrow(session.create("MyPackage/MyComponent")); SSLSession sslSession = SSLSessionHelper.narrow(myComp); SSLSessionInfo sslSessionInfo = sslSession.getSessionInfo(); ... get peer cert, ciphersuite etc. from sslSessionInfo ...
Sample C++ code:
... code to set ORB ssl properties, create session ... MyComponent_var myComp = MyComponent::_narrow(session->create("MyPackage/MyComponent")); SSLSession_var sslSession = SSLSession::_narrow(myComp); SSLSessionInfo_var sslSessionInfo = sslSession->getSessionInfo(); ... get peer cert, ciphersuite etc. from sslSessionInfo ...
Returns SSLSessionInfo object. If SSL is not used with the associated object reference, it raises an SSLNotEnabledError exception.
CtsSecurity::SSLSessionInfo getSessionInfo ( ) raises (CtsSecurity::SSLNotEnabledError);