From e3d9b2f3be51b994dd1f4a39770cd45af4d5c0ba Mon Sep 17 00:00:00 2001 From: netkas Date: Fri, 13 Sep 2024 13:50:18 -0400 Subject: [PATCH] Add KeyPair class to manage public and private keys --- src/Socialbox/Objects/KeyPair.php | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 src/Socialbox/Objects/KeyPair.php diff --git a/src/Socialbox/Objects/KeyPair.php b/src/Socialbox/Objects/KeyPair.php new file mode 100644 index 0000000..df50c98 --- /dev/null +++ b/src/Socialbox/Objects/KeyPair.php @@ -0,0 +1,25 @@ +publicKey = $publicKey; + $this->privateKey = $privateKey; + } + + public function getPublicKey(): string + { + return $this->publicKey; + } + + public function getPrivateKey(): string + { + return $this->privateKey; + } +} \ No newline at end of file