Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

methodTsmX509TrustedCertificates.ImportFromCMS

function ImportFromCMS(var ContentInfo: iContentInfo; ExplicitTrust: Boolean; var Status: TCertStatusCodes; AllowExpired: Boolean = False; AllowDuplicateKeyIdentifier: Boolean = False): Boolean;
Loads every certificate (and CRL) from a CMS SignedData ContentInfo into the store, sorting so issuers are added before the certs they sign. Pass ExplicitTrust=True to trust the imported certs as anchors. Use to reload a trust list produced by ExportAllToCMS, or ingest a CA-supplied bundle.