Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
DNS::LDNS::Key(3)     User Contributed Perl Documentation    DNS::LDNS::Key(3)

NAME
       DNS::LDNS::Key -	DNSSec private key

SYNOPSIS
	 use DNS::LDNS ':all'

	 key = new DNS::LDNS::Key
	 key = new DNS::LDNS::Key(file => \*FILE)
	 key = new DNS::LDNS::Key(filename => 'keyfile')

	 str = key->to_string
	 key->print(\*OUTPUT)

	 key->set_algorithm(alg)
	 alg = key->algorithm
	 key->set_flags(flags)
	 flags = key->flags
	 key->set_hmac_key(hmac)
	 hmac =	key->hmac_key
	 key->set_hmac_size(size)
	 size =	key->hmac_size
	 key->set_origttl(ttl)
	 ttl = key->origttl
	 key->set_inception(epoch)
	 epoch = key->inception
	 key->set_expiration(epoch)
	 epoch = key->expiration
	 key->set_pubkey_owner(rdata)
	 rdata = key->pubkey_owner
	 key->set_keytag(tag)
	 tag = key->keytag
	 key->set_use(bool)
	 bool =	key->use

	 str = key->get_file_base_name

	 rr = key->to_rr

SEE ALSO
       http://www.nlnetlabs.nl/projects/ldns

AUTHOR
       Erik Pihl Ostlyngen, <erik.ostlyngen@uninett.no>

COPYRIGHT AND LICENSE
       Copyright (C) 2013 by UNINETT Norid AS

       This library is free software; you can redistribute it and/or modify it
       under the same terms as Perl itself, either Perl	version	5.14.2 or, at
       your option, any	later version of Perl 5	you may	have available.

perl v5.24.1			  2016-12-20		     DNS::LDNS::Key(3)

NAME | SYNOPSIS | SEE ALSO | AUTHOR | COPYRIGHT AND LICENSE

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=DNS::LDNS::Key&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help