keys

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrKeyIsEmpty = fmt.Errorf("key is empty")

Functions

This section is empty.

Types

type Key

type Key struct {
	ID        string `db:"id"`
	PublicDER []byte `db:"public_der"`
}

func New

func New(publicDER []byte) (*Key, error)

New creates a new key with a public der payload.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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