Home | Trees | Index | Help |
|
---|
Package dns :: Package rdtypes :: Module sigbase :: Class SIGBase |
|
object
--+ |Rdata
--+ | SIGBase
RRSIG
,
SIG
Method Summary | |
---|---|
__init__(self,
rdclass,
rdtype,
type_covered,
algorithm,
labels,
original_ttl,
expiration,
inception,
key_tag,
signer,
signature)
| |
Convert any domain names in the rdata to the specified relativization. | |
int |
DNS SIG/RRSIG rdatas apply to a specific type; this type is returned by the covers() function. |
from_text(cls,
rdclass,
rdtype,
tok,
origin,
relativize)
(Class method) | |
from_wire(cls,
rdclass,
rdtype,
wire,
current,
rdlen,
origin)
(Class method) | |
string |
Convert an rdata to text format. |
string |
Convert an rdata to wire format. |
Inherited from Rdata | |
| |
| |
| |
| |
| |
| |
| |
| |
int |
Return a 32-bit type value, the least significant 16 bits of which are the ordinary DNS type, and the upper 16 bits of which are the "covered" type, if any. |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__setattr__('name', value) <==> x.name = value |
Instance Variable Summary | |
---|---|
int | algorithm : the algorithm used for the sig |
long | expiration : signature expiration time |
long | inception : signature inception time |
int | key_tag : the key tag |
int | labels : number of labels |
long | original_ttl : the original TTL |
string | signature : the signature |
dns.name.Name object | signer : the signer |
int | type_covered : the rdata type this signature covers |
Class Variable Summary | |
---|---|
list |
__slots__ = ['type_covered', 'algorithm', 'labels', 'ori...
|
Inherited from Rdata | |
member_descriptor |
rdclass = <member 'rdclass' of 'Rdata' objects>
|
member_descriptor |
rdtype = <member 'rdtype' of 'Rdata' objects>
|
Instance Method Details |
---|
choose_relativity(self, origin=None, relativize=True)Convert any domain names in the rdata to the specified relativization.
|
covers(self)DNS SIG/RRSIG rdatas apply to a specific type; this type is returned by the covers() function. If the rdata type is not SIG or RRSIG, dns.rdatatype.NONE is returned. This is useful when creating rdatasets, allowing the rdataset to contain only RRSIGs of a particular type, e.g. RRSIG(NS).
|
to_text(self, origin=None, relativize=True, **kw)Convert an rdata to text format.
|
to_wire(self, file, compress=None, origin=None)Convert an rdata to wire format.
|
Instance Variable Details |
---|
algorithmthe algorithm used for the sig
|
expirationsignature expiration time
|
inceptionsignature inception time
|
key_tagthe key tag
|
labelsnumber of labels
|
original_ttlthe original TTL
|
signaturethe signature
|
signerthe signer
|
type_coveredthe rdata type this signature covers
|
Class Variable Details |
---|
__slots__
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Thu Apr 1 12:10:11 2004 | http://epydoc.sf.net |