Documentation
¶
Index ¶
- type Processor
- func (p *Processor) KeysInfo(_ context.Context, _ *types.DirectInstruction) ([]byte, error)
- func (p *Processor) KeysProof(_ context.Context, i *types.DirectInstruction) ([]byte, error)
- func (p *Processor) TEEBackup(_ context.Context, i *types.DirectInstruction) ([]byte, error)
- func (p *Processor) TEEInfo(_ context.Context, i *types.DirectInstruction) ([]byte, error)
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 ¶
KeysInfo lists the (walletID, keyID, nonce) triples of all stored wallets.
func (*Processor) KeysProof ¶ added in v0.0.20
KeysProof returns signed key existence proofs for the requested (walletID, keyID) pairs. Proofs are returned in the same order as the requested pairs.
Click to show internal directories.
Click to hide internal directories.