| 1 |
<?php |
| 2 |
|
| 3 |
declare(strict_types=1); |
| 4 |
|
| 5 |
namespace Jose\Component\Signature\Algorithm; |
| 6 |
|
| 7 |
final class RS256 extends RSAPKCS1 |
| 8 |
{ |
| 9 |
public function name(): string |
| 10 |
{ |
| 11 |
return 'RS256'; |
| 12 |
} |
| 13 |
|
| 14 |
protected function getAlgorithm(): string |
| 15 |
{ |
| 16 |
return 'sha256'; |
| 17 |
} |
| 18 |
} |