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

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/documentation/epydoc/ndg.security.common.m2CryptoSSLUtility-module.html@4245
Revision 4245, 8.9 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.m2CryptoSSLUtility</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;m2CryptoSSLUtility
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 m2CryptoSSLUtility</h1><p class="nomargin-top"><span class="codelink"><a href="ndg.security.common.m2CryptoSSLUtility-pysrc.html">source&nbsp;code</a></span></p>
62<p>Extend M2Crypto SSL functionality for cert verification and custom
63  timeout settings.</p>
64  <p>NERC Data Grid Project</p>
65
66<hr />
67<div class="fields">      <p><strong>Date:</strong>
68        02/07/07
69      </p>
70      <p><strong>Author:</strong>
71        P J Kershaw
72      </p>
73      <p><strong>Contact:</strong>
74        P.J.Kershaw@rl.ac.uk
75      </p>
76      <p><strong>Copyright:</strong>
77        (C) 2007 STFC &amp; NERC
78      </p>
79      <p><strong>License:</strong>
80        This software may be distributed under the terms of the Q Public
81        License, version 1.0 or later.
82      </p>
83</div><!-- ==================== CLASSES ==================== -->
84<a name="section-Classes"></a>
85<table class="summary" border="1" cellpadding="3"
86       cellspacing="0" width="100%" bgcolor="white">
87<tr bgcolor="#70b0f0" class="table-header">
88  <td colspan="2" class="table-header">
89    <table border="0" cellpadding="0" cellspacing="0" width="100%">
90      <tr valign="top">
91        <td align="left"><span class="table-header">Classes</span></td>
92        <td align="right" valign="top"
93         ><span class="options">[<a href="#section-Classes"
94         class="privatelink" onclick="toggle_private();"
95         >hide private</a>]</span></td>
96      </tr>
97    </table>
98  </td>
99</tr>
100<tr>
101    <td width="15%" align="right" valign="top" class="summary">
102      <span class="summary-type">&nbsp;</span>
103    </td><td class="summary">
104        <a href="ndg.security.common.m2CryptoSSLUtility.InvalidCertSignature-class.html" class="summary-name">InvalidCertSignature</a><br />
105      Raise if verification against CA cert public key fails
106    </td>
107  </tr>
108<tr>
109    <td width="15%" align="right" valign="top" class="summary">
110      <span class="summary-type">&nbsp;</span>
111    </td><td class="summary">
112        <a href="ndg.security.common.m2CryptoSSLUtility.InvalidCertDN-class.html" class="summary-name">InvalidCertDN</a><br />
113      Raise if verification against a list acceptable DNs fails
114    </td>
115  </tr>
116<tr>
117    <td width="15%" align="right" valign="top" class="summary">
118      <span class="summary-type">&nbsp;</span>
119    </td><td class="summary">
120        <a href="ndg.security.common.m2CryptoSSLUtility.HostCheck-class.html" class="summary-name">HostCheck</a><br />
121      Override SSL.Checker.Checker to enable alternate Common Name
122        setting match for peer cert
123    </td>
124  </tr>
125<tr>
126    <td width="15%" align="right" valign="top" class="summary">
127      <span class="summary-type">&nbsp;</span>
128    </td><td class="summary">
129        <a href="ndg.security.common.m2CryptoSSLUtility.HTTPSConnection-class.html" class="summary-name">HTTPSConnection</a><br />
130      Modified version of M2Crypto equivalent to enable custom checks with
131      the peer and timeout settings
132    </td>
133  </tr>
134</table>
135<!-- ==================== VARIABLES ==================== -->
136<a name="section-Variables"></a>
137<table class="summary" border="1" cellpadding="3"
138       cellspacing="0" width="100%" bgcolor="white">
139<tr bgcolor="#70b0f0" class="table-header">
140  <td colspan="2" class="table-header">
141    <table border="0" cellpadding="0" cellspacing="0" width="100%">
142      <tr valign="top">
143        <td align="left"><span class="table-header">Variables</span></td>
144        <td align="right" valign="top"
145         ><span class="options">[<a href="#section-Variables"
146         class="privatelink" onclick="toggle_private();"
147         >hide private</a>]</span></td>
148      </tr>
149    </table>
150  </td>
151</tr>
152<tr>
153    <td width="15%" align="right" valign="top" class="summary">
154      <span class="summary-type">&nbsp;</span>
155    </td><td class="summary">
156        <a href="ndg.security.common.m2CryptoSSLUtility-module.html#__revision__" class="summary-name">__revision__</a> = <code title="'$Id: m2CryptoSSLUtility.py 4145 2008-08-28 08:55:31Z pjkersha $'">'$Id: m2CryptoSSLUtility.py 4145 2008-08-28 08:<code class="variable-ellipsis">...</code></code>
157    </td>
158  </tr>
159</table>
160<!-- ==================== VARIABLES DETAILS ==================== -->
161<a name="section-VariablesDetails"></a>
162<table class="details" border="1" cellpadding="3"
163       cellspacing="0" width="100%" bgcolor="white">
164<tr bgcolor="#70b0f0" class="table-header">
165  <td colspan="2" class="table-header">
166    <table border="0" cellpadding="0" cellspacing="0" width="100%">
167      <tr valign="top">
168        <td align="left"><span class="table-header">Variables Details</span></td>
169        <td align="right" valign="top"
170         ><span class="options">[<a href="#section-VariablesDetails"
171         class="privatelink" onclick="toggle_private();"
172         >hide private</a>]</span></td>
173      </tr>
174    </table>
175  </td>
176</tr>
177</table>
178<a name="__revision__"></a>
179<div>
180<table class="details" border="1" cellpadding="3"
181       cellspacing="0" width="100%" bgcolor="white">
182<tr><td>
183  <h3 class="epydoc">__revision__</h3>
184 
185  <dl class="fields">
186  </dl>
187  <dl class="fields">
188    <dt>Value:</dt>
189      <dd><table><tr><td><pre class="variable">
190'$Id: m2CryptoSSLUtility.py 4145 2008-08-28 08:55:31Z pjkersha $'
191</pre></td></tr></table>
192</dd>
193  </dl>
194</td></tr></table>
195</div>
196<br />
197<!-- ==================== NAVIGATION BAR ==================== -->
198<table class="navbar" border="0" width="100%" cellpadding="0"
199       bgcolor="#a0c0ff" cellspacing="0">
200  <tr valign="middle">
201  <!-- Home link -->
202      <th>&nbsp;&nbsp;&nbsp;<a
203        href="ndg-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
204
205  <!-- Tree link -->
206      <th>&nbsp;&nbsp;&nbsp;<a
207        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
208
209  <!-- Index link -->
210      <th>&nbsp;&nbsp;&nbsp;<a
211        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
212
213  <!-- Help link -->
214      <th>&nbsp;&nbsp;&nbsp;<a
215        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
216
217  <!-- Project homepage -->
218      <th class="navbar" align="right" width="100%">
219        <table border="0" cellpadding="0" cellspacing="0">
220          <tr><th class="navbar" align="center"
221            >NDG Security</th>
222          </tr></table></th>
223  </tr>
224</table>
225<table border="0" cellpadding="0" cellspacing="0" width="100%%">
226  <tr>
227    <td align="left" class="footer">
228    <a href="epydoc-log.html">Generated by Epydoc
229    3.0.1 on Thu Sep  4 09:37:40 2008</a>
230    </td>
231    <td align="right" class="footer">
232      <a target="mainFrame" href="http://epydoc.sourceforge.net"
233        >http://epydoc.sourceforge.net</a>
234    </td>
235  </tr>
236</table>
237
238<script type="text/javascript">
239  <!--
240  // Private objects are initially displayed (because if
241  // javascript is turned off then we want them to be
242  // visible); but by default, we want to hide them.  So hide
243  // them unless we have a cookie that says to show them.
244  checkCookie();
245  // -->
246</script>
247</body>
248</html>
Note: See TracBrowser for help on using the repository browser.