1 | <?php |
||
23 | final class JWEDecrypterFactory |
||
24 | { |
||
25 | /** |
||
26 | * @var AlgorithmManagerFactory |
||
27 | */ |
||
28 | private $algorithmManagerFactory; |
||
29 | |||
30 | /** |
||
31 | * @var CompressionMethodManagerFactory |
||
32 | */ |
||
33 | private $compressionMethodManagerFactory; |
||
34 | |||
35 | /** |
||
36 | * @var HeaderCheckerManagerFactory |
||
37 | */ |
||
38 | private $headerCheckerManagerFactory; |
||
39 | |||
40 | /** |
||
41 | * JWEDecrypterFactory constructor. |
||
42 | * |
||
43 | * @param AlgorithmManagerFactory $algorithmManagerFactory |
||
44 | * @param CompressionMethodManagerFactory $compressionMethodManagerFactory |
||
45 | * @param HeaderCheckerManagerFactory $headerCheckerManagerFactory |
||
46 | */ |
||
47 | public function __construct(AlgorithmManagerFactory $algorithmManagerFactory, CompressionMethodManagerFactory $compressionMethodManagerFactory, HeaderCheckerManagerFactory $headerCheckerManagerFactory) |
||
53 | |||
54 | /** |
||
55 | * @param string[] $keyEncryptionAlgorithms |
||
56 | * @param string[] $contentEncryptionAlgorithms |
||
57 | * @param string[] $compressionMethods |
||
58 | * @param string[] $headerCheckers |
||
59 | * |
||
60 | * @return JWEDecrypter |
||
61 | */ |
||
62 | public function create(array $keyEncryptionAlgorithms, array $contentEncryptionAlgorithms, array $compressionMethods, array $headerCheckers): JWEDecrypter |
||
71 | } |
||
72 |