pkcs11-tools

Tools to manage objects on PKCS#11 cryptographic tokens

brewmacoslinux
Try with needOr install directly
Source

About

Tools to manage objects on PKCS#11 crypotographic tokens

Commands

pkcs11-tool

Examples

List all available PKCS#11 tokens and slots$ pkcs11-tool --list-slots
Display objects stored on a specific token$ pkcs11-tool --slot 0 --list-objects
Generate a new RSA key pair on a token$ pkcs11-tool --slot 0 --keypairgen --key-type RSA:2048 --label my-key