API reference
Preparing search index…

SftpSessionInfo

SSH handshake negotiation results for application verification of the host public key and algorithms.

interface SftpSessionInfo {
    clientToServerCompressionAlgorithm: string;
    clientToServerEncryptionAlgorithm: string;
    clientToServerMacAlgorithm: string;
    hostKey: {
        data: Uint8Array;
        sha1: Uint8Array;
        sha256: Uint8Array;
        type: SftpHostKeyType;
    };
    hostKeyAlgorithm: string;
    keyExchangeAlgorithm: string;
    serverToClientCompressionAlgorithm: string;
    serverToClientEncryptionAlgorithm: string;
    serverToClientMacAlgorithm: string;
}
Source & inheritance
Member directory9

Properties

Properties

clientToServerCompressionAlgorithm: string

Client-to-server compression algorithm.

Source & inheritance
clientToServerEncryptionAlgorithm: string

Client-to-server encryption algorithm.

Source & inheritance
clientToServerMacAlgorithm: string

Client-to-server message authentication algorithm.

Source & inheritance
hostKey: {
    data: Uint8Array;
    sha1: Uint8Array;
    sha256: Uint8Array;
    type: SftpHostKeyType;
}

Server host public key and raw fingerprint bytes.

Type declaration

  • data: Uint8Array

    Copy of SSH-encoded public key data.

  • sha1: Uint8Array

    Raw SHA-1 fingerprint bytes.

  • sha256: Uint8Array

    Raw SHA-256 fingerprint bytes.

  • type: SftpHostKeyType

    Public key type.

Source & inheritance
hostKeyAlgorithm: string

Server host public key algorithm.

Source & inheritance
keyExchangeAlgorithm: string

Key exchange algorithm.

Source & inheritance
serverToClientCompressionAlgorithm: string

Server-to-client compression algorithm.

Source & inheritance
serverToClientEncryptionAlgorithm: string

Server-to-client encryption algorithm.

Source & inheritance
serverToClientMacAlgorithm: string

Server-to-client message authentication algorithm.

Source & inheritance

Icons made by Lorc, Delapouite & Skoll · game-icons.net · CC BY 3.0