def key(self): """Required by federation. Corresponds to public key. """ if self.rsa_public_key: return RSA.importKey(self.rsa_public_key)