Ignore:
Timestamp:
29/09/08 16:05:29 (11 years ago)
Author:
pjkersha
Message:

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.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/documentation/epydoc/ndg.security.common.openssl.OpenSSLConfig-class.html

    r3153 r4245  
    6060</table> 
    6161<!-- ==================== CLASS DESCRIPTION ==================== --> 
    62 <h1 class="epydoc">Class OpenSSLConfig</h1><span class="codelink"><a href="ndg.security.common.openssl-pysrc.html#OpenSSLConfig">source&nbsp;code</a></span><br /><br /> 
     62<h1 class="epydoc">Class OpenSSLConfig</h1><p class="nomargin-top"><span class="codelink"><a href="ndg.security.common.openssl-pysrc.html#OpenSSLConfig">source&nbsp;code</a></span></p> 
    6363<center> 
    64 <center>  <map id="uml_class_diagram_for_ndg_secu_116" name="uml_class_diagram_for_ndg_secu_116"> 
    65 <area shape="rect" href="javascript: void(0);" title="ConfigParser.SafeConfigParser" alt="" coords="15,101,67,117"/> 
    66 <area shape="rect" href="ndg.security.common.openssl.OpenSSLConfig&#45;class.html" title="Wrapper to OpenSSL Configuration file to allow extraction of required distinguished name used for making certificate requests" alt="" coords="15,147,67,163"/> 
    67 <area shape="rect" href="javascript: void(0);" title="ConfigParser.ConfigParser" alt="" coords="15,56,67,72"/> 
    68 <area shape="rect" href="javascript: void(0);" title="ConfigParser.RawConfigParser" alt="" coords="15,11,67,27"/> 
     64<center>  <map id="uml_class_diagram_for_ndg_secu_150" name="uml_class_diagram_for_ndg_secu_150"> 
     65<area shape="rect" href="javascript:void(0);" title="ConfigParser.RawConfigParser.SECTCRE" alt="" coords="53,28,269,47"/> 
     66<area shape="rect" href="javascript:void(0);" title="ConfigParser.RawConfigParser.OPTCRE" alt="" coords="53,47,269,65"/> 
     67<area shape="rect" href="javascript:void(0);" title="ConfigParser.RawConfigParser.defaults" alt="" coords="53,68,269,87"/> 
     68<area shape="rect" href="javascript:void(0);" title="Return a list of section names, excluding [DEFAULT]" alt="" coords="53,87,269,105"/> 
     69<area shape="rect" href="javascript:void(0);" title="Create a new section in the configuration." alt="" coords="53,105,269,124"/> 
     70<area shape="rect" href="javascript:void(0);" title="Indicate whether the named section is present in the configuration." alt="" coords="53,124,269,143"/> 
     71<area shape="rect" href="javascript:void(0);" title="Return a list of option names for the given section name." alt="" coords="53,143,269,161"/> 
     72<area shape="rect" href="javascript:void(0);" title="ConfigParser.RawConfigParser.getint" alt="" coords="53,161,269,180"/> 
     73<area shape="rect" href="javascript:void(0);" title="ConfigParser.RawConfigParser.getfloat" alt="" coords="53,180,269,199"/> 
     74<area shape="rect" href="javascript:void(0);" title="ConfigParser.RawConfigParser.getboolean" alt="" coords="53,199,269,217"/> 
     75<area shape="rect" href="javascript:void(0);" title="ConfigParser.RawConfigParser.optionxform" alt="" coords="53,217,269,236"/> 
     76<area shape="rect" href="javascript:void(0);" title="Check for the existence of a given option in a given section." alt="" coords="53,236,269,255"/> 
     77<area shape="rect" href="javascript:void(0);" title="Write an .ini&#45;format representation of the configuration state." alt="" coords="53,255,269,273"/> 
     78<area shape="rect" href="javascript:void(0);" title="Remove an option." alt="" coords="53,273,269,292"/> 
     79<area shape="rect" href="javascript:void(0);" title="Remove a file section." alt="" coords="53,292,269,311"/> 
     80<area shape="rect" href="javascript:void(0);" title="ConfigParser.RawConfigParser" alt="" coords="52,11,271,312"/> 
     81<area shape="rect" href="javascript:void(0);" title="Get an option value for a given section." alt="" coords="17,367,305,385"/> 
     82<area shape="rect" href="javascript:void(0);" title="Return a list of tuples with (name, value) for each option in the section." alt="" coords="17,385,305,404"/> 
     83<area shape="rect" href="javascript:void(0);" title="ConfigParser.ConfigParser" alt="" coords="16,341,307,405"/> 
     84<area shape="rect" href="javascript:void(0);" title="Set an option." alt="" coords="68,460,255,479"/> 
     85<area shape="rect" href="javascript:void(0);" title="ConfigParser.SafeConfigParser" alt="" coords="67,435,256,480"/> 
     86<area shape="rect" href="ndg.security.common.openssl.OpenSSLConfig&#45;class.html#filePath" title="ndg.security.common.openssl.OpenSSLConfig.filePath" alt="" coords="36,527,287,545"/> 
     87<area shape="rect" href="ndg.security.common.openssl.OpenSSLConfig&#45;class.html#caDir" title="ndg.security.common.openssl.OpenSSLConfig.caDir" alt="" coords="36,545,287,564"/> 
     88<area shape="rect" href="ndg.security.common.openssl.OpenSSLConfig&#45;class.html#reqDN" title="ndg.security.common.openssl.OpenSSLConfig.reqDN" alt="" coords="36,564,287,583"/> 
     89<area shape="rect" href="ndg.security.common.openssl.OpenSSLConfig&#45;class.html#__init__" title="Initial OpenSSL configuration optionally setting a file path to read from" alt="" coords="36,585,287,604"/> 
     90<area shape="rect" href="ndg.security.common.openssl.OpenSSLConfig&#45;class.html#setCADir" title="Set property method" alt="" coords="36,604,287,623"/> 
     91<area shape="rect" href="ndg.security.common.openssl.OpenSSLConfig&#45;class.html#read" title="Override base class version to avoid parsing error with the first &#39;RANDFILE = ...&#39; part of the openssl file." alt="" coords="36,623,287,641"/> 
     92<area shape="rect" href="ndg.security.common.openssl.OpenSSLConfig&#45;class.html#readfp" title="Set to not implemented as using a file object could be problematic given &#160;read() has to seek ahead to the first actual section to avoid parsing &#160;errors" alt="" coords="36,641,287,660"/> 
     93<area shape="rect" href="ndg.security.common.openssl.OpenSSLConfig&#45;class.html" title="Wrapper to OpenSSL Configuration file to allow extraction of required distinguished name used for making certificate requests" alt="" coords="35,509,288,661"/> 
    6994</map> 
    70   <img src="uml_class_diagram_for_ndg_secu_116.gif" alt='' usemap="#uml_class_diagram_for_ndg_secu_116" ismap="ismap" class="graph-without-title" /> 
    71 </center></center> 
     95  <img src="uml_class_diagram_for_ndg_secu_150.gif" alt='' usemap="#uml_class_diagram_for_ndg_secu_150" ismap="ismap" class="graph-without-title" /> 
     96</center> 
     97</center> 
    7298<hr /> 
    73 Wrapper to OpenSSL Configuration file to allow extraction of required  
    74   distinguished name used for making certificate requests<br /><br /> 
     99<p>Wrapper to OpenSSL Configuration file to allow extraction of required  
     100  distinguished name used for making certificate requests</p> 
    75101 
    76102<!-- ==================== INSTANCE METHODS ==================== --> 
     
    100126        <span class="summary-sig-arg">filePath</span>=<span class="summary-sig-default">None</span>, 
    101127        <span class="summary-sig-arg">caDir</span>=<span class="summary-sig-default">None</span>)</span><br /> 
    102       Initial OpenSSL configuration optionally setting a file path to  
    103       read from</td> 
     128      Initial OpenSSL configuration optionally setting a file path to read  
     129      from</td> 
    104130          <td align="right" valign="top"> 
    105131            <span class="codelink"><a href="ndg.security.common.openssl-pysrc.html#OpenSSLConfig.__init__">source&nbsp;code</a></span> 
     
    117143      <table width="100%" cellpadding="0" cellspacing="0" border="0"> 
    118144        <tr> 
    119           <td><span class="summary-sig"><a href="ndg.security.common.openssl.OpenSSLConfig-class.html#__setFilePath" class="summary-sig-name">__setFilePath</a>(<span class="summary-sig-arg">self</span>, 
     145          <td><span class="summary-sig"><a href="ndg.security.common.openssl.OpenSSLConfig-class.html#__setFilePath" class="summary-sig-name" onclick="show_private();">__setFilePath</a>(<span class="summary-sig-arg">self</span>, 
    120146        <span class="summary-sig-arg">filePath</span>)</span><br /> 
    121147      Set property method</td> 
     
    135161      <table width="100%" cellpadding="0" cellspacing="0" border="0"> 
    136162        <tr> 
    137           <td><span class="summary-sig"><a href="ndg.security.common.openssl.OpenSSLConfig-class.html#__getFilePath" class="summary-sig-name">__getFilePath</a>(<span class="summary-sig-arg">self</span>)</span><br /> 
     163          <td><span class="summary-sig"><a href="ndg.security.common.openssl.OpenSSLConfig-class.html#__getFilePath" class="summary-sig-name" onclick="show_private();">__getFilePath</a>(<span class="summary-sig-arg">self</span>)</span><br /> 
    138164      Get property method</td> 
    139165          <td align="right" valign="top"> 
     
    204230      <table width="100%" cellpadding="0" cellspacing="0" border="0"> 
    205231        <tr> 
    206           <td><span class="summary-sig"><a href="ndg.security.common.openssl.OpenSSLConfig-class.html#__setReqDN" class="summary-sig-name">__setReqDN</a>(<span class="summary-sig-arg">self</span>, 
     232          <td><span class="summary-sig"><a href="ndg.security.common.openssl.OpenSSLConfig-class.html#__setReqDN" class="summary-sig-name" onclick="show_private();">__setReqDN</a>(<span class="summary-sig-arg">self</span>, 
    207233        <span class="summary-sig-arg">reqDN</span>)</span><br /> 
    208234      Set property method</td> 
     
    240266      <table width="100%" cellpadding="0" cellspacing="0" border="0"> 
    241267        <tr> 
    242           <td><span class="summary-sig"><a href="ndg.security.common.openssl.OpenSSLConfig-class.html#_filtOptVal" class="summary-sig-name">_filtOptVal</a>(<span class="summary-sig-arg">self</span>, 
     268          <td><span class="summary-sig"><a href="ndg.security.common.openssl.OpenSSLConfig-class.html#_filtOptVal" class="summary-sig-name" onclick="show_private();">_filtOptVal</a>(<span class="summary-sig-arg">self</span>, 
    243269        <span class="summary-sig-arg">optVal</span>)</span><br /> 
    244       For option value, filter out comments and substitute $dir with the 
    245       CA directory location</td> 
     270      For option value, filter out comments and substitute $dir with the CA 
     271      directory location</td> 
    246272          <td align="right" valign="top"> 
    247273            <span class="codelink"><a href="ndg.security.common.openssl-pysrc.html#OpenSSLConfig._filtOptVal">source&nbsp;code</a></span> 
     
    261287          <td><span class="summary-sig"><a href="ndg.security.common.openssl.OpenSSLConfig-class.html#readfp" class="summary-sig-name">readfp</a>(<span class="summary-sig-arg">self</span>, 
    262288        <span class="summary-sig-arg">fp</span>)</span><br /> 
    263       Set to not implemented as using a file object could be problematic 
     289      Set to not implemented as using a file object could be problematic  
    264290      given read() has to seek ahead to the first actual section to avoid  
    265291      parsing errors</td> 
     
    280306        <tr> 
    281307          <td><span class="summary-sig"><a name="_setReqDN"></a><span class="summary-sig-name">_setReqDN</span>(<span class="summary-sig-arg">self</span>)</span><br /> 
    282       Set Required DN parameters from the configuration file returning  
    283       them in a dictionary</td> 
     308      Set Required DN parameters from the configuration file returning them 
     309      in a dictionary</td> 
    284310          <td align="right" valign="top"> 
    285311            <span class="codelink"><a href="ndg.security.common.openssl-pysrc.html#OpenSSLConfig._setReqDN">source&nbsp;code</a></span> 
     
    298324    <div class="private">    <p class="indent-wrapped-lines"><b>Inherited from <code>ConfigParser.SafeConfigParser</code></b> (private): 
    299325      <code>_interpolate</code>, 
    300       <code>_interpolate_some</code>, 
    301       <code>_interpvar_match</code> 
     326      <code>_interpolate_some</code> 
    302327      </p></div> 
    303328    <p class="indent-wrapped-lines"><b>Inherited from <code>ConfigParser.ConfigParser</code></b>: 
     
    362387      <span class="summary-type">tuple</span> 
    363388    </td><td class="summary"> 
    364         <a href="ndg.security.common.openssl.OpenSSLConfig-class.html#_certReqDNParamName" class="summary-name">_certReqDNParamName</a> = <code title="['C', 
    365  'serialNumber', 
    366  'organizationName', 
    367  'CN', 
    368  'SP', 
    369  'commonName', 
    370  'L', 
    371  'stateOrProvinceName', 
    372 ..."><code class="variable-group">[</code><code class="variable-quote">'</code><code class="variable-string">C</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">serialNumber</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">organizationName</code><code class="variable-quote">'</code><code class="variable-ellipsis">...</code></code><br /> 
    373       permissable keys for Distinguished Name (not including CN which  
    374       gets set separately). 
     389        <a href="ndg.security.common.openssl.OpenSSLConfig-class.html#_certReqDNParamName" class="summary-name" onclick="show_private();">_certReqDNParamName</a> = <code title="X509_Name.nid.keys()">X509_Name.nid.keys()</code><br /> 
     390      permissable keys for Distinguished Name (not including CN which gets  
     391      set separately). 
    375392    </td> 
    376393  </tr> 
     
    379396      <span class="summary-type">string</span> 
    380397    </td><td class="summary"> 
    381         <a name="_caDirPat"></a><span class="summary-name">_caDirPat</span> = <code title="re.compile(r'\$dir')">re.compile(r'\$dir')</code><br /> 
     398        <a name="_caDirPat"></a><span class="summary-name">_caDirPat</span> = <code title="re.compile('\$dir')">re.compile('\$dir')</code><br /> 
    382399      sub-directory path to CA config directory 
    383400    </td> 
     
    387404      <span class="summary-type">string</span> 
    388405    </td><td class="summary"> 
    389         <a name="__gridCASubDir"></a><span class="summary-name">__gridCASubDir</span> = <code title="'.globus/simpleCA'"><code class="variable-quote">'</code><code class="variable-string">.globus/simpleCA</code><code class="variable-quote">'</code></code><br /> 
     406        <a name="__gridCASubDir"></a><span class="summary-name">__gridCASubDir</span> = <code title="os.path.join(&quot;.globus&quot;, &quot;simpleCA&quot;)">os.path.join(&quot;.globus&quot;, &quot;simpleCA&quot;)</code><br /> 
    390407      sub-directory of globus user for CA settings 
     408    </td> 
     409  </tr> 
     410<tr> 
     411    <td width="15%" align="right" valign="top" class="summary"> 
     412      <span class="summary-type">&nbsp;</span> 
     413    </td><td class="summary"> 
     414        <a href="ndg.security.common.openssl.OpenSSLConfig-class.html#filePath" class="summary-name">filePath</a> = <code title="property(fget= __getFilePath, fset= __setFilePath, doc= &quot;file path for\ 
     415 configuration file&quot;)">property(fget= __getFilePath, fset= __setFilePath, <code class="variable-ellipsis">...</code></code> 
     416    </td> 
     417  </tr> 
     418<tr> 
     419    <td width="15%" align="right" valign="top" class="summary"> 
     420      <span class="summary-type">&nbsp;</span> 
     421    </td><td class="summary"> 
     422        <a href="ndg.security.common.openssl.OpenSSLConfig-class.html#caDir" class="summary-name">caDir</a> = <code title="property(fget= __getCADir, fset= setCADir, doc= &quot;directory path for CA\ 
     423 configuration files&quot;)">property(fget= __getCADir, fset= setCADir, doc= &quot;direc<code class="variable-ellipsis">...</code></code> 
     424    </td> 
     425  </tr> 
     426<tr> 
     427    <td width="15%" align="right" valign="top" class="summary"> 
     428      <span class="summary-type">&nbsp;</span> 
     429    </td><td class="summary"> 
     430        <a href="ndg.security.common.openssl.OpenSSLConfig-class.html#reqDN" class="summary-name">reqDN</a> = <code title="property(fget= __getReqDN, fset= __setReqDN, doc= &quot;Distinguished Name \ 
     431for certificate request&quot;)">property(fget= __getReqDN, fset= __setReqDN, doc= &quot;Dis<code class="variable-ellipsis">...</code></code> 
    391432    </td> 
    392433  </tr> 
    393434  <tr> 
    394435    <td colspan="2" class="summary"> 
     436    <div class="private">    <p class="indent-wrapped-lines"><b>Inherited from <code>ConfigParser.SafeConfigParser</code></b> (private): 
     437      <code>_interpvar_match</code> 
     438      </p></div> 
    395439    <div class="private">    <p class="indent-wrapped-lines"><b>Inherited from <code>ConfigParser.ConfigParser</code></b> (private): 
    396440      <code>_KEYCRE</code> 
     
    423467  </td> 
    424468</tr> 
    425 <tr> 
    426     <td width="15%" align="right" valign="top" class="summary"> 
    427       <span class="summary-type">&nbsp;</span> 
    428     </td><td class="summary"> 
    429         <a href="ndg.security.common.openssl.OpenSSLConfig-class.html#filePath" class="summary-name">filePath</a><br /> 
    430       file path for configuration file 
    431     </td> 
    432   </tr> 
    433 <tr> 
    434     <td width="15%" align="right" valign="top" class="summary"> 
    435       <span class="summary-type">&nbsp;</span> 
    436     </td><td class="summary"> 
    437         <a href="ndg.security.common.openssl.OpenSSLConfig-class.html#caDir" class="summary-name">caDir</a><br /> 
    438       directory path for CA configuration files 
    439     </td> 
    440   </tr> 
    441 <tr> 
    442     <td width="15%" align="right" valign="top" class="summary"> 
    443       <span class="summary-type">&nbsp;</span> 
    444     </td><td class="summary"> 
    445         <a href="ndg.security.common.openssl.OpenSSLConfig-class.html#reqDN" class="summary-name">reqDN</a><br /> 
    446       Distinguished Name for certificate request 
    447     </td> 
    448   </tr> 
    449469  <tr> 
    450470    <td colspan="2" class="summary"> 
     
    488508    ><span class="codelink"><a href="ndg.security.common.openssl-pysrc.html#OpenSSLConfig.__init__">source&nbsp;code</a></span>&nbsp; 
    489509    </td> 
    490   </table> 
    491    
    492   Initial OpenSSL configuration optionally setting a file path to read  
    493   from 
     510  </tr></table> 
     511   
     512  <p>Initial OpenSSL configuration optionally setting a file path to read  
     513  from</p> 
    494514  <dl class="fields"> 
    495515    <dt>Parameters:</dt> 
    496516    <dd><ul class="nomargin-top"> 
    497517        <li><strong class="pname"><code>filePath</code></strong> (string) - path to OpenSSL configuration file</li> 
    498         <li><strong class="pname"><code>caDir</code></strong> (string) - directory for SimpleCA.  This is substituted for $dir in  
    499           OpenSSL config file where present.  caDir can be left out in  
    500           which case the substitution is not done</li> 
     518        <li><strong class="pname"><code>caDir</code></strong> (string) - directory for SimpleCA.  This is substituted for $dir in OpenSSL  
     519          config file where present.  caDir can be left out in which case  
     520          the substitution is not done</li> 
    501521    </ul></dd> 
    502522    <dt>Overrides: 
    503       ConfigParser.RawConfigParser.__init__ 
     523        object.__init__ 
    504524    </dt> 
    505525  </dl> 
     
    519539    ><span class="codelink"><a href="ndg.security.common.openssl-pysrc.html#OpenSSLConfig.__setFilePath">source&nbsp;code</a></span>&nbsp; 
    520540    </td> 
    521   </table> 
    522    
    523   Set property method 
     541  </tr></table> 
     542   
     543  <p>Set property method</p> 
    524544  <dl class="fields"> 
    525545    <dt>Parameters:</dt> 
     
    542562    ><span class="codelink"><a href="ndg.security.common.openssl-pysrc.html#OpenSSLConfig.__getFilePath">source&nbsp;code</a></span>&nbsp; 
    543563    </td> 
    544   </table> 
    545    
    546   Get property method 
     564  </tr></table> 
     565   
     566  <p>Get property method</p> 
    547567  <dl class="fields"> 
    548568    <dt>Returns: string</dt> 
     
    564584    ><span class="codelink"><a href="ndg.security.common.openssl-pysrc.html#OpenSSLConfig.setCADir">source&nbsp;code</a></span>&nbsp; 
    565585    </td> 
    566   </table> 
    567    
    568   Set property method 
     586  </tr></table> 
     587   
     588  <p>Set property method</p> 
    569589  <dl class="fields"> 
    570590    <dt>Parameters:</dt> 
     
    588608    ><span class="codelink"><a href="ndg.security.common.openssl-pysrc.html#OpenSSLConfig.__setReqDN">source&nbsp;code</a></span>&nbsp; 
    589609    </td> 
    590   </table> 
    591    
    592   Set property method 
     610  </tr></table> 
     611   
     612  <p>Set property method</p> 
    593613  <dl class="fields"> 
    594614    <dt>Parameters:</dt> 
     
    611631    ><span class="codelink"><a href="ndg.security.common.openssl-pysrc.html#OpenSSLConfig.read">source&nbsp;code</a></span>&nbsp; 
    612632    </td> 
    613   </table> 
     633  </tr></table> 
    614634   
    615635  <p>Override base class version to avoid parsing error with the first  
     
    619639  <p>and comments can occur on the same line as an option e.g. option =  
    620640  blah # This is option blah</p> 
    621   Reformat _sections to 
     641  <p>Reformat _sections to</p> 
    622642  <dl class="fields"> 
    623643    <dt>Overrides: 
    624       ConfigParser.RawConfigParser.read 
     644        ConfigParser.RawConfigParser.read 
    625645    </dt> 
    626646  </dl> 
     
    640660    ><span class="codelink"><a href="ndg.security.common.openssl-pysrc.html#OpenSSLConfig._filtOptVal">source&nbsp;code</a></span>&nbsp; 
    641661    </td> 
    642   </table> 
    643    
    644   For option value, filter out comments and substitute $dir with the CA  
    645   directory location 
     662  </tr></table> 
     663   
     664  <p>For option value, filter out comments and substitute $dir with the CA  
     665  directory location</p> 
    646666  <dl class="fields"> 
    647667    <dt>Parameters:</dt> 
     
    665685    ><span class="codelink"><a href="ndg.security.common.openssl-pysrc.html#OpenSSLConfig.readfp">source&nbsp;code</a></span>&nbsp; 
    666686    </td> 
    667   </table> 
    668    
    669   Set to not implemented as using a file object could be problematic  
     687  </tr></table> 
     688   
     689  <p>Set to not implemented as using a file object could be problematic  
    670690  given read() has to seek ahead to the first actual section to avoid  
    671   parsing errors 
     691  parsing errors</p> 
    672692  <dl class="fields"> 
    673693    <dt>Overrides: 
    674       ConfigParser.RawConfigParser.readfp 
     694        ConfigParser.RawConfigParser.readfp 
    675695    </dt> 
    676696  </dl> 
     
    702722<tr><td> 
    703723  <h3 class="epydoc">_certReqDNParamName</h3> 
    704   permissable keys for Distinguished Name (not including CN which gets  
    705   set separately).  This is used in __setReqDN to check input 
     724  permissable keys for Distinguished Name (not including CN which gets set  
     725  separately).  This is used in __setReqDN to check input 
    706726  <dl class="fields"> 
    707727    <dt>Type:</dt> 
     
    711731    <dt>Value:</dt> 
    712732      <dd><table><tr><td><pre class="variable"> 
    713 <code class="variable-group">[</code><code class="variable-quote">'</code><code class="variable-string">C</code><code class="variable-quote">'</code><code class="variable-op">,</code> 
    714  <code class="variable-quote">'</code><code class="variable-string">serialNumber</code><code class="variable-quote">'</code><code class="variable-op">,</code> 
    715  <code class="variable-quote">'</code><code class="variable-string">organizationName</code><code class="variable-quote">'</code><code class="variable-op">,</code> 
    716  <code class="variable-quote">'</code><code class="variable-string">CN</code><code class="variable-quote">'</code><code class="variable-op">,</code> 
    717  <code class="variable-quote">'</code><code class="variable-string">SP</code><code class="variable-quote">'</code><code class="variable-op">,</code> 
    718  <code class="variable-quote">'</code><code class="variable-string">commonName</code><code class="variable-quote">'</code><code class="variable-op">,</code> 
    719  <code class="variable-quote">'</code><code class="variable-string">L</code><code class="variable-quote">'</code><code class="variable-op">,</code> 
    720  <code class="variable-quote">'</code><code class="variable-string">stateOrProvinceName</code><code class="variable-quote">'</code><code class="variable-op">,</code> 
    721 <code class="variable-ellipsis">...</code> 
     733X509_Name.nid.keys() 
    722734</pre></td></tr></table> 
    723735</dd> 
     
    725737</td></tr></table> 
    726738</div> 
    727 <br /> 
    728 <!-- ==================== PROPERTY DETAILS ==================== --> 
    729 <a name="section-PropertyDetails"></a> 
    730 <table class="details" border="1" cellpadding="3" 
    731        cellspacing="0" width="100%" bgcolor="white"> 
    732 <tr bgcolor="#70b0f0" class="table-header"> 
    733   <td colspan="2" class="table-header"> 
    734     <table border="0" cellpadding="0" cellspacing="0" width="100%"> 
    735       <tr valign="top"> 
    736         <td align="left"><span class="table-header">Property Details</span></td> 
    737         <td align="right" valign="top" 
    738          ><span class="options">[<a href="#section-PropertyDetails" 
    739          class="privatelink" onclick="toggle_private();" 
    740          >hide private</a>]</span></td> 
    741       </tr> 
    742     </table> 
    743   </td> 
    744 </tr> 
    745 </table> 
    746739<a name="filePath"></a> 
    747740<div> 
     
    750743<tr><td> 
    751744  <h3 class="epydoc">filePath</h3> 
    752   file path for configuration file 
    753   <dl class="fields"> 
    754     <dt>Get Method:</dt> 
    755     <dd class="value"><span class="summary-sig"><a href="ndg.security.common.openssl.OpenSSLConfig-class.html#__getFilePath" class="summary-sig-name">ndg.security.common.openssl.OpenSSLConfig.__getFilePath</a>(<span class="summary-sig-arg">self</span>)</span> 
    756         - Get property method 
    757     </dd> 
    758     <dt>Set Method:</dt> 
    759     <dd class="value"><span class="summary-sig"><a href="ndg.security.common.openssl.OpenSSLConfig-class.html#__setFilePath" class="summary-sig-name">ndg.security.common.openssl.OpenSSLConfig.__setFilePath</a>(<span class="summary-sig-arg">self</span>, 
    760         <span class="summary-sig-arg">filePath</span>)</span> 
    761         - Set property method 
    762     </dd> 
     745   
     746  <dl class="fields"> 
     747  </dl> 
     748  <dl class="fields"> 
     749    <dt>Value:</dt> 
     750      <dd><table><tr><td><pre class="variable"> 
     751property(fget= __getFilePath, fset= __setFilePath, doc= &quot;file path for<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span> 
     752 configuration file&quot;) 
     753</pre></td></tr></table> 
     754</dd> 
    763755  </dl> 
    764756</td></tr></table> 
     
    770762<tr><td> 
    771763  <h3 class="epydoc">caDir</h3> 
    772   directory path for CA configuration files 
    773   <dl class="fields"> 
    774     <dt>Get Method:</dt> 
    775     <dd class="value"><span class="summary-sig"><a href="ndg.security.common.openssl.OpenSSLConfig-class.html#__getCADir" class="summary-sig-name">ndg.security.common.openssl.OpenSSLConfig.__getCADir</a>(<span class="summary-sig-arg">self</span>)</span> 
    776         - Get property method 
    777     </dd> 
    778     <dt>Set Method:</dt> 
    779     <dd class="value"><span class="summary-sig"><a href="ndg.security.common.openssl.OpenSSLConfig-class.html#setCADir" class="summary-sig-name">ndg.security.common.openssl.OpenSSLConfig.setCADir</a>(<span class="summary-sig-arg">self</span>, 
    780         <span class="summary-sig-arg">caDir</span>)</span> 
    781         - Set property method 
    782     </dd> 
     764   
     765  <dl class="fields"> 
     766  </dl> 
     767  <dl class="fields"> 
     768    <dt>Value:</dt> 
     769      <dd><table><tr><td><pre class="variable"> 
     770property(fget= __getCADir, fset= setCADir, doc= &quot;directory path for CA<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span> 
     771 configuration files&quot;) 
     772</pre></td></tr></table> 
     773</dd> 
    783774  </dl> 
    784775</td></tr></table> 
     
    790781<tr><td> 
    791782  <h3 class="epydoc">reqDN</h3> 
    792   Distinguished Name for certificate request 
    793   <dl class="fields"> 
    794     <dt>Get Method:</dt> 
    795     <dd class="value"><span class="summary-sig"><a href="ndg.security.common.openssl.OpenSSLConfig-class.html#__getReqDN" class="summary-sig-name">ndg.security.common.openssl.OpenSSLConfig.__getReqDN</a>(<span class="summary-sig-arg">self</span>)</span> 
    796         - Get property method 
    797     </dd> 
    798     <dt>Set Method:</dt> 
    799     <dd class="value"><span class="summary-sig"><a href="ndg.security.common.openssl.OpenSSLConfig-class.html#__setReqDN" class="summary-sig-name">ndg.security.common.openssl.OpenSSLConfig.__setReqDN</a>(<span class="summary-sig-arg">self</span>, 
    800         <span class="summary-sig-arg">reqDN</span>)</span> 
    801         - Set property method 
    802     </dd> 
     783   
     784  <dl class="fields"> 
     785  </dl> 
     786  <dl class="fields"> 
     787    <dt>Value:</dt> 
     788      <dd><table><tr><td><pre class="variable"> 
     789property(fget= __getReqDN, fset= __setReqDN, doc= &quot;Distinguished Name <span class="variable-linewrap"><img src="crarr.png" alt="\" /></span> 
     790for certificate request&quot;) 
     791</pre></td></tr></table> 
     792</dd> 
    803793  </dl> 
    804794</td></tr></table> 
     
    837827    <td align="left" class="footer"> 
    838828    <a href="epydoc-log.html">Generated by Epydoc 
    839     3.0beta1 on Mon Dec 17 09:22:46 2007</a> 
     829    3.0.1 on Thu Sep  4 09:37:47 2008</a> 
    840830    </td> 
    841831    <td align="right" class="footer"> 
    842       <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a> 
     832      <a target="mainFrame" href="http://epydoc.sourceforge.net" 
     833        >http://epydoc.sourceforge.net</a> 
    843834    </td> 
    844835  </tr> 
     
    851842  // visible); but by default, we want to hide them.  So hide 
    852843  // them unless we have a cookie that says to show them. 
    853   checkCookie() 
     844  checkCookie(); 
    854845  // --> 
    855846</script> 
    856    
    857847</body> 
    858848</html> 
Note: See TracChangeset for help on using the changeset viewer.