methodTsmCustomTLSInternalServer.ImportFromPFX
procedure ImportFromPFX(AFileName: TFileName; Password: ISecretKey); overload;
Loads a password-protected PKCS#12/PFX file (own identity: leaf certificate, private key, issuer chain and CRLs) into this component's stores - the counterpart to ExportToPFX and the usual way an application provisions a server's (or a client's, for mTLS) own certificate/key at startup. Calls ValidatePublicKeyPairs afterwards, so PublicKeyAlgorithms and cipher-suite availability reflect the freshly imported key immediately.
procedure ImportFromPFX(const aContent: TBytes; aPassword: iSecretKey); overload;
Imports an already-read PFX snapshot. Parsing and decryption run before acquiring the setup and certificate-store mutation locks.