ldns_key_buf2dsa(3)

ldns_key_buf2dsa3

Convert buffer to openssl key

Usage

#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);

Overview

ldns_key_buf2dsa() converts a buffer holding key material to a DSA key in openssl.

.br key: the key to convert .br Returns a DSA * structure with the key material

ldns_key_buf2rsa() converts a buffer holding key material to a RSA key in openssl.

.br key: the key to convert .br Returns a RSA * structure with the key material

Remarks

This manpage was automatically generated from the ldns source code.

Releases

10 releases since Debian 5.0 (Lenny); the text changed 5 times.

  1. 5.0
  2. 6.0–7
  3. 8
  4. 9–10
  5. 11–12
  6. 13–Arch

Author

The ldns team at NLnet Labs.

Reporting bugs

Please report bugs to [email protected] or on GitHub at https://github.com/NLnetLabs/ldns/issues

From ldns 1.9.2-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.