pp

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Loader

type Loader interface {
	LoadPublicParams(TMSID token.TMSID, ppRaw []byte) error
}

func GetPublicParametersService

func GetPublicParametersService(sp services.Provider) (Loader, error)

type PublicParameters

type PublicParameters struct {
	TMSID token.TMSID
	Path  string
	Raw   []byte
}

PublicParameters is a data structure to wrap public parameters and other host related information

type PublicParametersService

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

func NewPublicParametersService

func NewPublicParametersService(tmsProvider *token.ManagementServiceProvider) *PublicParametersService

func (*PublicParametersService) Fetch

func (f *PublicParametersService) Fetch(network driver.Network, channel driver.Channel, namespace driver.Namespace) ([]byte, error)

func (*PublicParametersService) LoadPublicParams

func (f *PublicParametersService) LoadPublicParams(tmsID token.TMSID, ppRaw []byte) error

type VersionKeeper

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

func (*VersionKeeper) GetVersion

func (k *VersionKeeper) GetVersion() uint64

func (*VersionKeeper) UpdateVersion

func (k *VersionKeeper) UpdateVersion()

type VersionKeeperProvider

type VersionKeeperProvider lazy.Provider[token.TMSID, *VersionKeeper]

func NewVersionKeeperProvider

func NewVersionKeeperProvider() VersionKeeperProvider

Jump to

Keyboard shortcuts

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