#include "config.h"
#include <getopt.h>
#include "cmdhandler.h"
#include "daemon/enforcercommands.h"
#include "daemon/engine.h"
#include "file.h"
#include "log.h"
#include "str.h"
#include "clientpipe.h"
#include "duration.h"
#include "libhsm.h"
#include "libhsmdns.h"
#include "db/key_data.h"
#include "db/db_error.h"
#include "keystate/keystate_import_cmd.h"
#include "keystate/keystate_list_cmd.h"
Go to the source code of this file.
|
int | perform_hsmkey_import (int sockfd, db_connection_t *dbconn, const char *ckaid, const char *rep, const char *zonename, int bits, int alg, int keytype, unsigned int time) |
|
int | perform_keydata_import (int sockfd, db_connection_t *dbconn, const char *ckaid, const char *rep, const char *zonename, int alg, int keystate, int keytype, unsigned int time, int setmin, db_value_t *hsmkey_id) |
|
int | perform_keystate_import (int sockfd, db_connection_t *dbconn, const char *ckaid, const char *rep, const char *zonename, int keystate, int keytype, unsigned int time, db_value_t *hsmkeyid) |
|
|
const int | ksk_mapping [5][4] = {{0,0,0,4},{0,1,1,4},{1,2,2,4},{1,2,2,4},{3,2,2,4}} |
|
const int | zsk_mapping [5][4] = {{4,0,4,0},{4,1,4,0},{4,2,4,1},{4,2,4,2},{4,2,4,3}} |
|
const int | ds_at_parent [5] = {0,0,1,3,5} |
|
struct cmd_func_block | key_import_funcblock |
|
◆ NARGV
◆ perform_hsmkey_import()
int perform_hsmkey_import |
( |
int |
sockfd, |
|
|
db_connection_t * |
dbconn, |
|
|
const char * |
ckaid, |
|
|
const char * |
rep, |
|
|
const char * |
zonename, |
|
|
int |
bits, |
|
|
int |
alg, |
|
|
int |
keytype, |
|
|
unsigned int |
time |
|
) |
| |
◆ perform_keydata_import()
int perform_keydata_import |
( |
int |
sockfd, |
|
|
db_connection_t * |
dbconn, |
|
|
const char * |
ckaid, |
|
|
const char * |
rep, |
|
|
const char * |
zonename, |
|
|
int |
alg, |
|
|
int |
keystate, |
|
|
int |
keytype, |
|
|
unsigned int |
time, |
|
|
int |
setmin, |
|
|
db_value_t * |
hsmkey_id |
|
) |
| |
◆ perform_keystate_import()
int perform_keystate_import |
( |
int |
sockfd, |
|
|
db_connection_t * |
dbconn, |
|
|
const char * |
ckaid, |
|
|
const char * |
rep, |
|
|
const char * |
zonename, |
|
|
int |
keystate, |
|
|
int |
keytype, |
|
|
unsigned int |
time, |
|
|
db_value_t * |
hsmkeyid |
|
) |
| |
◆ ds_at_parent
const int ds_at_parent[5] = {0,0,1,3,5} |
◆ key_import_funcblock
struct cmd_func_block key_import_funcblock |
◆ ksk_mapping
const int ksk_mapping[5][4] = {{0,0,0,4},{0,1,1,4},{1,2,2,4},{1,2,2,4},{3,2,2,4}} |
◆ zsk_mapping
const int zsk_mapping[5][4] = {{4,0,4,0},{4,1,4,0},{4,2,4,1},{4,2,4,2},{4,2,4,3}} |