JNI

Has anybody ever implemented a call to a Microsoft COM component using JNI ? I need to call the microsoft CAPICOM.dllfile usingJNI and do not know how to do that.

This component makes Digital Signature checking in any PKCS#7 document.

I need to know how to invoke methods within the CAPICOM.dll file using JNI.

Thank you very much.

[357 byte] By [iavancoa] at [2007-10-1 17:44:08]
# 1

It is basically like every JNI application, It just needs much labour work; so you can consult JNI documentation to provide the functions in Java. But if you want to access the functions through java programs throguh a java security provider (a rather proxy in this case) you should write your JNI client as a JCE implementaion. Or you take one out of the shelf like those denoted in http://forum.java.sun.com/thread.jspa?threadID=637975

If your case is a special case, and you already know about these and still this general ways don't fit your limitations (memory, place ,....) drop me some line about it

babakNa at 2007-7-11 12:10:08 > top of Java-index,Security,Other Security APIs, Tools, and Issues...