Crypt::NSS::PKCS11 is a Perl module with functions needed for communicating with PKCS#11 cryptographic modules.
PKCS#11 is a API for interfacing with cryptographic modules such as software tokens, smart cards. This module provides functions for obtaining certificates, keys, passwords etc.
The default PKCS#11 pin arg that can be set on Net::NSS::SSL instances. This is useful when you want to set a PKCS#11 pin arg on sockets where you can't control directly what's set to new. This is mostly used when you use NSS with LWP.
set_password_hook ( $hook : code | string )
Sets the function to call when a PKCS#11 module needs a password. The argument CALLBACK must be either a code reference or a fully qualified function name.
find_cert_by_nickname ( $nickname : string, $arg : scalar ) : Crypt::NSS::Certificate
Finds a certificate by nickname. The argument $arg is passed to the hook set by set_password_hook.
find_key_by_any_cert ( $certificate : Crypt::NSS::Certificate, $arg : scalar ) : Crypt::NSS::PrivateKey
Finds a private key for a certificate. The argument $arg is passed to the hook set by set_password_hook.