TrustedCertEncoded Property
The certificate (PEM/base64 encoded).
Object Oriented Interface
public function getTrustedCertEncoded($trustedcertindex); public function setTrustedCertEncoded($trustedcertindex, $value);
Procedural Interface
ipworksedi_oftpserver_get($res, 44 , $trustedcertindex); ipworksedi_oftpserver_set($res, 44, $value , $trustedcertindex);
Default Value
''
Remarks
The certificate (PEM/base64 encoded). This property is used to assign a specific certificate. The TrustedCertStore and TrustedCertSubject properties may also be used to specify a certificate.
When TrustedCertEncoded is set, a search is initiated in the current TrustedCertStore for the private key of the certificate. If the key is found, TrustedCertSubject is updated to reflect the full subject of the selected certificate, otherwise TrustedCertSubject is set to empty string.
The $trustedcertindex parameter specifies the index of the item in the array. The size of the array is controlled by the TrustedCertCount property.
This property is not available at design time.
Data Type
Binary String