private function getPublicKeyDetails($publicKey) {
        if (isset($this->publicKeys[$publicKey])) {
            return $this->publicKeys[$publicKey];
        }

        // Not in cache, fetch from database
        $pubkeyInfo = $this->getAclCollection()->findOne([
            'publicKey' => $publicKey,
        ]);

        if (!$pubkeyInfo) {
            return [];
        }

        $data = $this->bsonToArray->toArray($pubkeyInfo->getArrayCopy());

        $this->publicKeys[$publicKey] = $data;

        return $data;
    }