getutils

package
v0.0.20 Latest Latest
Warning

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

Go to latest
Published: May 14, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Processor

type Processor struct {
	node.InformerAndSigner
	// contains filtered or unexported fields
}

func NewProcessor

func NewProcessor(aAndS node.InformerAndSigner, policyStorage *policy.Storage, walletsStorage *wallets.Storage) Processor

NewProcessor builds a direct processor that serves TEE metadata and wallet information.

func (*Processor) KeysInfo

func (p *Processor) KeysInfo(_ context.Context, _ *types.DirectInstruction) ([]byte, error)

KeysInfo lists the (walletID, keyID, nonce) triples of all stored wallets.

func (*Processor) KeysProof added in v0.0.20

func (p *Processor) KeysProof(_ context.Context, i *types.DirectInstruction) ([]byte, error)

KeysProof returns signed key existence proofs for the requested (walletID, keyID) pairs. Proofs are returned in the same order as the requested pairs.

func (*Processor) TEEBackup

func (p *Processor) TEEBackup(_ context.Context, i *types.DirectInstruction) ([]byte, error)

TEEBackup produces a TEE-signed backup package for the requested wallet key.

func (*Processor) TEEInfo

func (p *Processor) TEEInfo(_ context.Context, i *types.DirectInstruction) ([]byte, error)

TEEInfo returns the TEE info response associated with the given challenge.

Jump to

Keyboard shortcuts

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