SSHCertEncoded Property

The certificate (PEM/base64 encoded).

Object Oriented Interface

public function getSSHCertEncoded();
public function setSSHCertEncoded($value);

Procedural Interface

ipworkssftp_sftpserver_get($res, 21 );
ipworkssftp_sftpserver_set($res, 21, $value );

Default Value



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

When SSHCertEncoded is set, a search is initiated in the current SSHCertStore for the private key of the certificate. If the key is found, SSHCertSubject is updated to reflect the full subject of the selected certificate, otherwise SSHCertSubject 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]