protected function setupKeyPair(SignatureSecretKey $secret) { $this->secretKey = $secret; $this->publicKey = $this->secretKey->derivePublicKey(); }