Debian Codegraph @

lib/3rdParty/composer/web-token/jwt-library/Encryption/Algorithm/KeyEncryption/RSAOAEP.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 RSAOAEP extends RSA
10 {
11 public function name(): string
12 {
13 return 'RSA-OAEP';
14 }
15
16 protected function getEncryptionMode(): int
17 {
18 return RSACrypt::ENCRYPTION_OAEP;
19 }
20
21 protected function getHashAlgorithm(): string
22 {
23 return 'sha1';
24 }
25 }