Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Java in General
Search Coderanch
Advance search
Google search
Register / Login
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
Tim Cooke
Liutauras Vilda
Jeanne Boyarsky
paul wheaton
Sheriffs:
Ron McLeod
Devaka Cooray
Henry Wong
Saloon Keepers:
Tim Holloway
Stephan van Hulst
Carey Brown
Tim Moores
Mikalai Zaikin
Bartenders:
Frits Walraven
Forum:
Java in General
xml & java
emma quinn
Greenhorn
Posts: 4
posted 21 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
. I have the modulus and exponent of a private key stored as BigIntegers as such:
bigInt = ((RSAPrivateKey)rsaprvkey).getModulus();bigInt1 = ((RSAPrivateKey)rsaprvkey).getPrivateExponent();
Those BigIntegers then need to get passed as a value to two XML nodes
<ds:Modulus>ANiFf8Sbvavjutyj+WBzqrS9yJu0SK2kLiCS/ZCaiBfDRhPIWoBpGmE3GQ6tUO5FEoX5wvqI9DzaZyrLij/qiXs=</ds:Modulus> <ds:Exponent>Aw==</ds:Exponent>
....and look something like the above.
Not too sure as how to go about passing the values into specific nodes. Any ideas???
If I had asked people what they wanted, they would have said faster horses - Ford. Tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
string to xml
can we get a signature element without linefeeds using apache xml security 1.4.1 ?
Can we generate a signature element without linefeed using apache xml security 1.4.1?
Sign soap header with handler in WebSphere 6.1
passing variables
More...