You are here

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

Set the private key we should use to sign the assertion.

If the key is NULL, the assertion will be sent unsigned.

Parameters

XMLSecurityKey|NULL $signatureKey:

File

includes/Assertion.php, line 1017

Class

SAML2_Assertion

Code

public function setSignatureKey(XMLsecurityKey $signatureKey = NULL) {
  $this->signatureKey = $signatureKey;
}