<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def authnkey(self) -> dict: """ Accessor for public keys marked as authentication keys, by identifier. """


        return {k: self._pubkey[k] for k in self._pubkey if self._pubkey[k].authn}