Changeset 4732


Ignore:
Timestamp:
05/01/09 10:08:10 (11 years ago)
Author:
pjkersha
Message:
  • Refactored Credential Wallet unit tests separating out test files into the config dir.
  • Fix to ndg.security.common.wssecurity.BaseSignatureHandler?.BaseSignatureHandler? for is exclusive C14N tests - default to True until inclusive C14N is fixed.
Location:
TI12-security/trunk/python/ndg.security.test/ndg/security/test
Files:
5 deleted
27 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/attributeauthority/test_attributeauthority.cfg

    r4718 r4732  
    99 
    1010[DEFAULT] 
    11 siteBPropFilePath=$NDGSEC_UNITTEST_CONFIG_DIR/attributeauthority/siteB/siteBAttAuthority.cfg 
     11siteBPropFilePath=$NDGSEC_UNITTEST_CONFIG_DIR/attributeauthority/siteb/siteBAttAuthority.cfg 
    1212 
    1313[setUp] 
    1414# ! SiteBMapConfig.xml trusted site A aaURI setting must agree with this  
    1515# setting for test6GetMappedAttCert 
    16 propFilePath=$NDGSEC_UNITTEST_CONFIG_DIR/attributeauthority/siteA/siteAAttributeAuthority.cfg 
     16propFilePath=$NDGSEC_UNITTEST_CONFIG_DIR/attributeauthority/sitea/siteAAttributeAuthority.cfg 
    1717 
    1818# For https connections only.  !Omit ssl* settings if using http! 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/attributeauthorityclient/README

    r4462 r4732  
    33The test client connects to two different test Attribute Authorities 
    44corresponding to the fictitious Service Providers Site "A" and Site "B".  Each 
    5 has its own respective properties file.   
     5has its own respective configuration.  As they are also used in other tests, 
     6this configuration is held in a separate config/ directory parallel to this 
     7one.  
    68 
    79These services must be started before running the unit tests.  Start a terminal 
    810in this directory and run: 
    911 
    10 $ python ./siteA/siteAServerApp.py 
     12$ python ../config/attributeauthority/sitea/siteAServerApp.py 
    1113 
    1214...and in a separate terminal: 
    1315 
    14 $ python ./siteB/siteBServerApp.py 
     16$ python ../config/attributeauthority/siteb/siteBServerApp.py 
    1517 
    16 Configuration for these services is held in the files ./siteA/site-a.ini and 
    17 ./siteB/site-b.ini respectively. 
     18Configuration for these services is held in the files  
     19 
     20../config/attributeauthority/sitea/site-a.ini and 
     21../config/attributeauthority/siteb/site-b.ini  
     22 
     23respectively. 
    1824 
    1925Note however that the siteBServerApp.py is only needed for tests for getting  
    20 mapped attribute certificates: test7GetMappedAttCert and  
    21 test8GetMappedAttCertStressTest 
     26mapped attribute certificates: test07GetMappedAttCert and  
     27test08GetMappedAttCertStressTest 
    2228 
    2329Settings for the client to these services are configured with the file 
     
    4046Tests can be run individually e.g. 
    4147 
    42 $ python ./test_attributeauthorityclient.py AttributeAuthorityClientTestCase.test1GetX509Cert 
     48$ python ./test_attributeauthorityclient.py AttributeAuthorityClientTestCase.test01GetHostInfo 
    4349 
    44 Running Services with the Twisted Application Server 
    45 ==================================================== 
    46 Services have been ported from the Twisted Application Server to run with a 
    47 WSGI wrapper under Paste.  Paste scripts are held in the siteA/ and siteB/ 
    48 sub-directories and the previous Twisted based ones in twisted/.  The latter  
    49 are *untested* and may be removed from future releases of NDG-Security. 
    50  
    51 P J Kershaw 31/10/08 
     50P J Kershaw 24/12/08 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/config/attributeauthority/sitea/attributeCertificateLog/ac.xml

    r4718 r4732  
    33    <acInfo> 
    44        <version>1.0</version> 
    5         <holder>/CN=client/O=NDG Security Test/OU=WS-Security Unittest</holder> 
     5        <holder></holder> 
    66        <issuer>/CN=AttributeAuthority/O=NDG Security Test/OU=Site A</issuer> 
    77        <issuerName>Site A</issuerName> 
    88        <issuerSerialNumber>253</issuerSerialNumber>  
    9         <userId>system</userId> 
     9        <userId>ndg-user</userId> 
    1010        <validity> 
    11             <notBefore>2008 12 24 14 16 05</notBefore>  
    12             <notAfter>2008 12 24 22 16 05</notAfter>  
     11            <notBefore>2009 01 05 10 01 35</notBefore>  
     12            <notAfter>2009 01 05 18 01 35</notAfter>  
    1313        </validity> 
    1414        <attributes> 
     
    3030        <provenance>original</provenance>  
    3131    </acInfo> 
    32 <ds:Signature><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="ds"></ec:InclusiveNamespaces></ds:CanonicalizationMethod><ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod><ds:Reference URI=""><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></ds:Transform><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="xmlns"></ec:InclusiveNamespaces></ds:Transform></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod><ds:DigestValue>KTznMmENUOiBJDV8tkTzGjdIQA8=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>cBTDyuz+Hql088FQx0LtYkP3CSwss8HqE/TmUtre8Q5x2e+6M7XLbsrBjPa8pzledL2qOlOZ3l8b 
    33 NraT5+vcJEoaPI8V84ubiKRwpW0dlVn9W2TnF47gc4bO874QqKOPBjkfM/9r6YX9QE6bbYk8hqPj 
    34 gV+oGgvB3aDoUsxN4eg=</ds:SignatureValue><ds:KeyInfo><ds:X509Data><ds:X509Certificate>MIICBTCCAW6gAwIBAgICAP0wDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
     32<ds:Signature><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="ds"></ec:InclusiveNamespaces></ds:CanonicalizationMethod><ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod><ds:Reference URI=""><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></ds:Transform><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="xmlns"></ec:InclusiveNamespaces></ds:Transform></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod><ds:DigestValue>liuWT/PTesXlHXLKdMYH9/GDCBo=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>loVn4jTc4JUyxvaG5H421vXZ2WutvXG56wPuyNddqFUYSJf4fmQ+dLXnOQhC1aPl5uEUR/riLxYf 
     33UXPDq4huOk1HlNAxOdK2tOZbOY9B31OQhuo/IUgWRmGJIhim0aziWEJPTA00LG0JLr5zP3SHspQM 
     34JAZLaqwUHX6hpb3a4fA=</ds:SignatureValue><ds:KeyInfo><ds:X509Data><ds:X509Certificate>MIICBTCCAW6gAwIBAgICAP0wDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
    3535MQ0wCwYDVQQLEwRCQURDMRAwDgYDVQQDEwdUZXN0IENBMB4XDTA4MTIxNTE2MzUy 
    3636NFoXDTEzMTIxNDE2MzUyNFowSjEaMBgGA1UEChMRTkRHIFNlY3VyaXR5IFRlc3Qx 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/config/attributeauthority/sitea/attributeCertificateLog/ac.xml.1

    r4718 r4732  
    77        <issuerName>Site A</issuerName> 
    88        <issuerSerialNumber>253</issuerSerialNumber>  
    9         <userId>/CN=client/O=NDG Security Test/OU=WS-Security Unittest</userId> 
     9        <userId>ndg-user</userId> 
    1010        <validity> 
    11             <notBefore>2008 12 24 14 16 01</notBefore>  
    12             <notAfter>2008 12 24 22 16 01</notAfter>  
     11            <notBefore>2009 01 05 10 01 18</notBefore>  
     12            <notAfter>2009 01 05 18 01 18</notAfter>  
    1313        </validity> 
    1414        <attributes> 
     
    3030        <provenance>original</provenance>  
    3131    </acInfo> 
    32 <ds:Signature><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="ds"></ec:InclusiveNamespaces></ds:CanonicalizationMethod><ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod><ds:Reference URI=""><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></ds:Transform><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="xmlns"></ec:InclusiveNamespaces></ds:Transform></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod><ds:DigestValue>8Nvc2+y06ZenJ7rS9g3Pml5NFbk=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>dlFHg746l+M5Yn8TbELcp1T2VsmnlrxEdpMjlyRrFmr8oVcdwIAzhx8DM6pLmyF7gpuDz0ouhup1 
    33 UFWOHEzeL7cy0iWDPd0Fsg6RHga+p6m3KnG5CwNT1PWx1Ov2e6j1avNt7NipuWoQ81GbqFH3PTnM 
    34 EidFwJg7jiJ/k2V0td0=</ds:SignatureValue><ds:KeyInfo><ds:X509Data><ds:X509Certificate>MIICBTCCAW6gAwIBAgICAP0wDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
     32<ds:Signature><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="ds"></ec:InclusiveNamespaces></ds:CanonicalizationMethod><ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod><ds:Reference URI=""><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></ds:Transform><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="xmlns"></ec:InclusiveNamespaces></ds:Transform></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod><ds:DigestValue>01Mx3TMdlMAR3k+OKYnO9DkwAMk=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>UzR5DebjZm0GhV3fNizPV+g0k4wpyurKBceOKA5oYh35eu+wL2A9pxVYK7k42Hm5DWTSKy7acaCv 
     33fHChGpIJBBAlu73PSa4ln6/uavb1/fXw4pIiQ4QgzysqUz6OXy82sThQnDh266wb/u5P+qAKLyra 
     34fA9UwA7Cue+2negEkTE=</ds:SignatureValue><ds:KeyInfo><ds:X509Data><ds:X509Certificate>MIICBTCCAW6gAwIBAgICAP0wDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
    3535MQ0wCwYDVQQLEwRCQURDMRAwDgYDVQQDEwdUZXN0IENBMB4XDTA4MTIxNTE2MzUy 
    3636NFoXDTEzMTIxNDE2MzUyNFowSjEaMBgGA1UEChMRTkRHIFNlY3VyaXR5IFRlc3Qx 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/config/attributeauthority/sitea/attributeCertificateLog/ac.xml.10

    r4718 r4732  
    33    <acInfo> 
    44        <version>1.0</version> 
    5         <holder></holder> 
     5        <holder>/CN=test/O=NDG/OU=BADC</holder> 
    66        <issuer>/CN=AttributeAuthority/O=NDG Security Test/OU=Site A</issuer> 
    77        <issuerName>Site A</issuerName> 
    88        <issuerSerialNumber>253</issuerSerialNumber>  
    9         <userId>system</userId> 
     9        <userId>/CN=test/O=NDG/OU=BADC</userId> 
    1010        <validity> 
    11             <notBefore>2008 12 24 12 59 48</notBefore>  
    12             <notAfter>2008 12 24 20 59 48</notAfter>  
     11            <notBefore>2009 01 05 09 53 43</notBefore>  
     12            <notAfter>2009 01 05 17 53 43</notAfter>  
    1313        </validity> 
    1414        <attributes> 
     
    3030        <provenance>original</provenance>  
    3131    </acInfo> 
    32 <ds:Signature><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="ds"></ec:InclusiveNamespaces></ds:CanonicalizationMethod><ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod><ds:Reference URI=""><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></ds:Transform><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="xmlns"></ec:InclusiveNamespaces></ds:Transform></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod><ds:DigestValue>F+Wvl2Dn8NWWRf8Xcw34E0Xul1E=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>CDSsBBDfvi4LcpoOdCXzpNIozuZZj2gG1aGJjygHv5L7CmztG2csb5xg1Utdcp/l/YGjTDcv+sB6 
    33 lrYnsIDy/ArFiOmv+cLz/IVqz7Tsj2SzyxqXD6Qwwf6xMTMEx13e+fy9/eF09pfrS46l5cDeAWz6 
    34 B8aj146bBvUV+AOT4j4=</ds:SignatureValue><ds:KeyInfo><ds:X509Data><ds:X509Certificate>MIICBTCCAW6gAwIBAgICAP0wDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
     32<ds:Signature><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="ds"></ec:InclusiveNamespaces></ds:CanonicalizationMethod><ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod><ds:Reference URI=""><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></ds:Transform><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="xmlns"></ec:InclusiveNamespaces></ds:Transform></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod><ds:DigestValue>+YDIdDcB2AXwhiPyURW2FFk+hVg=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>F/FBSLYeX+7xb/lhRKAFeJtHsgbqcWyoKwGYBWJr1XfD7CXjVg+nK23jrCwkIjMrxs9FqU8oMIfk 
     33LDRas6xo/6NSc4ynxFurnsDj2tL2cY9L/w4zr3OqYTkQv/xX4rCWsJEjdRXYAhbaltyWRE1DLcTZ 
     34N7+qTSZNGINUj9WKvq8=</ds:SignatureValue><ds:KeyInfo><ds:X509Data><ds:X509Certificate>MIICBTCCAW6gAwIBAgICAP0wDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
    3535MQ0wCwYDVQQLEwRCQURDMRAwDgYDVQQDEwdUZXN0IENBMB4XDTA4MTIxNTE2MzUy 
    3636NFoXDTEzMTIxNDE2MzUyNFowSjEaMBgGA1UEChMRTkRHIFNlY3VyaXR5IFRlc3Qx 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/config/attributeauthority/sitea/attributeCertificateLog/ac.xml.11

    r4718 r4732  
    33    <acInfo> 
    44        <version>1.0</version> 
    5         <holder>/CN=testuser/O=NDG/OU=BADC/OU=Gabriel</holder> 
     5        <holder>/CN=client/O=NDG Security Test/OU=WS-Security Unittest</holder> 
    66        <issuer>/CN=AttributeAuthority/O=NDG Security Test/OU=Site A</issuer> 
    77        <issuerName>Site A</issuerName> 
    88        <issuerSerialNumber>253</issuerSerialNumber>  
    9         <userId>/CN=testuser/O=NDG/OU=BADC/OU=Gabriel</userId> 
     9        <userId>ndg-user</userId> 
    1010        <validity> 
    11             <notBefore>2008 12 24 12 59 47</notBefore>  
    12             <notAfter>2008 12 24 20 59 47</notAfter>  
     11            <notBefore>2009 01 05 09 53 39</notBefore>  
     12            <notAfter>2009 01 05 17 53 39</notAfter>  
    1313        </validity> 
    1414        <attributes> 
     
    3030        <provenance>original</provenance>  
    3131    </acInfo> 
    32 <ds:Signature><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="ds"></ec:InclusiveNamespaces></ds:CanonicalizationMethod><ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod><ds:Reference URI=""><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></ds:Transform><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="xmlns"></ec:InclusiveNamespaces></ds:Transform></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod><ds:DigestValue>y8Y3eGitl2eCCbK+phBnnW99Ck0=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>g3ggDvwr3i13CrGVe4sTIhv2wIiCRU5madd0FqU9A9gOb8YLp87Sd2b0ePKP3fBrK7oyI/L3r14l 
    33 E7rxCMdp3dBf+eyoHkZ7u/9JnIX+plDDaEuNbqK/u2XZWPuF9tBg3U7iEWn3c3/KBr3hwwY3/7LU 
    34 sO/t3Z2wpGiSn8d/pLg=</ds:SignatureValue><ds:KeyInfo><ds:X509Data><ds:X509Certificate>MIICBTCCAW6gAwIBAgICAP0wDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
     32<ds:Signature><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="ds"></ec:InclusiveNamespaces></ds:CanonicalizationMethod><ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod><ds:Reference URI=""><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></ds:Transform><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="xmlns"></ec:InclusiveNamespaces></ds:Transform></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod><ds:DigestValue>KhjCabSfdAL+de0R6BiYiC/wDCo=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>frzB5k6sJU09l4f8LKg1O3uDz3X3/xqTtBN1Zzik9hkEWvYh1z9hHQAmooe4nFNywDsmz24iQqh7 
     3315tEYM7IApTfyyyLcyM/0l3/PnIjAbFzQTNOUnC8nX4mwNNQ2xNDMRpqev9jdD5SptkU4mxz5jPg 
     34BI8TbknCIop+9UUuXeU=</ds:SignatureValue><ds:KeyInfo><ds:X509Data><ds:X509Certificate>MIICBTCCAW6gAwIBAgICAP0wDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
    3535MQ0wCwYDVQQLEwRCQURDMRAwDgYDVQQDEwdUZXN0IENBMB4XDTA4MTIxNTE2MzUy 
    3636NFoXDTEzMTIxNDE2MzUyNFowSjEaMBgGA1UEChMRTkRHIFNlY3VyaXR5IFRlc3Qx 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/config/attributeauthority/sitea/attributeCertificateLog/ac.xml.12

    r4718 r4732  
    77        <issuerName>Site A</issuerName> 
    88        <issuerSerialNumber>253</issuerSerialNumber>  
    9         <userId>system</userId> 
     9        <userId>ndg-user</userId> 
    1010        <validity> 
    11             <notBefore>2008 12 24 12 59 20</notBefore>  
    12             <notAfter>2008 12 24 20 59 20</notAfter>  
     11            <notBefore>2009 01 05 09 53 15</notBefore>  
     12            <notAfter>2009 01 05 17 53 15</notAfter>  
    1313        </validity> 
    1414        <attributes> 
     
    3030        <provenance>original</provenance>  
    3131    </acInfo> 
    32 <ds:Signature><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="ds"></ec:InclusiveNamespaces></ds:CanonicalizationMethod><ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod><ds:Reference URI=""><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></ds:Transform><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="xmlns"></ec:InclusiveNamespaces></ds:Transform></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod><ds:DigestValue>Wigh5zK6YGqO3I2BEkwV2I6chhk=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>XrE8br/vFAgU4pynes9CRjMFkoxvqd0l2s6ooYdovnxkDJSkyTQFvhXKSIEhEzqf/D/U0ENmXzSS 
    33 ibwgnjlcofx58BHv6i9fu8yon+UJWnQbv1iOOrD66vk6uNULoI42AVjxc1eSPtbIK9Soiw6o+V+F 
    34 zvCDkJoZgdYXgFYyU+o=</ds:SignatureValue><ds:KeyInfo><ds:X509Data><ds:X509Certificate>MIICBTCCAW6gAwIBAgICAP0wDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
     32<ds:Signature><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="ds"></ec:InclusiveNamespaces></ds:CanonicalizationMethod><ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod><ds:Reference URI=""><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></ds:Transform><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="xmlns"></ec:InclusiveNamespaces></ds:Transform></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod><ds:DigestValue>tKO46rt3exifh7sWMRyoGDZCHBo=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>pqz9THEflz3kz+MvOn2wth0wq6VsdPDLmSsCDtL+GGdGHTDBBz5ShGe6dzuFYqE1Gm1JoY9lwEZ7 
     33RU6oqhfkrKijxm71xVVZxwRMH5ln0W1YcYVQ1tiD2fRhfd5Po4ZnBtEbhOaDHX7HhOtsI+GiycGM 
     34FG+TXEw43QXQ9NeqijU=</ds:SignatureValue><ds:KeyInfo><ds:X509Data><ds:X509Certificate>MIICBTCCAW6gAwIBAgICAP0wDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
    3535MQ0wCwYDVQQLEwRCQURDMRAwDgYDVQQDEwdUZXN0IENBMB4XDTA4MTIxNTE2MzUy 
    3636NFoXDTEzMTIxNDE2MzUyNFowSjEaMBgGA1UEChMRTkRHIFNlY3VyaXR5IFRlc3Qx 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/config/attributeauthority/sitea/attributeCertificateLog/ac.xml.13

    r4718 r4732  
    33    <acInfo> 
    44        <version>1.0</version> 
    5         <holder>/CN=testuser/O=NDG/OU=BADC/OU=Gabriel</holder> 
     5        <holder>/CN=client/O=NDG Security Test/OU=WS-Security Unittest</holder> 
    66        <issuer>/CN=AttributeAuthority/O=NDG Security Test/OU=Site A</issuer> 
    77        <issuerName>Site A</issuerName> 
    88        <issuerSerialNumber>253</issuerSerialNumber>  
    9         <userId>/CN=testuser/O=NDG/OU=BADC/OU=Gabriel</userId> 
     9        <userId>ndg-user</userId> 
    1010        <validity> 
    11             <notBefore>2008 12 24 12 59 19</notBefore>  
    12             <notAfter>2008 12 24 20 59 19</notAfter>  
     11            <notBefore>2009 01 05 09 52 58</notBefore>  
     12            <notAfter>2009 01 05 17 52 58</notAfter>  
    1313        </validity> 
    1414        <attributes> 
     
    3030        <provenance>original</provenance>  
    3131    </acInfo> 
    32 <ds:Signature><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="ds"></ec:InclusiveNamespaces></ds:CanonicalizationMethod><ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod><ds:Reference URI=""><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></ds:Transform><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="xmlns"></ec:InclusiveNamespaces></ds:Transform></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod><ds:DigestValue>vnbjRA8HIHUjoSskA84Yp+pe+QU=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>e4GYAapoerFQEJCfsyacMkJ9EWz4dWsP692vUPfQ3bJcw2DknwbJbFJyZEElYII/nBVVPBsaeJDZ 
    33 V/RCD6ZY5iYDCqCfWfrBlbBjui96VINchfxakHLdmP6dr4a8iACgDBWJYmTI0mW+5+DmJXEukvzQ 
    34 z3ZqnEjpgyxPPGx/Rvk=</ds:SignatureValue><ds:KeyInfo><ds:X509Data><ds:X509Certificate>MIICBTCCAW6gAwIBAgICAP0wDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
     32<ds:Signature><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="ds"></ec:InclusiveNamespaces></ds:CanonicalizationMethod><ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod><ds:Reference URI=""><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></ds:Transform><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="xmlns"></ec:InclusiveNamespaces></ds:Transform></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod><ds:DigestValue>gLzeuxeO78aXMvJjlz4gIUvJ0I8=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>My31Rd1+wircl858QItyyMJDo+roIc4q4CRQiB+73MftXxpUt9hGydz2E0c/gCiJGEn7Hpwypinj 
     33tCbUZW77mF2imhhJSCZGac1llC652agR3ZiAQwKmzVdTrtZyfsaHaCFN8gJmCk8z9rt9Xaco2GXv 
     34d8d58sKyOiumqF5k5j8=</ds:SignatureValue><ds:KeyInfo><ds:X509Data><ds:X509Certificate>MIICBTCCAW6gAwIBAgICAP0wDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
    3535MQ0wCwYDVQQLEwRCQURDMRAwDgYDVQQDEwdUZXN0IENBMB4XDTA4MTIxNTE2MzUy 
    3636NFoXDTEzMTIxNDE2MzUyNFowSjEaMBgGA1UEChMRTkRHIFNlY3VyaXR5IFRlc3Qx 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/config/attributeauthority/sitea/attributeCertificateLog/ac.xml.14

    r4718 r4732  
    33    <acInfo> 
    44        <version>1.0</version> 
    5         <holder></holder> 
     5        <holder>/CN=test/O=NDG/OU=BADC</holder> 
    66        <issuer>/CN=AttributeAuthority/O=NDG Security Test/OU=Site A</issuer> 
    77        <issuerName>Site A</issuerName> 
    88        <issuerSerialNumber>253</issuerSerialNumber>  
    9         <userId>system</userId> 
     9        <userId>/CN=test/O=NDG/OU=BADC</userId> 
    1010        <validity> 
    11             <notBefore>2008 12 24 12 57 58</notBefore>  
    12             <notAfter>2008 12 24 20 57 58</notAfter>  
     11            <notBefore>2009 01 05 09 52 54</notBefore>  
     12            <notAfter>2009 01 05 17 52 54</notAfter>  
    1313        </validity> 
    1414        <attributes> 
     
    3030        <provenance>original</provenance>  
    3131    </acInfo> 
    32 <ds:Signature><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="ds"></ec:InclusiveNamespaces></ds:CanonicalizationMethod><ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod><ds:Reference URI=""><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></ds:Transform><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="xmlns"></ec:InclusiveNamespaces></ds:Transform></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod><ds:DigestValue>a6HJ9SXcJ6k/cGFd7DsXw9qEdQg=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>lxLXceWnaBxZb/M/hOGsGfeVXWq2KdP7JjXroi5mfl9fNDRPIcMVw6DayBrXzvmv9jk1EilyQ6ft 
    33 AvmXNe5Os0WW46PmP2J2VwbeUlZIHtX4y+8ylGGoDk/8sXVP5e9/s5bM8dGvhrb9KwBqQFsdqE6F 
    34 bXZn18UKZas+ihmDZ58=</ds:SignatureValue><ds:KeyInfo><ds:X509Data><ds:X509Certificate>MIICBTCCAW6gAwIBAgICAP0wDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
     32<ds:Signature><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="ds"></ec:InclusiveNamespaces></ds:CanonicalizationMethod><ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod><ds:Reference URI=""><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></ds:Transform><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="xmlns"></ec:InclusiveNamespaces></ds:Transform></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod><ds:DigestValue>ZjVUU7n1hlH745rkOocbC3u93mo=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>TFAD2nEI8Ds8By3mTEyfTFBKrs5JJo2dcrO1iouH0PCI38d9yH9j+eDjgBL4x2FR+5fF5bxBT3ty 
     3366IF+wvU1wgZLZ3KJIY7HBPaJrmiKwKA8Kk85HhHnF+zXIUXn3YWQkZreZeb2mY1poVuL1grGg5F 
     34uOKI8x/KovIf7CHN+0M=</ds:SignatureValue><ds:KeyInfo><ds:X509Data><ds:X509Certificate>MIICBTCCAW6gAwIBAgICAP0wDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
    3535MQ0wCwYDVQQLEwRCQURDMRAwDgYDVQQDEwdUZXN0IENBMB4XDTA4MTIxNTE2MzUy 
    3636NFoXDTEzMTIxNDE2MzUyNFowSjEaMBgGA1UEChMRTkRHIFNlY3VyaXR5IFRlc3Qx 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/config/attributeauthority/sitea/attributeCertificateLog/ac.xml.15

    r4718 r4732  
    33    <acInfo> 
    44        <version>1.0</version> 
    5         <holder>/CN=testuser/O=NDG/OU=BADC/OU=Gabriel</holder> 
     5        <holder>/CN=test/O=NDG/OU=BADC</holder> 
    66        <issuer>/CN=AttributeAuthority/O=NDG Security Test/OU=Site A</issuer> 
    77        <issuerName>Site A</issuerName> 
    88        <issuerSerialNumber>253</issuerSerialNumber>  
    9         <userId>/CN=testuser/O=NDG/OU=BADC/OU=Gabriel</userId> 
     9        <userId>/CN=test/O=NDG/OU=BADC</userId> 
    1010        <validity> 
    11             <notBefore>2008 12 24 12 57 58</notBefore>  
    12             <notAfter>2008 12 24 20 57 58</notAfter>  
     11            <notBefore>2009 01 05 09 52 43</notBefore>  
     12            <notAfter>2009 01 05 17 52 43</notAfter>  
    1313        </validity> 
    1414        <attributes> 
     
    3030        <provenance>original</provenance>  
    3131    </acInfo> 
    32 <ds:Signature><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="ds"></ec:InclusiveNamespaces></ds:CanonicalizationMethod><ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod><ds:Reference URI=""><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></ds:Transform><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="xmlns"></ec:InclusiveNamespaces></ds:Transform></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod><ds:DigestValue>5sYA/5AYFxc8SHd+bsubb4BGr3o=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>CqwwYeT/DmIfc/OiD/3Cm2A5bQqU/Wo9+drGtfkgAPqrTvHbie09hoW6HhMlWtOfj/T+aptmmXlO 
    33 gbYC5Fv+ocu7g2LDzC6En6WUgs5zp1Mq46499QPrMPW4eCZuCC+sj0cYxqDt+uiT1pwmXBx6BPQl 
    34 9LRd0CNzxjnaq7J7jrA=</ds:SignatureValue><ds:KeyInfo><ds:X509Data><ds:X509Certificate>MIICBTCCAW6gAwIBAgICAP0wDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
     32<ds:Signature><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="ds"></ec:InclusiveNamespaces></ds:CanonicalizationMethod><ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod><ds:Reference URI=""><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></ds:Transform><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="xmlns"></ec:InclusiveNamespaces></ds:Transform></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod><ds:DigestValue>bSUbjiUEsuh2OooXLzpqEx087vE=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>B1ySqhWnDm7lHvohcV6Gh6yAtiZYy6H2VHufd7R7siIt/kYiH5zvc9GuavM6oSPAKTR6rldkwwsr 
     33RrkOVXKVIOBv7Mgs6qnLdJNeluOHYsoYiPZg8WWmLfaZNtBplw/sZ0TC4O5l8XjheBt1oYj9AMt2 
     34yYQtFutMdVjdiBx7pVI=</ds:SignatureValue><ds:KeyInfo><ds:X509Data><ds:X509Certificate>MIICBTCCAW6gAwIBAgICAP0wDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
    3535MQ0wCwYDVQQLEwRCQURDMRAwDgYDVQQDEwdUZXN0IENBMB4XDTA4MTIxNTE2MzUy 
    3636NFoXDTEzMTIxNDE2MzUyNFowSjEaMBgGA1UEChMRTkRHIFNlY3VyaXR5IFRlc3Qx 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/config/attributeauthority/sitea/attributeCertificateLog/ac.xml.16

    r4718 r4732  
    33    <acInfo> 
    44        <version>1.0</version> 
    5         <holder></holder> 
     5        <holder>/CN=client/O=NDG Security Test/OU=WS-Security Unittest</holder> 
    66        <issuer>/CN=AttributeAuthority/O=NDG Security Test/OU=Site A</issuer> 
    77        <issuerName>Site A</issuerName> 
    88        <issuerSerialNumber>253</issuerSerialNumber>  
    9         <userId>system</userId> 
     9        <userId>ndg-user</userId> 
    1010        <validity> 
    11             <notBefore>2008 12 24 12 54 17</notBefore>  
    12             <notAfter>2008 12 24 20 54 17</notAfter>  
     11            <notBefore>2009 01 05 09 52 34</notBefore>  
     12            <notAfter>2009 01 05 17 52 34</notAfter>  
    1313        </validity> 
    1414        <attributes> 
     
    3030        <provenance>original</provenance>  
    3131    </acInfo> 
    32 <ds:Signature><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="ds"></ec:InclusiveNamespaces></ds:CanonicalizationMethod><ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod><ds:Reference URI=""><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></ds:Transform><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="xmlns"></ec:InclusiveNamespaces></ds:Transform></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod><ds:DigestValue>vX7w0mQQRrrxqSUPwdMXt3PXeBo=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>XXGTd0KFUkxL+cFI6s53ozY3glUQdkPZRvLlGBvAUK19Cvzh5E2ujKN99SFjx6S/NWPjacSBVGYL 
    33 jGIVej8+FH33MjU4zxn+UWGgDwO6r+YR6eFto9tmivyw/yioyFFgscW09maXiCmYqE/HOh6JT+Qm 
    34 DSsNBgLy4IB8Rab2Ue0=</ds:SignatureValue><ds:KeyInfo><ds:X509Data><ds:X509Certificate>MIICBTCCAW6gAwIBAgICAP0wDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
     32<ds:Signature><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="ds"></ec:InclusiveNamespaces></ds:CanonicalizationMethod><ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod><ds:Reference URI=""><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></ds:Transform><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="xmlns"></ec:InclusiveNamespaces></ds:Transform></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod><ds:DigestValue>WLVFGYJ3Xw+aLR4OewsJKB9Qtk4=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>GrP2F+7Z1ZFYk316tsevMFqVzstnMu+RjLTHQwp9xnxvDVWpHtOSDLsp/iQWw9ASngFbsGaOKfzy 
     33aheWQV5i+ZAhGTDAMr3DCdW9RwZWXJuCoE8TNksiRTGXCUZGOB6QSHufxO1Ok8Y4vVpBhD1m3Ly1 
     34g7uxDx0fX76QADXJdLc=</ds:SignatureValue><ds:KeyInfo><ds:X509Data><ds:X509Certificate>MIICBTCCAW6gAwIBAgICAP0wDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
    3535MQ0wCwYDVQQLEwRCQURDMRAwDgYDVQQDEwdUZXN0IENBMB4XDTA4MTIxNTE2MzUy 
    3636NFoXDTEzMTIxNDE2MzUyNFowSjEaMBgGA1UEChMRTkRHIFNlY3VyaXR5IFRlc3Qx 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/config/attributeauthority/sitea/attributeCertificateLog/ac.xml.2

    r4718 r4732  
    33    <acInfo> 
    44        <version>1.0</version> 
    5         <holder>/CN=client/O=NDG Security Test/OU=WS-Security Unittest</holder> 
     5        <holder>/CN=test/O=NDG/OU=BADC</holder> 
    66        <issuer>/CN=AttributeAuthority/O=NDG Security Test/OU=Site A</issuer> 
    77        <issuerName>Site A</issuerName> 
    88        <issuerSerialNumber>253</issuerSerialNumber>  
    9         <userId>system</userId> 
     9        <userId>/CN=test/O=NDG/OU=BADC</userId> 
    1010        <validity> 
    11             <notBefore>2008 12 24 14 14 47</notBefore>  
    12             <notAfter>2008 12 24 22 14 47</notAfter>  
     11            <notBefore>2009 01 05 10 01 14</notBefore>  
     12            <notAfter>2009 01 05 18 01 14</notAfter>  
    1313        </validity> 
    1414        <attributes> 
     
    3030        <provenance>original</provenance>  
    3131    </acInfo> 
    32 <ds:Signature><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="ds"></ec:InclusiveNamespaces></ds:CanonicalizationMethod><ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod><ds:Reference URI=""><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></ds:Transform><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="xmlns"></ec:InclusiveNamespaces></ds:Transform></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod><ds:DigestValue>32x+j3qMFtOT3ASID1pKIIqzylk=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>M/kuF8JDiELW+zGUBZbYTPrxM/TLAOi20ZtTOcruEoYXV8gQKfSGO7zMsyPae9QWx6De4pmA7n/t 
    33 UAVJTACAIStN1WdPAYEeGl7oI8+ZexIhpeybYs4pNcXRrLfkBgRmOYSNupJohtoVV8dcBOhhDHHN 
    34 M27H4kV7XyG7VBiSvvE=</ds:SignatureValue><ds:KeyInfo><ds:X509Data><ds:X509Certificate>MIICBTCCAW6gAwIBAgICAP0wDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
     32<ds:Signature><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="ds"></ec:InclusiveNamespaces></ds:CanonicalizationMethod><ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod><ds:Reference URI=""><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></ds:Transform><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="xmlns"></ec:InclusiveNamespaces></ds:Transform></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod><ds:DigestValue>DYzW5/JtdQbD/LgwExq0NK+Tlnk=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>G6k0byaCIqRS3UfqatNXHqTivixfystWRXoS5eBOy7SYUW5sWDW3UMSi/nebf+GelXmdrvzJfHB5 
     337atMmD37abyAlPIJkVrzOx0nQ70BoCqNzrS4bbVu/+DFKF06YkxoSW9ODI7NRT08GDLpWSoT59+k 
     34Ww4gPVVI+LnRIM9sAY4=</ds:SignatureValue><ds:KeyInfo><ds:X509Data><ds:X509Certificate>MIICBTCCAW6gAwIBAgICAP0wDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
    3535MQ0wCwYDVQQLEwRCQURDMRAwDgYDVQQDEwdUZXN0IENBMB4XDTA4MTIxNTE2MzUy 
    3636NFoXDTEzMTIxNDE2MzUyNFowSjEaMBgGA1UEChMRTkRHIFNlY3VyaXR5IFRlc3Qx 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/config/attributeauthority/sitea/attributeCertificateLog/ac.xml.3

    r4718 r4732  
    33    <acInfo> 
    44        <version>1.0</version> 
    5         <holder>/CN=client/O=NDG Security Test/OU=WS-Security Unittest</holder> 
     5        <holder>/CN=test/O=NDG/OU=BADC</holder> 
    66        <issuer>/CN=AttributeAuthority/O=NDG Security Test/OU=Site A</issuer> 
    77        <issuerName>Site A</issuerName> 
    88        <issuerSerialNumber>253</issuerSerialNumber>  
    9         <userId>/CN=client/O=NDG Security Test/OU=WS-Security Unittest</userId> 
     9        <userId>/CN=test/O=NDG/OU=BADC</userId> 
    1010        <validity> 
    11             <notBefore>2008 12 24 14 14 43</notBefore>  
    12             <notAfter>2008 12 24 22 14 43</notAfter>  
     11            <notBefore>2009 01 05 10 01 04</notBefore>  
     12            <notAfter>2009 01 05 18 01 04</notAfter>  
    1313        </validity> 
    1414        <attributes> 
     
    3030        <provenance>original</provenance>  
    3131    </acInfo> 
    32 <ds:Signature><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="ds"></ec:InclusiveNamespaces></ds:CanonicalizationMethod><ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod><ds:Reference URI=""><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></ds:Transform><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="xmlns"></ec:InclusiveNamespaces></ds:Transform></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod><ds:DigestValue>d0YlibEcP0tLMz1aVV8K6Q/bG7Y=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>EsgvechEyIBBSL3hkQWg8jmnMreq9AMd+2iWkgxCiMf30FRbpqLU3xAudMz0K5YX1HzOo8DpIX+T 
    33 FAUvbzBVGTwNq365f/5MykDsp8HzkjyM5vkth1pDlwn2WZeYB2xL3rDwrXHIvKVTAFk1h6KXrLmz 
    34 JTa0MBojvCPpXd0dNiI=</ds:SignatureValue><ds:KeyInfo><ds:X509Data><ds:X509Certificate>MIICBTCCAW6gAwIBAgICAP0wDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
     32<ds:Signature><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="ds"></ec:InclusiveNamespaces></ds:CanonicalizationMethod><ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod><ds:Reference URI=""><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></ds:Transform><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="xmlns"></ec:InclusiveNamespaces></ds:Transform></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod><ds:DigestValue>Q4g2B24YhvvWjoYfpeoTfgt1dqE=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>h9Is892cvONW21nNb0Viel5al4mAmGUGa3A+hIl3GAZkcWCMMTQ5ueIr/qhQW25zczuD9p0oci4y 
     33uiUMCQdxUEKPvZuIcwTYJoN8HN6fgKENPzfmrNK3emUH66nS5olesjXJNqAN+5rtkjoJDFXImyBq 
     3492mmAG+16Mm130xjz4o=</ds:SignatureValue><ds:KeyInfo><ds:X509Data><ds:X509Certificate>MIICBTCCAW6gAwIBAgICAP0wDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
    3535MQ0wCwYDVQQLEwRCQURDMRAwDgYDVQQDEwdUZXN0IENBMB4XDTA4MTIxNTE2MzUy 
    3636NFoXDTEzMTIxNDE2MzUyNFowSjEaMBgGA1UEChMRTkRHIFNlY3VyaXR5IFRlc3Qx 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/config/attributeauthority/sitea/attributeCertificateLog/ac.xml.4

    r4718 r4732  
    77        <issuerName>Site A</issuerName> 
    88        <issuerSerialNumber>253</issuerSerialNumber>  
    9         <userId>system</userId> 
     9        <userId>ndg-user</userId> 
    1010        <validity> 
    11             <notBefore>2008 12 24 13 58 43</notBefore>  
    12             <notAfter>2008 12 24 21 58 43</notAfter>  
     11            <notBefore>2009 01 05 10 00 59</notBefore>  
     12            <notAfter>2009 01 05 18 00 59</notAfter>  
    1313        </validity> 
    1414        <attributes> 
     
    3030        <provenance>original</provenance>  
    3131    </acInfo> 
    32 <ds:Signature><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="ds"></ec:InclusiveNamespaces></ds:CanonicalizationMethod><ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod><ds:Reference URI=""><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></ds:Transform><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="xmlns"></ec:InclusiveNamespaces></ds:Transform></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod><ds:DigestValue>IRu7MQpTr1iaHrPL6taZ6EM1log=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>pklK4MMAA8qyuJ/nmLRHFqwvY+U9rLwYXht5RGwnd5VR2XQsS3hQ5MIllzb3p36TDbKmlfhzyDtc 
    33 YKsY3SvFkIVBPGqU80tdB2T0FXdf+DgP2o0qzGfhtoMOJmOH3ynPw7Ib8R9b2ERgQIfLs9Q7J5DF 
    34 RdIlbyL7PLxYlcwhOsY=</ds:SignatureValue><ds:KeyInfo><ds:X509Data><ds:X509Certificate>MIICBTCCAW6gAwIBAgICAP0wDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
     32<ds:Signature><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="ds"></ec:InclusiveNamespaces></ds:CanonicalizationMethod><ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod><ds:Reference URI=""><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></ds:Transform><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="xmlns"></ec:InclusiveNamespaces></ds:Transform></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod><ds:DigestValue>qiCu75RaiDPMaI56tjzeVubDXj0=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>SNzu1AUuCOVoizAI4IyfMnSnFfc+Ld68xmmdWJ3yiV8oNj7ZB+wGLY6k4o3anQZODfn0yC5F05Ll 
     33Gjh/1UEzW/Wvqhpi1pzPT4WsITcxFYa7C1c3EoXM9QIegx5nYSno+8jkTx4h7qlRIXigFISIeeWK 
     34R4HK2szL6yYN9XINw08=</ds:SignatureValue><ds:KeyInfo><ds:X509Data><ds:X509Certificate>MIICBTCCAW6gAwIBAgICAP0wDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
    3535MQ0wCwYDVQQLEwRCQURDMRAwDgYDVQQDEwdUZXN0IENBMB4XDTA4MTIxNTE2MzUy 
    3636NFoXDTEzMTIxNDE2MzUyNFowSjEaMBgGA1UEChMRTkRHIFNlY3VyaXR5IFRlc3Qx 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/config/attributeauthority/sitea/attributeCertificateLog/ac.xml.5

    r4718 r4732  
    33    <acInfo> 
    44        <version>1.0</version> 
    5         <holder>/CN=client/O=NDG Security Test/OU=WS-Security Unittest</holder> 
     5        <holder></holder> 
    66        <issuer>/CN=AttributeAuthority/O=NDG Security Test/OU=Site A</issuer> 
    77        <issuerName>Site A</issuerName> 
    88        <issuerSerialNumber>253</issuerSerialNumber>  
    9         <userId>/CN=client/O=NDG Security Test/OU=WS-Security Unittest</userId> 
     9        <userId>ndg-user</userId> 
    1010        <validity> 
    11             <notBefore>2008 12 24 13 58 39</notBefore>  
    12             <notAfter>2008 12 24 21 58 39</notAfter>  
     11            <notBefore>2009 01 05 09 59 29</notBefore>  
     12            <notAfter>2009 01 05 17 59 29</notAfter>  
    1313        </validity> 
    1414        <attributes> 
     
    3030        <provenance>original</provenance>  
    3131    </acInfo> 
    32 <ds:Signature><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="ds"></ec:InclusiveNamespaces></ds:CanonicalizationMethod><ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod><ds:Reference URI=""><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></ds:Transform><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="xmlns"></ec:InclusiveNamespaces></ds:Transform></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod><ds:DigestValue>FoOnqT/sqdVW+8urTQyk2u5s4xg=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>ifnkMjhkdaJYFsoYo6U6QtC0BTOkBVjOMrodBaazdo9Kie8zuHF3vAaNLIiPQfilHMPSP7e7mYGn 
    33 NQ1hOmqEAjshvmLs2bS0RUSPzROnY3SJP+4u3v1JD83UnRPIylg6DeBIPd+851n1za9g+1K2i34B 
    34 JGEbMpKw1lbh5OQ+58s=</ds:SignatureValue><ds:KeyInfo><ds:X509Data><ds:X509Certificate>MIICBTCCAW6gAwIBAgICAP0wDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
     32<ds:Signature><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="ds"></ec:InclusiveNamespaces></ds:CanonicalizationMethod><ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod><ds:Reference URI=""><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></ds:Transform><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="xmlns"></ec:InclusiveNamespaces></ds:Transform></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod><ds:DigestValue>kTNHZ1dXy8FUAuQn2+xPRACNYp0=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>Ong6wtyVmt5U4n3gJQVn/TEaK0gXvIFJkzT+BXO5/BN14SQTpkh/i9WrvvgvCU/SrQFXoAs3l3Al 
     33ZontfRorerNmhqgR5XhdUjX3uRqH+hEeTjDYA4NMDLgMxt6J+MnxClRsMFupUQI+fTvZjxWNGhsW 
     34VvNMw+A3TRHg3HBm6vs=</ds:SignatureValue><ds:KeyInfo><ds:X509Data><ds:X509Certificate>MIICBTCCAW6gAwIBAgICAP0wDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
    3535MQ0wCwYDVQQLEwRCQURDMRAwDgYDVQQDEwdUZXN0IENBMB4XDTA4MTIxNTE2MzUy 
    3636NFoXDTEzMTIxNDE2MzUyNFowSjEaMBgGA1UEChMRTkRHIFNlY3VyaXR5IFRlc3Qx 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/config/attributeauthority/sitea/attributeCertificateLog/ac.xml.6

    r4718 r4732  
    77        <issuerName>Site A</issuerName> 
    88        <issuerSerialNumber>253</issuerSerialNumber>  
    9         <userId>system</userId> 
     9        <userId>ndg-user</userId> 
    1010        <validity> 
    11             <notBefore>2008 12 24 13 03 19</notBefore>  
    12             <notAfter>2008 12 24 21 03 19</notAfter>  
     11            <notBefore>2009 01 05 09 56 49</notBefore>  
     12            <notAfter>2009 01 05 17 56 49</notAfter>  
    1313        </validity> 
    1414        <attributes> 
     
    3030        <provenance>original</provenance>  
    3131    </acInfo> 
    32 <ds:Signature><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="ds"></ec:InclusiveNamespaces></ds:CanonicalizationMethod><ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod><ds:Reference URI=""><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></ds:Transform><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="xmlns"></ec:InclusiveNamespaces></ds:Transform></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod><ds:DigestValue>gffUmm8wEyqvRRtfBB/nM1hH3pM=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>AqO+Im0cw4KGIDyYq0l6jOVzaBhfIbM83r2WfJkZXr+3mt27RSQjw64MOtYDIgOUesGC8NU6Xsrl 
    33 yOJbRr75CjWjg1gnODQUfMxwZr2h9NcRgyFkd7ezX0hFNaN4zJq04uarU/TmeaMKIdZM1lBHKVDn 
    34 W/2hC/4H8jwBTbRNjD0=</ds:SignatureValue><ds:KeyInfo><ds:X509Data><ds:X509Certificate>MIICBTCCAW6gAwIBAgICAP0wDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
     32<ds:Signature><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="ds"></ec:InclusiveNamespaces></ds:CanonicalizationMethod><ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod><ds:Reference URI=""><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></ds:Transform><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="xmlns"></ec:InclusiveNamespaces></ds:Transform></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod><ds:DigestValue>5btVnp6qNuMife7bmJBVwyDKLQw=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>cTmZtvWv2j5skJYODHTJD/PbokrqmzQej66/vKihsjHfnbidugsZtNZ5/liC9TOrUeaXC9RjSusI 
     33femFgMiMCsRKi5+sb0j+gg8aUxKBza39tpne6zyWV/mVOMRCGHoV4xQhatrgaDPubZBg5Uq+QBFU 
     34lsHENLkt0tKY+PFQKFk=</ds:SignatureValue><ds:KeyInfo><ds:X509Data><ds:X509Certificate>MIICBTCCAW6gAwIBAgICAP0wDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
    3535MQ0wCwYDVQQLEwRCQURDMRAwDgYDVQQDEwdUZXN0IENBMB4XDTA4MTIxNTE2MzUy 
    3636NFoXDTEzMTIxNDE2MzUyNFowSjEaMBgGA1UEChMRTkRHIFNlY3VyaXR5IFRlc3Qx 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/config/attributeauthority/sitea/attributeCertificateLog/ac.xml.7

    r4718 r4732  
    33    <acInfo> 
    44        <version>1.0</version> 
    5         <holder>/CN=testuser/O=NDG/OU=BADC/OU=Gabriel</holder> 
     5        <holder></holder> 
    66        <issuer>/CN=AttributeAuthority/O=NDG Security Test/OU=Site A</issuer> 
    77        <issuerName>Site A</issuerName> 
    88        <issuerSerialNumber>253</issuerSerialNumber>  
    9         <userId>/CN=testuser/O=NDG/OU=BADC/OU=Gabriel</userId> 
     9        <userId>ndg-user</userId> 
    1010        <validity> 
    11             <notBefore>2008 12 24 13 03 18</notBefore>  
    12             <notAfter>2008 12 24 21 03 18</notAfter>  
     11            <notBefore>2009 01 05 09 54 18</notBefore>  
     12            <notAfter>2009 01 05 17 54 18</notAfter>  
    1313        </validity> 
    1414        <attributes> 
     
    3030        <provenance>original</provenance>  
    3131    </acInfo> 
    32 <ds:Signature><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="ds"></ec:InclusiveNamespaces></ds:CanonicalizationMethod><ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod><ds:Reference URI=""><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></ds:Transform><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="xmlns"></ec:InclusiveNamespaces></ds:Transform></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod><ds:DigestValue>GVuclADPyhf/xiH6NDOSXyg7jr4=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>d+WXKu+UXv2CyDlJm4Kxx8uPgnJr6G2HkV9qJjueoha3i+1PM2vnpT0159NGUfcSkxdHDmgplD2n 
    33 S4DycqR/yS3kuzbtmJYoN0SWEzi2VR9UJ2mzqgiLWkzMMwuo9LEs5yyPu4jY6EhDggvEjqvbLTw0 
    34 Jwjt04SKw2gVbgWSnrI=</ds:SignatureValue><ds:KeyInfo><ds:X509Data><ds:X509Certificate>MIICBTCCAW6gAwIBAgICAP0wDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
     32<ds:Signature><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="ds"></ec:InclusiveNamespaces></ds:CanonicalizationMethod><ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod><ds:Reference URI=""><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></ds:Transform><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="xmlns"></ec:InclusiveNamespaces></ds:Transform></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod><ds:DigestValue>kPd+XuyKtE7uUl+cRjO36R3Uq58=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>e7vIJE7atNq+QdY4X3APx8vv49Ud1PloyUbAGhBddAe8rjem2G3h/CZtLEZQyt+mkladh9slZicQ 
     33RxNBAgMMjxyd3PCzsKKe23Unw/pCnxbAHtxPzzr8IWMhH/9RNJn9KIYo3H3kanSZ7KgzwoHHjRKj 
     34CydcU0rfj7OMB5xy8Fg=</ds:SignatureValue><ds:KeyInfo><ds:X509Data><ds:X509Certificate>MIICBTCCAW6gAwIBAgICAP0wDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
    3535MQ0wCwYDVQQLEwRCQURDMRAwDgYDVQQDEwdUZXN0IENBMB4XDTA4MTIxNTE2MzUy 
    3636NFoXDTEzMTIxNDE2MzUyNFowSjEaMBgGA1UEChMRTkRHIFNlY3VyaXR5IFRlc3Qx 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/config/attributeauthority/sitea/attributeCertificateLog/ac.xml.8

    r4718 r4732  
    33    <acInfo> 
    44        <version>1.0</version> 
    5         <holder></holder> 
     5        <holder>/CN=client/O=NDG Security Test/OU=WS-Security Unittest</holder> 
    66        <issuer>/CN=AttributeAuthority/O=NDG Security Test/OU=Site A</issuer> 
    77        <issuerName>Site A</issuerName> 
    88        <issuerSerialNumber>253</issuerSerialNumber>  
    9         <userId>system</userId> 
     9        <userId>ndg-user</userId> 
    1010        <validity> 
    11             <notBefore>2008 12 24 13 01 01</notBefore>  
    12             <notAfter>2008 12 24 21 01 01</notAfter>  
     11            <notBefore>2009 01 05 09 54 01</notBefore>  
     12            <notAfter>2009 01 05 17 54 01</notAfter>  
    1313        </validity> 
    1414        <attributes> 
     
    3030        <provenance>original</provenance>  
    3131    </acInfo> 
    32 <ds:Signature><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="ds"></ec:InclusiveNamespaces></ds:CanonicalizationMethod><ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod><ds:Reference URI=""><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></ds:Transform><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="xmlns"></ec:InclusiveNamespaces></ds:Transform></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod><ds:DigestValue>9JZDKgTEaN4xbK9PASPa7kl1/Tw=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>H/EMRRS9CcHFWEHL1SwBK9V9WauZgm4kxPw1+onuh6BMP1BEDgpbXJ9msDtdrOJjZSs7xViMvJyJ 
    33 EHs5dx6zp9dUIPH08VkkZ3/DNxMzC5+7PqIabXNqnWHFRDm659RzLu5mL/I1ftWDAUPzx5R9qucr 
    34 8KJWsg+a1+h1CYRfVk0=</ds:SignatureValue><ds:KeyInfo><ds:X509Data><ds:X509Certificate>MIICBTCCAW6gAwIBAgICAP0wDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
     32<ds:Signature><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="ds"></ec:InclusiveNamespaces></ds:CanonicalizationMethod><ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod><ds:Reference URI=""><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></ds:Transform><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="xmlns"></ec:InclusiveNamespaces></ds:Transform></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod><ds:DigestValue>a6iidWDq2JBAEFZn1fza2flJqFs=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>JL/oIR4Mu8vREVKSoj9x5U05PPt7QgbYm3cpYUt/3L+Zjh6AsIkBYWBIo8VOpryEnfDOR33vBD99 
     33j61/CM5Gbt8VmgUz/0J9vi0bK5fWLzlJZN8+PtBTYQDgbbtRUwE0mrvWt4NthRbL8ZRLko+z4rP1 
     34UfHk04g0Ld538Qh75t0=</ds:SignatureValue><ds:KeyInfo><ds:X509Data><ds:X509Certificate>MIICBTCCAW6gAwIBAgICAP0wDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
    3535MQ0wCwYDVQQLEwRCQURDMRAwDgYDVQQDEwdUZXN0IENBMB4XDTA4MTIxNTE2MzUy 
    3636NFoXDTEzMTIxNDE2MzUyNFowSjEaMBgGA1UEChMRTkRHIFNlY3VyaXR5IFRlc3Qx 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/config/attributeauthority/sitea/attributeCertificateLog/ac.xml.9

    r4718 r4732  
    33    <acInfo> 
    44        <version>1.0</version> 
    5         <holder>/CN=testuser/O=NDG/OU=BADC/OU=Gabriel</holder> 
     5        <holder>/CN=test/O=NDG/OU=BADC</holder> 
    66        <issuer>/CN=AttributeAuthority/O=NDG Security Test/OU=Site A</issuer> 
    77        <issuerName>Site A</issuerName> 
    88        <issuerSerialNumber>253</issuerSerialNumber>  
    9         <userId>/CN=testuser/O=NDG/OU=BADC/OU=Gabriel</userId> 
     9        <userId>/CN=test/O=NDG/OU=BADC</userId> 
    1010        <validity> 
    11             <notBefore>2008 12 24 13 01 00</notBefore>  
    12             <notAfter>2008 12 24 21 01 00</notAfter>  
     11            <notBefore>2009 01 05 09 53 56</notBefore>  
     12            <notAfter>2009 01 05 17 53 56</notAfter>  
    1313        </validity> 
    1414        <attributes> 
     
    3030        <provenance>original</provenance>  
    3131    </acInfo> 
    32 <ds:Signature><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="ds"></ec:InclusiveNamespaces></ds:CanonicalizationMethod><ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod><ds:Reference URI=""><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></ds:Transform><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="xmlns"></ec:InclusiveNamespaces></ds:Transform></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod><ds:DigestValue>hfgFNvWHmL2NhYi5kO5TDmY8ZPI=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>BWoN1pNZpaSHoxyuQlw2PNWYgPOzWzADAE/CEqVAxUPcJenj59UxZVp01DQ0cFZNkeIVlU1dP13Q 
    33 oMaE5gU3lwhMBJKZyXW03mz0M8hVAO9WyKkPzDhsBU4qvld3GWMYwq6JotLkbPToi7BXuOB38y54 
    34 O0pFB07PZP9EZRr9iNE=</ds:SignatureValue><ds:KeyInfo><ds:X509Data><ds:X509Certificate>MIICBTCCAW6gAwIBAgICAP0wDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
     32<ds:Signature><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="ds"></ec:InclusiveNamespaces></ds:CanonicalizationMethod><ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod><ds:Reference URI=""><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></ds:Transform><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="xmlns"></ec:InclusiveNamespaces></ds:Transform></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod><ds:DigestValue>Z7vvhKOXgBjVCyTNYQkYh2ALC58=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>N4D1qNSxlIjxpEiXcJ4b9O5cXyZhuf8gfVhk9GoKPg2tIBlBo2tqJ77dh5ck+k3YfdxwGEdUUwsn 
     33yzv3mToVYF3fy6j10Tv+x6Zea6y3Z5aTxLFF1RkBlnc1KtCeFaOQo8dsGWRg0W0VpCyFMqGS+7bo 
     34JjqY/8FlkA46FWVpjZQ=</ds:SignatureValue><ds:KeyInfo><ds:X509Data><ds:X509Certificate>MIICBTCCAW6gAwIBAgICAP0wDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
    3535MQ0wCwYDVQQLEwRCQURDMRAwDgYDVQQDEwdUZXN0IENBMB4XDTA4MTIxNTE2MzUy 
    3636NFoXDTEzMTIxNDE2MzUyNFowSjEaMBgGA1UEChMRTkRHIFNlY3VyaXR5IFRlc3Qx 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/config/attributeauthority/siteb/attributeCertificateLog/ac.xml

    r4718 r4732  
    77        <issuerName>Site B</issuerName> 
    88        <issuerSerialNumber>254</issuerSerialNumber>  
    9         <userId>/CN=client/O=NDG Security Test/OU=WS-Security Unittest</userId> 
     9        <userId>ndg-user</userId> 
    1010        <validity> 
    11             <notBefore>2008 12 24 14 16 13</notBefore>  
    12             <notAfter>2008 12 24 22 16 13</notAfter>  
     11            <notBefore>2009 01 05 10 01 33</notBefore>  
     12            <notAfter>2009 01 05 18 01 33</notAfter>  
    1313        </validity> 
    1414        <attributes> 
     
    2121        <provenance>mapped</provenance>  
    2222    </acInfo> 
    23 <ds:Signature><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="ds"></ec:InclusiveNamespaces></ds:CanonicalizationMethod><ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod><ds:Reference URI=""><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></ds:Transform><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="xmlns"></ec:InclusiveNamespaces></ds:Transform></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod><ds:DigestValue>kPvbywn06d5ZE79NTPZ7iWbe3+c=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>KWtUguRrX7wOLAZyutTR2mjrHqV2EKBXW1kItbWEkXeSOUH7QTE8OG6iBCRz+yM6qhDjLbTb0fmr 
    24 9DWgJBvlvXXJuTX8GRq8aLZ0+HLis3LHD1FmpDIsBxzmr1ounUFkYhWuuXAX5SoXpSbLhzgfu4pa 
    25 O8jXdA/+Z63si4gprHS89a44Jz159Tgf9SPdXp8udkL2Ll+4kVP508sw7SKCx6A0elOF2B2z42YY 
    26 JZj8VlG3GMvGRLhdIqAhByo8MlNr3Tt0RA54VmLy+63Cp7+svJGq13NVLH9bCDooeTixPp+4xRWP 
    27 LIfbn4m+7iezckg/dc6NXfKZ+FOc/konTAxYMA==</ds:SignatureValue><ds:KeyInfo><ds:X509Data><ds:X509Certificate>MIICiTCCAfKgAwIBAgICAP4wDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
     23<ds:Signature><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="ds"></ec:InclusiveNamespaces></ds:CanonicalizationMethod><ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod><ds:Reference URI=""><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></ds:Transform><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="xmlns"></ec:InclusiveNamespaces></ds:Transform></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod><ds:DigestValue>9vfXGvxpyed5XYWKirgnYSM3LXs=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>LhVW9wSLT0yg3TEIAavUMzmqU3kjTJWsKecTccBk3Vgww6+zASfWcz+klAtEECWu8UQQsCyjqcc8 
     24/pOL6v6tMqpaU/rblbavBjunrpeo+SgoA6cNTtVXeMIuZG4w73jb/f4HMXt15tCZZRLkV8AlPsYp 
     25NwYkwPw071oFsVBuw3kPEYybnu+zM2bHjwZh619j9vt2sZ+v5dRLxcTT1DpOWS9DN4DJi88M3dR8 
     26FHeOjKM96t9LXmprUl93+TxOc0j/Yo/jQ/p51SRiOFGN+6hj6QHGZleSEPObhleme/2qAfwBidOG 
     27xADUYfy+P0PKrcERZngTQq1/t2n8Ebrv7c+EjA==</ds:SignatureValue><ds:KeyInfo><ds:X509Data><ds:X509Certificate>MIICiTCCAfKgAwIBAgICAP4wDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
    2828MQ0wCwYDVQQLEwRCQURDMRAwDgYDVQQDEwdUZXN0IENBMB4XDTA4MTIxNjE0NDQx 
    2929NVoXDTEzMTIxNTE0NDQxNVowSjEaMBgGA1UEChMRTkRHIFNlY3VyaXR5IFRlc3Qx 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/config/attributeauthority/siteb/attributeCertificateLog/ac.xml.1

    r4718 r4732  
    77        <issuerName>Site B</issuerName> 
    88        <issuerSerialNumber>254</issuerSerialNumber>  
    9         <userId>/CN=client/O=NDG Security Test/OU=WS-Security Unittest</userId> 
     9        <userId>ndg-user</userId> 
    1010        <validity> 
    11             <notBefore>2008 12 24 14 16 09</notBefore>  
    12             <notAfter>2008 12 24 22 16 09</notAfter>  
     11            <notBefore>2009 01 05 09 54 15</notBefore>  
     12            <notAfter>2009 01 05 17 54 15</notAfter>  
    1313        </validity> 
    1414        <attributes> 
     
    2121        <provenance>mapped</provenance>  
    2222    </acInfo> 
    23 <ds:Signature><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="ds"></ec:InclusiveNamespaces></ds:CanonicalizationMethod><ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod><ds:Reference URI=""><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></ds:Transform><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="xmlns"></ec:InclusiveNamespaces></ds:Transform></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod><ds:DigestValue>xs5iYwk0gJkJtxqqqk0QXD7+Cy0=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>A0WnE5j/wr/Y3TPYwp6lWfqm414MFKIXZqJ+0MnsI/Us5zPn7epUqq+VR6WiUU/X8AIxFq7mwDyQ 
    24 L+vfd9Oy9ZsevWX9VHutXV3jTpuLI0Hb64C8tRI1t4I4YMaq60OU9660kp6QidWK1eRtW3h6EmoY 
    25 VXBBhVkhtlCrTBXXrJs3ZukA63BtR8hdM1LZxec1cFURalua3DjUqCoocUDlwubJFUQx5ZLNxgW2 
    26 ECPn+64RrIH3HqaB5h8Ga5USmExXfYMf4/VQCVebC+72snggb6fbdEeI9Q+p/UOza1VQJittzxB5 
    27 4vprMVOlcXL9sZzi8P6ggmdIeYwJrocqpj6mpA==</ds:SignatureValue><ds:KeyInfo><ds:X509Data><ds:X509Certificate>MIICiTCCAfKgAwIBAgICAP4wDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
     23<ds:Signature><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="ds"></ec:InclusiveNamespaces></ds:CanonicalizationMethod><ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod><ds:Reference URI=""><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></ds:Transform><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="xmlns"></ec:InclusiveNamespaces></ds:Transform></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod><ds:DigestValue>Ca5ABCrs5mUauTZ6sX0lyCeAcXY=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>Wd4Q+aG7Jq8r+Yw4V4ySeZNQljxT+lpfpoDlM2w3wp3TsZpLhzXPdnZoyijmVLArITRZNwUUFDsp 
     24Hzcsv9FGtUUp26owpSSBH8VWbCKX1+nUpfuIzv6KIScKtJyONn03D6f9QdHPH0O8Y2dIHbQ6T43i 
     25oExzNQ7XywB2ld2pjeCs27B4/uNwvZoFjJI5fJHMsa+kMFaLTjugwu1PT/mmfL2AkY0wWuvNAYH3 
     26vBfenKOKKChjb69Qdbe2Wnnz37pizFXTxXSWvxxw48+Y0A2zfENI+K2SPOeReri0rcTYqXvh9B4L 
     27d6+Qzhh9AUT8OX3t0ZJ95YEOApVhyPqTyWapmQ==</ds:SignatureValue><ds:KeyInfo><ds:X509Data><ds:X509Certificate>MIICiTCCAfKgAwIBAgICAP4wDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
    2828MQ0wCwYDVQQLEwRCQURDMRAwDgYDVQQDEwdUZXN0IENBMB4XDTA4MTIxNjE0NDQx 
    2929NVoXDTEzMTIxNTE0NDQxNVowSjEaMBgGA1UEChMRTkRHIFNlY3VyaXR5IFRlc3Qx 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/config/attributeauthority/siteb/attributeCertificateLog/ac.xml.2

    r4718 r4732  
    77        <issuerName>Site B</issuerName> 
    88        <issuerSerialNumber>254</issuerSerialNumber>  
    9         <userId>/CN=client/O=NDG Security Test/OU=WS-Security Unittest</userId> 
     9        <userId>ndg-user</userId> 
    1010        <validity> 
    11             <notBefore>2008 12 24 14 14 54</notBefore>  
    12             <notAfter>2008 12 24 22 14 54</notAfter>  
     11            <notBefore>2009 01 05 09 53 13</notBefore>  
     12            <notAfter>2009 01 05 17 53 13</notAfter>  
    1313        </validity> 
    1414        <attributes> 
     
    2121        <provenance>mapped</provenance>  
    2222    </acInfo> 
    23 <ds:Signature><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="ds"></ec:InclusiveNamespaces></ds:CanonicalizationMethod><ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod><ds:Reference URI=""><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></ds:Transform><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="xmlns"></ec:InclusiveNamespaces></ds:Transform></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod><ds:DigestValue>PqzBU1fwYalgL7TH9R61MygkdPQ=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>S4ZAprwMVWEMIA+1laA0VGy5N8KDT4QqZZwoToxsJ2crd7UCdpiZl8VZPDu60R0PojXsKRGlodnW 
    24 dgunMdTkOSzx0MhNOkqU/aXa8Sq2z2g4Dw0HaznuLscVZ+6tp03+w3cjJexdT/gwyxoKSG4M86LO 
    25 dtHIB+XVW5KpG8DFAVikqt53IgmqwofMqZhYuUWM05OKLmuVUG1DwQyZ2fJTYRRyxuzTBIeiAFxT 
    26 BBZsMTltLVFoDAElQbqQSQFwk9zpCi++pq4iNEgq4k1vIeBzn5KdZiNIW9JNOVzlxuRZ8ei68++S 
    27 wqDD2RpFUyEv2XgZ3Wc1ksJd7mug7asbjLmXYw==</ds:SignatureValue><ds:KeyInfo><ds:X509Data><ds:X509Certificate>MIICiTCCAfKgAwIBAgICAP4wDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
     23<ds:Signature><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="ds"></ec:InclusiveNamespaces></ds:CanonicalizationMethod><ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod><ds:Reference URI=""><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></ds:Transform><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="xmlns"></ec:InclusiveNamespaces></ds:Transform></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod><ds:DigestValue>clmcYS0ygZp9hdaX44DNNSicm6I=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>kSUL9WUNHjEMD4hJUD9NbBLcXff1hUPgzhozQIu+lSoL10AeK0n9TH+zUDLBCTifGrfqYFTn0clK 
     244fWJ8e2Uw6JEiVZcUrQ/VPCMObskBuhvXoVWNQfCrgA8uFS3u0d8MVDmhW7EyyeQejBkbXXXSwGY 
     25GgQ1+EQL2ht7bjDiFKTRXsFPS8pHre+IFNNUkZsajuOFGOUe4UR6c+JTCLWRtNkm6gPU8RWUZY1u 
     26vML6dw6w2wWAPa8Od99BJrn+vcMhijkCnw8BG3+N8SqhvtIr0d+S4UqBYTSo4Dt9kOr9/vOIBImJ 
     27KDOgz+/2zNwbFH1n4chw+iVWGSGOxTPxoU+zww==</ds:SignatureValue><ds:KeyInfo><ds:X509Data><ds:X509Certificate>MIICiTCCAfKgAwIBAgICAP4wDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
    2828MQ0wCwYDVQQLEwRCQURDMRAwDgYDVQQDEwdUZXN0IENBMB4XDTA4MTIxNjE0NDQx 
    2929NVoXDTEzMTIxNTE0NDQxNVowSjEaMBgGA1UEChMRTkRHIFNlY3VyaXR5IFRlc3Qx 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/config/attributeauthority/siteb/attributeCertificateLog/ac.xml.3

    r4718 r4732  
    77        <issuerName>Site B</issuerName> 
    88        <issuerSerialNumber>254</issuerSerialNumber>  
    9         <userId>/CN=client/O=NDG Security Test/OU=WS-Security Unittest</userId> 
     9        <userId>ndg-user</userId> 
    1010        <validity> 
    11             <notBefore>2008 12 24 14 14 50</notBefore>  
    12             <notAfter>2008 12 24 22 14 50</notAfter>  
     11            <notBefore>2009 01 05 09 50 36</notBefore>  
     12            <notAfter>2009 01 05 17 50 36</notAfter>  
    1313        </validity> 
    1414        <attributes> 
     
    2121        <provenance>mapped</provenance>  
    2222    </acInfo> 
    23 <ds:Signature><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="ds"></ec:InclusiveNamespaces></ds:CanonicalizationMethod><ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod><ds:Reference URI=""><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></ds:Transform><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="xmlns"></ec:InclusiveNamespaces></ds:Transform></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod><ds:DigestValue>BhmyXVt81EwRT2YR603sxsyIFfQ=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>j0YCUJTqZFQZBmQkTsoGQ4rInSmSQ1UbgySXqXdQ0Ai7BdQ58vc2K2RuXs4QwfH9SFP13UBJ5reO 
    24 Fg8n1wKXE+7uNqk5RF0dkvVanTnk1ldfOQIQs7c9cbc44svTFMKMKNYPLAORjAFHjilyK4erbpoY 
    25 +kqcOgnCp/5DAAn4sckGyZaUUYVGpfBXpWdWsXman2NXzFQ2xAXtAirLQtdtbGdrcsSQcV2/SFXe 
    26 NI2rJhUuYz8uffOUPwmWcIzXafDLshbXJcjVMsURrlmsOMLnA10cXPkEdpr3wiG3ZPwJTke5mXPB 
    27 QuH1Yqc3mWBp8ytsB2ChhDKibH94+MlyBCkBdg==</ds:SignatureValue><ds:KeyInfo><ds:X509Data><ds:X509Certificate>MIICiTCCAfKgAwIBAgICAP4wDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
     23<ds:Signature><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="ds"></ec:InclusiveNamespaces></ds:CanonicalizationMethod><ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod><ds:Reference URI=""><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></ds:Transform><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="xmlns"></ec:InclusiveNamespaces></ds:Transform></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod><ds:DigestValue>eGpWwM9fkbtmp84wh+7qkvw2BIA=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>kiAOe2CilH8KYZ3MMLJ9Thi7W1FGhqSmiFLzYPyj0TuzLKKjfhxLAxUaWSWmbJNGLGulmaTgU1/W 
     24/7hMv3ZwOJezK/6zEUPeVNdvtTCgKFhG4h2wc/Xs1Wx3mH7n2gh2SqYftC4HDu2NKjC4g3xHOPtD 
     256YzXhF8ZvCakyXvZx+4vNSRl1t3WllcipBUSuG+8+9as3XEdQ4ge/ke+NQEMw7L9vy66o0hxpen6 
     26351C+q+vrnQDiF/PQmuzf+q/sdbVtM5uOKtu0DKLVNPfO4A8gA7o+qYbaEJTTRGNfeAflFQYJv08 
     27Y2PT4nhvzG0bmn3jTWeE9+qe8i6NDswk45HS8w==</ds:SignatureValue><ds:KeyInfo><ds:X509Data><ds:X509Certificate>MIICiTCCAfKgAwIBAgICAP4wDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
    2828MQ0wCwYDVQQLEwRCQURDMRAwDgYDVQQDEwdUZXN0IENBMB4XDTA4MTIxNjE0NDQx 
    2929NVoXDTEzMTIxNTE0NDQxNVowSjEaMBgGA1UEChMRTkRHIFNlY3VyaXR5IFRlc3Qx 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/config/attributeauthority/siteb/attributeCertificateLog/ac.xml.4

    r4718 r4732  
    33    <acInfo> 
    44        <version>1.0</version> 
    5         <holder>/CN=testuser/O=NDG/OU=BADC/OU=Gabriel</holder> 
     5        <holder>/CN=client/O=NDG Security Test/OU=WS-Security Unittest</holder> 
    66        <issuer>/CN=AttributeAuthority/O=NDG Security Test/OU=Site B</issuer> 
    77        <issuerName>Site B</issuerName> 
    88        <issuerSerialNumber>254</issuerSerialNumber>  
    9         <userId>/CN=testuser/O=NDG/OU=BADC/OU=Gabriel</userId> 
     9        <userId>ndg-user</userId> 
    1010        <validity> 
    11             <notBefore>2008 12 24 13 03 20</notBefore>  
    12             <notAfter>2008 12 24 21 03 20</notAfter>  
     11            <notBefore>2009 01 05 09 08 20</notBefore>  
     12            <notAfter>2009 01 05 17 08 20</notAfter>  
    1313        </validity> 
    1414        <attributes> 
     
    2121        <provenance>mapped</provenance>  
    2222    </acInfo> 
    23 <ds:Signature><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="ds"></ec:InclusiveNamespaces></ds:CanonicalizationMethod><ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod><ds:Reference URI=""><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></ds:Transform><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="xmlns"></ec:InclusiveNamespaces></ds:Transform></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod><ds:DigestValue>IoGz2+LA8NfPk4VMmBQYdqA6LTw=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>P+jedKm9qAbCIqFtHICieKj5uD27fXszAW7a6EwPnviGtaHq7hEyBOXDz6bTwsZqXPmGjOupSxik 
    24 Oka8Rq6e5ibb/+fj06Ez3lJUYYuFoJvhjz1tFFHYlvAJwmybUXpjRGye37Sci6h7mHgd9q1oiZUY 
    25 w/WXzfHW11c24Zlvpw1DXUhPw7rzKX4I/UIo2sOthU8sDoEFLIVbhnh9NSh7s379u7Ort58BwlP0 
    26 cS2JClqvDvMehas0t2f8OF5jQHNAGRxuEGdDdK93UuP9DBws1jl/lbih3LBViFSxYQ/fXKN0mRhE 
    27 SpL0ll/XIyA2/NlrxxtqGIoFzUAiGGUBBsu5gA==</ds:SignatureValue><ds:KeyInfo><ds:X509Data><ds:X509Certificate>MIICiTCCAfKgAwIBAgICAP4wDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
     23<ds:Signature><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="ds"></ec:InclusiveNamespaces></ds:CanonicalizationMethod><ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod><ds:Reference URI=""><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></ds:Transform><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"><ec:InclusiveNamespaces PrefixList="xmlns"></ec:InclusiveNamespaces></ds:Transform></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod><ds:DigestValue>v9cjB7IVq5zBpdabwZmXw84r5sM=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>EJ3gkhbUE39yqshgZsmD/GoJoyt0YVsau8zb6BDnA1D0qEMHUOGE0i6ACxTL64NtdHUzzYjFMinr 
     24H98do0A9NjnBE2/pfVJ/eKUuGoBKU3pp6vUXDCVrO0hZvY+75roAlXXdPtyxCki9SLNwt8fXp3vM 
     25CZBKsZ6839szoCLknZJ8YCBuGiq9NCA+bGeuciweypTD4vW9yFVidpYx4WnjmkOEvVtM+FaKb8jz 
     26voUaLr0N08dM3H90U1g1Kj2ZE4izkj75ZRcJWH2ftnn8yok11HG6YCTDnkt+dXRSuhCI6o4NGNSn 
     27uSkV8/6MfWum9Oil99EHLGoq2N4mx4XKB39sYA==</ds:SignatureValue><ds:KeyInfo><ds:X509Data><ds:X509Certificate>MIICiTCCAfKgAwIBAgICAP4wDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
    2828MQ0wCwYDVQQLEwRCQURDMRAwDgYDVQQDEwdUZXN0IENBMB4XDTA4MTIxNjE0NDQx 
    2929NVoXDTEzMTIxNTE0NDQxNVowSjEaMBgGA1UEChMRTkRHIFNlY3VyaXR5IFRlc3Qx 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/credentialwallet/credWallet.cfg

    r4713 r4732  
    1616 
    1717# CA certificates for Attribute Certificate signature validation 
    18 caCertFilePathList=%(here)s/ca/ndg-test-ca.crt 
     18caCertFilePathList=$NDGSEC_UNITTEST_CONFIG_DIR/ca/ndg-test-ca.crt 
    1919 
    2020# CA certificates for SSL connection peer cert. validation 
    21 sslCACertFilePathList=%(here)s/ca/ndg-test-ca.crt 
     21sslCACertFilePathList=$NDGSEC_UNITTEST_CONFIG_DIR/ca/ndg-test-ca.crt 
    2222 
    2323# See attAuthority unit tests to get this service running 
     
    5151# method will add this to the BinarySecurityToken element of the WSSE header.   
    5252# binSecTokValType attribute must be set to 'X509' or 'X509v3' ValueType.   
    53 wssecurity.signingCertFilePath=%(here)s/clnt.crt 
     53wssecurity.signingCertFilePath=$NDGSEC_UNITTEST_CONFIG_DIR/pki/wsse-clnt.crt 
    5454 
    5555# ... or provide file path to PEM encoded private key file 
    56 wssecurity.signingPriKeyFilePath=$NDGSEC_CREDWALLET_UNITTEST_DIR/clnt.key 
     56wssecurity.signingPriKeyFilePath=$NDGSEC_UNITTEST_CONFIG_DIR/pki/wsse-clnt.key 
    5757 
    5858# Password protecting private key.  Leave blank if there is no password. 
     
    8080 
    8181# Provide a space separated list of file paths 
    82 wssecurity.caCertFilePathList=$NDGSEC_CREDWALLET_UNITTEST_DIR/ca/ndg-test-ca.crt  
     82wssecurity.caCertFilePathList=$NDGSEC_UNITTEST_CONFIG_DIR/ca/ndg-test-ca.crt  
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/credentialwallet/credWalletTest.cfg

    r4680 r4732  
    2121 
    2222[test07GetAttCertFromLocalAAInstance] 
    23 attributeAuthorityPropFilePath=$NDGSEC_CREDWALLET_UNITTEST_DIR/siteAAttributeAuthority/siteA-aa.cfg 
     23attributeAuthorityPropFilePath=$NDGSEC_UNITTEST_CONFIG_DIR/attributeauthority/sitea/siteAAttributeAuthority.cfg 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/credentialwallet/test_credentialwallet.py

    r4680 r4732  
    1717import traceback 
    1818 
     19from ndg.security.test import BaseTestCase 
     20 
    1921from ndg.security.common.utils.configfileparsers import \ 
    2022                                                    CaseSensitiveConfigParser 
     
    3234 
    3335 
    34 class CredentialWalletTestCase(unittest.TestCase): 
     36class CredentialWalletTestCase(BaseTestCase): 
    3537    """Unit test case for ndg.security.common.credentialwallet.CredentialWallet 
    3638    class. 
     
    3840     
    3941    def setUp(self): 
     42        super(CredentialWalletTestCase, self).setUp() 
    4043         
    4144        if 'NDGSEC_INT_DEBUG' in os.environ: 
     
    5154                                "credWalletTest.cfg") 
    5255        self.cfg.read(configFilePath) 
     56 
     57        self.userX509CertFilePath=self.cfg.get('setUp', 'userX509CertFilePath') 
     58        self.userPriKeyFilePath=self.cfg.get('setUp', 'userPriKeyFilePath') 
    5359         
    5460 
     
    7480         
    7581        credWallet = CredentialWallet() 
    76         credWallet.userX509Cert = \ 
    77 '''-----BEGIN CERTIFICATE----- 
    78 MIICazCCAdSgAwIBAgICAPcwDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
    79 MQ0wCwYDVQQLEwRCQURDMRAwDgYDVQQDEwdUZXN0IENBMB4XDTA4MDEwNDEwMTk0 
    80 N1oXDTA5MDEwMzEwMTk0N1owLDEMMAoGA1UEChMDTkRHMQ0wCwYDVQQLEwRCQURD 
    81 MQ0wCwYDVQQDEwR0ZXN0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA 
    82 rpbuNUHWVRwhjHzhTOdym+fcZdmD7HbaeoFdef2V//Wj41xMieMZy9XQft2dFBDY 
    83 ZIHLElojVhZTHoowMkwXxsmLt7hZF8fL7j3ssU/lflM9E0Uk2dZxaAt97zXEruEH 
    84 JoNqHTEQlH0qMALfuUrAaZEIXHDdTQDNRJl4oXvjJWaqS8Y5Je8QREThIE5hRd9F 
    85 oUlgfMNNnwzLyIH7s0KBci2yryeubAG/Qig5LkulbpnhxYLCcLvs3THQ3kO5qYYb 
    86 B0g11YOBgshZ0SpNwEEyhDzHUt3Ii2XmAh25/II08BR61fhMZvSJ/tVGJY4HfWG7 
    87 B4PZzYwo5vn/tYH1mk7w5QIDAQABoxUwEzARBglghkgBhvhCAQEEBAMCBPAwDQYJ 
    88 KoZIhvcNAQEEBQADgYEAFKEdr2FwlposAGRDHBMX9d48TKm1gXzOMEvReTYIaq46 
    89 aMpDDuApsbjpRqohvKIrngGa2e1p81tOTL5kbuusNjcNsagXkNgeO6qcGZCly/Bl 
    90 9Kxfynaned5jmgWgoxJP7VtOynvlLqJfrS/cEwOWDYpyPjJDRx2cZgEd3P4WfYI= 
    91 -----END CERTIFICATE----- 
    92 ''' 
     82        credWallet.userX509Cert=open(xpdVars(self.userX509CertFilePath)).read() 
    9383        print("userX509Cert=%s" % credWallet.userX509Cert) 
    9484        credWallet.userId = 'ndg-user' 
     
    111101        credWallet.rtnExtAttCertList = True 
    112102        credWallet.attCertRefreshElapse = 7200 
     103      
    113104             
    114105    def test03GetAttCertWithUserId(self): 
     
    120111        # user ID should be the same as that set for the wallet 
    121112        assert(attCert.userId == credWallet.userId) 
    122         print "Attribute Certificate:\n%s" % attCert 
     113        print("Attribute Certificate:\n%s" % attCert) 
    123114         
    124115    def test04GetAttCertWithUserX509Cert(self): 
     
    128119        # Set a test individual user certificate to override the client  
    129120        # cert. and private key in WS-Security settings in the config file 
    130         credWallet.userX509Cert = """ 
    131 -----BEGIN CERTIFICATE----- 
    132 MIICazCCAdSgAwIBAgICAPcwDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
    133 MQ0wCwYDVQQLEwRCQURDMRAwDgYDVQQDEwdUZXN0IENBMB4XDTA4MDEwNDEwMTk0 
    134 N1oXDTA5MDEwMzEwMTk0N1owLDEMMAoGA1UEChMDTkRHMQ0wCwYDVQQLEwRCQURD 
    135 MQ0wCwYDVQQDEwR0ZXN0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA 
    136 rpbuNUHWVRwhjHzhTOdym+fcZdmD7HbaeoFdef2V//Wj41xMieMZy9XQft2dFBDY 
    137 ZIHLElojVhZTHoowMkwXxsmLt7hZF8fL7j3ssU/lflM9E0Uk2dZxaAt97zXEruEH 
    138 JoNqHTEQlH0qMALfuUrAaZEIXHDdTQDNRJl4oXvjJWaqS8Y5Je8QREThIE5hRd9F 
    139 oUlgfMNNnwzLyIH7s0KBci2yryeubAG/Qig5LkulbpnhxYLCcLvs3THQ3kO5qYYb 
    140 B0g11YOBgshZ0SpNwEEyhDzHUt3Ii2XmAh25/II08BR61fhMZvSJ/tVGJY4HfWG7 
    141 B4PZzYwo5vn/tYH1mk7w5QIDAQABoxUwEzARBglghkgBhvhCAQEEBAMCBPAwDQYJ 
    142 KoZIhvcNAQEEBQADgYEAFKEdr2FwlposAGRDHBMX9d48TKm1gXzOMEvReTYIaq46 
    143 aMpDDuApsbjpRqohvKIrngGa2e1p81tOTL5kbuusNjcNsagXkNgeO6qcGZCly/Bl 
    144 9Kxfynaned5jmgWgoxJP7VtOynvlLqJfrS/cEwOWDYpyPjJDRx2cZgEd3P4WfYI= 
    145 -----END CERTIFICATE----- 
    146 """ 
    147         credWallet.userPriKey = """ 
    148 -----BEGIN RSA PRIVATE KEY----- 
    149 MIIEowIBAAKCAQEArpbuNUHWVRwhjHzhTOdym+fcZdmD7HbaeoFdef2V//Wj41xM 
    150 ieMZy9XQft2dFBDYZIHLElojVhZTHoowMkwXxsmLt7hZF8fL7j3ssU/lflM9E0Uk 
    151 2dZxaAt97zXEruEHJoNqHTEQlH0qMALfuUrAaZEIXHDdTQDNRJl4oXvjJWaqS8Y5 
    152 Je8QREThIE5hRd9FoUlgfMNNnwzLyIH7s0KBci2yryeubAG/Qig5LkulbpnhxYLC 
    153 cLvs3THQ3kO5qYYbB0g11YOBgshZ0SpNwEEyhDzHUt3Ii2XmAh25/II08BR61fhM 
    154 ZvSJ/tVGJY4HfWG7B4PZzYwo5vn/tYH1mk7w5QIDAQABAoIBAQCQdxly/iBxWo60 
    155 Jh1zukxOj4QCzwLnps1P8z27FMeK/eJ33scCjeWpkios4An7MZktSW0UqXt135E1 
    156 wxjwdaBzABDZm/Q0xkGLyLfTXI5EgnIWQO+mRVifxGqXhsFSB6gYCUPEFfZnOE6x 
    157 XZ9sPluKvtTRUR79eb1glzGHRfEF31eBQdPkATA011twBNL3ApULxjlnFBch1LXD 
    158 lldbYb9wWV9Bcl9ftJ7Sr4kJ7gqiETWRgKuyMMwGfhIrr8PXB/oq9VOAGg+XSQQY 
    159 +0sm1URfh/N5Q7ES+dgOR4MTCn8LUFW859OqY5QZidqDxg/fTNNt6znx0FZcGfbd 
    160 oDJV6Oc9AoGBAOgjNePWgxiDYJohNWATs7fUXvT4cGrR6TdJKXd3T8bVp+AO94au 
    161 vM9iOZiCfQNRxGYHA25EfwflaF3yKLOvlsK7k1ewRvQ4Hqi/MRyRxIhPmLYCkavl 
    162 FOKHV3UeLItpRJMzjU4OBq2k1g3uC22ZYWWXFaYmP+KSW5ICq0v8M4SfAoGBAMCJ 
    163 UqbPP8MPht36P43dZJDX+GlPlhWcXrWCD0ePX0wExEBeg+M0GqHTWrz4OwSzHTY0 
    164 XPwPqm2kEICIhHyK/BSZ09CMOdHwUc3gRZULCrSnTkEcJY+XY9IftYcVXIL2xFfx 
    165 qXqiLe7Le7p2mscSKXUM4uE4Vz16JHDE3Kh3Gnf7AoGAdi2WvcrzKoOXpl/JoIPn 
    166 NmrzfJsOABOlOvQQHDWtc3hJ4pM8CGDk1l8XG0EzC4GRDq/7WyOb2BU+MLWbav61 
    167 LaX4uOeQ97uqQBY1lmnPN+XtxJtCNdSF8V0ddQ5Ldx28P4Q7J8WUOMp1/tl1D/LJ 
    168 1sI3z0Ihu+Luo0Kgmipmv9kCgYB+eTZL0RQHZCmpovsgi2/GHbhWJStnosIr5PV4 
    169 gluNKgxoZC2qj812w8l1HHJYUfg8ZQU3pmrDfuRAKm0tCncwaSPUeGh62axC2rGa 
    170 iBhONyCWcJDT1BSEMMQjqgqNFOBBDMPRhLs7g3sRL1vYrLuC4iYe382e2p8ZXJe+ 
    171 Kg6/BQKBgDlFDM9m/9A11PIlh/ir0KXUqtPA1q+Hn629BRsbbsH2HW+kj018RLT+ 
    172 SgRwhrqFtF5HCMXEh0ez/RyHHoMiVnan9jpLtGEdE8ojJnISjvkIyLUCCJdq8HYC 
    173 25UDHqKuoqHBiXWazfZ6MOlcIm6vp1FpVDygu59JHPROMxW+BAg/ 
    174 -----END RSA PRIVATE KEY----- 
    175 """ 
     121        credWallet.userX509Cert=open(xpdVars(self.userX509CertFilePath)).read() 
     122        credWallet.userPriKey=open(xpdVars(self.userPriKeyFilePath)).read() 
    176123        attCert = credWallet.getAttCert() 
    177124         
     
    179126        # userId field of the resulting Attribute Certificate 
    180127        assert(attCert.userId == str(credWallet.userX509Cert.dn)) 
    181         print "Attribute Certificate:\n%s" % attCert 
     128        print("Attribute Certificate:\n%s" % attCert) 
    182129          
    183130 
     
    190137        credWallet = CredentialWallet(cfg=self.cfg.get('setUp', 'cfgFilePath'), 
    191138                                      mapFromTrustedHosts=False)     
    192         credWallet.userX509CertFilePath = self.cfg.get('setUp', 
    193                                                        'userX509CertFilePath') 
    194         credWallet.userPriKeyFilePath = self.cfg.get('setUp', 
    195                                                      'userPriKeyFilePath') 
     139        credWallet.userX509CertFilePath = self.userX509CertFilePath 
     140        credWallet.userPriKeyFilePath = self.userPriKeyFilePath 
    196141         
    197142        # Set AA URI AFTER user PKI settings so that these are picked in the 
     
    202147            attCert = credWallet.getAttCert() 
    203148        except CredentialWalletAttributeRequestDenied, e: 
    204             print "SUCCESS - obtained expected result: %s" % e 
     149            print("SUCCESS - obtained expected result: %s" % e) 
    205150            return 
    206151         
     
    229174        credWallet = CredentialWallet(cfg=self.cfg.get('setUp', 'cfgFilePath')) 
    230175        credWallet.attributeAuthority = AttributeAuthority( 
    231                                             propFilePath=aaPropFilePath, 
    232                                             propPrefix='attributeAuthority') 
     176                                            propFilePath=aaPropFilePath) 
    233177        attCert = credWallet.getAttCert() 
    234178         
     
    236180        # user ID should be the same as that set for the wallet 
    237181        assert(attCert.userId == credWallet.userId) 
    238         print "Attribute Certificate:\n%s" % attCert   
     182        print("Attribute Certificate:\n%s" % attCert)   
    239183                                                          
    240184if __name__ == "__main__": 
Note: See TracChangeset for help on using the changeset viewer.