package
0.0.0-20240723192418-397b19c8a77e
Repository: https://github.com/snapcore/secboot.git
Documentation: pkg.go.dev

# Functions

NewKeyData creates a new KeyData object for the supplied secboot.KeyData.
NewProtectedKey creates a new key that is protected by the registered [KeyProtector].
SetKeyProtector is used to configure the global external key setup hook, used by [NewProtectedKey].
SetKeyRevealer is used to configure the global key reveal hook, used by this platform.

# Constants

KeyProtectorAEAD indicates that the external key setup hook does not have a way to accept additional authenticated data.

# Structs

KeyData encapsulates the metadata used to recover keys using the hooks platform.
KeyParams is the parameters for [NewProtectedKey].

# Interfaces

KeyProtector is an abstraction for an externally supplied key setup hook.
KeyRevealer is an abstraction for an externally supplied key reveal hook.

# Type aliases

KeyProtectorFlags is used to specify features of the external key setup hook.