IPWorks SSH 2020 JavaScript Edition

Questions / Feedback?

SSHAcceptServerHostKeyEncoded Property

The certificate (PEM/base64 encoded).

Syntax

sshtunnel.getSSHAcceptServerHostKeyEncoded(): string
sshtunnel.getSSHAcceptServerHostKeyEncodedB(): Uint8Arraysshtunnel.setSSHAcceptServerHostKeyEncoded(SSHAcceptServerHostKeyEncoded_Buffer: Uint8Array)

Default Value

""

Remarks

The certificate (PEM/base64 encoded). This property is used to assign a specific certificate. The SSHAcceptServerHostKeyStore and SSHAcceptServerHostKeySubject properties may also be used to specify a certificate.

When SSHAcceptServerHostKeyEncoded is set, a search is initiated in the current SSHAcceptServerHostKeyStore for the private key of the certificate. If the key is found, SSHAcceptServerHostKeySubject is updated to reflect the full subject of the selected certificate, otherwise SSHAcceptServerHostKeySubject is set to empty string.

This property is not available at design time.

 
 
Copyright (c) 2020 /n software inc. - All rights reserved.
IPWorks SSH 2020 JavaScript Edition - Version 20.0 [Build 7525]