appbins

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2023 License: GPL-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Tags

func Tags() []string

Types

type AppBin

type AppBin struct {
	Tag string
	Bin []byte
}

func Get

func Get(tag string, hash []byte) (*AppBin, error)

func GetByTagOnly

func GetByTagOnly(tag string) (*AppBin, error)

Only used by show-pubkey cmd

func GetDeviceSigner

func GetDeviceSigner() (*AppBin, error)

GetDeviceSigner returns the AppBin to run on the "device under verification", i.e. when using the command "remote-sign". The tag and hash of this AppBin then ends up in the verification data and later used by the command "verify".

func (*AppBin) Hash

func (a *AppBin) Hash() []byte

func (*AppBin) String

func (a *AppBin) String() string

Jump to

Keyboard shortcuts

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