public function getPublicKey() { if (!$this->publicKey) { throw new \RuntimeException('No public key available for verification.'); } return $this->publicKey; }