SSHAcceptServerHostKeyEncoded Property
The certificate (PEM/base64 encoded).
Object Oriented Interface
public function getSSHAcceptServerHostKeyEncoded(); public function setSSHAcceptServerHostKeyEncoded($value);
Procedural Interface
ipworksssh_sshreversetunnel_get($res, 14 ); ipworksssh_sshreversetunnel_set($res, 14, $value );
Default Value
''
Remarks
The certificate (PEM/base64 encoded). This property is used to assign a specific certificate for client authentication (server authentication in the case of Daemon classs). 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