The certificate was created by a Token and it has a TokeId. A testprogram with SecItemCopyMatching finds the token
with such a query :
{
class = cert;
"m_Limit" = "m_LimitAll";
"r_Attributes" = 1;
"r_Ref" = 1;
}
But a lookup with "security find-certificates -a" does not deliver the mentioned certificate. What can be the reason?