|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xbill.DNS.Record
org.xbill.DNS.RRSIGRecord
public class RRSIGRecord
Recource Record Signature - An RRSIG provides the digital signature of an RRset, so that the data can be authenticated by a DNSSEC-capable resolver. The signature is generated by a key contained in a DNSKEY Record.
RRset
,
DNSSEC
,
KEYRecord
Field Summary | |
---|---|
protected int |
alg
|
protected int |
covered
|
protected Date |
expire
|
protected int |
footprint
|
protected int |
labels
|
protected long |
origttl
|
protected byte[] |
signature
|
protected Name |
signer
|
protected Date |
timeSigned
|
Fields inherited from class org.xbill.DNS.Record |
---|
dclass, name, ttl, type |
Constructor Summary | |
---|---|
RRSIGRecord(Name name,
int dclass,
long ttl,
int covered,
int alg,
long origttl,
Date expire,
Date timeSigned,
int footprint,
Name signer,
byte[] signature)
Creates an RRSIG Record from the given data |
Method Summary | |
---|---|
int |
getAlgorithm()
Returns the cryptographic algorithm of the key that generated the signature |
Date |
getExpire()
Returns the time at which the signature expires |
int |
getFootprint()
Returns The footprint/key id of the signing key. |
int |
getLabels()
Returns the number of labels in the signed domain name. |
long |
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 |
int |
getTypeCovered()
Returns the RRset type covered by this signature |
Methods inherited from class org.xbill.DNS.Record |
---|
byteArrayFromString, byteArrayToString, compareTo, equals, fromString, fromString, fromWire, getAdditionalName, getDClass, getName, getRRsetType, getTTL, getType, hashCode, newRecord, newRecord, newRecord, newRecord, rdataToString, rdataToWireCanonical, sameRRset, toString, toWire, toWireCanonical, unknownToString, withName |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected int covered
protected int alg
protected int labels
protected long origttl
protected Date expire
protected Date timeSigned
protected int footprint
protected Name signer
protected byte[] signature
Constructor Detail |
---|
public RRSIGRecord(Name name, int dclass, long ttl, int covered, int alg, long 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 signatureMethod Detail |
---|
public int getTypeCovered()
public int getAlgorithm()
public int getLabels()
public long getOrigTTL()
public Date getExpire()
public Date getTimeSigned()
public int getFootprint()
public Name getSigner()
public byte[] getSignature()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |