keys

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OutputSNKeyPrefix            = "osn"
	TokenSetupKeyPrefix          = "se"
	TokenSetupHashKeyPrefix      = "seh"
	TokenRequestKeyPrefix        = "tr"
	InputSerialNumberPrefix      = "sn"
	IssueActionMetadataPrefix    = "iam"
	TransferActionMetadataPrefix = "tam"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Translator

type Translator struct {
}

func (*Translator) CreateInputSNKey

func (t *Translator) CreateInputSNKey(id string) (translator.Key, error)

func (*Translator) CreateIssueActionMetadataKey

func (t *Translator) CreateIssueActionMetadataKey(key string) (translator.Key, error)

func (*Translator) CreateOutputKey

func (t *Translator) CreateOutputKey(id string, index uint64) (translator.Key, error)

func (*Translator) CreateOutputSNKey

func (t *Translator) CreateOutputSNKey(id string, index uint64, output []byte) (translator.Key, error)

func (*Translator) CreateSetupHashKey

func (t *Translator) CreateSetupHashKey() (translator.Key, error)

func (*Translator) CreateSetupKey

func (t *Translator) CreateSetupKey() (translator.Key, error)

func (*Translator) CreateTokenRequestKey

func (t *Translator) CreateTokenRequestKey(id string) (translator.Key, error)

func (*Translator) CreateTransferActionMetadataKey

func (t *Translator) CreateTransferActionMetadataKey(key string) (translator.Key, error)

func (*Translator) GetTransferMetadataSubKey

func (t *Translator) GetTransferMetadataSubKey(k string) (translator.Key, error)

Jump to

Keyboard shortcuts

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