Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

methodTstCustomCertificateManager.ExportChainToCMS

procedure ExportChainToCMS(var aContentInfo : iContentInfo; const aEndEntityCert: iCertificate; aSort : Boolean; aIncludeRoot : Boolean);
Build the certificate chain for aEndEntityCert (by repeatedly calling GetCACertificate) and append it into a CMS SignedData's certificate set, creating the iContentInfo if none is passed. Use to emit a chain for transmission or storage; aIncludeRoot controls whether the self-signed root is included, aSort is currently a no-op placeholder.