ldns(3)
π 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β theldns_bufferholding the raw data that's about to get signed. raw data only, she's not doing any extra seasoning πkeyβ theDSAkey structure you're signing with.- returns an
ldns_rdffor the RRSIGldns_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_rdfwith 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_rdfwith 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 β
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 π₯
ldns_sign_public.- And perldoc
Net::DNS,RFC1034,RFC1035,RFC4033,RFC4034andRFC4035. yes, all of them, she's thorough πΈ
π 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 πβ¨
π¦ where this page comes from
- alpine 3.22: ldns-doc 1.8.4-r0 Β· BSD-3-Clause
- alpine 3.23: ldns-doc 1.8.4-r1 Β· BSD-3-Clause
- alpine 3.24: ldns-doc 1.8.4-r1 Β· BSD-3-Clause
- arch rolling: ldns 1.9.2-1 Β· custom:BSD
- debian trixie: libldns-dev 1.8.4-2+b1
- fedora 43: ldns-devel 1.8.4-8.fc43 Β· BSD-3-Clause
- fedora 43: ldns-devel 1.8.4-8.fc43 Β· BSD-3-Clause
- fedora 43: ldns-devel 1.9.2-1.fc43 Β· BSD-3-Clause
- fedora 43: ldns-devel 1.9.2-1.fc43 Β· BSD-3-Clause
- fedora 44: ldns-devel 1.9.0-2.fc44 Β· BSD-3-Clause
- fedora 44: ldns-devel 1.9.0-2.fc44 Β· BSD-3-Clause
- fedora 44: ldns-devel 1.9.2-1.fc44 Β· BSD-3-Clause
- fedora 44: ldns-devel 1.9.2-1.fc44 Β· BSD-3-Clause
- nixos 26.05: ldns 1.9.2
- nixpkgs unstable: ldns 1.9.2
- opensuse-leap 16.0: ldns-devel 1.8.4-160000.3.1 Β· BSD-3-Clause
- opensuse-leap 16.0: ldns-devel 1.8.4-160000.3.1 Β· BSD-3-Clause
- opensuse-leap 16.0: ldns-devel 1.8.4-160000.3.1 Β· BSD-3-Clause
- opensuse-leap 16.0: ldns-devel 1.8.4-160000.3.1 Β· BSD-3-Clause
- ubuntu questing: libldns-dev 1.8.4-2build1
- ubuntu resolute: libldns-dev 1.8.4-2build3
- ubuntu stonking: libldns-dev 1.9.2-1ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms