libp11

PKCS#11 wrapper library providing C API for hardware tokens

brewmacoslinux
Try with needOr install directly
Source

About

PKCS#11 wrapper library in C

Commands

pkcs11-tool

Examples

List available PKCS#11 tokens and their slots$ pkcs11-tool --list-slots
Display objects stored on a specific token$ pkcs11-tool --slot 0 --list-objects
Show detailed information about a token$ pkcs11-tool --slot 0 --show-info