Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

methodTstCustomCipherComponent.SetKeyFromKeyRing

function SetKeyFromKeyRing: Boolean;
Looks up (or creates) the cipher's key material from the assigned KeyRing using KeyIdentifier/Algorithm/Mode, wiring up a MAC key too if MAC is assigned; returns False if no KeyRing/KeyIdentifier is set. An application uses this instead of SetKeyBuf/SetKeyStr when keys are centrally managed by a tSTKeyRingComponent rather than supplied inline. No client/server-specific meaning.