Skip to main content

Module key_provider

Module key_provider 

Source
Expand description

Service discovery client key providers.

Structsยง

DirectoryKeyProvider
A directory containing the client keys, each in the descriptor:x25519:<base32-encoded-x25519-public-key> format.
DirectoryKeyProviderBuilder
A builder to create an instance of DirectoryKeyProvider.
DirectoryKeyProviderListBuilder
Wrapper struct to help derive_builder find the right types and methods
StaticKeyProvider
A static mapping from HsClientNickname to client discovery keys.
StaticKeyProviderBuilder
Wrapper struct to help derive_builder find the right types and methods

Enumsยง

DirectoryKeyProviderError ๐Ÿ”’
Error type representing an invalid DirectoryKeyProvider.

Functionsยง

build_static ๐Ÿ”’
Helper for building a StaticKeyProvider out of a list of client keys.
read_key_file ๐Ÿ”’
Read the client key at path.

Type Aliasesยง

DirectoryKeyProviderList
The serialized format of a DirectoryKeyProviderListBuilder: