Method: Dnsruby::RR::TSIG#mac
- Defined in:
- lib/dnsruby/resource/TSIG.rb
#mac ⇒ Object
Returns the message authentication code (MAC) as a string of hex characters. The programmer must call a Net::DNS::Packet object’s data method before this will return anything meaningful.
print "MAC = ", rr.mac, "\n"
435 436 437 |
# File 'lib/dnsruby/resource/TSIG.rb', line 435 def mac @mac end |