Package org.xbill.DNS

Class SIGRecord

All Implemented Interfaces:
Serializable, Cloneable, Comparable<Record>

public class SIGRecord extends SIGBase
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:
  • 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 signature
      alg - The cryptographic algorithm of the key that generated the signature
      origttl - The original TTL of the RRset
      expire - The time at which the signature expires
      timeSigned - The time at which this signature was generated
      footprint - The footprint/key id of the signing key.
      signer - The owner of the signing key
      signature - 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 signature
      alg - The cryptographic algorithm of the key that generated the signature
      origttl - The original TTL of the RRset
      expire - The time at which the signature expires
      timeSigned - The time at which this signature was generated
      footprint - The footprint/key id of the signing key.
      signer - The owner of the signing key
      signature - Binary data representing the signature