ldns(3)

πŸ“¦
version 1.9.2 Β· 3 versions
, in alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, debian trixie, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– NAME πŸ’–

ok so bestie, welcome to the ldns(3) corner of the library β€” this one is all about signing a buffer, and the girlies doing the signing are ldns_sign_public_dsa, ldns_sign_public_rsamd5 and ldns_sign_public_rsasha1. no cap, that's the whole vibe.


✨ SYNOPSIS ✨

#include <stdint.h>
#include <stdbool.h>

#include <ldns/ldns.h>

ldns_rdf* ldns_sign_public_dsa(ldns_buffer *to_sign, DSA *key);

ldns_rdf* ldns_sign_public_rsamd5(ldns_buffer *to_sign, RSA *key);

ldns_rdf* ldns_sign_public_rsasha1(ldns_buffer *to_sign, RSA *key);

πŸ¦‹ DESCRIPTION πŸ¦‹

three little functions, three little signing moments. let's go one by one, bestie 🫢

🌸 ldns_sign_public_dsa()

signs a buffer with the DSA key, and it hashes with SHA1. it's giving classic crypto energy.

  • to_sign β€” the ldns_buffer holding the raw data that's about to get signed. raw data only, she's not doing any extra seasoning πŸ’…
  • key β€” the DSA key structure you're signing with.
  • returns an ldns_rdf for the RRSIG ldns_rr. yes, the RRSIG one. iykyk.

🌈 ldns_sign_public_rsamd5()

signs a buffer with the RSA key, hashing with MD5 this time. retro of her, honestly.

  • to_sign β€” buffer with the data.
  • key β€” the key to use.
  • returns an ldns_rdf with the signed data ✨

πŸŽ€ ldns_sign_public_rsasha1()

signs a buffer with the RSA key, but hashing with SHA1. the upgraded sister, main character energy fr fr.

  • to_sign β€” buffer with the data.
  • key β€” the key to use.
  • returns an ldns_rdf with the signed data πŸ’–

πŸ‘‘ AUTHOR πŸ‘‘

The ldns team at NLnet Labs. literal icons, we stan. πŸ’…


😭 REPORTING BUGS 😭

found a bug? not the vibe. please report it to dns-team@nlnetlabs.nl or slide into the GitHub issues at https://github.com/NLnetLabs/ldns/issues β€” they'll handle it, bestie 🫢


Copyright (c) 2004 - 2006 NLnet Labs.

Licensed under the BSD License.

There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. read it and weep, gorgeous β€” no safety net, no take-backs πŸ’€

πŸ”₯ SEE ALSO πŸ”₯


🌟 REMARKS 🌟

This manpage was automatically generated from the ldns source code. so if the prose is a little stiff, that's on the generator, not on us 😌


and that's the whole page, bestie β€” ldns(3), dated 30 May 2006, straight from the ldns crew over at NLnet Labs. mwah, go sign something πŸ’‹βœ¨