tkatype
packageThis package is not in the latest version of its module.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Documentation¶
Overview¶
Package tkatype defines types for working with the tka package.
Do not add extra dependencies to this package unless they are tiny,because this package encodes wire types that should be lightweight to use.
Index¶
Constants¶
This section is empty.
Variables¶
This section is empty.
Functions¶
This section is empty.
Types¶
typeAUMSigHash¶
type AUMSigHash [32]byte
AUMSigHash represents the BLAKE2s digest of an Authority UpdateMessage (AUM), sans any signatures.
typeKeyID¶
type KeyID []byte
KeyID references a verification key stored in the key authority. A keyIDuniquely identifies a key. KeyIDs are all 32 bytes.
For 25519 keys: We just use the 32-byte public key.
Even though this is a 32-byte value, we use a byte slice becauseCBOR-encoded byte slices have a different prefix to CBOR-encoded arrays.Encoding as a byte slice allows us to change the size in the future if weever need to.
typeMarshaledSignature¶
type MarshaledSignature []byte
MarshaledSignature represents a marshaled tka.NodeKeySignature.
typeNKSSigHash¶
type NKSSigHash [32]byte
NKSSigHash represents the BLAKE2s digest of a Node-Key Signature (NKS),sans the Signature field if present.