| 1 | <?php |
||
| 22 | class DataSignature extends BaseDataSignature |
||
| 23 | { |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @var string |
||
| 27 | */ |
||
| 28 | public $hashSecret; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @var string |
||
| 32 | */ |
||
| 33 | public $hashAlgo; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @inheritdoc |
||
| 37 | * @throws InvalidConfigException |
||
| 38 | */ |
||
| 39 | public function generate(): string |
||
| 49 | |||
| 50 | /** |
||
| 51 | * @throws InvalidConfigException |
||
| 52 | * @inheritdoc |
||
| 53 | */ |
||
| 54 | public function validate(string $expect): bool |
||
| 60 | |||
| 61 | } |
||
| 62 |