Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

methodTstAbstractKeyStorage.SetKey

function SetKey(const aKey: iUnknown): OctetString; override;
Persists aKey into this store and returns its internal storage identifier. Call this to add a key to a specific store (via KeyManager.EnsureStore or a designed store component); it allocates the ID via GetIdentifierForNewKey, writes the key through the backend, and caches it. Raises if the key cannot be stored. The store is the write side; indexes give the read/lookup side.