Interface Repository

Interface CtsSecurity::SSLSession

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 ...
 

Operation Index

Operations


Generated by Sybase EAServer 5.0