67 int tsig_timers_only);
80 const char *algorithm_name,
const ldns_rdf *query_mac);
95 const char *algorithm_name,
const ldns_rdf *query_mac,
int tsig_timers_only);
enum ldns_enum_status ldns_status
Resource record data field.
Contains credentials for TSIG.
char * ldns_tsig_keyname_clone(const ldns_tsig_credentials *)
const char * ldns_tsig_keydata(const ldns_tsig_credentials *)
bool ldns_pkt_tsig_verify(ldns_pkt *pkt, const uint8_t *wire, size_t wire_size, const char *key_name, const char *key_data, const ldns_rdf *mac)
verifies the tsig rr for the given packet and key.
struct ldns_tsig_credentials_struct ldns_tsig_credentials
Contains credentials for TSIG.
ldns_status ldns_pkt_tsig_sign_next(ldns_pkt *pkt, const char *key_name, const char *key_data, uint16_t fudge, const char *algorithm_name, const ldns_rdf *query_mac, int tsig_timers_only)
creates a tsig rr for the given packet and key.
const char * ldns_tsig_keyname(const ldns_tsig_credentials *)
bool ldns_pkt_tsig_verify_next(ldns_pkt *pkt, const uint8_t *wire, size_t wire_size, const char *key_name, const char *key_data, const ldns_rdf *mac, int tsig_timers_only)
verifies the tsig rr for the given packet and key.
const char * ldns_tsig_algorithm(const ldns_tsig_credentials *)
char * ldns_tsig_keydata_clone(const ldns_tsig_credentials *)
ldns_status ldns_pkt_tsig_sign(ldns_pkt *pkt, const char *key_name, const char *key_data, uint16_t fudge, const char *algorithm_name, const ldns_rdf *query_mac)
creates a tsig rr for the given packet and key.