In the process of carrying out encryption and decrytion and while also 
trying to read a .lmk file, i am getting the 
Error loading Local Master Keys, file: "/libs/cfg/secret.lmk" does not exist
. Please specify a valid LMK file, or rebuild a new one.

error.

If i should try this out..using netbeans, it works perfectly well, even on 
Android stuido without it been compiled as an apk file (just running it as 
a single main class).
But, if i should try compiling it as an apk file, i get the above error.

below is the way i tried using it.
 JCESecurityModule sm = new JCESecurityModule("libs/cfg/secret.lmk", 
"com.mpos.sdk.security.jceadapter.SunJCE");

-- 
You received this message because you are subscribed to the Google Groups 
"Android Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-discuss+unsubscr...@googlegroups.com.
To post to this group, send email to android-discuss@googlegroups.com.
Visit this group at https://groups.google.com/group/android-discuss.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-discuss/4a6cac77-06af-4a89-a095-126cc7d3a96a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to