runtime

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: May 19, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PersistKeyMaterialAfterDKG added in v0.2.2

func PersistKeyMaterialAfterDKG(ctx context.Context, store ShareStore, share ecdsakeygen.LocalPartySaveData, in DKGPersistInput) error

func ValidateLoadedMeta

func ValidateLoadedMeta(keyID, orgID, algorithm, curve string, meta coreshares.ShareMeta, metadataMismatchErr error) error

Types

type DKGPersistInput

type DKGPersistInput struct {
	KeyID            string
	OrgID            string
	Algorithm        string
	Curve            string
	ChainCode        []byte
	PublicKeyFormat  string
	DerivationScheme string
}

type DerivedECDSAOutput added in v0.2.0

type DerivedECDSAOutput struct {
	PublicKey string
	Address   string
}

func DeriveECDSAOutputFromShare added in v0.2.0

func DeriveECDSAOutputFromShare(share ecdsakeygen.LocalPartySaveData, missingPublicKeyErr, missingAddressErr error) (DerivedECDSAOutput, error)

type ShareStore

type ShareStore interface {
	SaveShare(ctx context.Context, keyID string, blob []byte, meta coreshares.ShareMeta) error
	LoadShare(ctx context.Context, keyID string) (*coreshares.StoredShare, error)
}

Jump to

Keyboard shortcuts

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