1 | <?php |
||
24 | final class SymmetricSharedKey |
||
25 | implements PrivateKey, SharedKey { |
||
|
|||
26 | |||
27 | /** |
||
28 | * @param string $secret |
||
29 | */ |
||
30 | public function __construct($secret){ |
||
33 | |||
34 | private $secret = null; |
||
35 | |||
36 | /** |
||
37 | * @return string |
||
38 | */ |
||
39 | public function getAlgorithm() |
||
43 | |||
44 | /** |
||
45 | * @return string |
||
46 | */ |
||
47 | public function getEncoded() |
||
51 | |||
52 | /** |
||
53 | * @return string |
||
54 | */ |
||
55 | public function getFormat() |
||
59 | |||
60 | /** |
||
61 | * @return int |
||
62 | */ |
||
63 | public function getBitLength() |
||
67 | |||
68 | /** |
||
69 | * @return string |
||
70 | */ |
||
71 | public function getSecret() |
||
75 | } |