Scroll to navigation

ldns(3) Library Functions Manual ldns(3)

NAME

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
k: the key to look in
Returns the RSA * structure in the key

ldns_key_dsa_key() returns the (openssl) DSA struct contained in the key

ldns_key_algorithm() return the signing alg of the key
k: the key
Returns the algorithm

ldns_key_hmac_key() return the hmac key data
k: the key
Returns the hmac key data

AUTHOR

The ldns team at NLnet Labs. Which consists out of Jelte Jansen and Miek Gieben.

REPORTING BUGS

Please report bugs to ldns-team@nlnetlabs.nl or in our bugzilla at http://www.nlnetlabs.nl/bugs/index.html

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.

SEE ALSO

ldns_key_list, ldns_key. And perldoc Net::DNS, RFC1034, RFC1035, RFC4033, RFC4034 and RFC4035.

REMARKS

This manpage was automaticly generated from the ldns source code by use of Doxygen and some perl.

30 May 2006