package pkcs11

  1. Overview
  2. Docs
Bindings to the PKCS#11 cryptographic API

Install

dune-project
 Dependency

Authors

Maintainers

Sources

pkcs11-0.9.0.tbz
sha256=0a1dc5fb54d3febbb0024b6fe9bb393f25e4ce6aadbc65fcc114345c5ca3982a
md5=c1a9bd7ed535e9fb31f2e6014567c9af

doc/pkcs11.cli/Pkcs11_cli/Arg/index.html

Module Pkcs11_cli.ArgSource

Arguments and converters.

Sourceval slot_index : int option Cmdliner.Arg.t

-s, --slot, --slot-index: select a slot based on its index in C_GetSlotList output.

Sourceval slot_id : int option Cmdliner.Arg.t

--slot-id: select a slot by its slot ID (in the list that C_GetSlotList outputs).

Sourceval slot_description : string option Cmdliner.Arg.t

--slot-description: select a slot based on its description.

Sourceval token_label : string option Cmdliner.Arg.t

--token-label: select a slot based on the label of associated token.

Sourceval dll : string option Cmdliner.Arg.t

-d, --dll: name of a DLL to load.

Sourceval pin : string option Cmdliner.Arg.t

-p, --pin: PIN to pass to C_Login.

Sourceval use_get_function_list : [ `Auto | `True | `False ] Cmdliner.Arg.t

How to access the PKCS11 DLL. --direct: call the function directly. --indirect: use C_GetFunctionList. --indirect_or_direct (the default): try to use C_GetFunctionList, and if it fails, try directly.

Sourceval user_type : P11.User_type.t option Cmdliner.Arg.t

--user-type: select user type: CKU_USER ("user") or CKU_SO ("so")