onelogin/php-saml — Issue #4: Encrypted Assertion
Author: bcolflesh
Created: 2012-02-08 22:27:31+00:00
State: open

Dear Folks,
There is a similar request on the Ruby port of the toolkit - has anyone figured out how to decrypt assertions with the PHP port? Ex:

object(SamlResponse)#1 (5) {
["settings:private"]=>
object(SamlSettings)#2 (5) {
["idp_sso_target_url"]=>
string(72) "https://my_domain.com"
["x509certificate"]=>
string(2259) "MY_CERT_REMOVED"
["assertion_consumer_service_url"]=>
string(55) "http://my/php-saml/consume.php"
["issuer"]=>
string(8) "php-saml"
["name_identifier_format"]=>
string(54) "urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress"
}
["assertion"]=>
string(15764) "
https://my-domain.com

MY_VALUE_REMOVED

MY_CERT_REMOVED

MY_VALUE_REMOVED"
["xml"]=>
object(DOMDocument)#3 (0) {
}
["nameid:private"]=>
NULL
["xpath:private"]=>
NULL
}
Invalid SAML response: Cannot locate Signature Node