package
2.3.3+incompatible
Repository: https://github.com/niclabs/dns-tools.git
Documentation: pkg.go.dev

# Functions

CreateNewDNSKEY creates a new DNSKEY RR, using the parameters provided.
CreateNewRRSIG creates a new RRSIG RR, using the parameters provided.
DurationToTime parses a duration string and returns a time relative to now.
GetDNSKEY returns two DNSKEY RRs based on the session SigKeys.
NewContext creates a new context based on a configuration structure.
Sign signs a zone file and outputs the result into out path (if its length is more than zero).

# Constants

ECDSA P256 SHA256.
RSA SHA256.

# Variables

ErrNoValidKeys represents an error returned when the session does not have valid keys.
StringToSignAlgorithm takes the name of an algorithm.

# Structs

Context contains the state of a zone signing process.
ContextConfig contains the common args to sign and verify files.
FileSession represents a File session.
No description provided by the author
PKCS11RRSigner represents a signer using a PKCS11 device to sign and store the keys.
PKCS11Session represents a PKCS#11 session.
RRSigTuple combines an RRSIg and the set related to it.
SigKeys contains the four keys used in zone signing.

# Interfaces

SignSession represents an abstract signing session.

# Type aliases

RRArray represents an array of rrs It implements Swapper interface, and is sortable.
RRSetList is an array of RRArrays.
SignAlgorithm represents the algorithm used to sign a zone The numbers are the same the RFC defined for the algorithms.