propertyTsmCustomTLSInternalServer.ClientOrServer
property ClientOrServer: TClientOrServer read FClientOrServer write SetClientOrServer;
Declares whether this component instance acts as the TLS client or the TLS server side of the protocol (default cosServerSide on the published descendants). Changing it re-runs ValidatePublicKeyPairs, which recomputes PublicKeyAlgorithms differently per side: client side simply allows every algorithm the library supports, while server side probes MyCerts for which signature/key-agreement algorithms actually have a usable leaf certificate and private key, then narrows Options' cipher-suite/key-agreement settings to match (see HandleCipherSuitesChange). Get this wrong (e.g. leave it at cosServerSide on a component only ever used to originate connections) and cipher/algorithm negotiation will be tuned for the wrong role.