doc/R509/Cert/Extensions/ExtendedKeyUsage.html in r509-0.9.2 vs doc/R509/Cert/Extensions/ExtendedKeyUsage.html in r509-0.10.0
- old
+ new
@@ -4,17 +4,17 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>
Class: R509::Cert::Extensions::ExtendedKeyUsage
- — Documentation by YARD 0.8.5
+ — Documentation by YARD 0.8.6.1
</title>
- <link rel="stylesheet" href="../../../css/style.css" type="text/css" media="screen" charset="utf-8" />
+ <link rel="stylesheet" href="../../../css/style.css" type="text/css" charset="utf-8" />
- <link rel="stylesheet" href="../../../css/common.css" type="text/css" media="screen" charset="utf-8" />
+ <link rel="stylesheet" href="../../../css/common.css" type="text/css" charset="utf-8" />
<script type="text/javascript" charset="utf-8">
hasFrames = window.top.frames.main ? true : false;
relpath = '../../../';
framesUrl = "../../../frames.html#!" + escape(window.location.href);
@@ -90,26 +90,38 @@
+ <dt class="r2">Includes:</dt>
+ <dd class="r2"><span class='object_link'><a href="ValidationMixin.html" title="R509::Cert::Extensions::ValidationMixin (module)">ValidationMixin</a></span></dd>
+
+
- <dt class="r2 last">Defined in:</dt>
- <dd class="r2 last">lib/r509/cert/extensions.rb</dd>
+ <dt class="r1 last">Defined in:</dt>
+ <dd class="r1 last">lib/r509/cert/extensions/extended_key_usage.rb</dd>
</dl>
<div class="clear"></div>
<h2>Overview</h2><div class="docstring">
<div class="discussion">
-<p>Implements the ExtendedKeyUsage certificate extension, with methods to
-provide access to the components and meaning of the extension's contents.</p>
+<p>RFC 5280 Description (see: <a
+href="http://www.ietf.org/rfc/rfc5280.txt">www.ietf.org/rfc/rfc5280.txt</a>)</p>
+<p>This extension indicates one or more purposes for which the certified
+public key may be used, in addition to or in place of the basic purposes
+indicated in the key usage extension. In general, this extension will
+appear only in end entity certificates.</p>
+<p>You can use this extension to parse an existing extension for easy access
+to the contents or create a new one.</p>
+
+
</div>
</div>
<div class="tags">
@@ -256,11 +268,11 @@
<ul class="summary">
<li class="public ">
<span class="summary_signature">
- <a href="#allowed_uses-instance_method" title="#allowed_uses (instance method)">- (Object) <strong>allowed_uses</strong> </a>
+ <a href="#allowed_uses-instance_method" title="#allowed_uses (instance method)">- (Array<sup>?</sup>) <strong>allowed_uses</strong> </a>
</span>
@@ -276,11 +288,11 @@
<span class="summary_desc"><div class='inline'>
-<p>Returns the value of attribute allowed_uses.</p>
+<p>an array (of strings) of the extended key uses allowed.</p>
</div></span>
</li>
@@ -388,11 +400,11 @@
<li class="public ">
<span class="summary_signature">
- <a href="#initialize-instance_method" title="#initialize (instance method)">- (ExtendedKeyUsage) <strong>initialize</strong>(*args) </a>
+ <a href="#initialize-instance_method" title="#initialize (instance method)">- (ExtendedKeyUsage) <strong>initialize</strong>(arg) </a>
</span>
@@ -405,11 +417,11 @@
<span class="summary_desc"><div class='inline'>
-<p>See OpenSSL::X509::Extension#initialize.</p>
+<p>This method takes a hash or an existing Extension object to parse.</p>
</div></span>
</li>
@@ -458,10 +470,54 @@
<li class="public ">
<span class="summary_signature">
+ <a href="#to_h-instance_method" title="#to_h (instance method)">- (Hash) <strong>to_h</strong> </a>
+
+
+
+ </span>
+
+
+
+
+
+
+
+
+
+ <span class="summary_desc"><div class='inline'></div></span>
+
+</li>
+
+
+ <li class="public ">
+ <span class="summary_signature">
+
+ <a href="#to_yaml-instance_method" title="#to_yaml (instance method)">- (YAML) <strong>to_yaml</strong> </a>
+
+
+
+ </span>
+
+
+
+
+
+
+
+
+
+ <span class="summary_desc"><div class='inline'></div></span>
+
+</li>
+
+
+ <li class="public ">
+ <span class="summary_signature">
+
<a href="#web_client_authentication%3F-instance_method" title="#web_client_authentication? (instance method)">- (Boolean) <strong>web_client_authentication?</strong> </a>
</span>
@@ -503,162 +559,137 @@
</ul>
+
+
<div id="constructor_details" class="method_details_list">
<h2>Constructor Details</h2>
<div class="method_details first">
<h3 class="signature first" id="initialize-instance_method">
- - (<tt><span class='object_link'><a href="" title="R509::Cert::Extensions::ExtendedKeyUsage (class)">ExtendedKeyUsage</a></span></tt>) <strong>initialize</strong>(*args)
+ - (<tt><span class='object_link'><a href="" title="R509::Cert::Extensions::ExtendedKeyUsage (class)">ExtendedKeyUsage</a></span></tt>) <strong>initialize</strong>(arg)
</h3><div class="docstring">
<div class="discussion">
-<p>See OpenSSL::X509::Extension#initialize</p>
+<p>This method takes a hash or an existing Extension object to parse</p>
+<p>The following types are known to r509</p>
+<pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_serverAuth'>serverAuth</span>
+<span class='id identifier rubyid_clientAuth'>clientAuth</span>
+<span class='id identifier rubyid_codeSigning'>codeSigning</span>
+<span class='id identifier rubyid_emailProtection'>emailProtection</span>
+<span class='const'>OCSPSigning</span>
+<span class='id identifier rubyid_timeStamping'>timeStamping</span>
+<span class='id identifier rubyid_anyExtendedKeyUsage'>anyExtendedKeyUsage</span>
+<span class='id identifier rubyid_msCodeInd'>msCodeInd</span> <span class='lparen'>(</span><span class='kw'>not</span> <span class='id identifier rubyid_part'>part</span> <span class='id identifier rubyid_of'>of</span> <span class='const'>RFC</span> <span class='int'>5280</span><span class='rparen'>)</span>
+<span class='id identifier rubyid_msCodeCom'>msCodeCom</span> <span class='lparen'>(</span><span class='kw'>not</span> <span class='id identifier rubyid_part'>part</span> <span class='id identifier rubyid_of'>of</span> <span class='const'>RFC</span> <span class='int'>5280</span><span class='rparen'>)</span>
+<span class='id identifier rubyid_msCTLSign'>msCTLSign</span> <span class='lparen'>(</span><span class='kw'>not</span> <span class='id identifier rubyid_part'>part</span> <span class='id identifier rubyid_of'>of</span> <span class='const'>RFC</span> <span class='int'>5280</span><span class='rparen'>)</span>
+<span class='id identifier rubyid_msSGC'>msSGC</span> <span class='lparen'>(</span><span class='kw'>not</span> <span class='id identifier rubyid_part'>part</span> <span class='id identifier rubyid_of'>of</span> <span class='const'>RFC</span> <span class='int'>5280</span><span class='rparen'>)</span>
+<span class='id identifier rubyid_msEFS'>msEFS</span> <span class='lparen'>(</span><span class='kw'>not</span> <span class='id identifier rubyid_part'>part</span> <span class='id identifier rubyid_of'>of</span> <span class='const'>RFC</span> <span class='int'>5280</span><span class='rparen'>)</span>
+<span class='id identifier rubyid_nsSGC'>nsSGC</span> <span class='lparen'>(</span><span class='kw'>not</span> <span class='id identifier rubyid_part'>part</span> <span class='id identifier rubyid_of'>of</span> <span class='const'>RFC</span> <span class='int'>5280</span><span class='rparen'>)</span></code></pre>
+
+
</div>
</div>
<div class="tags">
+ <div class="examples">
+ <p class="tag_title">Examples:</p>
+
+
+ <pre class="example code"><code>R509::Cert::Extensions::ExtendedKeyUsage.new(
+ :critical => false,
+ :value => ['clientAuth,'serverAuth']
+)</code></pre>
+
+ </div>
+<p class="tag_title">Parameters:</p>
+<ul class="param">
+
+ <li>
+
+ <span class='name'>arg</span>
+
+
+ <span class='type'>(<tt>Hash</tt>)</span>
+
+
+
+ —
+ <div class='inline'>
+<p>a customizable set of options</p>
+</div>
+
+ </li>
+
+</ul>
+
+
+
+ <p class="tag_title">Options Hash (<tt>arg</tt>):</p>
+ <ul class="option">
+
+ <li>
+ <span class="name">:value</span>
+ <span class="type">(<tt>Array</tt>)</span>
+ <span class="default">
+
+ </span>
+
+ </li>
+
+ <li>
+ <span class="name">:critical</span>
+ <span class="type">(<tt>Boolean</tt>)</span>
+ <span class="default">
+
+ — default:
+ <tt>false</tt>
+
+ </span>
+
+ </li>
+
+ </ul>
+
+
+
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
-229
-230
-231
-232
-233
-234
-235
-236
-237
-238
-239
-240
-241
-242
-243
-244
-245
-246
-247
-248
-249
-250
-251
-252
-253
-254
-255
-256
-257
-258
-259
-260
-261
-262
-263
-264
-265
-266
-267
-268
-269
-270
-271
-272
-273
-274
-275
-276
-277
-278
-279
-280
-281
-282
-283
-284
-285
-286
-287
-288</pre>
+66
+67
+68
+69
+70
+71
+72
+73</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions.rb', line 229</span>
+ <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/extended_key_usage.rb', line 66</span>
-<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
- <span class='kw'>super</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
-
- <span class='ivar'>@allowed_uses</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
- <span class='id identifier rubyid_data'>data</span> <span class='op'>=</span> <span class='const'>R509</span><span class='op'>::</span><span class='const'>ASN1</span><span class='period'>.</span><span class='id identifier rubyid_get_extension_payload'>get_extension_payload</span><span class='lparen'>(</span><span class='kw'>self</span><span class='rparen'>)</span>
-
- <span class='id identifier rubyid_data'>data</span><span class='period'>.</span><span class='id identifier rubyid_entries'>entries</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_eku'>eku</span><span class='op'>|</span>
- <span class='comment'># The following key usage purposes are defined:
-</span> <span class='comment'>#
-</span> <span class='comment'># anyExtendedKeyUsage OBJECT IDENTIFIER ::= { id-ce-extKeyUsage 0 }
-</span> <span class='comment'>#
-</span> <span class='comment'># id-kp OBJECT IDENTIFIER ::= { id-pkix 3 }
-</span> <span class='comment'># id-kp-serverAuth OBJECT IDENTIFIER ::= { id-kp 1 }
-</span> <span class='comment'># -- TLS WWW server authentication
-</span> <span class='comment'># -- Key usage bits that may be consistent: digitalSignature,
-</span> <span class='comment'># -- keyEncipherment or keyAgreement
-</span> <span class='comment'>#
-</span> <span class='comment'># id-kp-clientAuth OBJECT IDENTIFIER ::= { id-kp 2 }
-</span> <span class='comment'># -- TLS WWW client authentication
-</span> <span class='comment'># -- Key usage bits that may be consistent: digitalSignature
-</span> <span class='comment'># -- and/or keyAgreement
-</span> <span class='comment'>#
-</span> <span class='comment'># id-kp-codeSigning OBJECT IDENTIFIER ::= { id-kp 3 }
-</span> <span class='comment'># -- Signing of downloadable executable code
-</span> <span class='comment'># -- Key usage bits that may be consistent: digitalSignature
-</span> <span class='comment'>#
-</span> <span class='comment'># id-kp-emailProtection OBJECT IDENTIFIER ::= { id-kp 4 }
-</span> <span class='comment'># -- Email protection
-</span> <span class='comment'># -- Key usage bits that may be consistent: digitalSignature,
-</span> <span class='comment'># -- nonRepudiation, and/or (keyEncipherment or keyAgreement)
-</span> <span class='comment'>#
-</span> <span class='comment'># id-kp-timeStamping OBJECT IDENTIFIER ::= { id-kp 8 }
-</span> <span class='comment'># -- Binding the hash of an object to a time
-</span> <span class='comment'># -- Key usage bits that may be consistent: digitalSignature
-</span> <span class='comment'># -- and/or nonRepudiation
-</span> <span class='comment'>#
-</span> <span class='comment'># id-kp-OCSPSigning OBJECT IDENTIFIER ::= { id-kp 9 }
-</span> <span class='comment'># -- Signing OCSP responses
-</span> <span class='comment'># -- Key usage bits that may be consistent: digitalSignature
-</span> <span class='comment'># -- and/or nonRepudiation
-</span>
- <span class='kw'>case</span> <span class='id identifier rubyid_eku'>eku</span><span class='period'>.</span><span class='id identifier rubyid_value'>value</span>
- <span class='kw'>when</span> <span class='const'>AU_WEB_SERVER_AUTH</span>
- <span class='ivar'>@web_server_authentication</span> <span class='op'>=</span> <span class='kw'>true</span>
- <span class='kw'>when</span> <span class='const'>AU_WEB_CLIENT_AUTH</span>
- <span class='ivar'>@web_client_authentication</span> <span class='op'>=</span> <span class='kw'>true</span>
- <span class='kw'>when</span> <span class='const'>AU_CODE_SIGNING</span>
- <span class='ivar'>@code_signing</span> <span class='op'>=</span> <span class='kw'>true</span>
- <span class='kw'>when</span> <span class='const'>AU_EMAIL_PROTECTION</span>
- <span class='ivar'>@email_protection</span> <span class='op'>=</span> <span class='kw'>true</span>
- <span class='kw'>when</span> <span class='const'>AU_OCSP_SIGNING</span>
- <span class='ivar'>@ocsp_signing</span> <span class='op'>=</span> <span class='kw'>true</span>
- <span class='kw'>when</span> <span class='const'>AU_TIME_STAMPING</span>
- <span class='ivar'>@time_stamping</span> <span class='op'>=</span> <span class='kw'>true</span>
- <span class='kw'>when</span> <span class='const'>AU_ANY_EXTENDED_KEY_USAGE</span>
- <span class='ivar'>@any_extended_key_usage</span> <span class='op'>=</span> <span class='kw'>true</span>
- <span class='kw'>end</span>
- <span class='ivar'>@allowed_uses</span> <span class='op'><<</span> <span class='id identifier rubyid_eku'>eku</span><span class='period'>.</span><span class='id identifier rubyid_value'>value</span>
+<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_arg'>arg</span><span class='rparen'>)</span>
+ <span class='kw'>if</span> <span class='kw'>not</span> <span class='const'>R509</span><span class='op'>::</span><span class='const'>Cert</span><span class='op'>::</span><span class='const'>Extensions</span><span class='period'>.</span><span class='id identifier rubyid_is_extension?'>is_extension?</span><span class='lparen'>(</span><span class='id identifier rubyid_arg'>arg</span><span class='rparen'>)</span>
+ <span class='id identifier rubyid_arg'>arg</span> <span class='op'>=</span> <span class='id identifier rubyid_build_extension'>build_extension</span><span class='lparen'>(</span><span class='id identifier rubyid_arg'>arg</span><span class='rparen'>)</span>
<span class='kw'>end</span>
+
+ <span class='kw'>super</span><span class='lparen'>(</span><span class='id identifier rubyid_arg'>arg</span><span class='rparen'>)</span>
+ <span class='id identifier rubyid_parse_extension'>parse_extension</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
@@ -671,39 +702,52 @@
<span id=""></span>
<div class="method_details first">
<h3 class="signature first" id="allowed_uses-instance_method">
- - (<tt>Object</tt>) <strong>allowed_uses</strong> <span class="extras">(readonly)</span>
+ - (<tt>Array</tt><sup>?</sup>) <strong>allowed_uses</strong> <span class="extras">(readonly)</span>
</h3><div class="docstring">
<div class="discussion">
-<p>Returns the value of attribute allowed_uses</p>
+<p>an array (of strings) of the extended key uses allowed</p>
</div>
</div>
<div class="tags">
+<p class="tag_title">Returns:</p>
+<ul class="return">
+
+ <li>
+
+
+ <span class='type'>(<tt>Array</tt>, <tt>nil</tt>)</span>
+
+
+
+ </li>
+
+</ul>
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
-226
-227
-228</pre>
+40
+41
+42</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions.rb', line 226</span>
+ <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/extended_key_usage.rb', line 40</span>
<span class='kw'>def</span> <span class='id identifier rubyid_allowed_uses'>allowed_uses</span>
<span class='ivar'>@allowed_uses</span>
<span class='kw'>end</span></pre>
</td>
@@ -775,16 +819,16 @@
<tr>
<td>
<pre class="lines">
-292
-293
-294</pre>
+77
+78
+79</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions.rb', line 292</span>
+ <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/extended_key_usage.rb', line 77</span>
<span class='kw'>def</span> <span class='id identifier rubyid_allows?'>allows?</span><span class='lparen'>(</span> <span class='id identifier rubyid_friendly_use_name'>friendly_use_name</span> <span class='rparen'>)</span>
<span class='ivar'>@allowed_uses</span><span class='period'>.</span><span class='id identifier rubyid_include?'>include?</span><span class='lparen'>(</span> <span class='id identifier rubyid_friendly_use_name'>friendly_use_name</span> <span class='rparen'>)</span>
<span class='kw'>end</span></pre>
</td>
@@ -827,16 +871,16 @@
<tr>
<td>
<pre class="lines">
-320
-321
-322</pre>
+105
+106
+107</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions.rb', line 320</span>
+ <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/extended_key_usage.rb', line 105</span>
<span class='kw'>def</span> <span class='id identifier rubyid_any_extended_key_usage?'>any_extended_key_usage?</span>
<span class='lparen'>(</span><span class='ivar'>@any_extended_key_usage</span> <span class='op'>==</span> <span class='kw'>true</span><span class='rparen'>)</span>
<span class='kw'>end</span></pre>
</td>
@@ -879,16 +923,16 @@
<tr>
<td>
<pre class="lines">
-304
-305
-306</pre>
+89
+90
+91</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions.rb', line 304</span>
+ <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/extended_key_usage.rb', line 89</span>
<span class='kw'>def</span> <span class='id identifier rubyid_code_signing?'>code_signing?</span>
<span class='lparen'>(</span><span class='ivar'>@code_signing</span> <span class='op'>==</span> <span class='kw'>true</span><span class='rparen'>)</span>
<span class='kw'>end</span></pre>
</td>
@@ -931,16 +975,16 @@
<tr>
<td>
<pre class="lines">
-308
-309
-310</pre>
+93
+94
+95</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions.rb', line 308</span>
+ <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/extended_key_usage.rb', line 93</span>
<span class='kw'>def</span> <span class='id identifier rubyid_email_protection?'>email_protection?</span>
<span class='lparen'>(</span><span class='ivar'>@email_protection</span> <span class='op'>==</span> <span class='kw'>true</span><span class='rparen'>)</span>
<span class='kw'>end</span></pre>
</td>
@@ -983,16 +1027,16 @@
<tr>
<td>
<pre class="lines">
-312
-313
-314</pre>
+97
+98
+99</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions.rb', line 312</span>
+ <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/extended_key_usage.rb', line 97</span>
<span class='kw'>def</span> <span class='id identifier rubyid_ocsp_signing?'>ocsp_signing?</span>
<span class='lparen'>(</span><span class='ivar'>@ocsp_signing</span> <span class='op'>==</span> <span class='kw'>true</span><span class='rparen'>)</span>
<span class='kw'>end</span></pre>
</td>
@@ -1035,26 +1079,130 @@
<tr>
<td>
<pre class="lines">
-316
-317
-318</pre>
+101
+102
+103</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions.rb', line 316</span>
+ <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/extended_key_usage.rb', line 101</span>
<span class='kw'>def</span> <span class='id identifier rubyid_time_stamping?'>time_stamping?</span>
<span class='lparen'>(</span><span class='ivar'>@time_stamping</span> <span class='op'>==</span> <span class='kw'>true</span><span class='rparen'>)</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
<div class="method_details ">
+ <h3 class="signature " id="to_h-instance_method">
+
+ - (<tt>Hash</tt>) <strong>to_h</strong>
+
+
+
+
+
+</h3><div class="docstring">
+ <div class="discussion">
+
+
+ </div>
+</div>
+<div class="tags">
+
+<p class="tag_title">Returns:</p>
+<ul class="return">
+
+ <li>
+
+
+ <span class='type'>(<tt>Hash</tt>)</span>
+
+
+
+ </li>
+
+</ul>
+
+</div><table class="source_code">
+ <tr>
+ <td>
+ <pre class="lines">
+
+
+110
+111
+112</pre>
+ </td>
+ <td>
+ <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/extended_key_usage.rb', line 110</span>
+
+<span class='kw'>def</span> <span class='id identifier rubyid_to_h'>to_h</span>
+ <span class='lbrace'>{</span> <span class='symbol'>:value</span> <span class='op'>=></span> <span class='ivar'>@allowed_uses</span><span class='comma'>,</span> <span class='symbol'>:critical</span> <span class='op'>=></span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_critical?'>critical?</span> <span class='rbrace'>}</span>
+<span class='kw'>end</span></pre>
+ </td>
+ </tr>
+</table>
+</div>
+
+ <div class="method_details ">
+ <h3 class="signature " id="to_yaml-instance_method">
+
+ - (<tt>YAML</tt>) <strong>to_yaml</strong>
+
+
+
+
+
+</h3><div class="docstring">
+ <div class="discussion">
+
+
+ </div>
+</div>
+<div class="tags">
+
+<p class="tag_title">Returns:</p>
+<ul class="return">
+
+ <li>
+
+
+ <span class='type'>(<tt>YAML</tt>)</span>
+
+
+
+ </li>
+
+</ul>
+
+</div><table class="source_code">
+ <tr>
+ <td>
+ <pre class="lines">
+
+
+115
+116
+117</pre>
+ </td>
+ <td>
+ <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/extended_key_usage.rb', line 115</span>
+
+<span class='kw'>def</span> <span class='id identifier rubyid_to_yaml'>to_yaml</span>
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_to_h'>to_h</span><span class='period'>.</span><span class='id identifier rubyid_to_yaml'>to_yaml</span>
+<span class='kw'>end</span></pre>
+ </td>
+ </tr>
+</table>
+</div>
+
+ <div class="method_details ">
<h3 class="signature " id="web_client_authentication?-instance_method">
- (<tt>Boolean</tt>) <strong>web_client_authentication?</strong>
@@ -1087,16 +1235,16 @@
<tr>
<td>
<pre class="lines">
-300
-301
-302</pre>
+85
+86
+87</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions.rb', line 300</span>
+ <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/extended_key_usage.rb', line 85</span>
<span class='kw'>def</span> <span class='id identifier rubyid_web_client_authentication?'>web_client_authentication?</span>
<span class='lparen'>(</span><span class='ivar'>@web_client_authentication</span> <span class='op'>==</span> <span class='kw'>true</span><span class='rparen'>)</span>
<span class='kw'>end</span></pre>
</td>
@@ -1139,16 +1287,16 @@
<tr>
<td>
<pre class="lines">
-296
-297
-298</pre>
+81
+82
+83</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions.rb', line 296</span>
+ <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/extended_key_usage.rb', line 81</span>
<span class='kw'>def</span> <span class='id identifier rubyid_web_server_authentication?'>web_server_authentication?</span>
<span class='lparen'>(</span><span class='ivar'>@web_server_authentication</span> <span class='op'>==</span> <span class='kw'>true</span><span class='rparen'>)</span>
<span class='kw'>end</span></pre>
</td>
@@ -1159,12 +1307,12 @@
</div>
</div>
<div id="footer">
- Generated on Tue Apr 23 10:46:06 2013 by
+ Generated on Sun Jan 26 13:37:28 2014 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
- 0.8.5 (ruby-1.9.3).
+ 0.8.6.1 (ruby-2.0.0).
</div>
</body>
</html>
\ No newline at end of file