Writing an application certificate enumerator