dnssec

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2026 License: BSD-2-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DNSKEY_PROTOCOL = 3
)

Variables

View Source
var (
	ErrBadKeySize        = errors.New("bad key size")
	ErrUnsupportedAlgo   = errors.New("unsupported algorithm")
	ErrUnsupportedPubKey = errors.New("unsupported public key type")
)
View Source
var SupportedAlgorithms = map[SigningAlgorithm]int{
	ECDSAP256SHA256: 256,
	ECDSAP384SHA384: 384,
	ED25519:         256,
}

NOTE: choosing not to support RSA algorithms

Functions

func PublicKeyBase64

func PublicKeyBase64(pk crypto.PublicKey) (string, error)

func SignerFromBytes

func SignerFromBytes(a SigningAlgorithm, key []byte) (crypto.Signer, error)

Types

type NextSecure

type NextSecure uint8
const (
	NSEC NextSecure = iota
	NSEC3
)

Jump to

Keyboard shortcuts

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