# File lib/Dnsruby/resource/TSIG.rb, line 548 def rdata_to_string rdatastr="" if (@algorithm!=nil) error = @error error = "UNDEFINED" unless error!=nil rdatastr = "#{@original_id} #{@time_signed} #{@algorithm.to_s(true)} #{error}"; if (@other_size > 0 && @other_data!=nil) rdatastr += " #{@other_data}" end rdatastr += " " + mac.unpack("H*").to_s end return rdatastr end