public class DLVextends DelegatingDnssecRR
DNS DLV (DNSSEC Lookaside Validation) record payload.
Provides DNSSEC trust anchors from external validation repositories. Has same format as DS records but used for lookaside validation.
See Also:
  • Constructor Details

    • DLV

      public DLV(int keyTag, byte algorithm, byte digestType, byte[] digest)
      Create a DLV record.
      Parameters:
      keyTag - the key tag
      algorithm - the signature algorithm
      digestType - the digest algorithm
      digest - the digest data
    • DLV

      public DLV(int keyTag, DnssecConstants.SignatureAlgorithm algorithm, DnssecConstants.DigestAlgorithm digestType, byte[] digest)
      Create a DLV record with typed algorithms.
      Parameters:
      keyTag - the key tag
      algorithm - the signature algorithm
      digestType - the digest algorithm
      digest - the digest data
  • Method Details

    • parse

      public static DLV parse(DataInputStream dis, int length) throws IOException
      Parse a DLV record from a data stream.
      Parameters:
      dis - the data input stream
      length - the record length
      Returns:
      the parsed DLV record
      Throws:
      IOException - if parsing fails
    • getType

      public Record.TYPE getType()
      Description copied from class: Data
      The payload type.
      Specified by:
      getType in class Data
      Returns:
      The DNS record type of this payload.