[][src]Module parsec_service::key_info_managers

Persistent mapping between key triples 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

on_disk_manager

A key info manager storing key triple to key info mapping on files on disk

Structs

KeyInfo

Information stored about a key

KeyInfoManagerConfig

KeyInfoManager configuration

KeyTriple

This structure corresponds to a unique identifier of the key. It is used internally by the Key ID manager to refer to a key.

Enums

KeyInfoManagerType

Type of the KeyInfoManager

Traits

ManageKeyInfo

Management interface for key name to key info mapping

Functions

list_keys

Returns a Vec of the KeyInfo objects corresponding to the given application name and provider ID.

to_response_status

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