package json

import "go.dedis.ch/dela/crypto/common/json"

Index

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.

Source Files

json.go

Version
v0.1.0 (latest)
Published
Apr 10, 2024
Platform
linux/amd64
Imports
3 packages
Last checked
1 month ago

Tools for package owners.