Module Pkcs11_cli.Arg
val slot_index : int option Cmdliner.Arg.t
-s
,--slot
,--slot-index
: select a slot based on its index inC_GetSlotList
output.
val slot_id : int option Cmdliner.Arg.t
--slot-id
: select a slot by its slot ID (in the list thatC_GetSlotList
outputs).
val slot_description : string option Cmdliner.Arg.t
--slot-description
: select a slot based on its description.
val token_label : string option Cmdliner.Arg.t
--token-label
: select a slot based on the label of associated token.
val load_mode : P11.Load_mode.t Cmdliner.Arg.t
How to access the PKCS11 DLL.
--direct
: call the function directly.--indirect
: useC_GetFunctionList
.--indirect_or_direct
(the default): try to useC_GetFunctionList
, and if it fails, try directly.
val user_type : P11.User_type.t option Cmdliner.Arg.t
--user-type
: select user type:CKU_USER
("user"
) orCKU_SO
("so"
)