How to send a BYTE* value from C++ code to Java
0 posts in topic
Flat View  Flat View

Posted By:   Shilpa_Bhasin
Posted On:   Wednesday, March 8, 2006 07:15 AM

I am using JNI for communication between my C++ application to a Java program.
My reuirement is that I send a digitally signed message from C++ code to Java as a string and the Java application in turn stores it to a file.
But on storing it as a string the signature is not getting written properly and it cannot be verified back.
So, I want a method by which I can send binary string from my C++ code to Java.
I have tried using jbyte and jbyteArrays but nothing is working properly. Please suggest what should I do.
I will be extremely grateful for the favour as I am stuck in this problem since last 10 days.

About | Sitemap | Contact