Class Dnsruby::RR::TKEY
In: lib/Dnsruby/resource/TKEY.rb
Parent: RR

RFC2930

Methods

Constants

TypeValue = Types::TKEY #:nodoc: all

Attributes

algorithm  [RW]  Gets or sets the domain name that specifies the name of the algorithm. The default algorithm is gss.microsoft.com
    rr.algorithm=(algorithm_name)
    print "algorithm = ", rr.algorithm, "\n"
error  [RW]  Returns the RCODE covering TKEY processing. See RFC 2930 for details.
    print "error = ", rr.error, "\n"
expiration  [RW]  Gets or sets the expiration time as the number of seconds since 1 Jan 1970 00:00:00 UTC.

The default expiration time is the current time plus 1 day.

    rr.expiration=(time)
    print "expiration = ", rr.expiration, "\n"
inception  [RW]  Gets or sets the inception time as the number of seconds since 1 Jan 1970 00:00:00 UTC.

The default inception time is the current time.

    rr.inception=(time)
    print "inception = ", rr.inception, "\n"
key  [RW] 
key_size  [R] 
mode  [RW]  Sets the key mode (see rfc2930). The default is 3 which corresponds to GSSAPI
    rr.mode=(3)
    print "mode = ", rr.mode, "\n"
other_data  [R]  Returns the Other Data. This field should be empty.
    print "other data = ", rr.other_data, "\n"
other_size  [R]  Returns the length of the Other Data. Should be zero.
    print "other size = ", rr.other_size, "\n"

Public Class methods

Public Instance methods

[Validate]