1 | <?php |
||
29 | class Basic extends KeyAbstract |
||
30 | { |
||
31 | /** |
||
32 | * get key for use in signing |
||
33 | * |
||
34 | * @return string verifying key, false on error |
||
35 | */ |
||
36 | 1 | public function getSigning() |
|
40 | |||
41 | /** |
||
42 | * get key for use in verifying |
||
43 | * |
||
44 | * @return string verifying key, false on error |
||
45 | */ |
||
46 | 1 | public function getVerifying() |
|
50 | |||
51 | /** |
||
52 | * create the key and store it for use |
||
53 | * |
||
54 | * @return boolean true if key was created and stored, otherwise false |
||
55 | */ |
||
56 | 1 | public function create() |
|
63 | |||
64 | /** |
||
65 | * delete the key |
||
66 | * |
||
67 | * @return boolean true if key was deleted, otherwise false |
||
68 | */ |
||
69 | 1 | public function kill() |
|
73 | } |
||
74 |