doc/R509/Cert/Extensions/NameConstraints.html in r509-0.9.2 vs doc/R509/Cert/Extensions/NameConstraints.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::NameConstraints
- — 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);
@@ -94,22 +94,47 @@
<dt class="r2 last">Defined in:</dt>
- <dd class="r2 last">lib/r509/cert/extensions.rb</dd>
+ <dd class="r2 last">lib/r509/cert/extensions/name_constraints.rb</dd>
</dl>
<div class="clear"></div>
<h2>Overview</h2><div class="docstring">
<div class="discussion">
-<p>Implements the NameConstraints 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>The name constraints extension, which MUST be used only in a CA
+certificate, indicates a name space within which all subject names in
+subsequent certificates in a certification path MUST be located.
+Restrictions apply to the subject distinguished name and apply to subject
+alternative names. Restrictions apply only when the specified name form is
+present. If no name of the type is in the certificate, the certificate is
+acceptable.</p>
+<p>Name constraints are not applied to self-issued certificates (unless the
+certificate is the final certificate in the path). (This could prevent CAs
+that use name constraints from employing self-issued certificates to
+implement key rollover.)</p>
+
+<p>Restrictions are defined in terms of permitted or excluded name subtrees.
+Any name matching a restriction in the excludedSubtrees field is invalid
+regardless of information appearing in the permittedSubtrees. Conforming
+CAs MUST mark this extension as critical and SHOULD NOT impose name
+constraints on the x400Address, ediPartyName, or registeredID name forms.
+Conforming CAs MUST NOT issue certificates where name constraints is an
+empty sequence. That is, either the permittedSubtrees field or the
+excludedSubtrees MUST be present.</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">
@@ -144,11 +169,11 @@
<ul class="summary">
<li class="public ">
<span class="summary_signature">
- <a href="#excluded_names-instance_method" title="#excluded_names (instance method)">- (Object) <strong>excluded_names</strong> </a>
+ <a href="#excluded-instance_method" title="#excluded (instance method)">- (R509::ASN1::GeneralNames<sup>?</sup>) <strong>excluded</strong> </a>
</span>
@@ -163,21 +188,19 @@
- <span class="summary_desc"><div class='inline'>
-<p>Returns the value of attribute excluded_names.</p>
-</div></span>
+ <span class="summary_desc"><div class='inline'></div></span>
</li>
<li class="public ">
<span class="summary_signature">
- <a href="#permitted_names-instance_method" title="#permitted_names (instance method)">- (Object) <strong>permitted_names</strong> </a>
+ <a href="#permitted-instance_method" title="#permitted (instance method)">- (R509::ASN1::GeneralNames<sup>?</sup>) <strong>permitted</strong> </a>
</span>
@@ -192,13 +215,11 @@
- <span class="summary_desc"><div class='inline'>
-<p>Returns the value of attribute permitted_names.</p>
-</div></span>
+ <span class="summary_desc"><div class='inline'></div></span>
</li>
</ul>
@@ -215,11 +236,11 @@
<ul class="summary">
<li class="public ">
<span class="summary_signature">
- <a href="#initialize-instance_method" title="#initialize (instance method)">- (NameConstraints) <strong>initialize</strong>(*args) </a>
+ <a href="#initialize-instance_method" title="#initialize (instance method)">- (NameConstraints) <strong>initialize</strong>(arg) </a>
</span>
@@ -232,109 +253,220 @@
<span class="summary_desc"><div class='inline'>
-<p>id-ce-nameConstraints OBJECT IDENTIFIER ::= { id-ce 30 }.</p>
+<p>A new instance of NameConstraints.</p>
</div></span>
</li>
+ <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>
+
+
</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::NameConstraints (class)">NameConstraints</a></span></tt>) <strong>initialize</strong>(*args)
+ - (<tt><span class='object_link'><a href="" title="R509::Cert::Extensions::NameConstraints (class)">NameConstraints</a></span></tt>) <strong>initialize</strong>(arg)
</h3><div class="docstring">
<div class="discussion">
-<p>id-ce-nameConstraints OBJECT IDENTIFIER ::= { id-ce 30 }</p>
+ <div class="note notetag">
+ <strong>Note:</strong>
+ <div class='inline'>
+<p>When supplying IP you <em>must</em> supply a full netmask in addition to an
+IP. (both IPv4 and IPv6 supported)</p>
+</div>
+ </div>
-<pre class="code ruby"><code class="ruby">NameConstraints ::= SEQUENCE {
- permittedSubtrees [0] GeneralSubtrees OPTIONAL,
- excludedSubtrees [1] GeneralSubtrees OPTIONAL }
+ <div class="note notetag">
+ <strong>Note:</strong>
+ <div class='inline'>
+<p>When supplying dirName the value is an R509::Subject or the hash used to
+build an R509::Subject</p>
+</div>
+ </div>
-GeneralSubtrees ::= SEQUENCE SIZE (1..MAX) OF GeneralSubtree</code></pre>
-<p>per RFC 5280 Within this profile, the minimum and maximum fields are not
-used with any name forms, thus, the minimum MUST be zero, and maximum MUST
-be absent</p>
+<p>A new instance of NameConstraints</p>
-<pre class="code ruby"><code class="ruby">GeneralSubtree ::= SEQUENCE {
- base GeneralName,
- minimum [0] BaseDistance DEFAULT 0,
- maximum [1] BaseDistance OPTIONAL }
-BaseDistance ::= INTEGER (0..MAX)</code></pre>
-
-
</div>
</div>
<div class="tags">
+ <div class="examples">
+ <p class="tag_title">Examples:</p>
+
+
+ <pre class="example code"><code><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='op'>::</span><span class='const'>NameConstraints</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span>
+ <span class='symbol'>:critical</span> <span class='op'>=></span> <span class='kw'>false</span><span class='comma'>,</span>
+ <span class='symbol'>:permitted</span> <span class='op'>=></span> <span class='lbracket'>[</span>
+ <span class='lbrace'>{</span> <span class='symbol'>:type</span> <span class='op'>=></span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>dirName</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='symbol'>:value</span> <span class='op'>=></span> <span class='lbrace'>{</span> <span class='symbol'>:CN</span> <span class='op'>=></span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>myCN</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='symbol'>:O</span> <span class='op'>=></span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>org</span><span class='tstring_end'>'</span></span> <span class='rbrace'>}</span> <span class='rbrace'>}</span>
+ <span class='rbracket'>]</span>
+<span class='rparen'>)</span></code></pre>
+
+
+ <pre class="example code"><code><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='op'>::</span><span class='const'>NameConstraints</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span>
+ <span class='symbol'>:critical</span> <span class='op'>=></span> <span class='kw'>false</span><span class='comma'>,</span>
+ <span class='symbol'>:permitted</span> <span class='op'>=></span> <span class='lbracket'>[</span>
+ <span class='lbrace'>{</span> <span class='symbol'>:type</span> <span class='op'>=></span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>dirName</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='symbol'>:value</span> <span class='op'>=></span> <span class='lbrace'>{</span> <span class='symbol'>:CN</span> <span class='op'>=></span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>myCN</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='symbol'>:O</span> <span class='op'>=></span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>org</span><span class='tstring_end'>'</span></span> <span class='rbrace'>}</span> <span class='rbrace'>}</span>
+ <span class='rbracket'>]</span><span class='comma'>,</span>
+ <span class='symbol'>:excluded</span> <span class='op'>=></span> <span class='lbracket'>[</span>
+ <span class='lbrace'>{</span> <span class='symbol'>:type</span> <span class='op'>=></span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>DNS</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='symbol'>:value</span> <span class='op'>=></span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>domain.com</span><span class='tstring_end'>'</span></span> <span class='rbrace'>}</span>
+ <span class='rbracket'>]</span>
+<span class='rparen'>)</span></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">:permitted</span>
+ <span class="type">(<tt>Array</tt>, <tt><span class='object_link'><a href="../../ASN1/GeneralNames.html" title="R509::ASN1::GeneralNames (class)">R509::ASN1::GeneralNames</a></span></tt>)</span>
+ <span class="default">
+
+ </span>
+
+ — <div class='inline'>
+<p>Array of hashes (see examples) or GeneralNames object</p>
+</div>
+
+ </li>
+
+ <li>
+ <span class="name">:excluded</span>
+ <span class="type">(<tt>Array</tt>, <tt><span class='object_link'><a href="../../ASN1/GeneralNames.html" title="R509::ASN1::GeneralNames (class)">R509::ASN1::GeneralNames</a></span></tt>)</span>
+ <span class="default">
+
+ </span>
+
+ — <div class='inline'>
+<p>Array of hashes (see examples) or GeneralNames object</p>
+</div>
+
+ </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">
-605
-606
-607
-608
-609
-610
-611
-612
-613
-614
-615
-616
-617
-618
-619
-620
-621
-622
-623
-624</pre>
+65
+66
+67
+68
+69
+70
+71
+72</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions.rb', line 605</span>
+ <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/name_constraints.rb', line 65</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'>@permitted_names</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
- <span class='ivar'>@excluded_names</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_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_gs'>gs</span><span class='op'>|</span>
- <span class='id identifier rubyid_gs'>gs</span><span class='period'>.</span><span class='id identifier rubyid_value'>value</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_asn_data'>asn_data</span><span class='op'>|</span>
- <span class='id identifier rubyid_asn_data'>asn_data</span><span class='period'>.</span><span class='id identifier rubyid_value'>value</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_obj'>obj</span><span class='op'>|</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_obj'>obj</span><span class='rparen'>)</span>
- <span class='kw'>if</span> <span class='id identifier rubyid_gs'>gs</span><span class='period'>.</span><span class='id identifier rubyid_tag'>tag</span> <span class='op'>==</span> <span class='int'>0</span> <span class='comment'># permittedSubtrees
-</span> <span class='ivar'>@permitted_names</span> <span class='op'><<</span> <span class='id identifier rubyid_gn'>gn</span>
- <span class='kw'>elsif</span> <span class='id identifier rubyid_gs'>gs</span><span class='period'>.</span><span class='id identifier rubyid_tag'>tag</span> <span class='op'>==</span> <span class='int'>1</span> <span class='comment'>#excludedSubtrees
-</span> <span class='ivar'>@excluded_names</span> <span class='op'><<</span> <span class='id identifier rubyid_gn'>gn</span>
- <span class='kw'>end</span>
- <span class='kw'>end</span>
- <span class='kw'>end</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>
@@ -345,101 +477,239 @@
<h2>Instance Attribute Details</h2>
<span id=""></span>
<div class="method_details first">
- <h3 class="signature first" id="excluded_names-instance_method">
+ <h3 class="signature first" id="excluded-instance_method">
- - (<tt>Object</tt>) <strong>excluded_names</strong> <span class="extras">(readonly)</span>
+ - (<tt><span class='object_link'><a href="../../ASN1/GeneralNames.html" title="R509::ASN1::GeneralNames (class)">R509::ASN1::GeneralNames</a></span></tt><sup>?</sup>) <strong>excluded</strong> <span class="extras">(readonly)</span>
</h3><div class="docstring">
<div class="discussion">
-<p>Returns the value of attribute excluded_names</p>
-
</div>
</div>
<div class="tags">
+<p class="tag_title">Returns:</p>
+<ul class="return">
+
+ <li>
+
+
+ <span class='type'>(<tt><span class='object_link'><a href="../../ASN1/GeneralNames.html" title="R509::ASN1::GeneralNames (class)">R509::ASN1::GeneralNames</a></span></tt>, <tt>nil</tt>)</span>
+
+
+
+ </li>
+
+</ul>
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
-586
-587
-588</pre>
+40
+41
+42</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions.rb', line 586</span>
+ <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/name_constraints.rb', line 40</span>
-<span class='kw'>def</span> <span class='id identifier rubyid_excluded_names'>excluded_names</span>
- <span class='ivar'>@excluded_names</span>
+<span class='kw'>def</span> <span class='id identifier rubyid_excluded'>excluded</span>
+ <span class='ivar'>@excluded</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
<span id=""></span>
<div class="method_details ">
- <h3 class="signature " id="permitted_names-instance_method">
+ <h3 class="signature " id="permitted-instance_method">
- - (<tt>Object</tt>) <strong>permitted_names</strong> <span class="extras">(readonly)</span>
+ - (<tt><span class='object_link'><a href="../../ASN1/GeneralNames.html" title="R509::ASN1::GeneralNames (class)">R509::ASN1::GeneralNames</a></span></tt><sup>?</sup>) <strong>permitted</strong> <span class="extras">(readonly)</span>
</h3><div class="docstring">
<div class="discussion">
-<p>Returns the value of attribute permitted_names</p>
+ </div>
+</div>
+<div class="tags">
+
+<p class="tag_title">Returns:</p>
+<ul class="return">
+
+ <li>
+
+
+ <span class='type'>(<tt><span class='object_link'><a href="../../ASN1/GeneralNames.html" title="R509::ASN1::GeneralNames (class)">R509::ASN1::GeneralNames</a></span></tt>, <tt>nil</tt>)</span>
+
+
+
+ </li>
+
+</ul>
+</div><table class="source_code">
+ <tr>
+ <td>
+ <pre class="lines">
+
+
+40
+41
+42</pre>
+ </td>
+ <td>
+ <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/name_constraints.rb', line 40</span>
+
+<span class='kw'>def</span> <span class='id identifier rubyid_permitted'>permitted</span>
+ <span class='ivar'>@permitted</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="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">
-586
-587
-588</pre>
+75
+76
+77
+78
+79
+80</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions.rb', line 586</span>
+ <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/name_constraints.rb', line 75</span>
-<span class='kw'>def</span> <span class='id identifier rubyid_permitted_names'>permitted_names</span>
- <span class='ivar'>@permitted_names</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'>: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'>:permitted</span><span class='rbracket'>]</span> <span class='op'>=</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_names_to_h'>names_to_h</span><span class='lparen'>(</span><span class='ivar'>@permitted</span><span class='period'>.</span><span class='id identifier rubyid_names'>names</span><span class='rparen'>)</span> <span class='kw'>unless</span> <span class='ivar'>@permitted</span><span class='period'>.</span><span class='id identifier rubyid_names'>names</span><span class='period'>.</span><span class='id identifier rubyid_empty?'>empty?</span>
+ <span class='id identifier rubyid_hash'>hash</span><span class='lbracket'>[</span><span class='symbol'>:excluded</span><span class='rbracket'>]</span> <span class='op'>=</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_names_to_h'>names_to_h</span><span class='lparen'>(</span><span class='ivar'>@excluded</span><span class='period'>.</span><span class='id identifier rubyid_names'>names</span><span class='rparen'>)</span> <span class='kw'>unless</span> <span class='ivar'>@excluded</span><span class='period'>.</span><span class='id identifier rubyid_names'>names</span><span class='period'>.</span><span class='id identifier rubyid_empty?'>empty?</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>
+
+
+
+
+
+</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">
+
+83
+84
+85</pre>
+ </td>
+ <td>
+ <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/name_constraints.rb', line 83</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>
+</div>
+
<div id="footer">
- Generated on Tue Apr 23 10:46:07 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