• 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

need to compute the signature of a soap message with SHA512withRSA

 
Ranch Hand
Posts: 165
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

I need to compute the signature of a soap message with SHA512withRSA.



But only SignatureMethod.RSA_SHA1 exists.

Thanks for any help!
 
Bartender
Posts: 322
24
Eclipse IDE Firefox Browser
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Ravi,

Take a deeper look at the XMLSignatureFactory#newSignatureMethod method. You will see you can define your own algorithmic model by passing the w3.org URI for the algorithm as a String.
The URI for RSA with SHA512 is "http://www.w3.org/2001/04/xmldsig-more#rsa-sha512".

PS. I've updated your post with CodeTags. Unformatted or unindented code is often extremely hard to read and many people that might be able to help you will just move along to posts that are easier to understand. Please click this link ⇒ UseCodeTags ⇐ for more information.

 
Ravi Danum
Ranch Hand
Posts: 165
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Thank you I will give this a try.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic