public function decryptAssertions(ArrayCollection $assertions)
    {
        $decrypted = new ArrayCollection();
        foreach ($assertions->getIterator() as $assertion) {
            $decrypted->add($this->decryptAssertion($assertion));
        }

        return $decrypted;
    }
public function decryptAssertions(ArrayCollection $assertions)
    {
        $decrypted = new ArrayCollection();
        foreach ($assertions->getIterator() as $assertion) {
            $decrypted->add($this->decryptAssertion($assertion));
        }

        return $decrypted;
    }
public function decryptAssertions ( ArrayCollection $ assertions ) { $ decrypted = new ArrayCollection ( ) ; foreach ( $ assertions -> getIterator ( ) as $ assertion ) { $ decrypted -> add ( $ this -> decryptAssertion ( $ assertion ) ) ; } return $ decrypted ; }
Decrypt assertions, or do nothing if assertions are already decrypted.

@param \SAML2\Utilities\ArrayCollection $assertions
@return \SAML2\Utilities\ArrayCollection Collection of processed assertions
Decrypt assertions or do nothing if assertions are already decrypted .