source: TI12-security/trunk/documentation/epydoc/ndg.security.common.XMLSec-module.html @ 4245

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/documentation/epydoc/ndg.security.common.XMLSec-module.html@4245
Revision 4245, 10.7 KB checked in by pjkersha, 11 years ago (diff)

Working unit tests for WSGI based Attribute Authority.

  • Altered so that all Attribute Config is picked up from the Paste ini file. Separate cfg or xml based config file is still supported.

TODO:

  • Simplify unit test config for client.
Line 
1<?xml version="1.0" encoding="ascii"?>
2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3          "DTD/xhtml1-transitional.dtd">
4<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5<head>
6  <title>ndg.security.common.XMLSec</title>
7  <link rel="stylesheet" href="epydoc.css" type="text/css" />
8  <script type="text/javascript" src="epydoc.js"></script>
9</head>
10
11<body bgcolor="white" text="black" link="blue" vlink="#204080"
12      alink="#204080">
13<!-- ==================== NAVIGATION BAR ==================== -->
14<table class="navbar" border="0" width="100%" cellpadding="0"
15       bgcolor="#a0c0ff" cellspacing="0">
16  <tr valign="middle">
17  <!-- Home link -->
18      <th>&nbsp;&nbsp;&nbsp;<a
19        href="ndg-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
20
21  <!-- Tree link -->
22      <th>&nbsp;&nbsp;&nbsp;<a
23        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
24
25  <!-- Index link -->
26      <th>&nbsp;&nbsp;&nbsp;<a
27        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
28
29  <!-- Help link -->
30      <th>&nbsp;&nbsp;&nbsp;<a
31        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
32
33  <!-- Project homepage -->
34      <th class="navbar" align="right" width="100%">
35        <table border="0" cellpadding="0" cellspacing="0">
36          <tr><th class="navbar" align="center"
37            >NDG Security</th>
38          </tr></table></th>
39  </tr>
40</table>
41<table width="100%" cellpadding="0" cellspacing="0">
42  <tr valign="top">
43    <td width="100%">
44      <span class="breadcrumbs">
45        <a href="ndg-module.html">Package&nbsp;ndg</a> ::
46        <a href="ndg.security-module.html">Package&nbsp;security</a> ::
47        <a href="ndg.security.common-module.html">Package&nbsp;common</a> ::
48        Module&nbsp;XMLSec
49      </span>
50    </td>
51    <td>
52      <table cellpadding="0" cellspacing="0">
53        <!-- hide/show private -->
54        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
55    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
56      </table>
57    </td>
58  </tr>
59</table>
60<!-- ==================== MODULE DESCRIPTION ==================== -->
61<h1 class="epydoc">Module XMLSec</h1><p class="nomargin-top"><span class="codelink"><a href="ndg.security.common.XMLSec-pysrc.html">source&nbsp;code</a></span></p>
62<p>NDG XML Security - Encryption and Digital Signature</p>
63  <p>NERC Data Grid Project</p>
64
65<hr />
66<div class="fields">      <p><strong>Date:</strong>
67        05/04/05
68      </p>
69      <p><strong>Author:</strong>
70        P J Kershaw
71      </p>
72      <p><strong>Contact:</strong>
73        P.J.Kershaw@rl.ac.uk
74      </p>
75      <p><strong>Copyright:</strong>
76        (C) 2007 STFC &amp; NERC
77      </p>
78      <p><strong>License:</strong>
79        This software may be distributed under the terms of the Q Public
80        License, version 1.0 or later.
81      </p>
82</div><!-- ==================== CLASSES ==================== -->
83<a name="section-Classes"></a>
84<table class="summary" border="1" cellpadding="3"
85       cellspacing="0" width="100%" bgcolor="white">
86<tr bgcolor="#70b0f0" class="table-header">
87  <td colspan="2" class="table-header">
88    <table border="0" cellpadding="0" cellspacing="0" width="100%">
89      <tr valign="top">
90        <td align="left"><span class="table-header">Classes</span></td>
91        <td align="right" valign="top"
92         ><span class="options">[<a href="#section-Classes"
93         class="privatelink" onclick="toggle_private();"
94         >hide private</a>]</span></td>
95      </tr>
96    </table>
97  </td>
98</tr>
99<tr>
100    <td width="15%" align="right" valign="top" class="summary">
101      <span class="summary-type">&nbsp;</span>
102    </td><td class="summary">
103        <a href="ndg.security.common.XMLSec.XMLSecDocError-class.html" class="summary-name">XMLSecDocError</a><br />
104      Exception handling for NDG XML Security class.
105    </td>
106  </tr>
107<tr>
108    <td width="15%" align="right" valign="top" class="summary">
109      <span class="summary-type">&nbsp;</span>
110    </td><td class="summary">
111        <a href="ndg.security.common.XMLSec.SignError-class.html" class="summary-name">SignError</a><br />
112      Raised from sign method if an error occurs generating the signature
113    </td>
114  </tr>
115<tr>
116    <td width="15%" align="right" valign="top" class="summary">
117      <span class="summary-type">&nbsp;</span>
118    </td><td class="summary">
119        <a href="ndg.security.common.XMLSec.VerifyError-class.html" class="summary-name">VerifyError</a><br />
120      Raised from verify method if an error occurs
121    </td>
122  </tr>
123<tr>
124    <td width="15%" align="right" valign="top" class="summary">
125      <span class="summary-type">&nbsp;</span>
126    </td><td class="summary">
127        <a href="ndg.security.common.XMLSec.InvalidSignature-class.html" class="summary-name">InvalidSignature</a><br />
128      Raised from verify method for an invalid signature
129    </td>
130  </tr>
131<tr>
132    <td width="15%" align="right" valign="top" class="summary">
133      <span class="summary-type">&nbsp;</span>
134    </td><td class="summary">
135        <a href="ndg.security.common.XMLSec.XMLSecDoc-class.html" class="summary-name">XMLSecDoc</a><br />
136      Implements XML Signature and XML Encryption for a Document.
137    </td>
138  </tr>
139</table>
140<!-- ==================== FUNCTIONS ==================== -->
141<a name="section-Functions"></a>
142<table class="summary" border="1" cellpadding="3"
143       cellspacing="0" width="100%" bgcolor="white">
144<tr bgcolor="#70b0f0" class="table-header">
145  <td colspan="2" class="table-header">
146    <table border="0" cellpadding="0" cellspacing="0" width="100%">
147      <tr valign="top">
148        <td align="left"><span class="table-header">Functions</span></td>
149        <td align="right" valign="top"
150         ><span class="options">[<a href="#section-Functions"
151         class="privatelink" onclick="toggle_private();"
152         >hide private</a>]</span></td>
153      </tr>
154    </table>
155  </td>
156</tr>
157<tr>
158    <td width="15%" align="right" valign="top" class="summary">
159      <span class="summary-type">&nbsp;</span>
160    </td><td class="summary">
161      <table width="100%" cellpadding="0" cellspacing="0" border="0">
162        <tr>
163          <td><span class="summary-sig"><a name="getElements"></a><span class="summary-sig-name">getElements</span>(<span class="summary-sig-arg">node</span>,
164        <span class="summary-sig-arg">nameList</span>)</span><br />
165      DOM Helper function for getting child elements from a given node</td>
166          <td align="right" valign="top">
167            <span class="codelink"><a href="ndg.security.common.XMLSec-pysrc.html#getElements">source&nbsp;code</a></span>
168           
169          </td>
170        </tr>
171      </table>
172     
173    </td>
174  </tr>
175</table>
176<!-- ==================== VARIABLES ==================== -->
177<a name="section-Variables"></a>
178<table class="summary" border="1" cellpadding="3"
179       cellspacing="0" width="100%" bgcolor="white">
180<tr bgcolor="#70b0f0" class="table-header">
181  <td colspan="2" class="table-header">
182    <table border="0" cellpadding="0" cellspacing="0" width="100%">
183      <tr valign="top">
184        <td align="left"><span class="table-header">Variables</span></td>
185        <td align="right" valign="top"
186         ><span class="options">[<a href="#section-Variables"
187         class="privatelink" onclick="toggle_private();"
188         >hide private</a>]</span></td>
189      </tr>
190    </table>
191  </td>
192</tr>
193<tr>
194    <td width="15%" align="right" valign="top" class="summary">
195      <span class="summary-type">&nbsp;</span>
196    </td><td class="summary">
197        <a href="ndg.security.common.XMLSec-module.html#__revision__" class="summary-name">__revision__</a> = <code title="'$Id: XMLSec.py 4061 2008-07-23 14:58:43Z pjkersha $'">'$Id: XMLSec.py 4061 2008-07-23 14:58:43Z pjker<code class="variable-ellipsis">...</code></code>
198    </td>
199  </tr>
200<tr>
201    <td width="15%" align="right" valign="top" class="summary">
202      <span class="summary-type">&nbsp;</span>
203    </td><td class="summary">
204        <a name="getParentNode"></a><span class="summary-name">getParentNode</span> = <code title="lambda docNode:">lambda docNode:</code>
205    </td>
206  </tr>
207</table>
208<!-- ==================== VARIABLES DETAILS ==================== -->
209<a name="section-VariablesDetails"></a>
210<table class="details" border="1" cellpadding="3"
211       cellspacing="0" width="100%" bgcolor="white">
212<tr bgcolor="#70b0f0" class="table-header">
213  <td colspan="2" class="table-header">
214    <table border="0" cellpadding="0" cellspacing="0" width="100%">
215      <tr valign="top">
216        <td align="left"><span class="table-header">Variables Details</span></td>
217        <td align="right" valign="top"
218         ><span class="options">[<a href="#section-VariablesDetails"
219         class="privatelink" onclick="toggle_private();"
220         >hide private</a>]</span></td>
221      </tr>
222    </table>
223  </td>
224</tr>
225</table>
226<a name="__revision__"></a>
227<div>
228<table class="details" border="1" cellpadding="3"
229       cellspacing="0" width="100%" bgcolor="white">
230<tr><td>
231  <h3 class="epydoc">__revision__</h3>
232 
233  <dl class="fields">
234  </dl>
235  <dl class="fields">
236    <dt>Value:</dt>
237      <dd><table><tr><td><pre class="variable">
238'$Id: XMLSec.py 4061 2008-07-23 14:58:43Z pjkersha $'
239</pre></td></tr></table>
240</dd>
241  </dl>
242</td></tr></table>
243</div>
244<br />
245<!-- ==================== NAVIGATION BAR ==================== -->
246<table class="navbar" border="0" width="100%" cellpadding="0"
247       bgcolor="#a0c0ff" cellspacing="0">
248  <tr valign="middle">
249  <!-- Home link -->
250      <th>&nbsp;&nbsp;&nbsp;<a
251        href="ndg-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
252
253  <!-- Tree link -->
254      <th>&nbsp;&nbsp;&nbsp;<a
255        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
256
257  <!-- Index link -->
258      <th>&nbsp;&nbsp;&nbsp;<a
259        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
260
261  <!-- Help link -->
262      <th>&nbsp;&nbsp;&nbsp;<a
263        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
264
265  <!-- Project homepage -->
266      <th class="navbar" align="right" width="100%">
267        <table border="0" cellpadding="0" cellspacing="0">
268          <tr><th class="navbar" align="center"
269            >NDG Security</th>
270          </tr></table></th>
271  </tr>
272</table>
273<table border="0" cellpadding="0" cellspacing="0" width="100%%">
274  <tr>
275    <td align="left" class="footer">
276    <a href="epydoc-log.html">Generated by Epydoc
277    3.0.1 on Thu Sep  4 09:37:40 2008</a>
278    </td>
279    <td align="right" class="footer">
280      <a target="mainFrame" href="http://epydoc.sourceforge.net"
281        >http://epydoc.sourceforge.net</a>
282    </td>
283  </tr>
284</table>
285
286<script type="text/javascript">
287  <!--
288  // Private objects are initially displayed (because if
289  // javascript is turned off then we want them to be
290  // visible); but by default, we want to hide them.  So hide
291  // them unless we have a cookie that says to show them.
292  checkCookie();
293  // -->
294</script>
295</body>
296</html>
Note: See TracBrowser for help on using the repository browser.