SSHCertEncoded Property

The certificate (PEM/base64 encoded).

Object Oriented Interface

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

Procedural Interface

ipworksssh_sexec_get($res, 15 );
ipworksssh_sexec_set($res, 15, $value );

Default Value

''

Remarks

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) 2023 /n software inc. - All rights reserved.
IPWorks SSH 2020 PHP Edition - Version 20.0 [Build 8501]