unbound 0.1
Data Structures | Functions
signit.c File Reference

This program signs rrsets with the given keys. More...

#include "config.h"
#include "ldns/ldns.h"
#include "util/log.h"
#include "util/config_file.h"
#include "util/net_help.h"

Data Structures

struct  keysets
 Key settings. More...

Functions

static void usage ()
 print usage and exit
static void parse_cmdline (char *argv[], struct keysets *s)
 read expi ince keytag owner from cmdline
static ldns_key_list * read_keys (int num, char *names[], struct keysets *set)
 read all key files, exit on error
static ldns_rr_list * read_rrs (FILE *in)
 read list of rrs from the file
static void signit (ldns_rr_list *rrs, ldns_key_list *keys)
 sign the rrs with the keys
static void process_keys (int argc, char *argv[])
 process keys and signit
static void process_nsec3 (int argc, char *argv[])
 process nsec3 params and perform hashing
int main (int argc, char *argv[])
 main program

Detailed Description

This program signs rrsets with the given keys.

It can be used to construct input to test the validator with.