methodTsmStreamSecII.DoTLSHandleCert
function DoTLSHandleCert(Certificate: PCertificate; Len: Integer; var EndCert: iCertificate; var Status: TCertStatusCodes): Boolean;
Imports a peer certificate chain (received during a handshake) into the engine's OWN CollectedCertificates store, UNDER TLSLock so it serialises against cert/CA hot swaps (TsmCustomTLSInternalServer.AddCertificate/AddCrl) and other concurrent handshakes. The content layer calls this via FPrivateKeyRing instead of importing into a per-layer store (TCustomTLS_ContentLayer.CollectedCerts is now unused).