Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

methodTstAbstractKeyIndex.SetKey

function SetKey(const aKey: iUnknown): OctetString; override;
Adds aKey to this index (deriving its identifier) and writes the key bytes into the selected Stores, stopping at the first store that accepts it, returning the assigned identifier or an empty OctetString if it could not be added. This is how an app inserts a new key/certificate into a store through the index it is filed under.