Module yubihsm::commands[][src]

Commands supported by the YubiHSM.

Functions defined in the yubihsm::commands module are reimported and available from the toplevel yubihsm module as well.

For more information, see: https://developers.yubico.com/YubiHSM2/Commands/

Re-exports

pub use self::blink::*;
pub use self::delete_object::*;
pub use self::echo::*;
pub use self::generate_asymmetric_key::*;
pub use self::get_device_info::*;
pub use self::get_logs::*;
pub use self::get_object_info::*;
pub use self::get_pubkey::*;
pub use self::list_objects::*;
pub use self::sign_ecdsa::*;
pub use self::sign_eddsa::*;

Modules

blink

Blink the YubiHSM2's LEDs (to identify it) for the given number of seconds

delete_object

Delete an object of the given ID and type

echo

Have the card echo an input message

generate_asymmetric_key

Generate a new asymmetric key within the YubiHSM2

get_device_info

Get information about the YubiHSM2 device

get_logs

Get audit logs from the YubiHSM2 device

get_object_info

Get information about an object

get_pubkey

Get the public key for an asymmetric key stored on the device

list_objects

List objects visible from the current session

sign_ecdsa

Compute an ECDSA signature of the SHA-256 hash of the given data with the given key ID

sign_eddsa

Compute an Ed25519 signature with the given key ID