Debian Codegraph @

lib/3rdParty/composer/web-token/jwt-library/Encryption/Algorithm/KeyEncryption/RSAOAEP256.php

raw symbols SCIP
1 <?php
2
3 declare(strict_types=1);
4
5 namespace Jose\Component\Encryption\Algorithm\KeyEncryption;
6
7 use Jose\Component\Encryption\Algorithm\KeyEncryption\Util\RSACrypt;
8
9 final class RSAOAEP256 extends RSA
10 {
11 public function getEncryptionMode(): int
12 {
13 return RSACrypt::ENCRYPTION_OAEP;
14 }
15
16 public function getHashAlgorithm(): string
17 {
18 return 'sha256';
19 }
20
21 public function name(): string
22 {
23 return 'RSA-OAEP-256';
24 }
25 }