| Total Complexity | 3 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | abstract class Signature |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * Get the signature as a BitString. |
||
| 19 | * |
||
| 20 | * @return BitString |
||
| 21 | */ |
||
| 22 | abstract public function bitString(): BitString; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Get signature object by signature data and used algorithm. |
||
| 26 | * |
||
| 27 | * @param string $data Signature value |
||
| 28 | * @param AlgorithmIdentifierType $algo Algorithm identifier |
||
| 29 | * |
||
| 30 | * @return self |
||
| 31 | */ |
||
| 32 | 3 | public static function fromSignatureData(string $data, |
|
| 44 |