File: README.adoc

package info (click to toggle)
yubihsm-shell 2.7.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,992 kB
  • sloc: ansic: 41,928; sh: 1,679; cpp: 528; makefile: 18
file content (32 lines) | stat: -rw-r--r-- 1,001 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
== YubiHSM Library

The YubiHSM C Library `libyubihsm` is a native library to interact
with a YubiHSM 2 device.

Two main sets of functions are exposed. Functions prefixed with only
`yh_` are low-level functions (e.g., send byte array to the device)
that perform a simple single action and can be used to build more
advanced functionalities. Functions prefixed with `yh_util_` are
higher-level function that perform multiple actions together (e.g.
sign the content of a buffer with a specific padding scheme).

=== Documentation

The library is annotated with Doxygen comments and a `Doxyfile` is
provided. To build the library simply run

[source, bash]
----
$ cd lib
$ doxygen
----

and open the `doxygen/html/index.html` file with
your preferred browser.

A pre-built version of the documentation is available
link:https://developers.yubico.com/YubiHSM2/Releases/libyubihsm-doxygen-1.0.0.tar.gz[here].

=== Examples

Code examples of how to use the library are available in the examples directory.