Index: fedd/abac-src/rtml/examples/cred1_signed.xml
===================================================================
--- fedd/abac-src/rtml/examples/cred1_signed.xml	(revision 8780cbecc6db2bdc2b9ef31eec6e5209ad3bff15)
+++ fedd/abac-src/rtml/examples/cred1_signed.xml	(revision 8780cbecc6db2bdc2b9ef31eec6e5209ad3bff15)
@@ -0,0 +1,94 @@
+<Credential xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="C:\rtml\Credentials.xsd">
+  <Issuer Id="issuerId">
+    <Principal>
+      <KeyValue>
+	<DSAKeyValue>
+	  <P>
+	    /X9TgR11EilS30qcLuzk5/YRt1I870QAwx4/gLZRJmlFXUAiUftZPY1Y+r/F9bow9subVWzXgTuA
+	    HTRv8mZgt2uZUKWkn5/oBHsQIsJPu6nX/rfGG/g7V+fGqKYVDwT7g/bTxR7DAjVUE1oWkTL2dfOu
+	    K2HXKu/yIgMZndFIAcc=
+	  </P>
+	  <Q>l2BQjxUjC8yykrmCouuEC/BYHPU=</Q>
+	  <G>
+	    9+GghdabPd7LvKtcNrhXuXmUr7v6OuqC+VdMCz0HgmdRWVeOutRZT+ZxBxCBgLRJFnEj6EwoFhO3
+	    zwkyjMim4TwWeotUfI0o4KOuHiuzpnWRbqN/C/ohNWLx+2J6ASQ7zKTxvqhRkImog9/hWuWfBpKL
+	    Zl6Ae1UlZAFMO/7PSSo=
+	  </G>
+	  <Y>
+	    Eln5/htZP51p7Y/Y1+zZOSSmoi2fQS0deniScan3990xy33RrPfF5odqEVmVYfTzFfKEz94aUXEY
+	    qY2VGVRCKrAZThk1SwoOB+UyfNSVjoqa4fppIQpTalK/JeR7uxQUr0Aeop68nr2u49GijYiLyvL3
+	    x04lGaZ8jUYZL3gZTNI=
+	  </Y>
+	</DSAKeyValue>
+      </KeyValue>
+    </Principal>
+  </Issuer>
+  <ImportDomain domain="email" source="C:\rtml\examples\email\EmailSpec.xml" Id="importDomain"></ImportDomain>
+  <RoleDefinition Id="emailRole">
+    <Head>
+      <RoleTerm domain="email" roleName="EMailAddress">
+	<Parameter name="domain">
+	  <TreeValue>stanford.edu</TreeValue>
+	</Parameter>
+	<Parameter name="user">
+	  <StringValue>ninghui</StringValue>
+	</Parameter>
+      </RoleTerm>
+    </Head>
+    <Body>
+      <Principal>
+	<KeyValue>
+	  <RSAKeyValue>
+	    <Modulus>
+	      832n6bfJJHd=3NRdjq/iPm
+	    </Modulus>
+	    <Exponent>
+	      qmMrk/j0D0ORnxz
+	    </Exponent>
+	  </RSAKeyValue>
+	</KeyValue>
+      </Principal>
+    </Body>
+  </RoleDefinition>
+  <ValidityData>
+    <Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
+      <SignedInfo>
+	<CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"></CanonicalizationMethod>
+	<SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#dsa-sha1"></SignatureMethod>
+	<Reference URI="">
+	  <Transforms>
+	    <Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments"></Transform>
+	    <Transform Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116">
+	      <XPath>
+		child::*[id() = "emailRole" or id() = "importDomain"]
+	      </XPath>
+	    </Transform>
+	  </Transforms>
+	  <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></DigestMethod>
+	  <DigestValue>iuX0Jryf3xL/nAOgy5/hMmb2m20=</DigestValue>
+	</Reference>
+      </SignedInfo>
+      <SignatureValue>CFWQ9kkagnpiDApGPCzxKdaI45dCXexAxOTHWkoHgWbK/bRVmW+ztg==</SignatureValue>
+      <KeyInfo>
+	<X509Data>
+	  <X509Certificate>
+	    MIIC9jCCArQCBDruqiowCwYHKoZIzjgEAwUAMGExCzAJBgNVBAYTAkRFMR0wGwYDVQQKExRVbml2
+	    ZXJzaXR5IG9mIFNpZWdlbjEQMA4GA1UECxMHRkIxMk5VRTEhMB8GA1UEAxMYQ2hyaXN0aWFuIEdl
+	    dWVyLVBvbGxtYW5uMB4XDTAxMDUwMTEyMjA1OFoXDTA2MTAyMjEyMjA1OFowYTELMAkGA1UEBhMC
+	    REUxHTAbBgNVBAoTFFVuaXZlcnNpdHkgb2YgU2llZ2VuMRAwDgYDVQQLEwdGQjEyTlVFMSEwHwYD
+	    VQQDExhDaHJpc3RpYW4gR2V1ZXItUG9sbG1hbm4wggG3MIIBLAYHKoZIzjgEATCCAR8CgYEA/X9T
+	    gR11EilS30qcLuzk5/YRt1I870QAwx4/gLZRJmlFXUAiUftZPY1Y+r/F9bow9subVWzXgTuAHTRv
+	    8mZgt2uZUKWkn5/oBHsQIsJPu6nX/rfGG/g7V+fGqKYVDwT7g/bTxR7DAjVUE1oWkTL2dfOuK2HX
+	    Ku/yIgMZndFIAccCFQCXYFCPFSMLzLKSuYKi64QL8Fgc9QKBgQD34aCF1ps93su8q1w2uFe5eZSv
+	    u/o66oL5V0wLPQeCZ1FZV4661FlP5nEHEIGAtEkWcSPoTCgWE7fPCTKMyKbhPBZ6i1R8jSjgo64e
+	    K7OmdZFuo38L+iE1YvH7YnoBJDvMpPG+qFGQiaiD3+Fa5Z8GkotmXoB7VSVkAUw7/s9JKgOBhAAC
+	    gYASWfn+G1k/nWntj9jX7Nk5JKaiLZ9BLR16eJJxqff33THLfdGs98Xmh2oRWZVh9PMV8oTP3hpR
+	    cRipjZUZVEIqsBlOGTVLCg4H5TJ81JWOiprh+mkhClNqUr8l5Hu7FBSvQB6inryeva7j0aKNiIvK
+	    8vfHTiUZpnyNRhkveBlM0jALBgcqhkjOOAQDBQADLwAwLAIUPDd/UmB9GeHqvGjny30Bvjt0AkUC
+	    FA9ab72kKuB5geYGeckbBrcgPnZk
+	  </X509Certificate>
+	</X509Data>
+      </KeyInfo>
+    </Signature>
+  </ValidityData>
+</Credential>
