def METHOD_NAME(self, key, attrib):
    keys = self.j_data["token"]["keys"]
    local_key = None
    for k in keys:
        if key == k["label"]:
            local_key = k
            break
    if not local_key:
        raise pkcs11.NoSuchKey
    key_ = self.session.METHOD_NAME(
        label=local_key["label"],
        object_class=attrib)
    return key_, local_key