cleaned up composer

This commit is contained in:
2026-02-18 20:17:19 -06:00
parent 3c94239da7
commit 3e153679bd
5952 changed files with 271417 additions and 203117 deletions
@@ -0,0 +1,25 @@
<?php
declare(strict_types=1);
namespace Jose\Component\KeyManagement\Analyzer;
use Jose\Component\Core\JWK;
use Override;
final readonly class NoneAnalyzer implements KeyAnalyzer
{
#[Override]
public function analyze(JWK $jwk, MessageBag $bag): void
{
if ($jwk->get('kty') !== 'none') {
return;
}
$bag->add(
Message::high(
'This key is a meant to be used with the algorithm "none". This algorithm is not secured and should be used with care.'
)
);
}
}