25 lines
No EOL
461 B
PHP
25 lines
No EOL
461 B
PHP
<?php
|
|
|
|
namespace Socialbox\Objects;
|
|
|
|
class KeyPair
|
|
{
|
|
private string $publicKey;
|
|
private string $privateKey;
|
|
|
|
public function __construct(string $publicKey, string $privateKey)
|
|
{
|
|
$this->publicKey = $publicKey;
|
|
$this->privateKey = $privateKey;
|
|
}
|
|
|
|
public function getPublicKey(): string
|
|
{
|
|
return $this->publicKey;
|
|
}
|
|
|
|
public function getPrivateKey(): string
|
|
{
|
|
return $this->privateKey;
|
|
}
|
|
} |