[][src]Module yubihsm::setup

This is supported on crate feature setup only.

Initial YubiHSM 2 setup functionality using declarative device profiles.

Re-exports

pub use self::report::Report;

Modules

report

YubiHSM 2 provisioning reports which record the server where the HSM was provisioned, the username which performed the provisioning operation, and the date provisioning occurred.

Structs

Profile

YubiHSM 2 provisioning profile: a declarative profile specifying how a device should be (re)provisioned.

Role

Roles represent accounts on the device with specific permissions

Enums

ErrorKind

Kinds of setup-related errors

Functions

erase_device_and_init_with_profile

Erase and reset an HSM device, then reinitialize it with the given profile.

init_with_profile

Initialize an HSM device with the given profile.

Type Definitions

Error

Setup-related errors