ldns(3)
π ldns β the key-converting girlies (manual section 3, bestie) π
okay so this is the ldns(3) library functions manual, and today's main characters are ldns_key_buf2dsa and ldns_key_buf2rsa β they turn a buffer into an openssl key. no cap, that's literally the whole vibe.
β¨ NAME β¨
ldns_key_buf2dsa, ldns_key_buf2rsa β convert buffer to openssl key
πΈ SYNOPSIS πΈ
#include <stdint.h>
#include <stdbool.h>
#include <ldns/ldns.h>
DSA* ldns_key_buf2dsa(const ldns_buffer *key);
RSA* ldns_key_buf2rsa(const ldns_buffer *key);
like yes bestie, those are the exact includes, don't skip them, they're giving necessary π
π¦ DESCRIPTION π¦
ldns_key_buf2dsa() converts a buffer holding key material to a DSA key in openssl.
key: the key to convert- Returns a
DSA *structure with the key material
ldns_key_buf2rsa() converts a buffer holding key material to a RSA key in openssl.
key: the key to convert- Returns a
RSA *structure with the key material
so yeah, two functions, both taking a const ldns_buffer * named key, both handing you back a pointer to an openssl key structure stuffed with that key material. one is DSA, one is RSA. pick your fighter, they're both slaying π₯
π AUTHOR π
The ldns team at NLnet Labs.
π REPORTING BUGS π
Please report bugs to dns-team@nlnetlabs.nl or on GitHub at https://github.com/NLnetLabs/ldns/issues
not me asking you to actually file the bug report instead of just complaining in the group chat π the maintainers wanna hear it fr fr
π 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.
bestie. there is NO warranty. not even the implied ones. say it with me. periodt. π
π SEE ALSO π
ldns_key_rr2ds. And perldoc Net::DNS, RFC1034, RFC1035, RFC4033, RFC4034 and RFC4035.
π§ REMARKS π§
This manpage was automatically generated from the ldns source code.
(yes queen, the robot wrote it, we just gave it main character energy β¨)
and that's the whole page, bestie π«Ά this was ldns(3), from the Library Functions Manual, dated 30 May 2006 β huge slay, iconic, no notes. go convert some keys π
π¦ 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