propertyTstCustomCipherComponent.Direction
property Direction: tCipherDirection read fDirection write SetDirection default cdAuto;
Whether this component instance is used for encryption or decryption (or cdAuto, in which case the first EncryptToDst/DecryptToDst streaming call resolves the internal direction; the in-place Encrypt/Decrypt overloads do not consult it). An application sets this explicitly when it knows up front which direction it needs; the write is only honored while no cipher exists yet (before a key is set) and is ignored once a key has been set. No client/server-specific meaning; either peer can be doing either direction depending on what it needs to do with the data.