- SEE ALSO
Net::DNS::RR::HIP - DNS HIP resource record
This class implements the HIP RR (RFC5205)
Returns or sets the public key algorithm field
Returns or sets the hit in base16 representation.
Returns or sets the binary representation of the the hit.
Using hit or hitbin to set the one of these attributes will update both attributes.
Returns or sets the publick key in base64 representation.
Returns or sets the binary representation of the the public key.
Using pubkey or pubkeybin to set the one of these attributes will update both attributes.
Returns a reference to an array of rendezvous servers. The representation is in Perl's internal storage format i.e. without trailing dot.
$hip->rendezvousservers( [ qw|example.com example.net| ] )
With a reference to an array as the argument this method will set the rendezvousservers.
Since (multiline) base64 encoded publik keys may contain spaces string parsing of the HIP RR depends on rendevous server names containing at least one . (dot) in their domain name. Failure of string parsing will return an 'undef'.
The rdatastr method (and hence the string and print methods) return the rendezvousservers as fully qualified domain names.
Copyright (c) 2009 Olaf Kolkman (NLnet Labs)
All rights reserved. This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself.