doc/R509/Cert/Extensions/BasicConstraints.html in r509-0.10.0 vs doc/R509/Cert/Extensions/BasicConstraints.html in r509-1.0
- old
+ new
@@ -1,80 +1,78 @@
-<!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::Cert::Extensions::BasicConstraints
- — Documentation by YARD 0.8.6.1
+ — 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::Cert::Extensions::BasicConstraints";
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 (B)</a> »
<span class='title'><span class='object_link'><a href="../../../R509.html" title="R509 (module)">R509</a></span></span> » <span class='title'><span class='object_link'><a href="../../Cert.html" title="R509::Cert (class)">Cert</a></span></span> » <span class='title'><span class='object_link'><a href="../Extensions.html" title="R509::Cert::Extensions (module)">Extensions</a></span></span>
»
<span class="title">BasicConstraints</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::Cert::Extensions::BasicConstraints
+ <div id="content"><h1>Class: R509::Cert::Extensions::BasicConstraints
</h1>
-
-<dl class="box">
+<div class="box_info">
- <dt class="r1">Inherits:</dt>
- <dd class="r1">
+ <dl>
+ <dt>Inherits:</dt>
+ <dd>
<span class="inheritName">OpenSSL::X509::Extension</span>
<ul class="fullTree">
<li>Object</li>
@@ -83,26 +81,30 @@
<li class="next">R509::Cert::Extensions::BasicConstraints</li>
</ul>
<a href="#" class="inheritanceTree">show all</a>
- </dd>
-
+ </dd>
+ </dl>
+
-
-
- <dt class="r2 last">Defined in:</dt>
- <dd class="r2 last">lib/r509/cert/extensions/basic_constraints.rb</dd>
+
-</dl>
-<div class="clear"></div>
+
+ <dl>
+ <dt>Defined in:</dt>
+ <dd>lib/r509/cert/extensions/basic_constraints.rb</dd>
+ </dl>
+
+</div>
+
<h2>Overview</h2><div class="docstring">
<div class="discussion">
<p>RFC 5280 Description (see: <a
href="http://www.ietf.org/rfc/rfc5280.txt">www.ietf.org/rfc/rfc5280.txt</a>)</p>
@@ -120,15 +122,14 @@
<div class="tags">
</div>
<h2>Constant Summary</h2>
-
- <dl class="constants">
-
- <dt id="OID-constant" class="">OID =
- <div class="docstring">
+ <dl class="constants">
+
+ <dt id="OID-constant" class="">OID =
+ <div class="docstring">
<div class="discussion">
<p>friendly name for BasicConstraints OID</p>
@@ -136,26 +137,25 @@
</div>
<div class="tags">
</div>
- </dt>
- <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>basicConstraints</span><span class='tstring_end'>"</span></span></pre></dd>
-
- </dl>
-
+ </dt>
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>basicConstraints</span><span class='tstring_end'>"</span></span></pre></dd>
+
+ </dl>
- <h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
+ <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="#path_length-instance_method" title="#path_length (instance method)">- (Integer<sup>?</sup>) <strong>path_length</strong> </a>
+ <a href="#path_length-instance_method" title="#path_length (instance method)">#<strong>path_length</strong> ⇒ Integer<sup>?</sup> </a>
</span>
@@ -185,19 +185,19 @@
<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="#allows_sub_ca%3F-instance_method" title="#allows_sub_ca? (instance method)">- (Boolean) <strong>allows_sub_ca?</strong> </a>
+ <a href="#allows_sub_ca%3F-instance_method" title="#allows_sub_ca? (instance method)">#<strong>allows_sub_ca?</strong> ⇒ Boolean </a>
</span>
@@ -218,11 +218,11 @@
<li class="public ">
<span class="summary_signature">
- <a href="#initialize-instance_method" title="#initialize (instance method)">- (BasicConstraints) <strong>initialize</strong>(arg) </a>
+ <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(arg) ⇒ BasicConstraints </a>
</span>
@@ -244,11 +244,11 @@
<li class="public ">
<span class="summary_signature">
- <a href="#is_ca%3F-instance_method" title="#is_ca? (instance method)">- (Boolean) <strong>is_ca?</strong> </a>
+ <a href="#is_ca%3F-instance_method" title="#is_ca? (instance method)">#<strong>is_ca?</strong> ⇒ Boolean </a>
</span>
@@ -268,11 +268,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> ⇒ Hash </a>
</span>
@@ -290,11 +290,11 @@
<li class="public ">
<span class="summary_signature">
- <a href="#to_yaml-instance_method" title="#to_yaml (instance method)">- (YAML) <strong>to_yaml</strong> </a>
+ <a href="#to_yaml-instance_method" title="#to_yaml (instance method)">#<strong>to_yaml</strong> ⇒ YAML </a>
</span>
@@ -319,11 +319,11 @@
<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::BasicConstraints (class)">BasicConstraints</a></span></tt>) <strong>initialize</strong>(arg)
+ #<strong>initialize</strong>(arg) ⇒ <tt><span class='object_link'><a href="" title="R509::Cert::Extensions::BasicConstraints (class)">BasicConstraints</a></span></tt>
@@ -415,24 +415,24 @@
<tr>
<td>
<pre class="lines">
+27
28
29
30
31
32
33
-34
-35</pre>
+34</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/basic_constraints.rb', line 28</span>
+ <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/basic_constraints.rb', line 27</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='kw'>unless</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>
@@ -450,11 +450,11 @@
<span id=""></span>
<div class="method_details first">
<h3 class="signature first" id="path_length-instance_method">
- - (<tt>Integer</tt><sup>?</sup>) <strong>path_length</strong> <span class="extras">(readonly)</span>
+ #<strong>path_length</strong> ⇒ <tt>Integer</tt><sup>?</sup> <span class="extras">(readonly)</span>
@@ -486,16 +486,16 @@
<tr>
<td>
<pre class="lines">
+21
22
-23
-24</pre>
+23</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/basic_constraints.rb', line 22</span>
+ <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/basic_constraints.rb', line 21</span>
<span class='kw'>def</span> <span class='id identifier rubyid_path_length'>path_length</span>
<span class='ivar'>@path_length</span>
<span class='kw'>end</span></pre>
</td>
@@ -511,11 +511,11 @@
<div class="method_details first">
<h3 class="signature first" id="allows_sub_ca?-instance_method">
- - (<tt>Boolean</tt>) <strong>allows_sub_ca?</strong>
+ #<strong>allows_sub_ca?</strong> ⇒ <tt>Boolean</tt>
@@ -549,33 +549,33 @@
<tr>
<td>
<pre class="lines">
+46
47
48
49
-50
-51</pre>
+50</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/basic_constraints.rb', line 47</span>
+ <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/basic_constraints.rb', line 46</span>
<span class='kw'>def</span> <span class='id identifier rubyid_allows_sub_ca?'>allows_sub_ca?</span>
<span class='kw'>return</span> <span class='kw'>false</span> <span class='kw'>unless</span> <span class='id identifier rubyid_is_ca?'>is_ca?</span>
<span class='kw'>return</span> <span class='kw'>true</span> <span class='kw'>if</span> <span class='ivar'>@path_length</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
- <span class='kw'>return</span> <span class='ivar'>@path_length</span> <span class='op'>></span> <span class='int'>0</span>
+ <span class='ivar'>@path_length</span> <span class='op'>></span> <span class='int'>0</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
<div class="method_details ">
<h3 class="signature " id="is_ca?-instance_method">
- - (<tt>Boolean</tt>) <strong>is_ca?</strong>
+ #<strong>is_ca?</strong> ⇒ <tt>Boolean</tt>
@@ -607,29 +607,29 @@
<tr>
<td>
<pre class="lines">
+38
39
-40
-41</pre>
+40</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/basic_constraints.rb', line 39</span>
+ <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/basic_constraints.rb', line 38</span>
<span class='kw'>def</span> <span class='id identifier rubyid_is_ca?'>is_ca?</span>
- <span class='kw'>return</span> <span class='ivar'>@is_ca</span> <span class='op'>==</span> <span class='kw'>true</span>
+ <span class='ivar'>@is_ca</span> <span class='op'>==</span> <span class='kw'>true</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> ⇒ <tt>Hash</tt>
@@ -659,33 +659,33 @@
<tr>
<td>
<pre class="lines">
+53
54
55
56
-57
-58</pre>
+57</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/basic_constraints.rb', line 54</span>
+ <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/basic_constraints.rb', line 53</span>
<span class='kw'>def</span> <span class='id identifier rubyid_to_h'>to_h</span>
<span class='id identifier rubyid_hash'>hash</span> <span class='op'>=</span> <span class='lbrace'>{</span> <span class='symbol'>:ca</span> <span class='op'>=></span> <span class='ivar'>@is_ca</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='id identifier rubyid_hash'>hash</span><span class='lbracket'>[</span><span class='symbol'>:path_length</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='ivar'>@path_length</span> <span class='kw'>unless</span> <span class='ivar'>@path_length</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='kw'>or</span> <span class='kw'>not</span> <span class='id identifier rubyid_is_ca?'>is_ca?</span>
+ <span class='id identifier rubyid_hash'>hash</span><span class='lbracket'>[</span><span class='symbol'>:path_length</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='ivar'>@path_length</span> <span class='kw'>unless</span> <span class='ivar'>@path_length</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='op'>||</span> <span class='op'>!</span><span class='id identifier rubyid_is_ca?'>is_ca?</span>
<span class='id identifier rubyid_hash'>hash</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>
+ #<strong>to_yaml</strong> ⇒ <tt>YAML</tt>
@@ -715,16 +715,16 @@
<tr>
<td>
<pre class="lines">
+60
61
-62
-63</pre>
+62</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/basic_constraints.rb', line 61</span>
+ <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/basic_constraints.rb', line 60</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>
@@ -734,13 +734,14 @@
</div>
</div>
- <div id="footer">
- Generated on Sun Jan 26 13:37:28 2014 by
+ <div id="footer">
+ Generated on Tue Dec 6 17:27:41 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