CertEncoded Property
The certificate (PEM/base64 encoded).
Object Oriented Interface
public function getCertEncoded(); public function setCertEncoded($value);
Procedural Interface
ipworksssh_certmgr_get($res, 2 ); ipworksssh_certmgr_set($res, 2, $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 CertStore and CertSubject properties may also be used to specify a certificate.
When CertEncoded is set, a search is initiated in the current CertStore for the private key of the certificate. If the key is found, CertSubject is updated to reflect the full subject of the selected certificate, otherwise CertSubject is set to empty string.
This property is not available at design time.
Data Type
Binary String