doc/R509/Cert/Extensions/SubjectKeyIdentifier.html in r509-0.9.2 vs doc/R509/Cert/Extensions/SubjectKeyIdentifier.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::SubjectKeyIdentifier - &mdash; Documentation by YARD 0.8.5 + &mdash; 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,28 @@ <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/subject_key_identifier.rb</dd> </dl> <div class="clear"></div> <h2>Overview</h2><div class="docstring"> <div class="discussion"> -<p>Implements the SubjectKeyIdentifier 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 subject key identifier extension provides a means of identifying +certificates that contain a particular public key.</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"> @@ -132,10 +138,26 @@ </div> </dt> <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>subjectKeyIdentifier</span><span class='tstring_end'>&quot;</span></span></pre></dd> + <dt id="SKI_EXTENSION_DEFAULT-constant" class="">SKI_EXTENSION_DEFAULT = + <div class="docstring"> + <div class="discussion"> + +<p>default extension behavior when generating</p> + + + </div> +</div> +<div class="tags"> + + +</div> + </dt> + <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>hash</span><span class='tstring_end'>&quot;</span></span></pre></dd> + </dl> @@ -152,10 +174,36 @@ <ul class="summary"> <li class="public "> <span class="summary_signature"> + <a href="#initialize-instance_method" title="#initialize (instance method)">- (SubjectKeyIdentifier) <strong>initialize</strong>(arg) </a> + + + + </span> + + + <span class="note title constructor">constructor</span> + + + + + + + + + <span class="summary_desc"><div class='inline'> +<p>This method takes a hash or an existing Extension object to parse.</p> +</div></span> + +</li> + + + <li class="public "> + <span class="summary_signature"> + <a href="#key-instance_method" title="#key (instance method)">- (Object) <strong>key</strong> </a> </span> @@ -177,12 +225,116 @@ </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::SubjectKeyIdentifier (class)">SubjectKeyIdentifier</a></span></tt>) <strong>initialize</strong>(arg) + + + + +</h3><div class="docstring"> + <div class="discussion"> + +<p>This method takes a hash or an existing Extension object to parse</p> + + + </div> +</div> +<div class="tags"> + <p class="tag_title">Parameters:</p> +<ul class="param"> + + <li> + + <span class='name'>arg</span> + + + <span class='type'>(<tt>Hash</tt>)</span> + + + + &mdash; + <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">:public_key</span> + <span class="type">(<tt><span class='object_link'>OpenSSL::PKey</span></tt>)</span> + <span class="default"> + + &mdash; default: + <tt>Cert/CSR/PrivateKey return this type from #public_key</tt> + + </span> + + </li> + + <li> + <span class="name">:critical</span> + <span class="type">(<tt>Boolean</tt>)</span> + <span class="default"> + + &mdash; default: + <tt>false</tt> + + </span> + + </li> + + </ul> + + + +</div><table class="source_code"> + <tr> + <td> + <pre class="lines"> + + +24 +25 +26 +27 +28 +29</pre> + </td> + <td> + <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/subject_key_identifier.rb', line 24</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='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"> @@ -227,18 +379,18 @@ <tr> <td> <pre class="lines"> -333 -334 -335</pre> +32 +33 +34</pre> </td> <td> - <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions.rb', line 333</span> + <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/subject_key_identifier.rb', line 32</span> -<span class='kw'>def</span> <span class='id identifier rubyid_key'>key</span><span class='lparen'>(</span><span class='rparen'>)</span> +<span class='kw'>def</span> <span class='id identifier rubyid_key'>key</span> <span class='kw'>return</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_value'>value</span> <span class='kw'>end</span></pre> </td> </tr> </table> @@ -247,12 +399,12 @@ </div> </div> <div id="footer"> - Generated on Tue Apr 23 10:46:06 2013 by + Generated on Sun Jan 26 13:37:29 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