Index: tests/creddy_tests/ProtoGENI.xml_save
===================================================================
--- tests/creddy_tests/ProtoGENI.xml_save	(revision ec550f769c681cfa831dc724f82ddacd21fc75cd)
+++ tests/creddy_tests/ProtoGENI.xml_save	(revision ec550f769c681cfa831dc724f82ddacd21fc75cd)
@@ -0,0 +1,125 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<signed-credential xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.protogeni.net/resources/credential/credential.xsd" xsi:schemaLocation="http://www.protogeni.net/resources/credential/ext/policy/1 http://www.protogeni.net/resources/credential/ext/policy/1/policy.xsd">
+  <credential xml:id="refCB16DEE0B6F8507C">
+ <type>privilege</type>
+ <serial>15102</serial>
+ <owner_gid>MIIEQTCCA6qgAwIBAgICBAcwDQYJKoZIhvcNAQEEBQAwgeMxCzAJBgNVBAYTAlVT
+MQ0wCwYDVQQIEwRVdGFoMRswGQYDVQQHExJTYWx0IExha2UgU2ltIENpdHkxITAf
+BgNVBAoTGFV0YWggTmV0d29yayBTZWNvbmQgTGlmZTEeMBwGA1UECxMVQ2VydGlm
+aWNhdGUgQXV0aG9yaXR5MSkwJwYDVQQDEyBteWJvc3Muam9ubGFiLnRlc3RiZWQu
+ZW11bGFiLm5ldDE6MDgGCSqGSIb3DQEJARYrdGVzdGJlZC1vcHNAbXlvcHMuam9u
+bGFiLnRlc3RiZWQuZW11bGFiLm5ldDAeFw0xMzA1MjkxMzU5MDFaFw0xNDA1Mjkx
+MzU5MDFaMIGzMQswCQYDVQQGEwJVUzENMAsGA1UECBMEVXRhaDEhMB8GA1UEChMY
+VXRhaCBOZXR3b3JrIFNlY29uZCBMaWZlMRQwEgYDVQQLEwtqb25sYWIudXNlcjEt
+MCsGA1UEAxMkNzcxZGUzY2EtYzg2Ny0xMWUyLWIwMDEtMDAyNGU4NzkyN2ViMS0w
+KwYJKoZIhvcNAQkBFh51c2VyQGpvbmxhYi50ZXN0YmVkLmVtdWx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MA0GCSqGSIb3DQEBBAUAA4GBAHUtR537wn94Em+BJUS4
+lb6qQ/mDG49l1K12XJghyKU40pQCxRKlp4EWScghgtwcpBTaCcA3+ZOgkdwnHXLx
+pCabA69clBKdncqaaUzSCx4AGjGe9yMX6WliBvvh2dODQZeFlK7C9B7mTvkTFv4Z
+iMdQbxu/Fh8LdtU+ymuXekid
+</target_gid>
+ <target_urn>urn:publicid:IDN+jonlab.testbed.emulab.net+authority+sa</target_urn>
+ <uuid>9bc8ec4e-c869-11e2-b001-0024e87927eb</uuid>
+ <expires>2013-05-30T14:11:08Z</expires>
+  <privileges>
+<privilege><name>*</name><can_delegate>1</can_delegate></privilege>
+</privileges></credential>
+  <signatures>
+    <Signature xmlns="http://www.w3.org/2000/09/xmldsig#" xml:id="Sig_refCB16DEE0B6F8507C">
+ <SignedInfo>
+  <CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
+  <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
+  <Reference URI="#refCB16DEE0B6F8507C">
+    <Transforms>
+      <Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
+    </Transforms>
+    <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
+    <DigestValue>9/uW8NR0sHZpLAPzxZ32SOLAZhY=</DigestValue>
+    </Reference>
+ </SignedInfo>
+ <SignatureValue>UfAUZ5RyncNw+YWJOAbmfnOYbpWxeyVLDZ9Kg7yw4idRUE0/CnL0bNkUAT5g2IYF
+W/kKxooWz/1P15/EOtDE+OYJCdnWwR1iEoWoxyQayP94bygAZ7WiLvrwhoTMQ01+
+lvnjClLyTAibpeWp2Uql1KRSX8TFrEKXsKqPt/vhOls=</SignatureValue>
+ <KeyInfo>
+  <X509Data>
+   
+   
+   
+  <X509Certificate>MIID/jCCA2egAwIBAgICA/gwDQYJKoZIhvcNAQEEBQAwgeMxCzAJBgNVBAYTAlVT
+MQ0wCwYD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ubGFiLnRlc3RiZWQuZW11bGFiLm5ldDoxMjM2OS9wcm90
+b2dlbmkveG1scnBjL3NhMA0GCSqGSIb3DQEBBAUAA4GBAHUtR537wn94Em+BJUS4
+lb6qQ/mDG49l1K12XJghyKU40pQCxRKlp4EWScghgtwcpBTaCcA3+ZOgkdwnHXLx
+pCabA69clBKdncqaaUzSCx4AGjGe9yMX6WliBvvh2dODQZeFlK7C9B7mTvkTFv4Z
+iMdQbxu/Fh8LdtU+ymuXekid</X509Certificate>
+<X509SubjectName>emailAddress=testbed-ops@myops.jonlab.testbed.emulab.net,CN=e1a2133d-ab67-11e2-b001-0024e87927eb,OU=jonlab.sa,O=Utah Network Second Life,ST=Utah,C=US</X509SubjectName>
+<X509IssuerSerial>
+<X509IssuerName>emailAddress=testbed-ops@myops.jonlab.testbed.emulab.net,CN=myboss.jonlab.testbed.emulab.net,OU=Certificate Authority,O=Utah Network Second Life,L=Salt Lake Sim City,ST=Utah,C=US</X509IssuerName>
+<X509SerialNumber>1016</X509SerialNumber>
+</X509IssuerSerial>
+</X509Data>
+  <KeyValue>
+<RSAKeyValue>
+<Modulus>
+zYZo6Dq9Yo+LZ/AhM2f6r/jkO/tJow5h6A4F4kqZfHIS1lyN/zICra47qjHpgrBC
+3npR5+ibr4AosC4mwDo09yFHbS0CUSIGuemt7Nnt/siD8ULqXwYMwHHDhr+wQnqg
+jiPoo0FT69lbfiQ3P1IH6TVn8j5vK/5i1PtolKqUg5M=
+</Modulus>
+<Exponent>
+AQAB
+</Exponent>
+</RSAKeyValue>
+</KeyValue>
+ </KeyInfo>
+</Signature>
+  </signatures>
+</signed-credential>
+
