loadKey(); } public function getPublicKey(): Key { return $this->loadKey(); } private function loadKey(): Key { if ($this->loadedKey === null) { $this->loadedKey = InMemory::plainText($this->key); } return $this->loadedKey; } }