File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010use SimpleSAML \SAML2 \XML \ExtensionPointInterface ;
1111use SimpleSAML \XML \AbstractElement ;
1212use SimpleSAML \XML \Exception \SchemaViolationException ;
13+ use SimpleSAML \XMLSecurity \Alg \Encryption \EncryptionAlgorithmFactory ;
14+ use SimpleSAML \XMLSecurity \Alg \KeyTransport \KeyTransportAlgorithmFactory ;
15+ use SimpleSAML \XMLSecurity \Alg \Signature \SignatureAlgorithmFactory ;
1316
1417use function array_key_exists ;
1518use function implode ;
@@ -24,7 +27,11 @@ abstract class AbstractContainer
2427 protected array $ registry = [];
2528
2629 /** @var array|null */
27- protected ?array $ blacklistedEncryptionAlgorithms ;
30+ protected ?array $ blacklistedEncryptionAlgorithms = [
31+ EncryptionAlgorithmFactory::DEFAULT_BLACKLIST ,
32+ KeyTransportAlgorithmFactory::DEFAULT_BLACKLIST ,
33+ SignatureAlgorithmFactory::DEFAULT_BLACKLIST ,
34+ ];
2835
2936
3037 /**
You can’t perform that action at this time.
0 commit comments