dnspriv

package
v0.0.0-...-ad8b61c Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2025 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Overview

modified from github.com/miekg/dns

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrPrivKey = errors.New("invalid private key")
	ErrAlg     = errors.New("unsupported algorithm")
	ErrKey     = errors.New("invalid key")
)

Errors

Functions

func ParseECDSAPrivateKey

func ParseECDSAPrivateKey(r io.Reader) (priv *ecdsa.PrivateKey, dnsFormatPubKey string, err error)

ParseECDSAPrivateKey reads an ECDSA private key from an io.Reader and returns the private key and dns.DNSKEY.

Types

This section is empty.

Jump to

Keyboard shortcuts

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