Method: Dnsruby::RR::TSIG#algorithm

Defined in:
lib/dnsruby/resource/TSIG.rb

#algorithmObject

Gets or sets the domain name that specifies the name of the algorithm. The only algorithms currently supported are hmac-md5 and hmac-sha1.

rr.algorithm=(algorithm_name)
print "algorithm = ", rr.algorithm, "\n"


399
400
401
# File 'lib/dnsruby/resource/TSIG.rb', line 399

def algorithm
  @algorithm
end