Internet Direct (Indy) Version 9.0.2 Beta
TIdSSLContext.LoadRootCert
Loads the root certificate file for the SSL context.

function LoadRootCert: Boolean;
Returns
Boolean - True on success.

Description
LoadRootCert is a Boolean function that loads the root certificate file in RootCertFile for the SSL context. LoadRootCert returns True if the root certificate file is loaded, or False when the file does not exist or does not contain a valid PEM X.509 certificate.