doc/R509/ASN1/GeneralNames.html in r509-0.10.0 vs doc/R509/ASN1/GeneralNames.html in r509-1.0

- old
+ new

@@ -1,110 +1,113 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<!DOCTYPE html> +<html> <head> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta charset="utf-8"> +<meta name="viewport" content="width=device-width, initial-scale=1.0"> <title> Class: R509::ASN1::GeneralNames - &mdash; Documentation by YARD 0.8.6.1 + &mdash; Documentation by YARD 0.9.5 </title> <link rel="stylesheet" href="../../css/style.css" type="text/css" 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; + pathId = "R509::ASN1::GeneralNames"; relpath = '../../'; - framesUrl = "../../frames.html#!" + escape(window.location.href); </script> <script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script> <script type="text/javascript" charset="utf-8" src="../../js/app.js"></script> </head> <body> - <div id="header"> - <div id="menu"> + <div class="nav_wrap"> + <iframe id="nav" src="../../class_list.html"></iframe> + <div id="resizer"></div> + </div> + + <div id="main" tabindex="-1"> + <div id="header"> + <div id="menu"> <a href="../../_index.html">Index (G)</a> &raquo; <span class='title'><span class='object_link'><a href="../../R509.html" title="R509 (module)">R509</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../ASN1.html" title="R509::ASN1 (module)">ASN1</a></span></span> &raquo; <span class="title">GeneralNames</span> - - <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div> </div> - <div id="search"> + <div id="search"> <a class="full_list_link" id="class_list_link" href="../../class_list.html"> - Class List + + <svg width="24" height="24"> + <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect> + <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect> + <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect> + </svg> </a> - <a class="full_list_link" id="method_list_link" - href="../../method_list.html"> - Method List - </a> - - <a class="full_list_link" id="file_list_link" - href="../../file_list.html"> - File List - </a> - </div> - <div class="clear"></div> - </div> + <div class="clear"></div> + </div> - <iframe id="search_frame"></iframe> + <iframe id="search_frame" src="../../class_list.html"></iframe> - <div id="content"><h1>Class: R509::ASN1::GeneralNames + <div id="content"><h1>Class: R509::ASN1::GeneralNames </h1> - -<dl class="box"> +<div class="box_info"> - <dt class="r1">Inherits:</dt> - <dd class="r1"> + <dl> + <dt>Inherits:</dt> + <dd> <span class="inheritName">Object</span> <ul class="fullTree"> <li>Object</li> <li class="next">R509::ASN1::GeneralNames</li> </ul> <a href="#" class="inheritanceTree">show all</a> - </dd> - + </dd> + </dl> + - - - <dt class="r2">Includes:</dt> - <dd class="r2"><span class='object_link'><a href="../Cert/Extensions/ValidationMixin.html" title="R509::Cert::Extensions::ValidationMixin (module)">Cert::Extensions::ValidationMixin</a></span></dd> - - + <dl> + <dt>Includes:</dt> + <dd><span class='object_link'><a href="../Cert/Extensions/ValidationMixin.html" title="R509::Cert::Extensions::ValidationMixin (module)">Cert::Extensions::ValidationMixin</a></span></dd> + </dl> - <dt class="r1 last">Defined in:</dt> - <dd class="r1 last">lib/r509/asn1.rb</dd> -</dl> -<div class="clear"></div> + + + + <dl> + <dt>Defined in:</dt> + <dd>lib/r509/asn1.rb</dd> + </dl> + +</div> + <h2>Overview</h2><div class="docstring"> <div class="discussion"> <p>object to hold parsed sequences of generalnames these structures are used in SubjectAlternativeName, AuthorityInfoAccess, CRLDistributionPoints, etc</p> @@ -117,25 +120,61 @@ </div> + <h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2> + <ul class="summary"> + + <li class="public "> + <span class="summary_signature"> + + <a href="#ordered_names-instance_method" title="#ordered_names (instance method)">#<strong>ordered_names</strong> &#x21d2; Object </a> + + + (also: #names) + + </span> + + + + + <span class="note title readonly">readonly</span> + + + + + + + + + <span class="summary_desc"><div class='inline'> +<p>Returns the value of attribute ordered_names.</p> +</div></span> + +</li> + + </ul> + + + + <h2> Instance Method Summary - <small>(<a href="#" class="summary_toggle">collapse</a>)</small> + <small><a href="#" class="summary_toggle">collapse</a></small> </h2> <ul class="summary"> <li class="public "> <span class="summary_signature"> - <a href="#add_item-instance_method" title="#add_item (instance method)">- (Object) <strong>add_item</strong>(asn) </a> + <a href="#add_item-instance_method" title="#add_item (instance method)">#<strong>add_item</strong>(asn) &#x21d2; Object </a> </span> @@ -153,11 +192,11 @@ <li class="public "> <span class="summary_signature"> - <a href="#create_item-instance_method" title="#create_item (instance method)">- (Object) <strong>create_item</strong>(hash) </a> + <a href="#create_item-instance_method" title="#create_item (instance method)">#<strong>create_item</strong>(hash) &#x21d2; Object </a> </span> @@ -175,11 +214,11 @@ <li class="public "> <span class="summary_signature"> - <a href="#directory_names-instance_method" title="#directory_names (instance method)">- (Array) <strong>directory_names</strong> </a> + <a href="#directory_names-instance_method" title="#directory_names (instance method)">#<strong>directory_names</strong> &#x21d2; Array </a> (also: #dir_names) @@ -201,11 +240,11 @@ <li class="public "> <span class="summary_signature"> - <a href="#dns_names-instance_method" title="#dns_names (instance method)">- (Array) <strong>dns_names</strong> </a> + <a href="#dns_names-instance_method" title="#dns_names (instance method)">#<strong>dns_names</strong> &#x21d2; Array </a> </span> @@ -225,11 +264,11 @@ <li class="public "> <span class="summary_signature"> - <a href="#initialize-instance_method" title="#initialize (instance method)">- (GeneralNames) <strong>initialize</strong>(data = nil) </a> + <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(data = nil) &#x21d2; GeneralNames </a> </span> @@ -251,11 +290,11 @@ <li class="public "> <span class="summary_signature"> - <a href="#ip_addresses-instance_method" title="#ip_addresses (instance method)">- (Array) <strong>ip_addresses</strong> </a> + <a href="#ip_addresses-instance_method" title="#ip_addresses (instance method)">#<strong>ip_addresses</strong> &#x21d2; Array </a> (also: #ips) @@ -277,38 +316,14 @@ <li class="public "> <span class="summary_signature"> - <a href="#names-instance_method" title="#names (instance method)">- (Array) <strong>names</strong> </a> + <a href="#rfc_822_names-instance_method" title="#rfc_822_names (instance method)">#<strong>rfc_822_names</strong> &#x21d2; Array </a> - </span> - - - - - - - - - - <span class="summary_desc"><div class='inline'> -<p>order found in the extension.</p> -</div></span> - -</li> - - - <li class="public "> - <span class="summary_signature"> - - <a href="#rfc_822_names-instance_method" title="#rfc_822_names (instance method)">- (Array) <strong>rfc_822_names</strong> </a> - - - (also: #email_names) </span> @@ -327,11 +342,11 @@ <li class="public "> <span class="summary_signature"> - <a href="#serialize_names-instance_method" title="#serialize_names (instance method)">- (Array) <strong>serialize_names</strong> </a> + <a href="#serialize_names-instance_method" title="#serialize_names (instance method)">#<strong>serialize_names</strong> &#x21d2; Array </a> </span> @@ -351,11 +366,11 @@ <li class="public "> <span class="summary_signature"> - <a href="#to_h-instance_method" title="#to_h (instance method)">- (Hash) <strong>to_h</strong> </a> + <a href="#to_h-instance_method" title="#to_h (instance method)">#<strong>to_h</strong> &#x21d2; Hash </a> </span> @@ -373,11 +388,11 @@ <li class="public "> <span class="summary_signature"> - <a href="#uniform_resource_identifiers-instance_method" title="#uniform_resource_identifiers (instance method)">- (Array) <strong>uniform_resource_identifiers</strong> </a> + <a href="#uniform_resource_identifiers-instance_method" title="#uniform_resource_identifiers (instance method)">#<strong>uniform_resource_identifiers</strong> &#x21d2; Array </a> (also: #uris) @@ -407,20 +422,20 @@ <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::ASN1::GeneralNames (class)">GeneralNames</a></span></tt>) <strong>initialize</strong>(data = nil) + #<strong>initialize</strong>(data = nil) &#x21d2; <tt><span class='object_link'><a href="" title="R509::ASN1::GeneralNames (class)">GeneralNames</a></span></tt> </h3><div class="docstring"> <div class="discussion"> -<p>A new instance of GeneralNames</p> +<p>Returns a new instance of GeneralNames</p> </div> </div> <div class="tags"> @@ -453,39 +468,39 @@ <tr> <td> <pre class="lines"> -235 -236 -237 -238 -239 -240 -241 -242 -243 -244 -245 -246 -247 -248 -249 -250 251 252 253 254 255 256 257 -258</pre> +258 +259 +260 +261 +262 +263 +264 +265 +266 +267 +268 +269 +270 +271 +272 +273 +274</pre> </td> <td> - <pre class="code"><span class="info file"># File 'lib/r509/asn1.rb', line 235</span> + <pre class="code"><span class="info file"># File 'lib/r509/asn1.rb', line 251</span> -<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_data'>data</span><span class='op'>=</span><span class='kw'>nil</span><span class='rparen'>)</span> +<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_data'>data</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span> <span class='ivar'>@types</span> <span class='op'>=</span> <span class='lbrace'>{</span> <span class='symbol'>:otherName</span> <span class='op'>=&gt;</span> <span class='lbracket'>[</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='comment'># unimplemented </span> <span class='symbol'>:rfc822Name</span> <span class='op'>=&gt;</span> <span class='lbracket'>[</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='symbol'>:dNSName</span> <span class='op'>=&gt;</span> <span class='lbracket'>[</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='symbol'>:x400Address</span> <span class='op'>=&gt;</span> <span class='lbracket'>[</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='comment'># unimplemented @@ -494,12 +509,12 @@ </span> <span class='symbol'>:uniformResourceIdentifier</span> <span class='op'>=&gt;</span> <span class='lbracket'>[</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='symbol'>:iPAddress</span> <span class='op'>=&gt;</span> <span class='lbracket'>[</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='symbol'>:registeredID</span> <span class='op'>=&gt;</span> <span class='lbracket'>[</span><span class='rbracket'>]</span> <span class='comment'># unimplemented </span> <span class='rbrace'>}</span> <span class='ivar'>@ordered_names</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span> - <span class='kw'>if</span> <span class='kw'>not</span> <span class='id identifier rubyid_data'>data</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> - <span class='kw'>if</span> <span class='id identifier rubyid_data'>data</span><span class='period'>.</span><span class='id identifier rubyid_kind_of?'>kind_of?</span><span class='lparen'>(</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span><span class='rparen'>)</span> + <span class='kw'>unless</span> <span class='id identifier rubyid_data'>data</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> + <span class='kw'>if</span> <span class='id identifier rubyid_data'>data</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span><span class='rparen'>)</span> <span class='id identifier rubyid_data'>data</span><span class='period'>.</span><span class='id identifier rubyid_names'>names</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_n'>n</span><span class='op'>|</span> <span class='id identifier rubyid_add_item'>add_item</span><span class='lparen'>(</span><span class='id identifier rubyid_n'>n</span><span class='rparen'>)</span> <span class='rbrace'>}</span> <span class='kw'>else</span> <span class='id identifier rubyid_validate_general_name_hash_array'>validate_general_name_hash_array</span><span class='lparen'>(</span><span class='id identifier rubyid_data'>data</span><span class='rparen'>)</span> <span class='id identifier rubyid_data'>data</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_n'>n</span><span class='op'>|</span> <span class='id identifier rubyid_create_item'>create_item</span><span class='lparen'>(</span><span class='id identifier rubyid_n'>n</span><span class='rparen'>)</span> @@ -512,19 +527,71 @@ </table> </div> </div> + <div id="instance_attr_details" class="attr_details"> + <h2>Instance Attribute Details</h2> + + + <span id=""></span> + <div class="method_details first"> + <h3 class="signature first" id="ordered_names-instance_method"> + + #<strong>ordered_names</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span> + + + <span class="aliases">Also known as: + <span class="names"><span id='names-instance_method'>names</span></span> + </span> + + + +</h3><div class="docstring"> + <div class="discussion"> + +<p>Returns the value of attribute ordered_names</p> + + + </div> +</div> +<div class="tags"> + + +</div><table class="source_code"> + <tr> + <td> + <pre class="lines"> + + +248 +249 +250</pre> + </td> + <td> + <pre class="code"><span class="info file"># File 'lib/r509/asn1.rb', line 248</span> + +<span class='kw'>def</span> <span class='id identifier rubyid_ordered_names'>ordered_names</span> + <span class='ivar'>@ordered_names</span> +<span class='kw'>end</span></pre> + </td> + </tr> +</table> +</div> + + </div> + + <div id="instance_method_details" class="method_details_list"> <h2>Instance Method Details</h2> <div class="method_details first"> <h3 class="signature first" id="add_item-instance_method"> - - (<tt>Object</tt>) <strong>add_item</strong>(asn) + #<strong>add_item</strong>(asn) &#x21d2; <tt>Object</tt> @@ -561,28 +628,28 @@ <tr> <td> <pre class="lines"> -261 -262 -263 -264 -265 -266 -267 -268 -269 -270 -271</pre> +277 +278 +279 +280 +281 +282 +283 +284 +285 +286 +287</pre> </td> <td> - <pre class="code"><span class="info file"># File 'lib/r509/asn1.rb', line 261</span> + <pre class="code"><span class="info file"># File 'lib/r509/asn1.rb', line 277</span> <span class='kw'>def</span> <span class='id identifier rubyid_add_item'>add_item</span><span class='lparen'>(</span><span class='id identifier rubyid_asn'>asn</span><span class='rparen'>)</span> <span class='comment'># map general names into our hash of arrays -</span> <span class='kw'>if</span> <span class='id identifier rubyid_asn'>asn</span><span class='period'>.</span><span class='id identifier rubyid_kind_of?'>kind_of?</span><span class='lparen'>(</span><span class='const'>R509</span><span class='op'>::</span><span class='const'>ASN1</span><span class='op'>::</span><span class='const'>GeneralName</span><span class='rparen'>)</span> +</span> <span class='kw'>if</span> <span class='id identifier rubyid_asn'>asn</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>R509</span><span class='op'>::</span><span class='const'>ASN1</span><span class='op'>::</span><span class='const'>GeneralName</span><span class='rparen'>)</span> <span class='ivar'>@ordered_names</span> <span class='op'>&lt;&lt;</span> <span class='id identifier rubyid_asn'>asn</span> <span class='ivar'>@types</span><span class='lbracket'>[</span><span class='id identifier rubyid_asn'>asn</span><span class='period'>.</span><span class='id identifier rubyid_type'>type</span><span class='rbracket'>]</span> <span class='op'>&lt;&lt;</span> <span class='id identifier rubyid_asn'>asn</span><span class='period'>.</span><span class='id identifier rubyid_value'>value</span> <span class='kw'>else</span> <span class='id identifier rubyid_gn'>gn</span> <span class='op'>=</span> <span class='const'>R509</span><span class='op'>::</span><span class='const'>ASN1</span><span class='op'>::</span><span class='const'>GeneralName</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_asn'>asn</span><span class='rparen'>)</span> <span class='ivar'>@ordered_names</span> <span class='op'>&lt;&lt;</span> <span class='id identifier rubyid_gn'>gn</span> @@ -595,11 +662,11 @@ </div> <div class="method_details "> <h3 class="signature " id="create_item-instance_method"> - - (<tt>Object</tt>) <strong>create_item</strong>(hash) + #<strong>create_item</strong>(hash) &#x21d2; <tt>Object</tt> @@ -637,23 +704,23 @@ <tr> <td> <pre class="lines"> -275 -276 -277 -278 -279 -280 -281</pre> +291 +292 +293 +294 +295 +296 +297</pre> </td> <td> - <pre class="code"><span class="info file"># File 'lib/r509/asn1.rb', line 275</span> + <pre class="code"><span class="info file"># File 'lib/r509/asn1.rb', line 291</span> <span class='kw'>def</span> <span class='id identifier rubyid_create_item'>create_item</span><span class='lparen'>(</span><span class='id identifier rubyid_hash'>hash</span><span class='rparen'>)</span> - <span class='kw'>if</span> <span class='kw'>not</span> <span class='id identifier rubyid_hash'>hash</span><span class='period'>.</span><span class='id identifier rubyid_respond_to?'>respond_to?</span><span class='lparen'>(</span><span class='symbol'>:has_key?</span><span class='rparen'>)</span> <span class='kw'>or</span> <span class='lparen'>(</span><span class='kw'>not</span> <span class='id identifier rubyid_hash'>hash</span><span class='period'>.</span><span class='id identifier rubyid_has_key?'>has_key?</span><span class='lparen'>(</span><span class='symbol'>:tag</span><span class='rparen'>)</span> <span class='kw'>and</span> <span class='kw'>not</span> <span class='id identifier rubyid_hash'>hash</span><span class='period'>.</span><span class='id identifier rubyid_has_key?'>has_key?</span><span class='lparen'>(</span><span class='symbol'>:type</span><span class='rparen'>)</span><span class='rparen'>)</span> <span class='kw'>or</span> <span class='kw'>not</span> <span class='id identifier rubyid_hash'>hash</span><span class='period'>.</span><span class='id identifier rubyid_has_key?'>has_key?</span><span class='lparen'>(</span><span class='symbol'>:value</span><span class='rparen'>)</span> + <span class='kw'>if</span> <span class='op'>!</span><span class='id identifier rubyid_hash'>hash</span><span class='period'>.</span><span class='id identifier rubyid_respond_to?'>respond_to?</span><span class='lparen'>(</span><span class='symbol'>:has_key?</span><span class='rparen'>)</span> <span class='op'>||</span> <span class='lparen'>(</span><span class='op'>!</span><span class='id identifier rubyid_hash'>hash</span><span class='period'>.</span><span class='id identifier rubyid_key?'>key?</span><span class='lparen'>(</span><span class='symbol'>:tag</span><span class='rparen'>)</span> <span class='op'>&amp;&amp;</span> <span class='op'>!</span><span class='id identifier rubyid_hash'>hash</span><span class='period'>.</span><span class='id identifier rubyid_key?'>key?</span><span class='lparen'>(</span><span class='symbol'>:type</span><span class='rparen'>)</span><span class='rparen'>)</span> <span class='op'>||</span> <span class='op'>!</span><span class='id identifier rubyid_hash'>hash</span><span class='period'>.</span><span class='id identifier rubyid_key?'>key?</span><span class='lparen'>(</span><span class='symbol'>:value</span><span class='rparen'>)</span> <span class='id identifier rubyid_raise'>raise</span> <span class='const'>ArgumentError</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Must be a hash with (:tag or :type) and :value nodes</span><span class='tstring_end'>&quot;</span></span> <span class='kw'>end</span> <span class='id identifier rubyid_gn'>gn</span> <span class='op'>=</span> <span class='const'>R509</span><span class='op'>::</span><span class='const'>ASN1</span><span class='op'>::</span><span class='const'>GeneralName</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='symbol'>:tag</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_hash'>hash</span><span class='lbracket'>[</span><span class='symbol'>:tag</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='symbol'>:type</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_hash'>hash</span><span class='lbracket'>[</span><span class='symbol'>:type</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='symbol'>:value</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_hash'>hash</span><span class='lbracket'>[</span><span class='symbol'>:value</span><span class='rbracket'>]</span><span class='rparen'>)</span> <span class='id identifier rubyid_add_item'>add_item</span><span class='lparen'>(</span><span class='id identifier rubyid_gn'>gn</span><span class='rparen'>)</span> <span class='kw'>end</span></pre> @@ -663,11 +730,11 @@ </div> <div class="method_details "> <h3 class="signature " id="directory_names-instance_method"> - - (<tt>Array</tt>) <strong>directory_names</strong> + #<strong>directory_names</strong> &#x21d2; <tt>Array</tt> <span class="aliases">Also known as: <span class="names"><span id='dir_names-instance_method'>dir_names</span></span> @@ -676,11 +743,11 @@ </h3><div class="docstring"> <div class="discussion"> -<p>Array of directoryNames (R509::Subject objects)</p> +<p>Returns Array of directoryNames (R509::Subject objects)</p> </div> </div> <div class="tags"> @@ -708,16 +775,16 @@ <tr> <td> <pre class="lines"> -318 -319 -320</pre> +332 +333 +334</pre> </td> <td> - <pre class="code"><span class="info file"># File 'lib/r509/asn1.rb', line 318</span> + <pre class="code"><span class="info file"># File 'lib/r509/asn1.rb', line 332</span> <span class='kw'>def</span> <span class='id identifier rubyid_directory_names'>directory_names</span> <span class='ivar'>@types</span><span class='lbracket'>[</span><span class='symbol'>:directoryName</span><span class='rbracket'>]</span> <span class='kw'>end</span></pre> </td> @@ -726,20 +793,20 @@ </div> <div class="method_details "> <h3 class="signature " id="dns_names-instance_method"> - - (<tt>Array</tt>) <strong>dns_names</strong> + #<strong>dns_names</strong> &#x21d2; <tt>Array</tt> </h3><div class="docstring"> <div class="discussion"> -<p>Array of dnsName strings</p> +<p>Returns Array of dnsName strings</p> </div> </div> <div class="tags"> @@ -767,16 +834,16 @@ <tr> <td> <pre class="lines"> -301 -302 -303</pre> +315 +316 +317</pre> </td> <td> - <pre class="code"><span class="info file"># File 'lib/r509/asn1.rb', line 301</span> + <pre class="code"><span class="info file"># File 'lib/r509/asn1.rb', line 315</span> <span class='kw'>def</span> <span class='id identifier rubyid_dns_names'>dns_names</span> <span class='ivar'>@types</span><span class='lbracket'>[</span><span class='symbol'>:dNSName</span><span class='rbracket'>]</span> <span class='kw'>end</span></pre> </td> @@ -785,11 +852,11 @@ </div> <div class="method_details "> <h3 class="signature " id="ip_addresses-instance_method"> - - (<tt>Array</tt>) <strong>ip_addresses</strong> + #<strong>ip_addresses</strong> &#x21d2; <tt>Array</tt> <span class="aliases">Also known as: <span class="names"><span id='ips-instance_method'>ips</span></span> @@ -798,11 +865,11 @@ </h3><div class="docstring"> <div class="discussion"> -<p>Array of IP address strings</p> +<p>Returns Array of IP address strings</p> </div> </div> <div class="tags"> @@ -830,88 +897,29 @@ <tr> <td> <pre class="lines"> -312 -313 -314</pre> +326 +327 +328</pre> </td> <td> - <pre class="code"><span class="info file"># File 'lib/r509/asn1.rb', line 312</span> + <pre class="code"><span class="info file"># File 'lib/r509/asn1.rb', line 326</span> <span class='kw'>def</span> <span class='id identifier rubyid_ip_addresses'>ip_addresses</span> <span class='ivar'>@types</span><span class='lbracket'>[</span><span class='symbol'>:iPAddress</span><span class='rbracket'>]</span> <span class='kw'>end</span></pre> </td> </tr> </table> </div> <div class="method_details "> - <h3 class="signature " id="names-instance_method"> - - - (<tt>Array</tt>) <strong>names</strong> - - - - - -</h3><div class="docstring"> - <div class="discussion"> - -<p>order found in the extension</p> - - - </div> -</div> -<div class="tags"> - -<p class="tag_title">Returns:</p> -<ul class="return"> - - <li> - - - <span class='type'>(<tt>Array</tt>)</span> - - - - &mdash; - <div class='inline'> -<p>array of GeneralName objects</p> -</div> - - </li> - -</ul> - -</div><table class="source_code"> - <tr> - <td> - <pre class="lines"> - - -290 -291 -292</pre> - </td> - <td> - <pre class="code"><span class="info file"># File 'lib/r509/asn1.rb', line 290</span> - -<span class='kw'>def</span> <span class='id identifier rubyid_names'>names</span> - <span class='ivar'>@ordered_names</span> -<span class='kw'>end</span></pre> - </td> - </tr> -</table> -</div> - - <div class="method_details "> <h3 class="signature " id="rfc_822_names-instance_method"> - - (<tt>Array</tt>) <strong>rfc_822_names</strong> + #<strong>rfc_822_names</strong> &#x21d2; <tt>Array</tt> <span class="aliases">Also known as: <span class="names"><span id='email_names-instance_method'>email_names</span></span> @@ -920,11 +928,11 @@ </h3><div class="docstring"> <div class="discussion"> -<p>Array of rfc822name strings</p> +<p>Returns Array of rfc822name strings</p> </div> </div> <div class="tags"> @@ -952,16 +960,16 @@ <tr> <td> <pre class="lines"> -295 -296 -297</pre> +309 +310 +311</pre> </td> <td> - <pre class="code"><span class="info file"># File 'lib/r509/asn1.rb', line 295</span> + <pre class="code"><span class="info file"># File 'lib/r509/asn1.rb', line 309</span> <span class='kw'>def</span> <span class='id identifier rubyid_rfc_822_names'>rfc_822_names</span> <span class='ivar'>@types</span><span class='lbracket'>[</span><span class='symbol'>:rfc822Name</span><span class='rbracket'>]</span> <span class='kw'>end</span></pre> </td> @@ -970,20 +978,20 @@ </div> <div class="method_details "> <h3 class="signature " id="serialize_names-instance_method"> - - (<tt>Array</tt>) <strong>serialize_names</strong> + #<strong>serialize_names</strong> &#x21d2; <tt>Array</tt> </h3><div class="docstring"> <div class="discussion"> -<p>String of serialized names for OpenSSL extension creation</p> +<p>Returns string of serialized names for OpenSSL extension creation</p> </div> </div> <div class="tags"> @@ -1011,43 +1019,43 @@ <tr> <td> <pre class="lines"> -324 -325 -326 -327 -328 -329 -330 -331 -332 -333</pre> +338 +339 +340 +341 +342 +343 +344 +345 +346 +347</pre> </td> <td> - <pre class="code"><span class="info file"># File 'lib/r509/asn1.rb', line 324</span> + <pre class="code"><span class="info file"># File 'lib/r509/asn1.rb', line 338</span> <span class='kw'>def</span> <span class='id identifier rubyid_serialize_names'>serialize_names</span> <span class='id identifier rubyid_confs'>confs</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span> <span class='id identifier rubyid_extension_strings'>extension_strings</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span> - <span class='ivar'>@ordered_names</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_item'>item</span><span class='op'>|</span> + <span class='ivar'>@ordered_names</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_item'>item</span><span class='op'>|</span> <span class='id identifier rubyid_data'>data</span> <span class='op'>=</span> <span class='id identifier rubyid_item'>item</span><span class='period'>.</span><span class='id identifier rubyid_serialize_name'>serialize_name</span> <span class='id identifier rubyid_confs'>confs</span> <span class='op'>&lt;&lt;</span> <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:conf</span><span class='rbracket'>]</span> <span class='id identifier rubyid_extension_strings'>extension_strings</span> <span class='op'>&lt;&lt;</span> <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:extension_string</span><span class='rbracket'>]</span> - <span class='rbrace'>}</span> + <span class='kw'>end</span> <span class='lbrace'>{</span> <span class='symbol'>:conf</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_confs'>confs</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>\n</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span><span class='comma'>,</span> <span class='symbol'>:extension_string</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_extension_strings'>extension_strings</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>,</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> <span class='rbrace'>}</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> + #<strong>to_h</strong> &#x21d2; <tt>Hash</tt> @@ -1077,16 +1085,16 @@ <tr> <td> <pre class="lines"> -284 -285 -286</pre> +300 +301 +302</pre> </td> <td> - <pre class="code"><span class="info file"># File 'lib/r509/asn1.rb', line 284</span> + <pre class="code"><span class="info file"># File 'lib/r509/asn1.rb', line 300</span> <span class='kw'>def</span> <span class='id identifier rubyid_to_h'>to_h</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_names'>names</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_n'>n</span><span class='op'>|</span> <span class='id identifier rubyid_n'>n</span><span class='period'>.</span><span class='id identifier rubyid_to_h'>to_h</span> <span class='rbrace'>}</span> <span class='kw'>end</span></pre> </td> @@ -1095,11 +1103,11 @@ </div> <div class="method_details "> <h3 class="signature " id="uniform_resource_identifiers-instance_method"> - - (<tt>Array</tt>) <strong>uniform_resource_identifiers</strong> + #<strong>uniform_resource_identifiers</strong> &#x21d2; <tt>Array</tt> <span class="aliases">Also known as: <span class="names"><span id='uris-instance_method'>uris</span></span> @@ -1108,11 +1116,11 @@ </h3><div class="docstring"> <div class="discussion"> -<p>Array of uri strings</p> +<p>Returns Array of uri strings</p> </div> </div> <div class="tags"> @@ -1140,16 +1148,16 @@ <tr> <td> <pre class="lines"> -306 -307 -308</pre> +320 +321 +322</pre> </td> <td> - <pre class="code"><span class="info file"># File 'lib/r509/asn1.rb', line 306</span> + <pre class="code"><span class="info file"># File 'lib/r509/asn1.rb', line 320</span> <span class='kw'>def</span> <span class='id identifier rubyid_uniform_resource_identifiers'>uniform_resource_identifiers</span> <span class='ivar'>@types</span><span class='lbracket'>[</span><span class='symbol'>:uniformResourceIdentifier</span><span class='rbracket'>]</span> <span class='kw'>end</span></pre> </td> @@ -1159,13 +1167,14 @@ </div> </div> - <div id="footer"> - Generated on Sun Jan 26 13:37:26 2014 by + <div id="footer"> + Generated on Tue Dec 6 17:27:39 2016 by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a> - 0.8.6.1 (ruby-2.0.0). + 0.9.5 (ruby-2.4.0). </div> + </div> </body> </html> \ No newline at end of file