#include <isc/lang.h>#include <dns/types.h>Go to the source code of this file.
Defines | |
| #define | DNS_SECALG_H 1 |
| #define | DNS_SECALG_FORMATSIZE 20 |
Functions | |
| ISC_LANG_BEGINDECLS isc_result_t | dns_secalg_fromtext (dns_secalg_t *secalgp, isc_textregion_t *source) |
| Convert the text 'source' refers to into a DNSSEC security algorithm value. The text may contain either a mnemonic algorithm name or a decimal algorithm number. | |
| isc_result_t | dns_secalg_totext (dns_secalg_t secalg, isc_buffer_t *target) |
| Put a textual representation of the DNSSEC security algorithm 'secalg' into 'target'. | |
| void | dns_secalg_format (dns_secalg_t alg, char *cp, unsigned int size) |
| Wrapper for dns_secalg_totext(), writing text into 'cp'. | |
Definition in file secalg.h.
| #define DNS_SECALG_FORMATSIZE 20 |
Definition at line 69 of file secalg.h.
Referenced by dns_dnssec_findzonekeys2(), dns_dnssec_keylistfromrdataset(), dns_private_totext(), main(), mkey_dumpzone(), and ns_server_signing().
| ISC_LANG_BEGINDECLS isc_result_t dns_secalg_fromtext | ( | dns_secalg_t * | secalgp, | |
| isc_textregion_t * | source | |||
| ) |
Convert the text 'source' refers to into a DNSSEC security algorithm value. The text may contain either a mnemonic algorithm name or a decimal algorithm number.
Requires:
Definition at line 326 of file rcode.c.
References dns_mnemonic_fromtext(), ISC_R_SUCCESS, and RETERR.
Referenced by disable_algorithms(), disabled_algorithms(), fromtext_cdnskey(), fromtext_cds(), fromtext_cert(), fromtext_dnskey(), fromtext_ds(), fromtext_key(), fromtext_keydata(), fromtext_rrsig(), fromtext_sig(), and main().
| isc_result_t dns_secalg_totext | ( | dns_secalg_t | secalg, | |
| isc_buffer_t * | target | |||
| ) |
Put a textual representation of the DNSSEC security algorithm 'secalg' into 'target'.
Requires:
Definition at line 334 of file rcode.c.
References dns_mnemonic_totext().
Referenced by dns_secalg_format(), and totext_cert().
| void dns_secalg_format | ( | dns_secalg_t | alg, | |
| char * | cp, | |||
| unsigned int | size | |||
| ) |
Wrapper for dns_secalg_totext(), writing text into 'cp'.
Definition at line 339 of file rcode.c.
References isc_region::base, dns_secalg_totext(), isc_buffer_init, isc_buffer_usedregion, ISC_R_SUCCESS, isc_region::length, r, and REQUIRE.
Referenced by del_sigs(), dns_dnssec_findzonekeys2(), dns_dnssec_keylistfromrdataset(), dns_private_totext(), dst_key_format(), main(), mkey_dumpzone(), publish_key(), remove_key(), sig_format(), totext_cdnskey(), totext_dnskey(), totext_keydata(), verifyset(), and verifyzone().