methodTsmCustomTLSInternalServer.AddCertificate
function AddCertificate(const Cert: iCertificate; ExplicitTrust: Boolean; var Status: TCertStatusCode; AllowExpired: Boolean = False; AllowDuplicateKeyIdentifier: Boolean = False): Integer; override;
Adds Cert to whichever store it actually belongs in: MyCerts if it matches a private key this component holds, RootCerts if it is a CA certificate, or TrustedCerts if ExplicitTrust is set (otherwise it is rejected with crcInvalidKeyUsage). Applies the same way regardless of ClientOrServer. An own certificate filed here re-runs the public-key pairing at once, so the local cipher list and KeyAgreement* options follow it; store the matching private key first. Used by the import of PFX bytes and by TsmAsyncTLSServer and the certificate reloader to add a certificate while serving.