methodTsmX509TrustedCertificates.ExportClientChainToTLS
function ExportClientChainToTLS(var Certificate: PTLSHandshake; var Len: Integer; var Cert: iCertificate; const Request: TInternalCertificateRequest; const Check: TTLSClientCertificateCheck): Boolean;
Selects an eligible signing client identity from actual stored certificates. Issuer paths are limited to 32 certificates. Standard TLS certificate types 1 (RSA), 2 (DSA) and 64 (ECDSA) are matched independently of the server authentication family. An empty authority list is unconstrained. Validity, revocation, digitalSignature and clientAuth are checked before Check validates the usable private key, offered scheme and issuer path (including an omitted root for issuer-key metadata). Failure returns Cert=nil and Len=0 without encoding a message; the caller decides whether to send an empty Certificate.