gemalto

Where to find luna safenet client logs?

孤街浪徒 提交于 2019-12-23 05:07:49
问题 We are using luna SDK to develop algorithms to perform cryptographic operations using HSM. In doing so, we installed Luna client software in our application. The problem is I am not able to find the logs generated by the client software. After my search, I found cklog.txt contains the logs but I can't find this file on the client installation. 回答1: Normally, you can find cklog.txt in your luna client installation folder. eg : C:\Program Files\SafeNet\LunaClient\cklog.txt If you don't find,

.NET smartcard - serialize/deserialize the remote object. The input stream is not a valid format

瘦欲@ 提交于 2019-12-08 06:05:14
问题 I am using .NET smart card, it has the same concepts of .NET remoting. So my smartcard (as a server) has this service: public class MyService : MarshalByRefObject { string a = "abC"; public byte[] MySampleMethod() { MyService obj = new MyService(); return help.ObjectToByteArray( obj); }}} and this is ObjectToByteArray(obj) public static byte[] ObjectToByteArray(MyService obj) { if (obj == null) return null; BinaryFormatter bf = new BinaryFormatter(); MemoryStream ms = new MemoryStream(0); bf

Opening a secure connection with Java Card and Global Platform

丶灬走出姿态 提交于 2019-12-07 17:31:07
问题 After succeeding with Java Card development on emulators now I'm dealing with a real Java Card (Gemalto IDCore 3010). I have been experiencing with the Global Platform, but I have problems even with the most basic sample code, that would list the applets on the card. This is the original code: mode_201 enable_trace establish_context card_connect select -AID a0000000030000 open_sc -security 1 -keyind 0 -keyver 0 -mac_key 404142434445464748494a4b4c4d4e4f -enc_key