Win a copy of Spring in Action (5th edition) this week in the Spring forum!
    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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

Need help in Encrypting Message Using XSS4j API  RSS feed

Posts: 3
  • Mark post as helpful
  • send pies
  • Report post to moderator
I was trying to encrypt a message using XSS4j.I have certain issues.As for Encryption we are supposed to use Public Key of client to genrate and encrypt the symmetric key which will be used for final Enbcryption.I am trying to use the same but my doubt is how to create a symmetric key and how to encrypt it using public key.

Actually some how I coded and it is encrypting hte message also but it is throwing Null pointer Exception i.e "Key is not specified or obtained."

When I explored it further I guess it is creating this problem while resolvinfg Key.I dont have any idea how to Resolve the Key without using KeyStoreKeyInfoResolver.As My public is not being store in Key Store.I am getign this key fromCertificate sent by client.
High Plains Drifter
Posts: 7292
Netbeans IDE VI Editor
  • Mark post as helpful
  • send pies
  • Report post to moderator
It appears you have posted the same topic three times, but different topic names. I am closing this one.

I moved the other two into Security upon realizing you cross-posted, so I will close one of those as well.

Please do not post the same question in multiple forums.
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!