json

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Algorithm

type Algorithm struct {
	Name string
}

Algorithm is a common JSON message to identify which algorithm is used in a message.

type PublicKey

type PublicKey struct {
	Algorithm
	Data []byte
}

PublicKey is the common JSON message for a public key. It contains the algorithm and the data to deserialize.

type Signature

type Signature struct {
	Algorithm
	Data []byte
}

Signature is the common JSON message for a signature. It contains the algorithm and the data to deserialize.

Jump to

Keyboard shortcuts

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