public function decryptNameId(XMLSecurityKey $key, array $blacklist = []) : void
    {
        if ($this->encryptedNameId === null) {
            /* No NameID to decrypt. */

            return;
        }

        $nameId = Utils::decryptElement($this->encryptedNameId, $key, $blacklist);
        Utils::getContainer()->debugMessage($nameId, 'decrypt');
        $this->nameId = new NameID($nameId);

        $this->encryptedNameId = null;
    }
public function decryptNameId(XMLSecurityKey $key, array $blacklist = []) : void
    {
        if ($this->encryptedNameId === null) {
            /* No NameID to decrypt. */

            return;
        }

        $nameId = Utils::decryptElement($this->encryptedNameId, $key, $blacklist);
        Utils::getContainer()->debugMessage($nameId, 'decrypt');
        $this->nameId = new NameID($nameId);

        $this->encryptedNameId = null;
    }
public function decryptNameId ( XMLSecurityKey $ key , array $ blacklist = [ ] ) : void { if ( $ this -> encryptedNameId === null ) { /* No NameID to decrypt. */ return ; } $ nameId = Utils :: decryptElement ( $ this -> encryptedNameId , $ key , $ blacklist ) ; Utils :: getContainer ( ) -> debugMessage ( $ nameId , 'decrypt' ) ; $ this -> nameId = new NameID ( $ nameId ) ; $ this -> encryptedNameId = null ; }
Decrypt the NameId of the subject in the assertion.

@param XMLSecurityKey $key       The decryption key.
@param array          $blacklist Blacklisted decryption algorithms.
@return void
Decrypt the NameId of the subject in the assertion .