Skip to main content

Building Own Applications

API Header

Include $PRIMUS_HOME/include/pkcs11.h file if you plan to build an application for the Primus HSM with PKCS#11 support. The file '$PRIMUS_HOME/include/pkcs11.h' contains revision information we implement. If you do not use the 'official' version of the pkcs11.h file, you may consider deleting the revision macro and keep track of your own versions.

Linking

$PRIMUS_HOME/lib/libprimusP11.so

info

Validate the library dependencies with the command ldd /usr/local/primus/lib/libprimusP11.so