methodTstKeyManager.GetAssociatedKeys
procedure GetAssociatedKeys(const aKey : iUnknown; aList : IInterfaceList; aUnfiltered: Boolean = False); overload;
Collects every key that any attached index associates with aKey (e.g. the matching public key for a private key, or a certificate for its key), and appends them to aList. Each index that can index aKey derives its identifier from aKey and contributes its keys for that identifier. Pass aUnfiltered = True to skip the filter policy. Overloads deliver results via a list, a plain callback, or a method callback.
procedure GetAssociatedKeys(const aKey : iUnknown; aProc : tGetKeyProc; aTag : Pointer = nil; aUnfiltered: Boolean = False); overload;
Callback form of GetAssociatedKeys: invokes aProc (with aTag) once per associated key found for aKey.
procedure GetAssociatedKeys(const aKey : iUnknown; aProc : tGetKeyMethod; aTag : Pointer = nil; aUnfiltered: Boolean = False); overload;
Method-callback form of GetAssociatedKeys: invokes the method aProc (with aTag) once per associated key found for aKey.
procedure GetAssociatedKeys(const aKey : iUnknown; const aIID : TGUID; const aDataIID : TGUID; aList : IInterfaceList; aUnfiltered: Boolean = False); overload;
GetAssociatedKeys restricted to keys that support the interface aIID (with key-data interface aDataIID); appends the matching associated keys of aKey to aList.
procedure GetAssociatedKeys(const aKey : iUnknown; const aIID : TGUID; const aDataIID : TGUID; aProc : tGetKeyProc; aTag : Pointer = nil; aUnfiltered: Boolean = False); overload;
Interface-filtered GetAssociatedKeys delivering results through the callback aProc (with aTag).
procedure GetAssociatedKeys(const aKey : iUnknown; const aIID : TGUID; const aDataIID : TGUID; aProc : tGetKeyMethod; aTag : Pointer = nil; aUnfiltered: Boolean = False); overload;
Interface-filtered GetAssociatedKeys delivering results through the method callback aProc (with aTag).