Module parsec_service::key_info_managers

source ·
Expand description

Persistent mapping between key identities and key information

This module declares a ManageKeyInfo trait to help providers to store in a persistent manner the mapping between the name and the information of the keys they manage. Different implementors might store this mapping using different means but it has to be persistent.

Modules§

  • A key info manager storing key triple to key info mapping on files on disk
  • A key info manager storing key identity to key info mappings using a SQLite database.

Structs§

  • This structure corresponds to a unique identifier of the key. It is used internally by the Key ID manager to refer to a key. Note: for equality and hashing, key identity structs with matching ApplicationIdentity and key_name are considered equal; ProviderIdentity is not considered when evaluating equality or the hash.
  • KeyInfoManager client structure that bridges between the KIM and the providers that need to use it.
  • Builder for KeyInfoManager clients

Functions§

  • Converts the error string returned by the ManageKeyInfo methods to ResponseStatus::KeyInfoManagerError.