@gibme/dns
    Preparing search index...

    Class OPENPGPKEY

    Encoder for DNS OPENPGPKEY resource records (Type 61).

    Stores OpenPGP public keys for email addresses in DNS.

    RFC 7929

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    type: number = 61

    IANA resource record type identifier

    Methods

    • Decodes an OPENPGPKEY record from the byte stream.

      Parameters

      • reader: Reader

        the byte stream reader

      Returns Buffer

      the public key data as a Buffer

    • Encodes an OPENPGPKEY record into the byte stream.

      Parameters

      • writer: Writer

        the byte stream writer

      • data: Buffer

        the public key data

      Returns void