common

package
v1.0.39 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KeyWorkload             = "workload"
	KeyEnv                  = "env"
	KeyAttestationPublicKey = "attestationPublicKey"
	KeyEnvWorkloadSignature = "envWorkloadSignature"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ContractSerializer

type ContractSerializer = func(ctr *T.Contract) EncryptedContract

ContractSerializer is the type of a function that takes a contract and that encrypts it

type EncryptedContract

type EncryptedContract = map[string]string

func SerializeContract

func SerializeContract(ctr *T.Contract) EncryptedContract

SerializeContract serializes the fields of the contract into a string map

Jump to

Keyboard shortcuts

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