Module state

Source
Expand description

State representation for [NetHsm] backends and Signstar configurations.

Allows to create state representations of users (UserState) and keys (KeyState and KeyCertificateState) for [NetHsm] backends and Signstar configurations (State).

Each State may be compared against another which may lead to StateComparisonErrors returning an error, that describes the discrepancies between the two.

Structs§

KeyState
The state of a key.
KeyStateType
A wrapper around a StateType and a KeyState.
State
The state of a users and keys for a given type of state.
StateComparisonErrors
Zero or more errors that may occur when comparing two State structs.
UserState
The state of a user.
UserStateType
A wrapper around a StateType and a UserState.

Enums§

KeyCertificateState
The state of a key certificate.
StateComparisonError
An error that may occur when comparing two State structs.
StateType
Indicator for State to distinguish what its data belongs to.