|
OpenDNSSEC-signer
1.3.9
|


Go to the source code of this file.
Data Structures | |
| struct | rrsigs_struct |
Typedefs | |
| typedef struct rrsigs_struct | rrsigs_type |
Functions | |
| rrsigs_type * | rrsigs_create (void) |
| ods_status | rrsigs_add_sig (rrsigs_type *rrsigs, ldns_rr *rr, const char *l, uint32_t f) |
| void | rrsigs_cleanup (rrsigs_type *rrsigs) |
| void | rrsigs_print (FILE *fd, rrsigs_type *rrsigs, int print_key) |
| typedef struct rrsigs_struct rrsigs_type |
| ods_status rrsigs_add_sig | ( | rrsigs_type * | rrsigs, |
| ldns_rr * | rr, | ||
| const char * | l, | ||
| uint32_t | f | ||
| ) |
Add RRSIG to signature set.
| [in] | rrsigs | signature set |
| [in] | rr | RRSIG record |
| [in] | l | key locator |
| [in] | f | key flags |
Add RRSIG to signature set.
Definition at line 88 of file rrsigs.c.
References rrsigs_struct::allocator, allocator_strdup(), rrsigs_struct::key_flags, rrsigs_struct::key_locator, rrsigs_struct::next, ods_log_assert, ods_log_error(), ods_log_warning(), ODS_STATUS_ASSERT_ERR, ODS_STATUS_ERR, ODS_STATUS_OK, ODS_STATUS_UNCHANGED, rrsigs_struct::rr, rrsigs_add_sig(), rrsigs_create(), and util_dnssec_rrs_compare().
Referenced by rrset_recover(), rrset_sign(), and rrsigs_add_sig().
| void rrsigs_cleanup | ( | rrsigs_type * | rrsigs | ) |
Clean up signature set.
Definition at line 164 of file rrsigs.c.
References rrsigs_struct::allocator, allocator_cleanup(), allocator_deallocate(), rrsigs_struct::key_locator, rrsigs_struct::next, rrsigs_struct::rr, and rrsigs_cleanup().
Referenced by rrset_cleanup(), rrset_sign(), and rrsigs_cleanup().
| rrsigs_type* rrsigs_create | ( | void | ) |
Create new signature set.
Create new signature set.
Definition at line 52 of file rrsigs.c.
References rrsigs_struct::allocator, allocator_alloc(), allocator_cleanup(), allocator_create(), rrsigs_struct::key_flags, rrsigs_struct::key_locator, rrsigs_struct::next, ods_log_assert, ods_log_error(), and rrsigs_struct::rr.
Referenced by rrset_recover(), rrset_sign(), and rrsigs_add_sig().
| void rrsigs_print | ( | FILE * | fd, |
| rrsigs_type * | rrsigs, | ||
| int | print_key | ||
| ) |
Print signature set.
| [in] | fd | file descriptor |
| [in] | rrsigs | signature set to be printed |
| [in] | print_key | if key credentials should be printed |
Print signature set.
Definition at line 191 of file rrsigs.c.
References rrsigs_struct::key_flags, rrsigs_struct::key_locator, rrsigs_struct::next, ods_log_assert, ods_log_error(), and rrsigs_struct::rr.
Referenced by rrset_backup(), and rrset_print().
1.8.1.2