| Total Complexity | 2 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | class ECCPrivateKeyParameter extends JWKParameter |
||
| 15 | { |
||
| 16 | use Base64URLValue; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * Constructor. |
||
| 20 | * |
||
| 21 | * @param string $key Private key in base64url encoding |
||
| 22 | */ |
||
| 23 | 9 | public function __construct(string $key) |
|
| 27 | 9 | } |
|
| 28 | |||
| 29 | /** |
||
| 30 | * Get the EC private key in octet string representation. |
||
| 31 | */ |
||
| 32 | 6 | public function privateKeyOctets(): string |
|
| 37 |