source: fedd/abac-src/rtml/examples/cred1_signed.xml @ bc24428

version-1.30
Last change on this file since bc24428 was 8780cbec, checked in by Jay Jacobs <Jay.Jacobs@…>, 15 years ago

ABAC sources from Cobham

  • Property mode set to 100644
File size: 3.6 KB
Line 
1<Credential xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="C:\rtml\Credentials.xsd">
2  <Issuer Id="issuerId">
3    <Principal>
4      <KeyValue>
5        <DSAKeyValue>
6          <P>
7            /X9TgR11EilS30qcLuzk5/YRt1I870QAwx4/gLZRJmlFXUAiUftZPY1Y+r/F9bow9subVWzXgTuA
8            HTRv8mZgt2uZUKWkn5/oBHsQIsJPu6nX/rfGG/g7V+fGqKYVDwT7g/bTxR7DAjVUE1oWkTL2dfOu
9            K2HXKu/yIgMZndFIAcc=
10          </P>
11          <Q>l2BQjxUjC8yykrmCouuEC/BYHPU=</Q>
12          <G>
13            9+GghdabPd7LvKtcNrhXuXmUr7v6OuqC+VdMCz0HgmdRWVeOutRZT+ZxBxCBgLRJFnEj6EwoFhO3
14            zwkyjMim4TwWeotUfI0o4KOuHiuzpnWRbqN/C/ohNWLx+2J6ASQ7zKTxvqhRkImog9/hWuWfBpKL
15            Zl6Ae1UlZAFMO/7PSSo=
16          </G>
17          <Y>
18            Eln5/htZP51p7Y/Y1+zZOSSmoi2fQS0deniScan3990xy33RrPfF5odqEVmVYfTzFfKEz94aUXEY
19            qY2VGVRCKrAZThk1SwoOB+UyfNSVjoqa4fppIQpTalK/JeR7uxQUr0Aeop68nr2u49GijYiLyvL3
20            x04lGaZ8jUYZL3gZTNI=
21          </Y>
22        </DSAKeyValue>
23      </KeyValue>
24    </Principal>
25  </Issuer>
26  <ImportDomain domain="email" source="C:\rtml\examples\email\EmailSpec.xml" Id="importDomain"></ImportDomain>
27  <RoleDefinition Id="emailRole">
28    <Head>
29      <RoleTerm domain="email" roleName="EMailAddress">
30        <Parameter name="domain">
31          <TreeValue>stanford.edu</TreeValue>
32        </Parameter>
33        <Parameter name="user">
34          <StringValue>ninghui</StringValue>
35        </Parameter>
36      </RoleTerm>
37    </Head>
38    <Body>
39      <Principal>
40        <KeyValue>
41          <RSAKeyValue>
42            <Modulus>
43              832n6bfJJHd=3NRdjq/iPm
44            </Modulus>
45            <Exponent>
46              qmMrk/j0D0ORnxz
47            </Exponent>
48          </RSAKeyValue>
49        </KeyValue>
50      </Principal>
51    </Body>
52  </RoleDefinition>
53  <ValidityData>
54    <Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
55      <SignedInfo>
56        <CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"></CanonicalizationMethod>
57        <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#dsa-sha1"></SignatureMethod>
58        <Reference URI="">
59          <Transforms>
60            <Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments"></Transform>
61            <Transform Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116">
62              <XPath>
63                child::*[id() = "emailRole" or id() = "importDomain"]
64              </XPath>
65            </Transform>
66          </Transforms>
67          <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></DigestMethod>
68          <DigestValue>iuX0Jryf3xL/nAOgy5/hMmb2m20=</DigestValue>
69        </Reference>
70      </SignedInfo>
71      <SignatureValue>CFWQ9kkagnpiDApGPCzxKdaI45dCXexAxOTHWkoHgWbK/bRVmW+ztg==</SignatureValue>
72      <KeyInfo>
73        <X509Data>
74          <X509Certificate>
75            MIIC9jCCArQCBDruqiowCwYHKoZIzjgEAwUAMGExCzAJBgNVBAYTAkRFMR0wGwYDVQQKExRVbml2
76            ZXJzaXR5IG9mIFNpZWdlbjEQMA4GA1UECxMHRkIxMk5VRTEhMB8GA1UEAxMYQ2hyaXN0aWFuIEdl
77            dWVyLVBvbGxtYW5uMB4XDTAxMDUwMTEyMjA1OFoXDTA2MTAyMjEyMjA1OFowYTELMAkGA1UEBhMC
78            REUxHTAbBgNVBAoTFFVuaXZlcnNpdHkgb2YgU2llZ2VuMRAwDgYDVQQLEwdGQjEyTlVFMSEwHwYD
79            VQQDExhDaHJpc3RpYW4gR2V1ZXItUG9sbG1hbm4wggG3MIIBLAYHKoZIzjgEATCCAR8CgYEA/X9T
80            gR11EilS30qcLuzk5/YRt1I870QAwx4/gLZRJmlFXUAiUftZPY1Y+r/F9bow9subVWzXgTuAHTRv
81            8mZgt2uZUKWkn5/oBHsQIsJPu6nX/rfGG/g7V+fGqKYVDwT7g/bTxR7DAjVUE1oWkTL2dfOuK2HX
82            Ku/yIgMZndFIAccCFQCXYFCPFSMLzLKSuYKi64QL8Fgc9QKBgQD34aCF1ps93su8q1w2uFe5eZSv
83            u/o66oL5V0wLPQeCZ1FZV4661FlP5nEHEIGAtEkWcSPoTCgWE7fPCTKMyKbhPBZ6i1R8jSjgo64e
84            K7OmdZFuo38L+iE1YvH7YnoBJDvMpPG+qFGQiaiD3+Fa5Z8GkotmXoB7VSVkAUw7/s9JKgOBhAAC
85            gYASWfn+G1k/nWntj9jX7Nk5JKaiLZ9BLR16eJJxqff33THLfdGs98Xmh2oRWZVh9PMV8oTP3hpR
86            cRipjZUZVEIqsBlOGTVLCg4H5TJ81JWOiprh+mkhClNqUr8l5Hu7FBSvQB6inryeva7j0aKNiIvK
87            8vfHTiUZpnyNRhkveBlM0jALBgcqhkjOOAQDBQADLwAwLAIUPDd/UmB9GeHqvGjny30Bvjt0AkUC
88            FA9ab72kKuB5geYGeckbBrcgPnZk
89          </X509Certificate>
90        </X509Data>
91      </KeyInfo>
92    </Signature>
93  </ValidityData>
94</Credential>
Note: See TracBrowser for help on using the repository browser.