SSHAcceptServerHostKeyEncoded Property

The certificate (PEM/base64 encoded).

Object Oriented Interface

public function getSSHAcceptServerHostKeyEncoded();
public function setSSHAcceptServerHostKeyEncoded($value);

Procedural Interface

ipworkssftp_sftp_get($res, 38 );
ipworkssftp_sftp_set($res, 38, $value );

Default Value



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.

Data Type

Binary String

Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks SFTP 2020 PHP Edition - Version 20.0 [Build 7941]