TclPKCS11

Diff
Login

Diff

Differences From Artifact [6fe644f73c]:

To Artifact [d81f14eb4c]:


1
2
3
4
5
6
7
8

9
10
11
1
2
3
4
5
6
7
8
9
10
11
12








+



::pki::pkcs11::loadmodule <filename>                       -> handle
::pki::pkcs11::unloadmodule <handle>                       -> true/false
::pki::pkcs11::listslots  <handle>                         -> list: slotId label flags
::pki::pkcs11::listcerts  <handle> <slotId>                -> list: keylist
::pki::pkcs11::encrypt <mode> <input> <keylist>            -> data
::pki::pkcs11::decrypt <mode> <input> <keylist>            -> data
::pki::pkcs11::login <handle> <slotId> <password>          -> true/false
::pki::pkcs11::logout <handle> <slotId>                    -> true/false
::pki::pkcs11::setpin <handle> <slotId> <oldPass> <newPass> -> true/false

# Future
::pki::pkcs11::listobjects <handle> <slotId>               -> list: ....