1DNS::LDNS::Key(3)     User Contributed Perl Documentation    DNS::LDNS::Key(3)
2
3
4

NAME

6       DNS::LDNS::Key - DNSSec private key
7

SYNOPSIS

9         use DNS::LDNS ':all'
10
11         key = new DNS::LDNS::Key
12         key = new DNS::LDNS::Key(file => \*FILE)
13         key = new DNS::LDNS::Key(filename => 'keyfile')
14
15         str = key->to_string
16         key->print(\*OUTPUT)
17
18         key->set_algorithm(alg)
19         alg = key->algorithm
20         key->set_flags(flags)
21         flags = key->flags
22         key->set_hmac_key(hmac)
23         hmac = key->hmac_key
24         key->set_hmac_size(size)
25         size = key->hmac_size
26         key->set_origttl(ttl)
27         ttl = key->origttl
28         key->set_inception(epoch)
29         epoch = key->inception
30         key->set_expiration(epoch)
31         epoch = key->expiration
32         key->set_pubkey_owner(rdata)
33         rdata = key->pubkey_owner
34         key->set_keytag(tag)
35         tag = key->keytag
36         key->set_use(bool)
37         bool = key->use
38
39         str = key->get_file_base_name
40
41         rr = key->to_rr
42

SEE ALSO

44       http://www.nlnetlabs.nl/projects/ldns
45

AUTHOR

47       Erik Pihl Ostlyngen, <erik.ostlyngen@uninett.no>
48
50       Copyright (C) 2013 by UNINETT Norid AS
51
52       This library is free software; you can redistribute it and/or modify it
53       under the same terms as Perl itself, either Perl version 5.14.2 or, at
54       your option, any later version of Perl 5 you may have available.
55
56
57
58perl v5.32.0                      2020-07-28                 DNS::LDNS::Key(3)
Impressum