joelhockey / jacknji11

Java Native Interface for PKCS#11
MIT License
32 stars 22 forks source link

libraryDescription value showing along with unicode value #29

Open paulmgtech opened 3 years ago

paulmgtech commented 3 years ago

Hi

I got below output when I execute: "CE.GetInfo(info);"

version=2.40 manufacturerID="Cavium Networks " flags=0x00000000{} libraryDescription="\u0000@\u0000\u0000\u0000\u0000Cavium PKCS#11 Interface " libraryVersion=32.32

Issue 1: value of libraryDescription coming along with unicode representation of a character null

Issue 2: value of libraryVersion libraryVersion is 1.0

Can you help me out to fix this issue?

Regards Paul V