Subject: | make siginception and sigexpiration available as time() values |
For monitoring purposes, I need to calculate how long certain RRSIG RRs will stay valid.
After finding out that Net::DNS::RR::RRSIG internally stores the dates for siginception and sigexpiration as time() values, anyway, I currently use $rr->{siginception} and $rr->{sigexpiration} to access them and compare them with my desired $min_validity.
It would be great, however, if there also were official methods to access these timestamps as such or alternatively methods to get them in some other convenient format, e.g. as DateTime objects.
Another idea would be to make something like sigval (as supported by the ->create method) also available as method.
I can try to submit a patch for that if you like; if so, please let me know about your preferred interface.
Cheers,
fany