Net::L...:RRSIG(3pm)

πŸ’– NAME πŸ’–

ok so bestie, gather round: this is Net::LDNS::RR::RRSIG, the manual page for the Type RRSIG record class. like, the whole entire thing. no cap. ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

So Net::LDNS::RR::RRSIG is a subclass of Net::LDNS::RR, which means β€” and this is the important part, don't skip it β€” it has all the methods of that class available to it, on top of the ones documented down below. it's giving inheritance, it's giving main character energy, it's literally just how subclassing works πŸ’…


πŸŽ€ METHODS πŸŽ€

okay these are the methods that are exclusive to RRSIG, the little extras it brings to the group chat. every single one of them, no skipping:

  • typecovered() β€” hands you a string with the name of the RR type this signature covers. like, who is she protecting πŸ™ˆ
  • algorithm() β€” gives you back the algorithm number. just the number, no vibes, no elaboration.
  • labels() β€” tells you how many labels were used to calculate the signature. the count. the receipts.
  • origttl() β€” the original TTL value. yes, the original one.
  • expiration() β€” returns the expiration time, as a time_t. when it all wraps up πŸ₯€
  • inception() β€” returns the inception time, as a time_t. when it all began 🐣
  • keytag() β€” returns the keytag. that's it. that's the tweet.
  • signer() β€” returns the signer name. name of the one who signed ✍️
  • signature() β€” returns the cryptographic signature in binary form. binary!! raw!! unhinged little bytes 🫢
  • verify($rrset_ref, $key_ref) β€” cryptographically verifies that the signature in this object matches the given RRset and at least one of the given keys. so like: $rrset_ref should be a reference to an array of RR objects, and $key_ref should be a reference to an array of Net::LDNS::RR::DNSKEY objects. this method just returns a plain true or false value depending on the result of the check. simple. clean. iconic.
  • verify_str($rrset_ref, $key_ref) β€” takes exactly the same arguments as verify() and does the exact same thing, but instead of true/false it hands you back a string describing the result. if it worked, that string is "All OK". if it didn't, the string tells you why the verification failed. so basically it's verify() with feelings πŸ’–
  • verify_time($rrset_ref, $key_ref, $time, $msg) β€” this is the XS method doing all the actual heavy lifting for the previous two. $rrset_ref and $key_ref are exactly the same as for the other methods. $time is the time_t value you want the validation to be made for β€” and for the previous two methods, that value is set to the current computer time, just so we're clear. $msg should be a writable scalar, and the string message describing the result gets put into it. the return value from this method is true/false. the OG. the blueprint. the one who did it first πŸ‘‘
fr fr, quick vibe check: verify() and verify_str() are just chiller front-ends, and verify_time() underneath is the one actually doing the work. iykyk

aaaand that's the whole page, bestie, we ate and left no crumbs πŸ’…βœ¨ this gorgeous lil doc ships with perl v5.42.3, dated 2026-08-19, and it's part of the User Contributed Perl Documentation. mwah πŸŽ€πŸ¦‹πŸ’œ

πŸ“¦ where this page comes from