cmd

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PSARefValCBOR = comid.MustHexDecode(nil, `
a40065656e2d474201a1005043bbe37f2e614b33aed353cff1428b160281
a3006941434d45204c74642e01d8207468747470733a2f2f61636d652e65
78616d706c65028300010204a1008182a100a300d90258582061636d652d
696d706c656d656e746174696f6e2d69642d303030303030303031016441
434d45026a526f616452756e6e657283a200d90259a30162424c0465322e
312e30055820acbb11c7e4da217205523ce4ce1a245ae1a239ae3c6bfd9e
7871f7e5d8bae86b01a102818201582087428fc522803d31065e7bce3cf0
3fe475096631e5e07bbd7a0fde60c4cf25c7a200d90259a3016450526f54
0465312e332e35055820acbb11c7e4da217205523ce4ce1a245ae1a239ae
3c6bfd9e7871f7e5d8bae86b01a10281820158200263829989b6fd954f72
baaf2fc64bc2e2f01d692d4de72986ea808f6e99813fa200d90259a30164
41526f540465302e312e34055820acbb11c7e4da217205523ce4ce1a245a
e1a239ae3c6bfd9e7871f7e5d8bae86b01a1028182015820a3a5e715f0cc
574a73c3f9bebb6bc24f32ffd5b67b387244c2c909da779a1478
	`)
)

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)
}

Jump to

Keyboard shortcuts

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