1 | <?php |
||
13 | class CryptKey |
||
14 | { |
||
15 | /** |
||
16 | * @var string |
||
17 | */ |
||
18 | protected $keyPath; |
||
19 | |||
20 | /** |
||
21 | * @var string |
||
22 | */ |
||
23 | protected $passPhrase; |
||
24 | |||
25 | /** |
||
26 | * @param string $keyPath |
||
27 | * @param null|string $passPhrase |
||
28 | */ |
||
29 | public function __construct($keyPath, $passPhrase = null) |
||
42 | |||
43 | /** |
||
44 | * Retrieve key path. |
||
45 | * |
||
46 | * @return string |
||
47 | */ |
||
48 | public function getKeyPath() |
||
52 | |||
53 | /** |
||
54 | * Retrieve key pass phrase. |
||
55 | * |
||
56 | * @return null|string |
||
57 | */ |
||
58 | public function getPassPhrase() |
||
62 | } |
||
63 |