• 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
  • Paul Clapham
  • Tim Cooke
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Junilu Lacar
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst
  • Peter Rooke
  • Mikalai Zaikin
Bartenders:
  • Himai Minh

Urgent...

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
How can i retreive the secretkey used for encryption and decryption after the SSLHandshake process?
I wanna retreive this SecretKet to use it for encryption and decryption on another port.the goal is to have a SecureFTP.
Please, Do you have an idea?
if yes how can we use this SecretKey(wt are the methods) to encrypt and decrypt data on a new port?
That's all .
Thank you.
 
author
Posts: 3252
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Fadifadi, please review our naming policy and update your profile to display both a first and a second name. Thanks.
I don't think the session key is exposed, and even if it were, JSSE does not expose the encryption algorithms used. I must confess I'm not intimately familiar with the secure FTP protocol, but can't you just create a second SSL socket and have it join the session established by the first one (SSL[Server]Socket.setEnableSessionCreation(false))? Never tried it but it looks like it should work.
- Peter
reply
    Bookmark Topic Watch Topic
  • New Topic