53 $decryptionKeys = $this->privateKeyLoader->loadDecryptionKeys($this->identityProvider, $this->serviceProvider);
54 $blacklistedKeys = $this->identityProvider->getBlacklistedAlgorithms();
55 if (is_null($blacklistedKeys)) {
56 $blacklistedKeys = $this->serviceProvider->getBlacklistedAlgorithms();
62 $this->logger->debug(sprintf(
'Decrypted assertion NameId with key "#%d"',
$index));
63 }
catch (\Exception $e) {
64 $this->logger->debug(sprintf(
65 'Decrypting assertion NameId with key "#%d" failed, "%s" thrown: "%s"',
75 'Could not decrypt the assertion NameId with the configured keys, see the debug log for information'
An exception for terminatinating execution or to throw for unit testing.
isNameIdEncrypted()
Check whether the NameId is encrypted.
decryptNameId(XMLSecurityKey $key, array $blacklist=array())
Decrypt the NameId of the subject in the assertion.
Basic configuration wrapper.
Basic Configuration Wrapper.
Describes a logger instance.
Interface for triggering setter injection.
Interface for triggering setter injection.