cmd

package
v1.7.3 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	//go:embed testcases/psa-refval.cbor
	PSARefValCBOR []byte
)

Functions

func Execute

func Execute()

func IsValidUUID

func IsValidUUID(u string) bool

func NewComidCreateCmd

func NewComidCreateCmd() *cobra.Command

func NewComidDisplayCmd

func NewComidDisplayCmd() *cobra.Command

func NewComidValidateCmd

func NewComidValidateCmd() *cobra.Command

func NewCorimCreateCmd

func NewCorimCreateCmd() *cobra.Command

func NewCorimDisplayCmd

func NewCorimDisplayCmd() *cobra.Command

func NewCorimExtractCmd

func NewCorimExtractCmd() *cobra.Command

func NewCorimSignCmd

func NewCorimSignCmd() *cobra.Command

func NewCorimSubmitCmd

func NewCorimSubmitCmd(submitter ISubmitter) *cobra.Command

func NewCorimVerifyCmd

func NewCorimVerifyCmd() *cobra.Command

func NewCotsCreateCtsCmd

func NewCotsCreateCtsCmd() *cobra.Command

func NewCotsDisplayCmd

func NewCotsDisplayCmd() *cobra.Command

Types

type ClientConfig

type ClientConfig struct {
	Auth auth.IAuthenticator
}

type FromCBORLoader

type FromCBORLoader interface {
	FromCBOR([]byte) error
}

type ISubmitter

type ISubmitter interface {
	Run([]byte, string) error
	SetClient(client *common.Client) error
	SetAuth(a auth.IAuthenticator)
	SetSubmitURI(uri string) error
	SetDeleteSession(session bool)
	SetIsInsecure(v bool)
	SetCerts(paths []string)
}

Jump to

Keyboard shortcuts

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