• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

SSL Resumption using pre Loaded Sessions

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am trying to do SSL Session resumption in Java. But instead of doing handshake for the first time, I need to load the stored sessions (stored by a C++ application) and then use those sessions as if that session is cached.

The same process has to be done at the server side.

has anyone done this before in java ?

JSSE doesn't expose an aPI for me to Create SSLSessions on my own. EVen If I creat an SSLSession, there is no API for me to set the sessions in the client side cache.

I looked at the classes under http://java.sun.com/javase/6/docs/api/javax/net/ssl/package-summary.html.

I could not figure out a way. I use iBM java runtime.

Another approach i tried was to write my own SSLCOntextSpi but call IBM SSLCOntextSpi for everything except session management. But SSLContextspi's meth
ods are all protected, so I couldn't do this either.

Other than doing a full JSSE implementation based on some open source library, is there a way to achieve my goal ?

 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"java soccer", please check your private messages for an important administrative matter. Thanks.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic