You are here

public function SAML2_Assertion::setEncryptionKey in SAML SP 2.0 Single Sign On (SSO) - SAML Service Provider 7

Set the private key we should use to encrypt the attributes.

Parameters

XMLSecurityKey|NULL $Key:

File

includes/Assertion.php, line 1038

Class

SAML2_Assertion

Code

public function setEncryptionKey(XMLSecurityKey $Key = NULL) {
  $this->encryptionKey = $Key;
}