Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

methodTstAbstractKeyFilter.IsIdentifierAllowed

function IsIdentifierAllowed(const aIdentifier: OctetString): Boolean; virtual;
IsIdentifierAllowed is virtual so a revocation filter (e.g. the OCSP filter) can override the "is this cert allowed" decision - and, on the way through, record a per-certificate status container in a SECONDARY list. The base filter's own list only ever holds the identifiers it FORBIDS; overriding here is the documented, safe way to also observe the ones that pass. The KeyManager calls this on every registered filter while resolving a key by identifier and returns the key only if ALL filters allow it, so a filter acts as a veto/blacklist stage in the lookup pipeline (used the same way on client and server - it just gates which stored keys a lookup can return).