public string GetData(String label)
{
String value = "";
if (m == null)
{
m = Module.GetInstance(mFileName); // error
}
// pkcs11 module init
//m.Initialize();
try
{
.....
}
return value;
}--
You received this message because you are subscribed to the Google Groups "eID Middleware Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to eid-middleware-dev+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
I'm still trying to do this via Visual Studio, I found a way to port the native objective - C library to Xamarin. I need only a library that will communicate with libbeidpkcs11.dylib.
I'm assuming that NetPkcs11.dll wants to use a native PKCS#11 library. If that is the case, you can use /usr/local/lib/beidpkcs11.module/Contents/MacOS/libbeidpkcs11.dylib
Regards,
I also tried to enable NetPkcs11.dll, and I succeeded, but it can not find beidpkcs11.dll, because the library name or search method is different. However, if I could use NetPkcs11.dll, I would be glad.
--
You received this message because you are subscribed to the Google Groups "eID Middleware Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to eid-middleware-...@googlegroups.com.
You can also just load the Framework that is shipped with the eID Viewer. That way you do not need to compile it yourself; however, your application will then only work if the eID Viewer is installed on the user's system. Alternatively, you could copy the Framework from the eID Viewer and ship it as part of your application bundle.
Regards,To unsubscribe from this group and stop receiving emails from it, send an email to eid-middleware-...@googlegroups.com.
I'm assuming that NetPkcs11.dll wants to use a native PKCS#11 library. If that is the case, you can use /usr/local/lib/beidpkcs11.module/Contents/MacOS/libbeidpkcs11.dylib
Regards,
On 05/02/2018 15:42, Nikita Goncharuk wrote:
--I also tried to enable NetPkcs11.dll, and I succeeded, but it can not find beidpkcs11.dll, because the library name or search method is different. However, if I could use NetPkcs11.dll, I would be glad.
You received this message because you are subscribed to the Google Groups "eID Middleware Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to eid-middleware-dev+unsub...@googlegroups.com.
Yes, obviously if you're trying to load a .dll that is not a common runtime one on MacOS that won't work. That's why I said "native PKCS#11 library".
If you can't load a native PKCS#11 library, then you can't write
it in C#, and you'll have to write it in Objective-C or Swift or
something of the sorts.
To unsubscribe from this group and stop receiving emails from it, send an email to eid-middleware-...@googlegroups.com.