| 1 | <?php |
||
| 14 | class TransactionSignatureFactory |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @param string $string |
||
| 18 | * @param EcAdapterInterface|null $ecAdapter |
||
| 19 | * @return TransactionSignatureInterface |
||
| 20 | * @throws \Exception |
||
| 21 | */ |
||
| 22 | 2 | public static function fromHex(string $string, EcAdapterInterface $ecAdapter = null): TransactionSignatureInterface |
|
| 26 | |||
| 27 | /** |
||
| 28 | * @param BufferInterface $buffer |
||
| 29 | * @param EcAdapterInterface|null $ecAdapter |
||
| 30 | * @return TransactionSignatureInterface |
||
| 31 | * @throws \Exception |
||
| 32 | */ |
||
| 33 | 2 | public static function fromBuffer(BufferInterface $buffer, EcAdapterInterface $ecAdapter = null): TransactionSignatureInterface |
|
| 41 | } |
||
| 42 |