1 | <?php |
||
8 | final class Keychain |
||
9 | { |
||
10 | private $publicKey; |
||
11 | private $privateKey; |
||
12 | |||
13 | /** |
||
14 | * @param PublicKey|mixed $publicKey |
||
15 | * @param PrivateKey|mixed $privateKey |
||
16 | * @param string|null $passphrase |
||
17 | */ |
||
18 | 9 | public function __construct($publicKey, $privateKey, $passphrase = null) |
|
23 | |||
24 | /** |
||
25 | * @return PublicKey |
||
26 | */ |
||
27 | 3 | public function publicKey() |
|
31 | |||
32 | /** |
||
33 | * @return PrivateKey |
||
34 | */ |
||
35 | 6 | public function privateKey() |
|
39 | } |
||
40 |