poc

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2018 License: GPL-3.0 Imports: 11 Imported by: 6

Documentation

Index

Constants

View Source
const (
	StateInteresting
	StateExpired
	StateRevoked
	StateMalformed //treat like revoked
	StateEntRevoked
	StatePending
	StateLabelled
	StateActive
)

Variables

This section is empty.

Functions

func FromB64

func FromB64(s string) []byte

func NewPOC

func NewPOC(lls iapi.LowLevelStorage) iapi.WaveState

func ToB64

func ToB64(arr []byte) string

Types

type AttestationState

type AttestationState struct {
	Hash []byte

	Attestation   *iapi.Attestation
	State         int
	LabelKeyIndex int
}

type ContentKeyState

type ContentKeyState struct {
	Slots [][]byte
	Key   iapi.SlottedSecretKey
}

type EntityState

type EntityState struct {
	Entity           *iapi.Entity
	Hash             []byte
	State            int
	QueueToken       map[[32]byte]string
	KnownLocations   []iapi.LocationSchemeInstance
	MaxLabelKeyIndex int
}

type NameDeclarationState added in v0.2.0

type NameDeclarationState struct {
	Hash            []byte
	NameDeclaration *iapi.NameDeclaration
	State           int
	LabelKeyIndex   int
}

type PLKState

type PLKState struct {
	Slots     [][]byte
	Key       iapi.EntitySecretKeySchemeInstance
	Namespace []byte
}

type PendingLabels

type PendingLabels struct {
	Slots [][]byte
}

Jump to

Keyboard shortcuts

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