source: TI12-security/trunk/python/ndg.security.common/ndg/security/common/ca/CertificateAuthority_services_types.py @ 2136

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/python/ndg.security.common/ndg/security/common/ca/CertificateAuthority_services_types.py@2136
Revision 2136, 5.7 KB checked in by pjkersha, 13 years ago (diff)

python/ndg.security.server/setup.py:

  • comment out Twisted from install - won't do egg install
  • updated long description

python/ndg.security.server/ndg/security/server/AttAuthority/server-config.tac:

  • added verifyingCertFilePath keyword to SignatureHandler? initialisation
  • added SSL capability

python/conf/attAuthorityProperties.xml,
python/ndg.security.test/ndg/security/test/AttAuthority/siteAAttAuthorityProperties.xml,
python/ndg.security.test/ndg/security/test/AttAuthority/siteBAttAuthorityProperties.xml,
python/ndg.security.server/ndg/security/server/AttAuthority/init.py:
added element names for reading SSL settings from properties file.

python/ndg.security.server/ndg/security/server/SessionMgr/server-config.tac:
added verifyingCertFilePath keyword to SignatureHandler? initialisation

python/conf/sessionMgrProperties.xml,
python/ndg.security.test/ndg/security/test/SessionMgr/sessionMgrProperties.xml,
python/ndg.security.server/ndg/security/server/SessionMgr/init.py:
added clntCertFile properties file element name for setting certificate for
verifying incoming SOAP messages.

python/ndg.security.server/ndg/security/server/SessionMgr/Makefile:
corrected typo.

python/ndg.security.server/ndg/security/server/MyProxy.py:
Put OpenSSLConfig and OpenSSLConfigError classes into their own package
'openssl' so that they can also be used by the Certificate Authority client.

python/www/html/certificateAuthority.wsdl,
python/ndg.security.server/ndg/security/server/ca/CertificateAuthority_services_server.py,
python/ndg.security.common/ndg/security/common/ca/CertificateAuthority_services_types.py,
python/ndg.security.common/ndg/security/common/ca/CertificateAuthority_services.py: updated operations to issueCert, revokeCert and getCRL.

python/ndg.security.test/ndg/security/test/AttAuthority/attAuthorityClientTest.cfg: changed address of service to connect to.

python/ndg.security.test/ndg/security/test/SessionMgr/sessionMgrClientTest.cfg:
alternative username connection settings

python/ndg.security.common/ndg/security/common/AttAuthority/init.py:
fixed typos in error message and comments.

ython/ndg.security.common/ndg/security/common/XMLSec.py: changed call to
getAttributeNodeNS to getAttributeNode for retrieving reference element URI
attribute.

python/ndg.security.common/ndg/security/common/ca/init.py: code for
Certificate Authority client

python/ndg.security.common/ndg/security/common/wsSecurity.py:

  • tidied up imports
  • added properties for setting keywords to reference and SignedInfo? C14N
  • changed sign method so that it is truely configurable allow use of inclusive or exclusive C14N based on the keywords set for reference and SignedInfo? C14N calls.
  • swapped calls to getAttributeNodeNS with getAttributeNode where appropriate.

java/DEWS/AttAuthority/appClientModule/META-INF/ibm-webservicesclient-bnd.xmi,
java/DEWS/AttAuthority/build/classes/META-INF/ibm-webservicesclient-bnd.xmi:
updated to that request generator correctly places X.509 cert in
BinarySecurityToken? element.

java/DEWS/AttAuthority/appClientModule/Main.java,
java/DEWS/AttAuthority/appClientjava/DEWS/AttAuthority/appClientModule/META-INF/ibm-webservicesclient-bnd.xmiModule/Main.java:
include calls to getX509Cert and getAttCert methods.

java/DEWS/SessionMgr/build/classes/META-INF/ibm-webservicesclient-bnd.xmi,
java/DEWS/SessionMgr/appClientModule/META-INF/ibm-webservicesclient-bnd.xmi:
updates for testing Session MAnager client

java/DEWS/SessionMgr/appClientModule/Main.java: switched username setting.

Line 
1##################################################
2# CertificateAuthority_services_types.py
3# generated by ZSI.generate.wsdl2python
4##################################################
5
6
7import ZSI
8import ZSI.TCcompound
9from ZSI.schema import LocalElementDeclaration, ElementDeclaration, TypeDefinition, GTD, GED
10from ZSI.generate.pyclass import pyclass_type
11
12##############################
13# targetNamespace
14# urn:ndg:security:ca
15##############################
16
17class ns0:
18    targetNamespace = "urn:ndg:security:ca"
19
20    class issueCert_Dec(ZSI.TCcompound.ComplexType, ElementDeclaration):
21        literal = "issueCert"
22        schema = "urn:ndg:security:ca"
23        def __init__(self, **kw):
24            ns = ns0.issueCert_Dec.schema
25            TClist = [ZSI.TC.String(pname="x509CertReq", aname="_x509CertReq", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
26            kw["pname"] = ("urn:ndg:security:ca","issueCert")
27            kw["aname"] = "_issueCert"
28            self.attribute_typecode_dict = {}
29            ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
30            class Holder:
31                __metaclass__ = pyclass_type
32                typecode = self
33                def __init__(self):
34                    # pyclass
35                    self._x509CertReq = None
36                    return
37            Holder.__name__ = "issueCert_Holder"
38            self.pyclass = Holder
39
40    class issueCertResponse_Dec(ZSI.TCcompound.ComplexType, ElementDeclaration):
41        literal = "issueCertResponse"
42        schema = "urn:ndg:security:ca"
43        def __init__(self, **kw):
44            ns = ns0.issueCertResponse_Dec.schema
45            TClist = [ZSI.TC.String(pname="x509Cert", aname="_x509Cert", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
46            kw["pname"] = ("urn:ndg:security:ca","issueCertResponse")
47            kw["aname"] = "_issueCertResponse"
48            self.attribute_typecode_dict = {}
49            ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
50            class Holder:
51                __metaclass__ = pyclass_type
52                typecode = self
53                def __init__(self):
54                    # pyclass
55                    self._x509Cert = None
56                    return
57            Holder.__name__ = "issueCertResponse_Holder"
58            self.pyclass = Holder
59
60    class revokeCert_Dec(ZSI.TCcompound.ComplexType, ElementDeclaration):
61        literal = "revokeCert"
62        schema = "urn:ndg:security:ca"
63        def __init__(self, **kw):
64            ns = ns0.revokeCert_Dec.schema
65            TClist = [ZSI.TC.String(pname="x509Cert", aname="_x509Cert", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
66            kw["pname"] = ("urn:ndg:security:ca","revokeCert")
67            kw["aname"] = "_revokeCert"
68            self.attribute_typecode_dict = {}
69            ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
70            class Holder:
71                __metaclass__ = pyclass_type
72                typecode = self
73                def __init__(self):
74                    # pyclass
75                    self._x509Cert = None
76                    return
77            Holder.__name__ = "revokeCert_Holder"
78            self.pyclass = Holder
79
80    class revokeCertResponse_Dec(ZSI.TCcompound.ComplexType, ElementDeclaration):
81        literal = "revokeCertResponse"
82        schema = "urn:ndg:security:ca"
83        def __init__(self, **kw):
84            ns = ns0.revokeCertResponse_Dec.schema
85            TClist = []
86            kw["pname"] = ("urn:ndg:security:ca","revokeCertResponse")
87            kw["aname"] = "_revokeCertResponse"
88            self.attribute_typecode_dict = {}
89            ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
90            class Holder:
91                __metaclass__ = pyclass_type
92                typecode = self
93                def __init__(self):
94                    # pyclass
95                    return
96            Holder.__name__ = "revokeCertResponse_Holder"
97            self.pyclass = Holder
98
99    class getCRL_Dec(ZSI.TCcompound.ComplexType, ElementDeclaration):
100        literal = "getCRL"
101        schema = "urn:ndg:security:ca"
102        def __init__(self, **kw):
103            ns = ns0.getCRL_Dec.schema
104            TClist = []
105            kw["pname"] = ("urn:ndg:security:ca","getCRL")
106            kw["aname"] = "_getCRL"
107            self.attribute_typecode_dict = {}
108            ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
109            class Holder:
110                __metaclass__ = pyclass_type
111                typecode = self
112                def __init__(self):
113                    # pyclass
114                    return
115            Holder.__name__ = "getCRL_Holder"
116            self.pyclass = Holder
117
118    class getCRLResponse_Dec(ZSI.TCcompound.ComplexType, ElementDeclaration):
119        literal = "getCRLResponse"
120        schema = "urn:ndg:security:ca"
121        def __init__(self, **kw):
122            ns = ns0.getCRLResponse_Dec.schema
123            TClist = [ZSI.TC.String(pname="crl", aname="_crl", minOccurs=1, maxOccurs=1, nillable=False, typed=False, encoded=kw.get("encoded"))]
124            kw["pname"] = ("urn:ndg:security:ca","getCRLResponse")
125            kw["aname"] = "_getCRLResponse"
126            self.attribute_typecode_dict = {}
127            ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
128            class Holder:
129                __metaclass__ = pyclass_type
130                typecode = self
131                def __init__(self):
132                    # pyclass
133                    self._crl = None
134                    return
135            Holder.__name__ = "getCRLResponse_Holder"
136            self.pyclass = Holder
137
138# end class ns0 (tns: urn:ndg:security:ca)
Note: See TracBrowser for help on using the repository browser.