SysTutorials Posts

  • |

    ldns_key_new_frm_fp_rsa (3) Linux Manual Page

    ldns_key_new_frm_fp_rsa, ldns_key_new_frm_fp_rsa_l Synopsis#include <stdint.h> #include <stdbool.h> #include <ldns/ldns.h> RSA* ldns_key_new_frm_fp_rsa(FILE *fp); RSA* ldns_key_new_frm_fp_rsa_l(FILE *fp, int *line_nr); Description ldns_key_new_frm_fp_rsa() frm_fp helper function. This function parses the remainder of the (RSA) priv. key file generated from bind9 .br fp: the file to parse .br Returns NULL on failure otherwise a RSA structure ldns_key_new_frm_fp_rsa_l() frm_fp helper function. This…

  • |

    ldns_key_new_frm_fp_l (3) Linux Manual Page

    ldns_key_new_frm_algorithm, ldns_key_new_frm_fp, ldns_key_new_frm_fp_l Synopsis#include <stdint.h> #include <stdbool.h> #include <ldns/ldns.h> ldns_key* ldns_key_new_frm_algorithm(ldns_signing_algorithm a, uint16_t size); ldns_status ldns_key_new_frm_fp(ldns_key **k, FILE *fp); ldns_status ldns_key_new_frm_fp_l(ldns_key **k, FILE *fp, int *line_nr); Description ldns_key_new_frm_algorithm() Creates a new key based on the algorithm .br a: The algorithm to use .br size: the number of bytes for the keysize .br Returns a new…

  • |

    ldns_key_new_frm_fp_dsa_l (3) Linux Manual Page

    ldns_key_new_frm_fp_dsa, ldns_key_new_frm_fp_dsa_l Synopsis#include <stdint.h> #include <stdbool.h> #include <ldns/ldns.h> DSA* ldns_key_new_frm_fp_dsa(FILE *fp); DSA* ldns_key_new_frm_fp_dsa_l(FILE *fp, int *line_nr); Description ldns_key_new_frm_fp_dsa() frm_fp helper function. This function parses the remainder of the (DSA) priv. key file .br fp: the file to parse .br Returns NULL on failure otherwise a RSA structure ldns_key_new_frm_fp_dsa_l() frm_fp helper function. This function parses the…

  • |

    ldns_key_new_frm_fp_dsa (3) Linux Manual Page

    ldns_key_new_frm_fp_dsa, ldns_key_new_frm_fp_dsa_l Synopsis#include <stdint.h> #include <stdbool.h> #include <ldns/ldns.h> DSA* ldns_key_new_frm_fp_dsa(FILE *fp); DSA* ldns_key_new_frm_fp_dsa_l(FILE *fp, int *line_nr); Description ldns_key_new_frm_fp_dsa() frm_fp helper function. This function parses the remainder of the (DSA) priv. key file .br fp: the file to parse .br Returns NULL on failure otherwise a RSA structure ldns_key_new_frm_fp_dsa_l() frm_fp helper function. This function parses the…

  • |

    ldns_key_new_frm_fp (3) Linux Manual Page

    ldns_key_new_frm_algorithm, ldns_key_new_frm_fp, ldns_key_new_frm_fp_l Synopsis#include <stdint.h> #include <stdbool.h> #include <ldns/ldns.h> ldns_key* ldns_key_new_frm_algorithm(ldns_signing_algorithm a, uint16_t size); ldns_status ldns_key_new_frm_fp(ldns_key **k, FILE *fp); ldns_status ldns_key_new_frm_fp_l(ldns_key **k, FILE *fp, int *line_nr); Description ldns_key_new_frm_algorithm() Creates a new key based on the algorithm .br a: The algorithm to use .br size: the number of bytes for the keysize .br Returns a new…

  • |

    ldns_key_new_frm_algorithm (3) Linux Manual Page

    ldns_key_new_frm_algorithm, ldns_key_new_frm_fp, ldns_key_new_frm_fp_l Synopsis#include <stdint.h> #include <stdbool.h> #include <ldns/ldns.h> ldns_key* ldns_key_new_frm_algorithm(ldns_signing_algorithm a, uint16_t size); ldns_status ldns_key_new_frm_fp(ldns_key **k, FILE *fp); ldns_status ldns_key_new_frm_fp_l(ldns_key **k, FILE *fp, int *line_nr); Description ldns_key_new_frm_algorithm() Creates a new key based on the algorithm .br a: The algorithm to use .br size: the number of bytes for the keysize .br Returns a new…

  • |

    ldns_key_new (3) Linux Manual Page

    ldns_key_new Synopsis#include <stdint.h> #include <stdbool.h> #include <ldns/ldns.h> ldns_key* ldns_key_new(); Description ldns_key_new() Creates a new empty key structure .br Returns a new ldns_key * structureAuthorThe ldns team at NLnet Labs. Which consists out of Jelte Jansen and Miek Gieben. Reporting BugsPlease report bugs to ldns-team [at] nlnetlabs.nl or in our bugzilla at http://www.nlnetlabs.nl/bugs/index.html CopyrightCopyright (c) 2004…

  • |

    ldns_key_list_set_key_count (3) Linux Manual Page

    ldns_key_set_algorithm, ldns_key_set_rsa_key, ldns_key_set_dsa_key, ldns_key_set_hmac_key, ldns_key_set_origttl, ldns_key_set_inception, ldns_key_set_expiration, ldns_key_set_pubkey_owner, ldns_key_set_keytag, ldns_key_set_flags, ldns_key_list_set_key_count Synopsis#include <stdint.h> #include <stdbool.h> #include <ldns/ldns.h> void ldns_key_set_algorithm(ldns_key *k, ldns_signing_algorithm l); void ldns_key_set_rsa_key(ldns_key *k, RSA *r); void ldns_key_set_dsa_key(ldns_key *k, DSA *d); void ldns_key_set_hmac_key(ldns_key *k, unsigned char *hmac); void ldns_key_set_origttl(ldns_key *k, uint32_t t); void ldns_key_set_inception(ldns_key *k, uint32_t i); void ldns_key_set_expiration(ldns_key *k, uint32_t e); void ldns_key_set_pubkey_owner(ldns_key…

  • |

    ldns_key_list_push_key (3) Linux Manual Page

    ldns_key_list_key_count, ldns_key_list_key, ldns_key_rsa_key, ldns_key_dsa_key, ldns_key_algorithm, ldns_key_hmac_key, ldns_key_origttl, ldns_key_inception, ldns_key_expiration, ldns_key_keytag, ldns_key_pubkey_owner, ldns_key_flags Synopsis#include <stdint.h> #include <stdbool.h> #include <ldns/ldns.h> size_t ldns_key_list_key_count(const ldns_key_list *key_list); ldns_key* ldns_key_list_key(const ldns_key_list *key, size_t nr); RSA* ldns_key_rsa_key(const ldns_key *k); DSA* ldns_key_dsa_key(const ldns_key *k); ldns_signing_algorithm ldns_key_algorithm(const ldns_key *k); unsigned char* ldns_key_hmac_key(const ldns_key *k); uint32_t ldns_key_origttl(const ldns_key *k); uint32_t ldns_key_inception(const ldns_key *k); uint32_t ldns_key_expiration(const…

  • |

    ldns_key_list_pop_key (3) Linux Manual Page

    ldns_key_list_key_count, ldns_key_list_key, ldns_key_rsa_key, ldns_key_dsa_key, ldns_key_algorithm, ldns_key_hmac_key, ldns_key_origttl, ldns_key_inception, ldns_key_expiration, ldns_key_keytag, ldns_key_pubkey_owner, ldns_key_flags Synopsis#include <stdint.h> #include <stdbool.h> #include <ldns/ldns.h> size_t ldns_key_list_key_count(const ldns_key_list *key_list); ldns_key* ldns_key_list_key(const ldns_key_list *key, size_t nr); RSA* ldns_key_rsa_key(const ldns_key *k); DSA* ldns_key_dsa_key(const ldns_key *k); ldns_signing_algorithm ldns_key_algorithm(const ldns_key *k); unsigned char* ldns_key_hmac_key(const ldns_key *k); uint32_t ldns_key_origttl(const ldns_key *k); uint32_t ldns_key_inception(const ldns_key *k); uint32_t ldns_key_expiration(const…

  • |

    ldns_key_list_new (3) Linux Manual Page

    ldns_key_list_key_count, ldns_key_list_key, ldns_key_rsa_key, ldns_key_dsa_key, ldns_key_algorithm, ldns_key_hmac_key, ldns_key_origttl, ldns_key_inception, ldns_key_expiration, ldns_key_keytag, ldns_key_pubkey_owner, ldns_key_flags Synopsis#include <stdint.h> #include <stdbool.h> #include <ldns/ldns.h> size_t ldns_key_list_key_count(const ldns_key_list *key_list); ldns_key* ldns_key_list_key(const ldns_key_list *key, size_t nr); RSA* ldns_key_rsa_key(const ldns_key *k); DSA* ldns_key_dsa_key(const ldns_key *k); ldns_signing_algorithm ldns_key_algorithm(const ldns_key *k); unsigned char* ldns_key_hmac_key(const ldns_key *k); uint32_t ldns_key_origttl(const ldns_key *k); uint32_t ldns_key_inception(const ldns_key *k); uint32_t ldns_key_expiration(const…

  • |

    ldns_key_list_key_count (3) Linux Manual Page

    ldns_key_list_key_count, ldns_key_list_key, ldns_key_rsa_key, ldns_key_dsa_key, ldns_key_algorithm, ldns_key_hmac_key, ldns_key_origttl, ldns_key_inception, ldns_key_expiration, ldns_key_keytag, ldns_key_pubkey_owner, ldns_key_flags Synopsis#include <stdint.h> #include <stdbool.h> #include <ldns/ldns.h> size_t ldns_key_list_key_count(const ldns_key_list *key_list); ldns_key* ldns_key_list_key(const ldns_key_list *key, size_t nr); RSA* ldns_key_rsa_key(const ldns_key *k); DSA* ldns_key_dsa_key(const ldns_key *k); ldns_signing_algorithm ldns_key_algorithm(const ldns_key *k); unsigned char* ldns_key_hmac_key(const ldns_key *k); uint32_t ldns_key_origttl(const ldns_key *k); uint32_t ldns_key_inception(const ldns_key *k); uint32_t ldns_key_expiration(const…

  • |

    ldns_key_list_key (3) Linux Manual Page

    ldns_key_list_key_count, ldns_key_list_key, ldns_key_rsa_key, ldns_key_dsa_key, ldns_key_algorithm, ldns_key_hmac_key, ldns_key_origttl, ldns_key_inception, ldns_key_expiration, ldns_key_keytag, ldns_key_pubkey_owner, ldns_key_flags Synopsis#include <stdint.h> #include <stdbool.h> #include <ldns/ldns.h> size_t ldns_key_list_key_count(const ldns_key_list *key_list); ldns_key* ldns_key_list_key(const ldns_key_list *key, size_t nr); RSA* ldns_key_rsa_key(const ldns_key *k); DSA* ldns_key_dsa_key(const ldns_key *k); ldns_signing_algorithm ldns_key_algorithm(const ldns_key *k); unsigned char* ldns_key_hmac_key(const ldns_key *k); uint32_t ldns_key_origttl(const ldns_key *k); uint32_t ldns_key_inception(const ldns_key *k); uint32_t ldns_key_expiration(const…

  • |

    ldns_key_list_free (3) Linux Manual Page

    ldns_key_free, ldns_key_deep_free, ldns_key_list_free Synopsis#include <stdint.h> #include <stdbool.h> #include <ldns/ldns.h> void ldns_key_free(ldns_key *key); void ldns_key_deep_free(ldns_key *key); void ldns_key_list_free(ldns_key_list *key_list); Description ldns_key_free() frees a key structure, but not its internal data structures .br key: the key object to free ldns_key_deep_free() frees a key structure and all its internal data structures, except the data set by ldns_key_set_external_key() .br…

  • |

    ldns_key_keytag (3) Linux Manual Page

    ldns_key_origttl, ldns_key_inception, ldns_key_expiration, ldns_key_keytag, ldns_key_pubkey_owner, ldns_key_flags Synopsis#include <stdint.h> #include <stdbool.h> #include <ldns/ldns.h> uint32_t ldns_key_origttl(const ldns_key *k); uint32_t ldns_key_inception(const ldns_key *k); uint32_t ldns_key_expiration(const ldns_key *k); uint16_t ldns_key_keytag(const ldns_key *k); ldns_rdf* ldns_key_pubkey_owner(const ldns_key *k); uint16_t ldns_key_flags(const ldns_key *k); Description ldns_key_origttl() return the original ttl of the key .br k: the key .br Returns the original ttl ldns_key_inception()…

  • |

    ldns_key_inception (3) Linux Manual Page

    ldns_key_origttl, ldns_key_inception, ldns_key_expiration, ldns_key_keytag, ldns_key_pubkey_owner, ldns_key_flags Synopsis#include <stdint.h> #include <stdbool.h> #include <ldns/ldns.h> uint32_t ldns_key_origttl(const ldns_key *k); uint32_t ldns_key_inception(const ldns_key *k); uint32_t ldns_key_expiration(const ldns_key *k); uint16_t ldns_key_keytag(const ldns_key *k); ldns_rdf* ldns_key_pubkey_owner(const ldns_key *k); uint16_t ldns_key_flags(const ldns_key *k); Description ldns_key_origttl() return the original ttl of the key .br k: the key .br Returns the original ttl ldns_key_inception()…

  • |

    ldns_key_hmac_key (3) Linux Manual Page

    ldns_key_rsa_key, ldns_key_dsa_key, ldns_key_algorithm, ldns_key_hmac_key Synopsis#include <stdint.h> #include <stdbool.h> #include <ldns/ldns.h> RSA* ldns_key_rsa_key(const ldns_key *k); DSA* ldns_key_dsa_key(const ldns_key *k); ldns_signing_algorithm ldns_key_algorithm(const ldns_key *k); unsigned char* ldns_key_hmac_key(const ldns_key *k); Description ldns_key_rsa_key() returns the (openssl) RSA struct contained in the key .br k: the key to look in .br Returns the RSA * structure in the key ldns_key_dsa_key()…

  • |

    ldns_key_free (3) Linux Manual Page

    ldns_key_free, ldns_key_deep_free, ldns_key_list_free Synopsis#include <stdint.h> #include <stdbool.h> #include <ldns/ldns.h> void ldns_key_free(ldns_key *key); void ldns_key_deep_free(ldns_key *key); void ldns_key_list_free(ldns_key_list *key_list); Description ldns_key_free() frees a key structure, but not its internal data structures .br key: the key object to free ldns_key_deep_free() frees a key structure and all its internal data structures, except the data set by ldns_key_set_external_key() .br…

  • |

    ldns_key_flags (3) Linux Manual Page

    ldns_key_origttl, ldns_key_inception, ldns_key_expiration, ldns_key_keytag, ldns_key_pubkey_owner, ldns_key_flags Synopsis#include <stdint.h> #include <stdbool.h> #include <ldns/ldns.h> uint32_t ldns_key_origttl(const ldns_key *k); uint32_t ldns_key_inception(const ldns_key *k); uint32_t ldns_key_expiration(const ldns_key *k); uint16_t ldns_key_keytag(const ldns_key *k); ldns_rdf* ldns_key_pubkey_owner(const ldns_key *k); uint16_t ldns_key_flags(const ldns_key *k); Description ldns_key_origttl() return the original ttl of the key .br k: the key .br Returns the original ttl ldns_key_inception()…

  • |

    ldns_key_expiration (3) Linux Manual Page

    ldns_key_origttl, ldns_key_inception, ldns_key_expiration, ldns_key_keytag, ldns_key_pubkey_owner, ldns_key_flags Synopsis#include <stdint.h> #include <stdbool.h> #include <ldns/ldns.h> uint32_t ldns_key_origttl(const ldns_key *k); uint32_t ldns_key_inception(const ldns_key *k); uint32_t ldns_key_expiration(const ldns_key *k); uint16_t ldns_key_keytag(const ldns_key *k); ldns_rdf* ldns_key_pubkey_owner(const ldns_key *k); uint16_t ldns_key_flags(const ldns_key *k); Description ldns_key_origttl() return the original ttl of the key .br k: the key .br Returns the original ttl ldns_key_inception()…