{"action":"created","issue":{"url":"https://api.github.com/repos/zandbelt/php-ws-trust-client/issues/1","repository_url":"https://api.github.com/repos/zandbelt/php-ws-trust-client","labels_url":"https://api.github.com/repos/zandbelt/php-ws-trust-client/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/zandbelt/php-ws-trust-client/issues/1/comments","events_url":"https://api.github.com/repos/zandbelt/php-ws-trust-client/issues/1/events","html_url":"https://github.com/zandbelt/php-ws-trust-client/issues/1","id":186478157,"number":1,"title":"Decry-pt Token","user":{"login":"mohammedabualsoud","id":6989545,"avatar_url":"https://avatars.githubusercontent.com/u/6989545?v=3","gravatar_id":"","url":"https://api.github.com/users/mohammedabualsoud","html_url":"https://github.com/mohammedabualsoud","followers_url":"https://api.github.com/users/mohammedabualsoud/followers","following_url":"https://api.github.com/users/mohammedabualsoud/following{/other_user}","gists_url":"https://api.github.com/users/mohammedabualsoud/gists{/gist_id}","starred_url":"https://api.github.com/users/mohammedabualsoud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mohammedabualsoud/subscriptions","organizations_url":"https://api.github.com/users/mohammedabualsoud/orgs","repos_url":"https://api.github.com/users/mohammedabualsoud/repos","events_url":"https://api.github.com/users/mohammedabualsoud/events{/privacy}","received_events_url":"https://api.github.com/users/mohammedabualsoud/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2016-11-01T07:58:05Z","updated_at":"2016-11-01T09:29:57Z","closed_at":null,"body":"I want to ask you what do I need to decry-pt the token when it's encrypted.\r\n\r\nHere's a sample of what I got it's a  samel2.0 token \r\n\r\n <EncryptedAssertion xmlns=\"urn:oasis:names:tc:SAML:2.0:assertion\">\r\n                        <xenc:EncryptedData Type=\"http://www.w3.org/2001/04/xmlenc#Element\" xmlns:xenc=\"http://www.w3.org/2001/04/xmlenc#\">\r\n                            <xenc:EncryptionMethod Algorithm=\"http://www.w3.org/2001/04/xmlenc#aes256-cbc\"/>\r\n                            <KeyInfo xmlns=\"http://www.w3.org/2000/09/xmldsig#\">\r\n                                <e:EncryptedKey xmlns:e=\"http://www.w3.org/2001/04/xmlenc#\">\r\n                                    <e:EncryptionMethod Algorithm=\"http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p\">\r\n                                        <DigestMethod Algorithm=\"http://www.w3.org/2000/09/xmldsig#sha1\"/>\r\n                                    </e:EncryptionMethod>\r\n                                    <KeyInfo>\r\n                                        <ds:X509Data xmlns:ds=\"http://www.w3.org/2000/09/xmldsig#\">\r\n                                            <ds:X509IssuerSerial>\r\n                                                <ds:X509IssuerName>CN=*.myorg.com</ds:X509IssuerName>\r\n                                                <ds:X509SerialNumber>DUMMY VLAUE </ds:X509SerialNumber>\r\n                                            </ds:X509IssuerSerial>\r\n                                        </ds:X509Data>\r\n                                    </KeyInfo>\r\n                                    <e:CipherData>\r\n                                        <e:CipherValue>DUMMY VALUE</e:CipherValue>\r\n                                    </e:CipherData>\r\n                                </e:EncryptedKey>\r\n                            </KeyInfo>\r\n                            <xenc:CipherData>\r\n                                <xenc:CipherValue>DUMMY VALUE</xenc:CipherValue>\r\n                            </xenc:CipherData>\r\n                        </xenc:EncryptedData>\r\n                    </EncryptedAssertion>\r\n\r\nAny help appreciated, Thanks\r\n"},"comment":{"url":"https://api.github.com/repos/zandbelt/php-ws-trust-client/issues/comments/257523128","html_url":"https://github.com/zandbelt/php-ws-trust-client/issues/1#issuecomment-257523128","issue_url":"https://api.github.com/repos/zandbelt/php-ws-trust-client/issues/1","id":257523128,"user":{"login":"mohammedabualsoud","id":6989545,"avatar_url":"https://avatars.githubusercontent.com/u/6989545?v=3","gravatar_id":"","url":"https://api.github.com/users/mohammedabualsoud","html_url":"https://github.com/mohammedabualsoud","followers_url":"https://api.github.com/users/mohammedabualsoud/followers","following_url":"https://api.github.com/users/mohammedabualsoud/following{/other_user}","gists_url":"https://api.github.com/users/mohammedabualsoud/gists{/gist_id}","starred_url":"https://api.github.com/users/mohammedabualsoud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mohammedabualsoud/subscriptions","organizations_url":"https://api.github.com/users/mohammedabualsoud/orgs","repos_url":"https://api.github.com/users/mohammedabualsoud/repos","events_url":"https://api.github.com/users/mohammedabualsoud/events{/privacy}","received_events_url":"https://api.github.com/users/mohammedabualsoud/received_events","type":"User","site_admin":false},"created_at":"2016-11-01T09:29:57Z","updated_at":"2016-11-01T09:29:57Z","body":"@zandbelt  This call cause the problem I think. \r\n$token =  $xpath->query('wsse:BinarySecurityToken', $token);"}}
{"actor":{"display_login":"mohammedabualsoud"}}