aspose file tools
The moose likes Security and the fly likes Mechanism type DOM not available Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Mongo DB Applied Patterns this week in the MongoDB forum
or a resume review from Five Year Itch in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » Security
Reply Bookmark "Mechanism type DOM not available" Watch "Mechanism type DOM not available" New topic
Author

Mechanism type DOM not available

Jigar Naik
Ranch Hand

Joined: Dec 12, 2006
Posts: 744
hi i am getting following error with jdk 1.5






the same thing is working fine with jdk 1.6

What could be the reason ? any idea ?


Jigar Naik


Siddharth Sharan
Greenhorn

Joined: Jul 20, 2009
Posts: 1
Try this
XMLSignatureFactory fac = XMLSignatureFactory.getInstance("DOM", new org.jcp.xml.dsig.internal.dom.XMLDSigRI());

inplace of

XMLSignatureFactory fac = XMLSignatureFactory.getInstance("DOM");
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Mechanism type DOM not available
 
Similar Threads
Error while parsing XML with PDF attachment
Signing & Verify XML Document
NUll pointer exception in XML sig program
problem in Digitally Signing a particular element of an XML Document
Signing XML and Canonicalization