secrets

package
v0.2403.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package keymanager provides the CometBFT backed key manager management implementation.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceClient

type ServiceClient struct {
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context, querier *app.QueryFactory) (*ServiceClient, error)

New constructs a new CometBFT backed key manager secrets management Backend instance.

func (*ServiceClient) DeliverEvent

func (sc *ServiceClient) DeliverEvent(ev *cmtabcitypes.Event) error

func (*ServiceClient) GetEphemeralSecret

func (*ServiceClient) GetMasterSecret

func (*ServiceClient) GetStatus

func (sc *ServiceClient) GetStatus(ctx context.Context, query *registry.NamespaceQuery) (*secrets.Status, error)

func (*ServiceClient) GetStatuses

func (sc *ServiceClient) GetStatuses(ctx context.Context, height int64) ([]*secrets.Status, error)

func (*ServiceClient) StateToGenesis

func (sc *ServiceClient) StateToGenesis(ctx context.Context, height int64) (*secrets.Genesis, error)

func (*ServiceClient) WatchEphemeralSecrets

func (sc *ServiceClient) WatchEphemeralSecrets() (<-chan *secrets.SignedEncryptedEphemeralSecret, *pubsub.Subscription)

func (*ServiceClient) WatchMasterSecrets

func (sc *ServiceClient) WatchMasterSecrets() (<-chan *secrets.SignedEncryptedMasterSecret, *pubsub.Subscription)

func (*ServiceClient) WatchStatuses

func (sc *ServiceClient) WatchStatuses() (<-chan *secrets.Status, *pubsub.Subscription)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL