edgeport - v1.0.3
    Preparing search index...

    Function verifyHostSignature

    • Verifies a server host-key signature over the exchange hash H.

      Parameters

      • algorithm: string

        The negotiated host-key algorithm name.

      • hostKeyBlob: Uint8Array

        The server host key blob (K_S).

      • signatureBlob: Uint8Array

        The signature blob from KEX_ECDH_REPLY.

      • data: Uint8Array

        The signed data (the exchange hash H).

      Returns Promise<boolean>

      Whether the signature is valid.

      If the blob types are malformed or unsupported.

      1.0.0