cleaned up composer
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Jose\Component\Encryption\Algorithm\KeyEncryption;
|
||||
|
||||
use Jose\Component\Encryption\Algorithm\KeyEncryption\Util\RSACrypt;
|
||||
use Override;
|
||||
|
||||
final readonly class RSA15 extends RSA
|
||||
{
|
||||
#[Override]
|
||||
public function name(): string
|
||||
{
|
||||
return 'RSA1_5';
|
||||
}
|
||||
|
||||
#[Override]
|
||||
protected function getEncryptionMode(): int
|
||||
{
|
||||
return RSACrypt::ENCRYPTION_PKCS1;
|
||||
}
|
||||
|
||||
#[Override]
|
||||
protected function getHashAlgorithm(): ?string
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user