-
Notifications
You must be signed in to change notification settings - Fork 0
/
generatedAsFile.xml
88 lines (88 loc) · 9.31 KB
/
generatedAsFile.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<?xml version="1.0" encoding="UTF-8"?><wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:S="http://www.w3.org/2003/05/soap-envelope" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" S:mustUnderstand="true"><wsu:Timestamp wsu:Id="timestamp1"><wsu:Created>2015-10-29T16:33:21.567Z</wsu:Created><wsu:Expires>2016-10-29T16:33:21.567Z</wsu:Expires></wsu:Timestamp><saml2:Assertion xmlns:saml2="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" ID="a956b920-4956-47c6-8a05-8a3a56e418a0" IssueInstant="2015-10-29T12:28:21.567-04:00" Version="2.0">
<saml2:Issuer Format="urn:oasis:names:tc:SAML:1.1:nameid-format:X509SubjectName">CN=SAMLUser,OU=SU,O=SAML User,L=LosAngeles,ST=CA,C=US</saml2:Issuer>
<ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#"><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/><ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/><ds:Reference URI="#a956b920-4956-47c6-8a05-8a3a56e418a0"><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><ds:DigestValue>zEM1YWZdVAUOkrS1iasq8S6xzyk=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>EWkXjaxAvDaoaXgdeB4S2u4dimtgfwaUNEu0oGZkZLisIFyUsjR+ZrnUgDbmoWzPsJT076fC6vrm
sv9BlfwxgMqB36PO8LIBJT+av+uXlj9xz3Pk1miEAjETJlG2VC+EpwGoRe44MMkHKJYr8/rLoaMM
UPjvNgt6tg7ZZH21CAuWJ75UFfckNM4qCkliuXOcd4/98FTIOvKlrPe0/xqOIlZqZ8TSXj61/tqg
Tz9qAF5BwKMlwYRz9VKwbdz1U+rH8wcGer0HXBG3OW9zVejD5l/3bvfCHG3erHeiOB/EyPtLCN9y
roKWM9WOw1BpD9VEG7qI6h+5+IvhpXcxLdNsaQ==</ds:SignatureValue><ds:KeyInfo><ds:KeyValue><ds:RSAKeyValue><ds:Modulus>lYGm36g0r4b/oqHbIfubfylKC1fIQUAT2w0IgnwPFqmpKvrvpz8JebHLVTsADxrX8j3C+FyUdC3n
BFTihya8s9VmW3OfdX3e/XuQcpIqCA3uloUCVsNdEw8+H5fBuGdCYKVnZa38CvqZOajkMqHHt1MS
/hZqEJKk1S0xKdLSy4ZiGlU/q7LMheWkJSQ0NSxsx9G5y9qAWKIH4G0HjwBU1Fu6FV+YcBCwCDqy
PHL/aymm4RYB3zBTiXIBw7b1MeTYFFRmBF59ATklpAyXuxhBytIarwmZFzpZbnuiEB8ucJRJM72k
xtBs26hHmM1CHCFXpxZ5PoG9DVWftBebsBLNew==</ds:Modulus><ds:Exponent>AQAB</ds:Exponent></ds:RSAKeyValue></ds:KeyValue></ds:KeyInfo></ds:Signature><saml2:Subject>
<saml2:NameID Format="urn:oasis:names:tc:SAML:1.1:nameid-format:X509SubjectName">CN=SAMLUser,OU=SU,O=SAML User,L=LosAngeles,ST=CA,C=US</saml2:NameID>
<saml2:SubjectConfirmation Method="urn:oasis:names:tc:SAML:2.0:cm:holder-of-key">
<saml2:SubjectConfirmationData>
<ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#"><ds:KeyValue><ds:RSAKeyValue><ds:Modulus>lYGm36g0r4b/oqHbIfubfylKC1fIQUAT2w0IgnwPFqmpKvrvpz8JebHLVTsADxrX8j3C+FyUdC3n
BFTihya8s9VmW3OfdX3e/XuQcpIqCA3uloUCVsNdEw8+H5fBuGdCYKVnZa38CvqZOajkMqHHt1MS
/hZqEJKk1S0xKdLSy4ZiGlU/q7LMheWkJSQ0NSxsx9G5y9qAWKIH4G0HjwBU1Fu6FV+YcBCwCDqy
PHL/aymm4RYB3zBTiXIBw7b1MeTYFFRmBF59ATklpAyXuxhBytIarwmZFzpZbnuiEB8ucJRJM72k
xtBs26hHmM1CHCFXpxZ5PoG9DVWftBebsBLNew==</ds:Modulus><ds:Exponent>AQAB</ds:Exponent></ds:RSAKeyValue></ds:KeyValue></ds:KeyInfo></saml2:SubjectConfirmationData>
</saml2:SubjectConfirmation>
</saml2:Subject>
<saml2:AuthnStatement AuthnInstant="2015-10-29T12:26:21.567-04:00" SessionIndex="123456">
<saml2:SubjectLocality/>
<saml2:AuthnContext>
<saml2:AuthnContextClassRef>urn:oasis:names:tc:SAML:2.0:ac:classes:X509
</saml2:AuthnContextClassRef>
</saml2:AuthnContext>
</saml2:AuthnStatement>
<saml2:AttributeStatement>
<saml2:Attribute Name="urn:oasis:names:tc:xspa:1.0:subject:subject-id">
<saml2:AttributeValue xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xs:type="xsi:string">Interop IT
Testcase
</saml2:AttributeValue>
</saml2:Attribute>
<saml2:Attribute Name="urn:oasis:names:tc:xspa:1.0:subject:organization">
<saml2:AttributeValue xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xs:type="xsi:string">2.16.840.1.113883.3.717
</saml2:AttributeValue>
</saml2:Attribute>
<saml2:Attribute Name="urn:oasis:names:tc:xspa:1.0:subject:organization-id">
<saml2:AttributeValue xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xs:type="xsi:string">urn:oid:2.16.840.1.113883.3.717
</saml2:AttributeValue>
</saml2:Attribute>
<saml2:Attribute Name="urn:nhin:names:saml:homeCommunityId">
<saml2:AttributeValue xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xs:type="xsi:string">urn:oid:2.2</saml2:AttributeValue>
</saml2:Attribute>
<saml2:Attribute Name="urn:oasis:names:tc:xacml:2.0:subject:role">
<saml2:AttributeValue>
<hl7:Role xmlns:hl7="urn:hl7-org:v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" code="46255001" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED_CT" displayName="Pharmacist" xsi:type="hl7:CE"/>
</saml2:AttributeValue>
</saml2:Attribute>
<saml2:Attribute Name="urn:oasis:names:tc:xspa:1.0:subject:purposeofuse">
<saml2:AttributeValue>
<PurposeOfUse xmlns="urn:hl7-org:v3" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" code="TREATMENT" codeSystem="2.16.840.1.113883.3.18.7.1" codeSystemName="nhin-purpose" displayName="Treatment" xsi:type="CE"/>
</saml2:AttributeValue>
</saml2:Attribute>
<saml2:Attribute Name="urn:oasis:names:tc:xacml:2.0:resource:resource-id">
<saml2:AttributeValue xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xs:type="xsi:string">D123401^^^&1.1&ISO</saml2:AttributeValue>
</saml2:Attribute>
<saml2:Attribute Name="urn:oasis:names:tc:xspa:2.0:subject:npi">
<saml2:AttributeValue>1234567890</saml2:AttributeValue>
</saml2:Attribute>
</saml2:AttributeStatement>
<saml2:AuthzDecisionStatement Decision="Permit" Resource="">
<saml2:Action Namespace="urn:oasis:names:tc:SAML:1.0:action:rwedc">Execute</saml2:Action>
<saml2:Evidence>
<saml2:Assertion ID="_3e0d08ce-a126-45e8-b602-ac0c7ea075ce" IssueInstant="2015-10-29T12:28:21.567-04:00" Version="2.0">
<saml2:Issuer Format="urn:oasis:names:tc:SAML:1.1:nameid-format:X509SubjectName">CN=SAML User,OU=SU,O=SAML User,L=Los Angeles,ST=CA,C=US</saml2:Issuer>
<saml2:Subject>
<saml2:NameID Format="urn:oasis:names:tc:SAML:1.1:nameid-format:X509SubjectName">CN=SAMLUser,OU=SU,O=SAML User,L=LosAngeles,ST=CA,C=US</saml2:NameID>
</saml2:Subject>
<saml2:Conditions NotBefore="2015-10-29T11:33:21.567-04:00" NotOnOrAfter="2016-10-29T13:33:21.567-04:00"/>
<saml2:AttributeStatement>
<saml2:Attribute Name="AccessConsentPolicy" NameFormat="http://www.hhs.gov/healthit/nhin">
<saml2:AttributeValue>urn:oid:1.2.3.4</saml2:AttributeValue>
</saml2:Attribute>
<saml2:Attribute Name="InstanceAccessConsentPolicy" NameFormat="http://www.hhs.gov/healthit/nhin">
<saml2:AttributeValue>urn:oid:1.2.3.4.123456789
</saml2:AttributeValue>
</saml2:Attribute>
</saml2:AttributeStatement>
</saml2:Assertion>
</saml2:Evidence>
</saml2:AuthzDecisionStatement>
</saml2:Assertion><ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#"><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/><ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/><ds:Reference URI="#timestamp1"><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><ds:DigestValue>O7cB1c9R/7MCVYagc5EeASRULFE=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>HSki8TyIus0UPcjVFkczGfoMnf3uDe+AXJN9P8h/TyjUvmyIs7YSKTHoVQhmAcPkyewsElrCG6NB
LPG1P3FGPqmb/FxuXQHvdScpO4eAX+g/PsH/5b20zRzi0Hz/pqOrJfwW0s0qs33OyawMnlrKdsz6
w2Mpq5AFltvwhPiVd9LzX3Qtzq0URi52xAFCrSTa1eZmXk4sBwNj6CxUgqHUK8DNi6QBwW1GBkZ5
NEGfOaKhGfkoR574QL3xe70d9T0zG52nFOlABO1TMYH7yLelYcxqa1MNRvbVBpowMP8GOrvE7HNi
6YbqEAXXSFU2NLdVMoiVnpIwa742dXWourlYmg==</ds:SignatureValue><ds:KeyInfo><wsse:SecurityTokenReference xmlns:wsse11="http://docs.oasis-open.org/wss/oasis-wss-wssecurity-secext-1.1.xsd" wsse11:TokenType="http://docs.oasis-open.org/wss/oasis-wss-saml-token-profile-1.1#SAMLV2.0"><wsse:KeyIdentifier ValueType="http://docs.oasis-open.org/wss/oasis-wss-saml-token-profile-1.1#SAMLID">a956b920-4956-47c6-8a05-8a3a56e418a0</wsse:KeyIdentifier></wsse:SecurityTokenReference></ds:KeyInfo></ds:Signature></wsse:Security>