[][src]Module splinter::keys

Public key information and role-based permissions.

The keys module provides interfaces for managing key information and role-based permissions.

Key information, accessed via the KeyRegistry interface, is the link between a public key and its associated splinter node. This can provide context about a key used to sign messages. Additional, optional meta data can be associated with the public key as well.

Key permissions, accessed via the KeyPermissionManager interface, are queried through a simple role-based access system. The underlying implementation determines how those values are set and modified.

Modules

insecure

The insecure keys module provides an allow-all permissions implemenation.

rest_api

Routes for key registry operations

storage

Provides a storage-backed KeyRegistry

Structs

KeyInfo

Information associated with a public key.

KeyInfoBuilder

Builder for creating KeyInfo instances.

KeyPermissionError

An error that can occur in the underlying KeyPermissions implementation.

KeyRegistryError

An error that can occur in the underlying KeyRegistry implementation.

Traits

KeyPermissionManager

Manages role-based permissions associated with public keys.

KeyRegistry

A registry of public key information.