methodTstCustomKeyFilterChain.IsKeyAllowed
function IsKeyAllowed(const aIdentifier: OctetString; const aKey : iUnknown) : Boolean; override;
Filter hook the KeyManager invokes for every key it is about to hand out (e.g. when TLS/CMS asks for a peer certificate). It extracts the certificate from aKey and returns CheckCertificate's verdict, so a key whose certificate does not chain to a trusted anchor is refused. A key that carries no certificate is allowed through unchanged. Applications normally do not call this directly - they call CheckCertificate, or rely on the KeyManager driving it.