1 | <?php |
||
18 | trait CommonCipheringMethods |
||
19 | { |
||
20 | /** |
||
21 | * @var string[] |
||
22 | */ |
||
23 | private $key_encryption_algorithms; |
||
24 | |||
25 | /** |
||
26 | * @var string[] |
||
27 | */ |
||
28 | private $content_encryption_algorithms; |
||
29 | |||
30 | /** |
||
31 | * @var string[] |
||
32 | */ |
||
33 | private $compression_methods; |
||
34 | |||
35 | /** |
||
36 | * {@inheritdoc} |
||
37 | */ |
||
38 | public function getSupportedKeyEncryptionAlgorithms() |
||
42 | |||
43 | /** |
||
44 | * @param string[]|\Jose\Algorithm\KeyEncryptionAlgorithmInterface[] $key_encryption_algorithms |
||
45 | */ |
||
46 | private function setKeyEncryptionAlgorithms($key_encryption_algorithms) |
||
60 | |||
61 | /** |
||
62 | * {@inheritdoc} |
||
63 | */ |
||
64 | public function getSupportedContentEncryptionAlgorithms() |
||
68 | |||
69 | /** |
||
70 | * @param string[]|\Jose\Algorithm\ContentEncryptionAlgorithmInterface[] $content_encryption_algorithms |
||
71 | */ |
||
72 | private function setContentEncryptionAlgorithms($content_encryption_algorithms) |
||
86 | |||
87 | /** |
||
88 | * {@inheritdoc} |
||
89 | */ |
||
90 | public function getSupportedCompressionMethods() |
||
94 | |||
95 | /** |
||
96 | * @param string[]|\Jose\Compression\CompressionInterface[] $compression_methods |
||
97 | */ |
||
98 | private function setCompressionMethods($compression_methods) |
||
112 | } |
||
113 |