CertEncoded Property

The certificate (PEM/base64 encoded).

Object Oriented Interface

public function getCertEncoded();
public function setCertEncoded($value);

Procedural Interface

ipworkssftp_certmgr_get($res, 2 );
ipworkssftp_certmgr_set($res, 2, $value );

Default Value

''

Remarks

The certificate (PEM/base64 encoded). This property is used to assign a specific certificate. 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

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