Package org.xbill.DNS
Class SIGRecord
java.lang.Object
org.xbill.DNS.Record
org.xbill.DNS.SIGBase
org.xbill.DNS.SIGRecord
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<Record>
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
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionSIGRecord(Name name, int dclass, long ttl, int covered, int alg, long origttl, Instant expire, Instant timeSigned, int footprint, Name signer, byte[] signature) Creates an SIG Record from the given dataSIGRecord(Name name, int dclass, long ttl, int covered, int alg, long origttl, Date expire, Date timeSigned, int footprint, Name signer, byte[] signature) Deprecated. -
Method Summary
Methods inherited from class org.xbill.DNS.SIGBase
getAlgorithm, getExpire, getFootprint, getLabels, getOrigTTL, getRRsetType, getSignature, getSigner, getTimeSigned, getTypeCovered, rdataFromString, rrFromWire, rrToString, rrToWire, setSignatureMethods inherited from class org.xbill.DNS.Record
byteArrayFromString, byteArrayToString, checkByteArrayLength, checkName, checkU16, checkU32, checkU8, cloneRecord, compareTo, equals, fromString, fromString, fromWire, fromWire, fromWire, getAdditionalName, getDClass, getName, getTTL, getType, hashCode, newRecord, newRecord, newRecord, newRecord, rdataToString, rdataToWireCanonical, sameRRset, sameRRset, setTTL, toString, toWire, toWire, toWireCanonical, unknownToString, withDClass, withName, writeReplace
-
Constructor Details
-
SIGRecord
SIGRecord() -
SIGRecord
public SIGRecord(Name name, int dclass, long ttl, int covered, int alg, long origttl, Instant expire, Instant timeSigned, int footprint, Name signer, byte[] signature) Creates an SIG Record from the given data- Parameters:
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
-
SIGRecord
@Deprecated public SIGRecord(Name name, int dclass, long ttl, int covered, int alg, long origttl, Date expire, Date timeSigned, int footprint, Name signer, byte[] signature) Creates an SIG Record from the given data- Parameters:
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
-
SIGRecord(Name, int, long, int, int, long, Instant, Instant, int, Name, byte[])