@gibme/dns
    Preparing search index...

    Class TKEY

    Encoder for DNS TKEY (Transaction Key) resource records (Type 249).

    Establishes shared secret keys between client and server for TSIG authentication.

    RFC 2930

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    type: number = 249

    IANA resource record type identifier

    Methods

    • Decodes a TKEY record from the byte stream.

      Parameters

      • reader: Reader

        the byte stream reader

      Returns TKEY.Record

      the decoded TKEY record

    • Encodes a TKEY record into the byte stream.

      Parameters

      • writer: Writer

        the byte stream writer

      • data: TKEY.Record

        the TKEY record to encode

      • index: CompressionIndex

        compression index for DNS name compression

      Returns void