Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 4 |
|
0.00% |
0 / 3 |
CRAP | |
0.00% |
0 / 1 |
| DecryptionKey | |
0.00% |
0 / 4 |
|
0.00% |
0 / 3 |
12 | |
0.00% |
0 / 1 |
| __construct | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
2 | |||
| getKey | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| getAlgorithm | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| 1 | <?php |
| 2 | |
| 3 | namespace Fingerprint\ServerSdk\Sealed; |
| 4 | |
| 5 | class DecryptionKey |
| 6 | { |
| 7 | private string $key; |
| 8 | private DecryptionAlgorithm $algorithm; |
| 9 | |
| 10 | public function __construct(string $key, DecryptionAlgorithm $algorithm) |
| 11 | { |
| 12 | $this->key = $key; |
| 13 | $this->algorithm = $algorithm; |
| 14 | } |
| 15 | |
| 16 | public function getKey(): string |
| 17 | { |
| 18 | return $this->key; |
| 19 | } |
| 20 | |
| 21 | public function getAlgorithm(): DecryptionAlgorithm |
| 22 | { |
| 23 | return $this->algorithm; |
| 24 | } |
| 25 | } |