methodTsmX509TrustedCertificates.ImportChainFromTLS
function ImportChainFromTLS(Certificate: PCertificate; Len: Integer; var EndCert: iCertificate; var Status: TCertStatusCodes): Boolean;
Parses a peer's TLS Certificate handshake message, adding each cert (sorted leaf -> root) to this store and returning the end-entity cert. BeforeImportTLSCert lets the app mark the leaf as explicitly trusted or allow expiry before import. This is how the received peer chain lands in CollectedCertificates during a handshake.