SecureBlackbox 2020 Node.js Edition

Questions / Feedback?

KnownKeyReceived Event

Signals that the server has introduced itself with a known key.

Syntax

sftpclient.on('KnownKeyReceived', [callback])

Callback

The 'callback' is called when the 'KnownKeyReceived' event is emited.

function(e){ }

The argument 'e' has the following properties:

e.algorithm
e.bits
e.fingerprintSHA256

Remarks

The class fires this event to tell the application that the server has introduced itself with a known key from TrustedKeysFile. The details of the key are provided.

Use ServerKey to access more key details.

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 Node.js Edition - Version 20.0 [Build 8165]