NAME ldnskeynewfrmalgorithm, ldnskeynewfrmfp, ldnskeynewfrmfpl SYNOPSIS
#include
#include
#include
ldnskey* ldnskeynewfrmalgorithm(ldnssigningalgorithm a, uint16t size); ldnsstatus ldnskeynewfrmfp(ldnskey **k, FILE *fp); ldnsstatus ldnskeynewfrmfpl(ldnskey **k, FILE *fp, int *linenr); DESCRIPTION ldnskeynewfrmalgorithm() Creates a new key based on the algorithm a: The algorithm to use size: the number of bytes for the keysize Returns a new ldnskey structure with the key ldnskeynewfrmfp() Creates a new priv key based on the contents of the file pointed by fp. The file should be in Private-key-format v1.x. k: the new ldnskey structure fp: the file pointer to use Returns an error or LDNSSTATUSOK ldnskeynewfrmfpl() Creates a new private key based on the contents of the file pointed by fp
The file should be in Private-key-format v1.x. k: the new ldnskey structure fp: the file pointer to use linenr: pointer to an integer containing the current line num‐ ber (for debugging purposes) Returns an error or LDNSSTATUSOK 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 MER‐ CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. SEE ALSO ldnskey. 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 ldns(3)