Expand description
Utilities for parsing and creating YubiHSM2 wrap files.
Wrap files are used for backup and restore actions with a YubiHSM2 device. This module provides support for the proprietary YHW data format, used by Yubico tooling.
The module supports backup of the following types of objects:
- ed25519 private keys (both seeded and expanded form),
- AES-128 authentication keys,
- opaque byte vectors.
Structs§
- Auth
Aes128 - An AES-128 based authentication key.
- BeReader 🔒
- Reader of big-endian encoded bytes.
- Expanded
Ed25519 KeyData - Expanded form of an ed25519 private key without seed.
- Inner
Format - Parsed representation of the backup’s inner format.
- Plain
Wrapped Data With Key - The representation of data about to be wrapped (encrypted) with key.
- Seed
Ed25519 KeyData - The private parts of an ed25519 key.
- Serialized
Ed25519 - An Ed25519 key serialized in YubiHSM2 specific format.
- Yubi
Hsm2 Wrap - The representation of wrapped (encrypted) data of a YubiHSM2.
Enums§
- Error
- Backup error.
- Object
Type - The object type contained in the backup.
- Wrap
Algorithm - The supported algorithms available for wrapping (encryption) of data.
- Wrapped
Payload - The deserialized body of a wrapped object.