Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

methodTsmX509TrustedCertificates.ImportFromCMSFile

function ImportFromCMSFile(AFileName: TFileName; ExplicitTrust: Boolean; var Status: TCertStatusCodes; AllowExpired: Boolean = False; AllowDuplicateKeyIdentifier: Boolean = False): Boolean;
As ImportFromCMS, reading the CMS blob (DER or base64/PEM, auto-detected) from a file. Handy for loading a roots bundle at startup.