Skip to content

Instantly share code, notes, and snippets.

@nimish
Last active August 7, 2019 22:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nimish/b00fb8a75a8b4c424553783c7adb7656 to your computer and use it in GitHub Desktop.
Save nimish/b00fb8a75a8b4c424553783c7adb7656 to your computer and use it in GitHub Desktop.
XMLsec
<wsse:Security xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:hl7v3="urn:hl7-org:v3"><wsu:Timestamp ID="TS-dda911b6-723f-4b3d-95ce-659f3484dbb5"><wsu:Created>2019-08-07T21:11:05.522039</wsu:Created><wsu:Expires>2019-08-08T21:11:05.522039</wsu:Expires></wsu:Timestamp><ds:Signature><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/><ds:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/><ds:Reference URI="#TS-dda911b6-723f-4b3d-95ce-659f3484dbb5"><ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/><ds:DigestValue>evyuP1J3enosEbEDsHPQIZKRQPU+7xwWPxTcphX6LLg=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>HoXV1tWZefp1VRId6XhaDVvc2M5/hP8JQdQUjx6hdBLVgQ8KsnJQe/Rxx5BCK5sulFhePWJpT4iTrH6bngT/+X0o/dJ3S2p509Juj1DAAW6HuhHOJSkGvV8MsAQrNGT62QKrRQIMO3Qm9RB1j7KsphvVK3yiwYFXLKRGip6OoQI=</ds:SignatureValue><ds:KeyInfo><ds:KeyValue><ds:RSAKeyValue><ds:Modulus>vbCY1tXqnjH8gFfY8FDcBM4xXV43NOPp1eJ7Ke+z0PS5m8AOw2i75LwtPx0Mn7itLpfB6x95kVkQbS1PXb/C/8FPdBqMLZGChzO+ZW7i5Nl6Ckdf5QqumJcOObBqs0N1DQ/765gWZaUy2Yycl/xYlpY43R4m9zaDdirz+jGrsQk=</ds:Modulus><ds:Exponent>AQAB</ds:Exponent></ds:RSAKeyValue></ds:KeyValue></ds:KeyInfo></ds:Signature></wsse:Security>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment