|
unbound 0.1
|
This program signs rrsets with the given keys. More...
#include "config.h"#include <ldns/ldns.h>#include <assert.h>Data Structures | |
| struct | keysets |
| Key settings. More... | |
Macros | |
| #define | DNSKEY_BIT_ZSK 0x0100 |
Functions | |
| static void | usage (void) |
| print usage and exit | |
| static time_t | convert_timeval (const char *str) |
| static void | fatal_exit (const char *format,...) |
| 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 | |
This program signs rrsets with the given keys.
It can be used to construct input to test the validator with.
|
static |
print usage and exit
References usage().
|
static |
read expi ince keytag owner from cmdline
References keysets::expi, keysets::flags, keysets::incep, keysets::keytag, keysets::owner, and parse_cmdline().
Referenced by parse_cmdline(), and process_keys().
|
static |
read all key files, exit on error
References keysets::expi, fatal_exit(), keysets::flags, keysets::incep, keysets::keytag, keysets::owner, and read_keys().
Referenced by process_keys(), and read_keys().
|
static |
read list of rrs from the file
References fatal_exit(), and read_rrs().
Referenced by process_keys(), and read_rrs().
|
static |
sign the rrs with the keys
References fatal_exit(), and signit().
Referenced by process_keys(), and signit().
|
static |
process keys and signit
References parse_cmdline(), process_keys(), read_keys(), read_rrs(), and signit().
Referenced by main(), and process_keys().
|
static |
process nsec3 params and perform hashing
References fatal_exit(), and process_nsec3().
Referenced by main(), and process_nsec3().
| int main | ( | int | argc, |
| char * | argv[] ) |
main program
References main, process_keys(), process_nsec3(), and usage().