GithubHelp home page GithubHelp logo

Comments (4)

jariq avatar jariq commented on May 28, 2024

I have no previous experience with Realsec Cryptosec PCI v.1.1 HSM but "Standard PKCS#11 interface" is listed as one of the main features on their website so it should work with Pkcs11Interop just like any other PKCS#11 compliant device. Can you please provide more details on the problem you have experienced? Did Pkcs11Interop throw some exception?

from pkcs11interop.

aradhwan avatar aradhwan commented on May 28, 2024

Hello Jariq, thanks a lot for your comment.
This is the exception I am getting:
An unhandled exception of type 'Net.Pkcs11Interop.Common.UnmanagedException' occurred in Pkcs11Interop.dll

Additional information: Unable to load library: %1 is not a valid Win32 application.

Environment: Windows Server 2012 R2 (64bit), visual studio 2013 and HighLevelAPI41

Note: I tried to use another library called "NCryptoki" and it is working fine together with the "cryptosec.dll"

from pkcs11interop.

jariq avatar jariq commented on May 28, 2024

You are most likely just trying to load 32-bit library into 64-bit application. Please take a look at this similar thread for more details and let me know if you need further explanation.

from pkcs11interop.

aradhwan avatar aradhwan commented on May 28, 2024

This is 100 % Correct,
I am developing windows forms application and the platform target for my app is "Any CPU". However, there is one check-box option that I haven't noticed which is "Prefer 32-bit", it is located in Project Menu --> properties --> Build --> General --> Platform Target, by unchecking this option the library worked so well.
Thank you so much for your help Jariq

from pkcs11interop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.