|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--org.xbill.DNS.Record
|
+--org.xbill.DNS.SIGRecord
Signature - A SIG provides the digital signature of an RRset, so that the data can be authenticated by a DNSSEC-capable resolver. The signature is usually generated by a key contained in a KEYRecord
RRset,
DNSSEC,
KEYRecord| Fields inherited from class org.xbill.DNS.Record |
dclass,
name,
ttl,
type,
wireLength |
| Constructor Summary | |
SIGRecord(Name _name,
short _dclass,
int _ttl,
int _covered,
int _alg,
int _origttl,
Date _expire,
Date _timeSigned,
int _footprint,
Name _signer,
byte[] _signature)
Creates an SIG Record from the given data |
|
| Method Summary | |
byte |
getAlgorithm()
Returns the cryptographic algorithm of the key that generated the signature |
Date |
getExpire()
Returns the time at which the signature expires |
short |
getFootprint()
Returns The footprint/key id of the signing key. |
byte |
getLabels()
Returns the number of labels in the signed domain name. |
int |
getOrigTTL()
Returns the original TTL of the RRset |
byte[] |
getSignature()
Returns the binary data representing the signature |
Name |
getSigner()
Returns the owner of the signing key |
Date |
getTimeSigned()
Returns the time at which this signature was generated |
short |
getTypeCovered()
Returns the RRset type covered by this signature |
String |
toString()
Converts to a String |
| Methods inherited from class org.xbill.DNS.Record |
equals,
fromString,
fromWire,
getDClass,
getName,
getRRsetType,
getTTL,
getType,
getWireLength,
hashCode,
newRecord,
newRecord,
newRecord,
toWire,
toWireCanonical,
withName |
| Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
| Constructor Detail |
public SIGRecord(Name _name,
short _dclass,
int _ttl,
int _covered,
int _alg,
int _origttl,
Date _expire,
Date _timeSigned,
int _footprint,
Name _signer,
byte[] _signature)
covered - The RRset type covered by this signaturealg - The cryptographic algorithm of the key that generated the
signatureorigttl - The original TTL of the RRsetexpire - The time at which the signature expirestimeSigned - The time at which this signature was generatedfootprint - The footprint/key id of the signing key.signer - The owner of the signing keysignature - Binary data representing the signature| Method Detail |
public String toString()
public short getTypeCovered()
public byte getAlgorithm()
public byte getLabels()
public int getOrigTTL()
public Date getExpire()
public Date getTimeSigned()
public short getFootprint()
public Name getSigner()
public byte[] getSignature()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||