python/ndg.security.server/ndg/security/server/AttAuthority/server-config.tac:
Working soap_getAttCert and soap_getX509Cert. Added ndg.common.X509 imports.
python/ndg.security.server/ndg/security/server/AttAuthority/init.py:
- allow ndg.common.X509 type input for getAttCert
- fixes to getAttCert for new XMLSecDoc code usedto sign Attribute Certificate
python/conf/attAuthorityProperties.xml: "attCertLifeTime" -> "attCertLifetime"
python/ndg.security.test/ndg/security/test/AttAuthority/AttAuthorityClientTest.py:
fix to testGetAttCert to correctly print output
python/ndg.security.test/ndg/security/test/AttAuthority/attAuthorityProperties.xml:
properties file for test harness - fix "attCertLifeTime" -> "attCertLifetime"
python/ndg.security.test/ndg/security/test/MyProxy/myProxyClientTest.cfg:
swap username for tests.
python/ndg.security.common/ndg/security/common/XMLSec.py:
- Added code to correctly parse certificate from ds:X509Certificate element of
signature.
- replaced calls to getAttributeNodeNS with getAttributeNode as former was
returning None for some attributes?! getAttributeNode seems to be the more
correct call.
python/ndg.security.common/ndg/security/common/X509.py:
- Fix so that new X509Cert object can be created from an M2Crypto one with the
m2CryptoX509 keyword to init. Also see method setFromM2Crypto.
- Renamed to asString to toString in line with convention for other classes.
- Added property "verifyingCert"
python/ndg.security.common/ndg/security/common/SQLObject.py:
- fixed reference to attCert string conversion - do as implicit call to
AttCert?.str