r509 0.8.1 → 0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (203) hide show
  1. data/README.md +343 -151
  2. data/Rakefile +26 -23
  3. data/bin/r509 +126 -112
  4. data/bin/r509-parse +24 -24
  5. data/doc/R509.html +169 -7
  6. data/doc/R509/ASN1.html +370 -0
  7. data/doc/R509/ASN1/GeneralName.html +1121 -0
  8. data/doc/R509/ASN1/GeneralNames.html +843 -0
  9. data/doc/R509/ASN1/NoticeReference.html +392 -0
  10. data/doc/R509/ASN1/PolicyInformation.html +387 -0
  11. data/doc/R509/ASN1/PolicyQualifiers.html +455 -0
  12. data/doc/R509/ASN1/UserNotice.html +386 -0
  13. data/doc/R509/{Crl.html → CRL.html} +7 -7
  14. data/doc/R509/CRL/Administrator.html +1559 -0
  15. data/doc/R509/{Crl/Parser.html → CRL/SignedList.html} +501 -210
  16. data/doc/R509/{Csr.html → CSR.html} +444 -314
  17. data/doc/R509/Cert.html +866 -617
  18. data/doc/R509/Cert/Extensions.html +52 -41
  19. data/doc/R509/Cert/Extensions/AuthorityInfoAccess.html +70 -35
  20. data/doc/R509/Cert/Extensions/AuthorityKeyIdentifier.html +387 -4
  21. data/doc/R509/Cert/Extensions/BasicConstraints.html +61 -25
  22. data/doc/R509/Cert/Extensions/CRLDistributionPoints.html +354 -0
  23. data/doc/R509/Cert/Extensions/CertificatePolicies.html +340 -0
  24. data/doc/R509/Cert/Extensions/ExtendedKeyUsage.html +440 -49
  25. data/doc/R509/Cert/Extensions/{CrlDistributionPoints.html → InhibitAnyPolicy.html} +52 -35
  26. data/doc/R509/Cert/Extensions/KeyUsage.html +247 -121
  27. data/doc/R509/Cert/Extensions/NameConstraints.html +445 -0
  28. data/doc/R509/Cert/Extensions/OCSPNoCheck.html +239 -0
  29. data/doc/R509/Cert/Extensions/PolicyConstraints.html +424 -0
  30. data/doc/R509/Cert/Extensions/SubjectAlternativeName.html +437 -62
  31. data/doc/R509/Cert/Extensions/SubjectKeyIdentifier.html +52 -10
  32. data/doc/R509/CertificateAuthority.html +4 -4
  33. data/doc/R509/CertificateAuthority/Signer.html +154 -187
  34. data/doc/R509/Config.html +6 -6
  35. data/doc/R509/Config/{CaConfig.html → CAConfig.html} +451 -348
  36. data/doc/R509/Config/{CaConfigPool.html → CAConfigPool.html} +47 -47
  37. data/doc/R509/Config/CAProfile.html +1015 -0
  38. data/doc/R509/Config/SubjectItemPolicy.html +86 -86
  39. data/doc/R509/IOHelpers.html +22 -22
  40. data/doc/R509/MessageDigest.html +14 -14
  41. data/doc/R509/NameSanitizer.html +53 -53
  42. data/doc/R509/{Ocsp.html → OCSP.html} +9 -9
  43. data/doc/R509/{Ocsp → OCSP}/Request.html +7 -7
  44. data/doc/R509/{Ocsp → OCSP}/Request/Nonce.html +56 -11
  45. data/doc/R509/{Ocsp → OCSP}/Response.html +44 -44
  46. data/doc/R509/{OidMapper.html → OIDMapper.html} +23 -39
  47. data/doc/R509/PrivateKey.html +415 -168
  48. data/doc/R509/R509Error.html +3 -3
  49. data/doc/R509/{Spki.html → SPKI.html} +354 -192
  50. data/doc/R509/Subject.html +224 -113
  51. data/doc/R509/Validity.html +27 -5
  52. data/doc/R509/Validity/Checker.html +13 -13
  53. data/doc/R509/Validity/DefaultChecker.html +13 -13
  54. data/doc/R509/Validity/DefaultWriter.html +14 -14
  55. data/doc/R509/Validity/Status.html +39 -39
  56. data/doc/R509/Validity/Writer.html +18 -18
  57. data/doc/_index.html +138 -35
  58. data/doc/class_list.html +1 -1
  59. data/doc/css/style.css +10 -0
  60. data/doc/file.README.html +368 -171
  61. data/doc/file.r509.html +92 -69
  62. data/doc/frames.html +1 -1
  63. data/doc/index.html +368 -171
  64. data/doc/method_list.html +910 -390
  65. data/doc/top-level-namespace.html +3 -3
  66. data/lib/r509.rb +32 -16
  67. data/lib/r509/asn1.rb +375 -0
  68. data/lib/r509/cert.rb +381 -364
  69. data/lib/r509/cert/extensions.rb +443 -76
  70. data/lib/r509/certificate_authority.rb +407 -0
  71. data/lib/r509/config.rb +547 -351
  72. data/lib/r509/crl.rb +336 -366
  73. data/lib/r509/csr.rb +278 -289
  74. data/lib/r509/ec-hack.rb +37 -0
  75. data/lib/r509/exceptions.rb +3 -3
  76. data/lib/r509/io_helpers.rb +44 -44
  77. data/lib/r509/message_digest.rb +53 -0
  78. data/lib/r509/ocsp.rb +80 -70
  79. data/lib/r509/oid_mapper.rb +32 -0
  80. data/lib/r509/private_key.rb +228 -0
  81. data/lib/r509/spki.rb +145 -93
  82. data/lib/r509/subject.rb +203 -110
  83. data/lib/r509/validity.rb +70 -68
  84. data/lib/r509/version.rb +2 -2
  85. data/r509.yaml +92 -69
  86. data/spec/asn1_spec.rb +402 -0
  87. data/spec/cert/extensions_spec.rb +957 -494
  88. data/spec/cert_spec.rb +382 -307
  89. data/spec/certificate_authority_spec.rb +668 -250
  90. data/spec/config_spec.rb +515 -302
  91. data/spec/crl_spec.rb +197 -198
  92. data/spec/csr_spec.rb +334 -289
  93. data/spec/fixtures.rb +247 -171
  94. data/spec/fixtures/cert1.der +0 -0
  95. data/spec/fixtures/cert1.pem +0 -0
  96. data/spec/fixtures/cert1_public_key_modulus.txt +0 -0
  97. data/spec/fixtures/cert3.p12 +0 -0
  98. data/spec/fixtures/cert3.pem +0 -0
  99. data/spec/fixtures/cert3_key.pem +0 -0
  100. data/spec/fixtures/cert3_key_des3.pem +0 -0
  101. data/spec/fixtures/cert4.pem +0 -0
  102. data/spec/fixtures/cert5.pem +0 -0
  103. data/spec/fixtures/cert6.pem +0 -0
  104. data/spec/fixtures/cert_expired.pem +0 -0
  105. data/spec/fixtures/cert_inhibit.pem +24 -0
  106. data/spec/fixtures/cert_name_constraints.pem +29 -0
  107. data/spec/fixtures/cert_not_yet_valid.pem +0 -0
  108. data/spec/fixtures/cert_ocsp_no_check.pem +18 -0
  109. data/spec/fixtures/cert_policy_constraints.pem +31 -0
  110. data/spec/fixtures/cert_san.pem +0 -0
  111. data/spec/fixtures/cert_san2.pem +0 -0
  112. data/spec/fixtures/cert_unknown_extension.pem +28 -0
  113. data/spec/fixtures/config_pool_test_minimal.yaml +11 -11
  114. data/spec/fixtures/config_test.yaml +54 -36
  115. data/spec/fixtures/config_test_dsa.yaml +35 -0
  116. data/spec/fixtures/config_test_ec.yaml +35 -0
  117. data/spec/fixtures/config_test_engine_key.yaml +5 -5
  118. data/spec/fixtures/config_test_engine_no_key_name.yaml +4 -4
  119. data/spec/fixtures/config_test_minimal.yaml +4 -4
  120. data/spec/fixtures/config_test_password.yaml +5 -5
  121. data/spec/fixtures/config_test_various.yaml +111 -74
  122. data/spec/fixtures/crl_list_file.txt +0 -0
  123. data/spec/fixtures/crl_with_reason.pem +0 -0
  124. data/spec/fixtures/csr1.der +0 -0
  125. data/spec/fixtures/csr1.pem +0 -0
  126. data/spec/fixtures/csr1_key.der +0 -0
  127. data/spec/fixtures/csr1_key.pem +0 -0
  128. data/spec/fixtures/csr1_key_encrypted_des3.pem +0 -0
  129. data/spec/fixtures/csr1_newlines.pem +0 -0
  130. data/spec/fixtures/csr1_no_begin_end.pem +0 -0
  131. data/spec/fixtures/csr1_public_key_modulus.txt +0 -0
  132. data/spec/fixtures/csr2.pem +0 -0
  133. data/spec/fixtures/csr2_key.pem +0 -0
  134. data/spec/fixtures/csr3.pem +0 -0
  135. data/spec/fixtures/csr4.pem +0 -0
  136. data/spec/fixtures/csr_dsa.pem +0 -0
  137. data/spec/fixtures/csr_invalid_signature.pem +0 -0
  138. data/spec/fixtures/dsa_key.pem +0 -0
  139. data/spec/fixtures/dsa_root.cer +28 -0
  140. data/spec/fixtures/dsa_root.key +20 -0
  141. data/spec/fixtures/ec_csr2.der +0 -0
  142. data/spec/fixtures/ec_csr2.pem +8 -0
  143. data/spec/fixtures/ec_key1.der +0 -0
  144. data/spec/fixtures/ec_key1.pem +6 -0
  145. data/spec/fixtures/ec_key1_encrypted.pem +9 -0
  146. data/spec/fixtures/ec_key2.pem +6 -0
  147. data/spec/fixtures/hmacsha1.sig +1 -0
  148. data/spec/fixtures/hmacsha512.sig +1 -0
  149. data/spec/fixtures/key4.pem +0 -0
  150. data/spec/fixtures/key4_encrypted_des3.pem +0 -0
  151. data/spec/fixtures/missing_key_identifier_ca.cer +0 -0
  152. data/spec/fixtures/missing_key_identifier_ca.key +0 -0
  153. data/spec/fixtures/ocsptest.r509.local.pem +0 -0
  154. data/spec/fixtures/ocsptest.r509.local_ocsp_request.der +0 -0
  155. data/spec/fixtures/ocsptest2.r509.local.pem +0 -0
  156. data/spec/fixtures/second_ca.cer +0 -0
  157. data/spec/fixtures/second_ca.key +0 -0
  158. data/spec/fixtures/spkac.der +0 -0
  159. data/spec/fixtures/spkac.txt +0 -0
  160. data/spec/fixtures/spkac_dsa.txt +1 -1
  161. data/spec/fixtures/spkac_dsa_no_verify.txt +1 -0
  162. data/spec/fixtures/spkac_ec.txt +1 -0
  163. data/spec/fixtures/spkac_rsa_newlines.txt +13 -0
  164. data/spec/fixtures/stca.pem +0 -0
  165. data/spec/fixtures/stca_ocsp_request.der +0 -0
  166. data/spec/fixtures/stca_ocsp_response.der +0 -0
  167. data/spec/fixtures/test1.csr +0 -0
  168. data/spec/fixtures/test_ca.cer +0 -0
  169. data/spec/fixtures/test_ca.key +0 -0
  170. data/spec/fixtures/test_ca.p12 +0 -0
  171. data/spec/fixtures/test_ca_des3.key +0 -0
  172. data/spec/fixtures/test_ca_ec.cer +14 -0
  173. data/spec/fixtures/test_ca_ec.key +6 -0
  174. data/spec/fixtures/test_ca_ec_ee.cer +22 -0
  175. data/spec/fixtures/test_ca_ec_ee.key +6 -0
  176. data/spec/fixtures/test_ca_ocsp.cer +0 -0
  177. data/spec/fixtures/test_ca_ocsp.key +0 -0
  178. data/spec/fixtures/test_ca_ocsp.p12 +0 -0
  179. data/spec/fixtures/test_ca_ocsp_chain.txt +0 -0
  180. data/spec/fixtures/test_ca_ocsp_response.der +0 -0
  181. data/spec/fixtures/test_ca_subroot.cer +0 -0
  182. data/spec/fixtures/test_ca_subroot.key +0 -0
  183. data/spec/fixtures/test_ca_subroot_ocsp.cer +0 -0
  184. data/spec/fixtures/test_ca_subroot_ocsp.key +0 -0
  185. data/spec/fixtures/test_ca_subroot_ocsp_response.der +0 -0
  186. data/spec/fixtures/unknown_oid.csr +0 -0
  187. data/spec/message_digest_spec.rb +104 -84
  188. data/spec/ocsp_spec.rb +105 -105
  189. data/spec/oid_mapper_spec.rb +21 -21
  190. data/spec/private_key_spec.rb +275 -0
  191. data/spec/r509_spec.rb +35 -0
  192. data/spec/spec_helper.rb +15 -6
  193. data/spec/spki_spec.rb +221 -142
  194. data/spec/subject_spec.rb +232 -164
  195. data/spec/validity_spec.rb +91 -91
  196. metadata +79 -25
  197. data/doc/R509/Config/CaProfile.html +0 -651
  198. data/doc/R509/Crl/Administrator.html +0 -2073
  199. data/lib/r509/certificateauthority.rb +0 -290
  200. data/lib/r509/messagedigest.rb +0 -49
  201. data/lib/r509/oidmapper.rb +0 -32
  202. data/lib/r509/privatekey.rb +0 -185
  203. data/spec/privatekey_spec.rb +0 -198
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Module: R509::Cert::Extensions
8
8
 
9
- &mdash; Documentation by YARD 0.8.2.1
9
+ &mdash; Documentation by YARD 0.8.5
10
10
 
11
11
  </title>
12
12
 
@@ -84,13 +84,24 @@
84
84
  </dl>
85
85
  <div class="clear"></div>
86
86
 
87
- <h2>Defined Under Namespace</h2>
87
+ <h2>Overview</h2><div class="docstring">
88
+ <div class="discussion">
89
+
90
+ <p>module to contain extension classes for R509::Cert</p>
91
+
92
+
93
+ </div>
94
+ </div>
95
+ <div class="tags">
96
+
97
+
98
+ </div><h2>Defined Under Namespace</h2>
88
99
  <p class="children">
89
100
 
90
101
 
91
102
 
92
103
 
93
- <strong class="classes">Classes:</strong> <span class='object_link'><a href="Extensions/AuthorityInfoAccess.html" title="R509::Cert::Extensions::AuthorityInfoAccess (class)">AuthorityInfoAccess</a></span>, <span class='object_link'><a href="Extensions/AuthorityKeyIdentifier.html" title="R509::Cert::Extensions::AuthorityKeyIdentifier (class)">AuthorityKeyIdentifier</a></span>, <span class='object_link'><a href="Extensions/BasicConstraints.html" title="R509::Cert::Extensions::BasicConstraints (class)">BasicConstraints</a></span>, <span class='object_link'><a href="Extensions/CrlDistributionPoints.html" title="R509::Cert::Extensions::CrlDistributionPoints (class)">CrlDistributionPoints</a></span>, <span class='object_link'><a href="Extensions/ExtendedKeyUsage.html" title="R509::Cert::Extensions::ExtendedKeyUsage (class)">ExtendedKeyUsage</a></span>, <span class='object_link'><a href="Extensions/KeyUsage.html" title="R509::Cert::Extensions::KeyUsage (class)">KeyUsage</a></span>, <span class='object_link'><a href="Extensions/SubjectAlternativeName.html" title="R509::Cert::Extensions::SubjectAlternativeName (class)">SubjectAlternativeName</a></span>, <span class='object_link'><a href="Extensions/SubjectKeyIdentifier.html" title="R509::Cert::Extensions::SubjectKeyIdentifier (class)">SubjectKeyIdentifier</a></span>
104
+ <strong class="classes">Classes:</strong> <span class='object_link'><a href="Extensions/AuthorityInfoAccess.html" title="R509::Cert::Extensions::AuthorityInfoAccess (class)">AuthorityInfoAccess</a></span>, <span class='object_link'><a href="Extensions/AuthorityKeyIdentifier.html" title="R509::Cert::Extensions::AuthorityKeyIdentifier (class)">AuthorityKeyIdentifier</a></span>, <span class='object_link'><a href="Extensions/BasicConstraints.html" title="R509::Cert::Extensions::BasicConstraints (class)">BasicConstraints</a></span>, <span class='object_link'><a href="Extensions/CRLDistributionPoints.html" title="R509::Cert::Extensions::CRLDistributionPoints (class)">CRLDistributionPoints</a></span>, <span class='object_link'><a href="Extensions/CertificatePolicies.html" title="R509::Cert::Extensions::CertificatePolicies (class)">CertificatePolicies</a></span>, <span class='object_link'><a href="Extensions/ExtendedKeyUsage.html" title="R509::Cert::Extensions::ExtendedKeyUsage (class)">ExtendedKeyUsage</a></span>, <span class='object_link'><a href="Extensions/InhibitAnyPolicy.html" title="R509::Cert::Extensions::InhibitAnyPolicy (class)">InhibitAnyPolicy</a></span>, <span class='object_link'><a href="Extensions/KeyUsage.html" title="R509::Cert::Extensions::KeyUsage (class)">KeyUsage</a></span>, <span class='object_link'><a href="Extensions/NameConstraints.html" title="R509::Cert::Extensions::NameConstraints (class)">NameConstraints</a></span>, <span class='object_link'><a href="Extensions/OCSPNoCheck.html" title="R509::Cert::Extensions::OCSPNoCheck (class)">OCSPNoCheck</a></span>, <span class='object_link'><a href="Extensions/PolicyConstraints.html" title="R509::Cert::Extensions::PolicyConstraints (class)">PolicyConstraints</a></span>, <span class='object_link'><a href="Extensions/SubjectAlternativeName.html" title="R509::Cert::Extensions::SubjectAlternativeName (class)">SubjectAlternativeName</a></span>, <span class='object_link'><a href="Extensions/SubjectKeyIdentifier.html" title="R509::Cert::Extensions::SubjectKeyIdentifier (class)">SubjectKeyIdentifier</a></span>
94
105
 
95
106
 
96
107
  </p>
@@ -198,25 +209,25 @@ R509 implementation.</p>
198
209
  <pre class="lines">
199
210
 
200
211
 
201
- 290
202
- 291
203
- 292
204
- 293
205
- 294
206
- 295
207
- 296
208
- 297
209
- 298
210
- 299
211
- 300
212
- 301
213
- 302
214
- 303
215
- 304
216
- 305</pre>
212
+ 657
213
+ 658
214
+ 659
215
+ 660
216
+ 661
217
+ 662
218
+ 663
219
+ 664
220
+ 665
221
+ 666
222
+ 667
223
+ 668
224
+ 669
225
+ 670
226
+ 671
227
+ 672</pre>
217
228
  </td>
218
229
  <td>
219
- <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions.rb', line 290</span>
230
+ <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions.rb', line 657</span>
220
231
 
221
232
  <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_get_unknown_extensions'>get_unknown_extensions</span><span class='lparen'>(</span> <span class='id identifier rubyid_extensions'>extensions</span> <span class='rparen'>)</span>
222
233
  <span class='id identifier rubyid_unknown_extensions'>unknown_extensions</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
@@ -268,26 +279,26 @@ implementation are ignored (see #get_unknown_extensions).</p>
268
279
  <pre class="lines">
269
280
 
270
281
 
271
- 270
272
- 271
273
- 272
274
- 273
275
- 274
276
- 275
277
- 276
278
- 277
279
- 278
280
- 279
281
- 280
282
- 281
283
- 282
284
- 283
285
- 284
286
- 285
287
- 286</pre>
282
+ 637
283
+ 638
284
+ 639
285
+ 640
286
+ 641
287
+ 642
288
+ 643
289
+ 644
290
+ 645
291
+ 646
292
+ 647
293
+ 648
294
+ 649
295
+ 650
296
+ 651
297
+ 652
298
+ 653</pre>
288
299
  </td>
289
300
  <td>
290
- <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions.rb', line 270</span>
301
+ <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions.rb', line 637</span>
291
302
 
292
303
  <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_wrap_openssl_extensions'>wrap_openssl_extensions</span><span class='lparen'>(</span> <span class='id identifier rubyid_extensions'>extensions</span> <span class='rparen'>)</span>
293
304
  <span class='id identifier rubyid_r509_extensions'>r509_extensions</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
@@ -297,7 +308,7 @@ implementation are ignored (see #get_unknown_extensions).</p>
297
308
  <span class='kw'>if</span> <span class='id identifier rubyid_r509_extensions'>r509_extensions</span><span class='period'>.</span><span class='id identifier rubyid_has_key?'>has_key?</span><span class='lparen'>(</span><span class='id identifier rubyid_r509_class'>r509_class</span><span class='rparen'>)</span>
298
309
  <span class='id identifier rubyid_raise'>raise</span> <span class='const'>ArgumentError</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Only one extension object allowed per OID</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
299
310
  <span class='kw'>end</span>
300
-
311
+
301
312
  <span class='id identifier rubyid_r509_extensions'>r509_extensions</span><span class='lbracket'>[</span><span class='id identifier rubyid_r509_class'>r509_class</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_r509_class'>r509_class</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span> <span class='id identifier rubyid_openssl_extension'>openssl_extension</span> <span class='rparen'>)</span>
302
313
  <span class='kw'>break</span>
303
314
  <span class='kw'>end</span>
@@ -316,9 +327,9 @@ implementation are ignored (see #get_unknown_extensions).</p>
316
327
  </div>
317
328
 
318
329
  <div id="footer">
319
- Generated on Thu Nov 8 14:19:25 2012 by
330
+ Generated on Tue Apr 16 10:49:55 2013 by
320
331
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
321
- 0.8.2.1 (ruby-1.9.3).
332
+ 0.8.5 (ruby-1.9.3).
322
333
  </div>
323
334
 
324
335
  </body>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: R509::Cert::Extensions::AuthorityInfoAccess
8
8
 
9
- &mdash; Documentation by YARD 0.8.2.1
9
+ &mdash; Documentation by YARD 0.8.5
10
10
 
11
11
  </title>
12
12
 
@@ -119,7 +119,18 @@ provide access to the components and meaning of the extension's contents.</p>
119
119
  <dl class="constants">
120
120
 
121
121
  <dt id="OID-constant" class="">OID =
122
-
122
+ <div class="docstring">
123
+ <div class="discussion">
124
+
125
+ <p>friendly name for AIA OID</p>
126
+
127
+
128
+ </div>
129
+ </div>
130
+ <div class="tags">
131
+
132
+
133
+ </div>
123
134
  </dt>
124
135
  <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>authorityInfoAccess</span><span class='tstring_end'>&quot;</span></span></pre></dd>
125
136
 
@@ -135,7 +146,7 @@ provide access to the components and meaning of the extension's contents.</p>
135
146
  <li class="public ">
136
147
  <span class="summary_signature">
137
148
 
138
- <a href="#ca_issuers_uris-instance_method" title="#ca_issuers_uris (instance method)">- (Object) <strong>ca_issuers_uris</strong> </a>
149
+ <a href="#ca_issuers-instance_method" title="#ca_issuers (instance method)">- (Object) <strong>ca_issuers</strong> </a>
139
150
 
140
151
 
141
152
 
@@ -155,7 +166,7 @@ provide access to the components and meaning of the extension's contents.</p>
155
166
 
156
167
 
157
168
  <span class="summary_desc"><div class='inline'>
158
- <p>An array of the CA issuers URIs, if any.</p>
169
+ <p>An array of the CA issuers data, if any.</p>
159
170
  </div></span>
160
171
 
161
172
  </li>
@@ -164,7 +175,7 @@ provide access to the components and meaning of the extension's contents.</p>
164
175
  <li class="public ">
165
176
  <span class="summary_signature">
166
177
 
167
- <a href="#ocsp_uris-instance_method" title="#ocsp_uris (instance method)">- (Object) <strong>ocsp_uris</strong> </a>
178
+ <a href="#ocsp-instance_method" title="#ocsp (instance method)">- (Object) <strong>ocsp</strong> </a>
168
179
 
169
180
 
170
181
 
@@ -184,7 +195,7 @@ provide access to the components and meaning of the extension's contents.</p>
184
195
 
185
196
 
186
197
  <span class="summary_desc"><div class='inline'>
187
- <p>An array of the OCSP URIs, if any.</p>
198
+ <p>An array of the OCSP data, if any.</p>
188
199
  </div></span>
189
200
 
190
201
  </li>
@@ -262,21 +273,45 @@ provide access to the components and meaning of the extension's contents.</p>
262
273
  <pre class="lines">
263
274
 
264
275
 
265
- 236
266
- 237
267
- 238
268
- 239
269
- 240
270
- 241</pre>
276
+ 443
277
+ 444
278
+ 445
279
+ 446
280
+ 447
281
+ 448
282
+ 449
283
+ 450
284
+ 451
285
+ 452
286
+ 453
287
+ 454
288
+ 455
289
+ 456
290
+ 457
291
+ 458
292
+ 459
293
+ 460</pre>
271
294
  </td>
272
295
  <td>
273
- <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions.rb', line 236</span>
296
+ <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions.rb', line 443</span>
274
297
 
275
298
  <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>
276
299
  <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>
277
300
 
278
- <span class='ivar'>@ocsp_uris</span> <span class='op'>=</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_scan'>scan</span><span class='lparen'>(</span> <span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>OCSP - </span><span class='embexpr_beg'>#{</span><span class='const'>URI_REGEX</span><span class='rbrace'>}</span><span class='regexp_end'>/</span></span> <span class='rparen'>)</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_match'>match</span><span class='op'>|</span> <span class='id identifier rubyid_match'>match</span><span class='lbracket'>[</span><span class='int'>0</span><span class='rbracket'>]</span> <span class='rbrace'>}</span>
279
- <span class='ivar'>@ca_issuers_uris</span> <span class='op'>=</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_scan'>scan</span><span class='lparen'>(</span> <span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>CA Issuers - </span><span class='embexpr_beg'>#{</span><span class='const'>URI_REGEX</span><span class='rbrace'>}</span><span class='regexp_end'>/</span></span> <span class='rparen'>)</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_match'>match</span><span class='op'>|</span> <span class='id identifier rubyid_match'>match</span><span class='lbracket'>[</span><span class='int'>0</span><span class='rbracket'>]</span> <span class='rbrace'>}</span>
301
+ <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>
302
+ <span class='ivar'>@ocsp</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'>GeneralNames</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
303
+ <span class='ivar'>@ca_issuers</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'>GeneralNames</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
304
+ <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_access_description'>access_description</span><span class='op'>|</span>
305
+ <span class='comment'># AccessDescription ::= SEQUENCE {
306
+ </span> <span class='comment'># accessMethod OBJECT IDENTIFIER,
307
+ </span> <span class='comment'># accessLocation GeneralName }
308
+ </span> <span class='kw'>case</span> <span class='id identifier rubyid_access_description'>access_description</span><span class='period'>.</span><span class='id identifier rubyid_entries'>entries</span><span class='lbracket'>[</span><span class='int'>0</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_value'>value</span>
309
+ <span class='kw'>when</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>OCSP</span><span class='tstring_end'>&quot;</span></span>
310
+ <span class='ivar'>@ocsp</span><span class='period'>.</span><span class='id identifier rubyid_add_item'>add_item</span><span class='lparen'>(</span><span class='id identifier rubyid_access_description'>access_description</span><span class='period'>.</span><span class='id identifier rubyid_entries'>entries</span><span class='lbracket'>[</span><span class='int'>1</span><span class='rbracket'>]</span><span class='rparen'>)</span>
311
+ <span class='kw'>when</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>caIssuers</span><span class='tstring_end'>&quot;</span></span>
312
+ <span class='ivar'>@ca_issuers</span><span class='period'>.</span><span class='id identifier rubyid_add_item'>add_item</span><span class='lparen'>(</span><span class='id identifier rubyid_access_description'>access_description</span><span class='period'>.</span><span class='id identifier rubyid_entries'>entries</span><span class='lbracket'>[</span><span class='int'>1</span><span class='rbracket'>]</span><span class='rparen'>)</span>
313
+ <span class='kw'>end</span>
314
+ <span class='kw'>end</span>
280
315
  <span class='kw'>end</span></pre>
281
316
  </td>
282
317
  </tr>
@@ -291,9 +326,9 @@ provide access to the components and meaning of the extension's contents.</p>
291
326
 
292
327
  <span id=""></span>
293
328
  <div class="method_details first">
294
- <h3 class="signature first" id="ca_issuers_uris-instance_method">
329
+ <h3 class="signature first" id="ca_issuers-instance_method">
295
330
 
296
- - (<tt>Object</tt>) <strong>ca_issuers_uris</strong> <span class="extras">(readonly)</span>
331
+ - (<tt>Object</tt>) <strong>ca_issuers</strong> <span class="extras">(readonly)</span>
297
332
 
298
333
 
299
334
 
@@ -302,7 +337,7 @@ provide access to the components and meaning of the extension's contents.</p>
302
337
  </h3><div class="docstring">
303
338
  <div class="discussion">
304
339
 
305
- <p>An array of the CA issuers URIs, if any</p>
340
+ <p>An array of the CA issuers data, if any</p>
306
341
 
307
342
 
308
343
  </div>
@@ -316,15 +351,15 @@ provide access to the components and meaning of the extension's contents.</p>
316
351
  <pre class="lines">
317
352
 
318
353
 
319
- 233
320
- 234
321
- 235</pre>
354
+ 440
355
+ 441
356
+ 442</pre>
322
357
  </td>
323
358
  <td>
324
- <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions.rb', line 233</span>
359
+ <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions.rb', line 440</span>
325
360
 
326
- <span class='kw'>def</span> <span class='id identifier rubyid_ca_issuers_uris'>ca_issuers_uris</span>
327
- <span class='ivar'>@ca_issuers_uris</span>
361
+ <span class='kw'>def</span> <span class='id identifier rubyid_ca_issuers'>ca_issuers</span>
362
+ <span class='ivar'>@ca_issuers</span>
328
363
  <span class='kw'>end</span></pre>
329
364
  </td>
330
365
  </tr>
@@ -334,9 +369,9 @@ provide access to the components and meaning of the extension's contents.</p>
334
369
 
335
370
  <span id=""></span>
336
371
  <div class="method_details ">
337
- <h3 class="signature " id="ocsp_uris-instance_method">
372
+ <h3 class="signature " id="ocsp-instance_method">
338
373
 
339
- - (<tt>Object</tt>) <strong>ocsp_uris</strong> <span class="extras">(readonly)</span>
374
+ - (<tt>Object</tt>) <strong>ocsp</strong> <span class="extras">(readonly)</span>
340
375
 
341
376
 
342
377
 
@@ -345,7 +380,7 @@ provide access to the components and meaning of the extension's contents.</p>
345
380
  </h3><div class="docstring">
346
381
  <div class="discussion">
347
382
 
348
- <p>An array of the OCSP URIs, if any</p>
383
+ <p>An array of the OCSP data, if any</p>
349
384
 
350
385
 
351
386
  </div>
@@ -359,15 +394,15 @@ provide access to the components and meaning of the extension's contents.</p>
359
394
  <pre class="lines">
360
395
 
361
396
 
362
- 231
363
- 232
364
- 233</pre>
397
+ 438
398
+ 439
399
+ 440</pre>
365
400
  </td>
366
401
  <td>
367
- <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions.rb', line 231</span>
402
+ <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions.rb', line 438</span>
368
403
 
369
- <span class='kw'>def</span> <span class='id identifier rubyid_ocsp_uris'>ocsp_uris</span>
370
- <span class='ivar'>@ocsp_uris</span>
404
+ <span class='kw'>def</span> <span class='id identifier rubyid_ocsp'>ocsp</span>
405
+ <span class='ivar'>@ocsp</span>
371
406
  <span class='kw'>end</span></pre>
372
407
  </td>
373
408
  </tr>
@@ -380,9 +415,9 @@ provide access to the components and meaning of the extension's contents.</p>
380
415
  </div>
381
416
 
382
417
  <div id="footer">
383
- Generated on Thu Nov 8 14:19:29 2012 by
418
+ Generated on Tue Apr 16 10:49:58 2013 by
384
419
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
385
- 0.8.2.1 (ruby-1.9.3).
420
+ 0.8.5 (ruby-1.9.3).
386
421
  </div>
387
422
 
388
423
  </body>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: R509::Cert::Extensions::AuthorityKeyIdentifier
8
8
 
9
- &mdash; Documentation by YARD 0.8.2.1
9
+ &mdash; Documentation by YARD 0.8.5
10
10
 
11
11
  </title>
12
12
 
@@ -120,7 +120,18 @@ contents.</p>
120
120
  <dl class="constants">
121
121
 
122
122
  <dt id="OID-constant" class="">OID =
123
-
123
+ <div class="docstring">
124
+ <div class="discussion">
125
+
126
+ <p>friendly name for Authority Key Identifier OID</p>
127
+
128
+
129
+ </div>
130
+ </div>
131
+ <div class="tags">
132
+
133
+
134
+ </div>
124
135
  </dt>
125
136
  <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>authorityKeyIdentifier</span><span class='tstring_end'>&quot;</span></span></pre></dd>
126
137
 
@@ -130,18 +141,390 @@ contents.</p>
130
141
 
131
142
 
132
143
 
144
+ <h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
145
+ <ul class="summary">
146
+
147
+ <li class="public ">
148
+ <span class="summary_signature">
149
+
150
+ <a href="#authority_cert_issuer-instance_method" title="#authority_cert_issuer (instance method)">- (Object) <strong>authority_cert_issuer</strong> </a>
151
+
133
152
 
153
+
154
+ </span>
155
+
156
+
157
+
158
+
159
+ <span class="note title readonly">readonly</span>
160
+
161
+
162
+
163
+
164
+
165
+
166
+
134
167
 
168
+
169
+ <span class="summary_desc"><div class='inline'>
170
+ <p>key_identifier, if present, will be a hex string delimited by colons
171
+ authority_cert_issuer, if present, will be a GeneralName object
172
+ authority_cert_serial_number, if present, will be a hex string delimited by
173
+ colons.</p>
174
+ </div></span>
175
+
176
+ </li>
135
177
 
178
+
179
+ <li class="public ">
180
+ <span class="summary_signature">
181
+
182
+ <a href="#authority_cert_serial_number-instance_method" title="#authority_cert_serial_number (instance method)">- (Object) <strong>authority_cert_serial_number</strong> </a>
183
+
136
184
 
185
+
186
+ </span>
187
+
137
188
 
189
+
190
+
191
+ <span class="note title readonly">readonly</span>
192
+
193
+
194
+
195
+
196
+
197
+
198
+
199
+
200
+
201
+ <span class="summary_desc"><div class='inline'>
202
+ <p>key_identifier, if present, will be a hex string delimited by colons
203
+ authority_cert_issuer, if present, will be a GeneralName object
204
+ authority_cert_serial_number, if present, will be a hex string delimited by
205
+ colons.</p>
206
+ </div></span>
207
+
208
+ </li>
209
+
210
+
211
+ <li class="public ">
212
+ <span class="summary_signature">
213
+
214
+ <a href="#key_identifier-instance_method" title="#key_identifier (instance method)">- (Object) <strong>key_identifier</strong> </a>
215
+
216
+
217
+
218
+ </span>
219
+
220
+
221
+
222
+
223
+ <span class="note title readonly">readonly</span>
224
+
225
+
226
+
227
+
228
+
229
+
230
+
231
+
232
+
233
+ <span class="summary_desc"><div class='inline'>
234
+ <p>key_identifier, if present, will be a hex string delimited by colons
235
+ authority_cert_issuer, if present, will be a GeneralName object
236
+ authority_cert_serial_number, if present, will be a hex string delimited by
237
+ colons.</p>
238
+ </div></span>
239
+
240
+ </li>
241
+
242
+
243
+ </ul>
244
+
245
+
246
+
247
+
248
+
249
+ <h2>
250
+ Instance Method Summary
251
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
252
+ </h2>
253
+
254
+ <ul class="summary">
255
+
256
+ <li class="public ">
257
+ <span class="summary_signature">
258
+
259
+ <a href="#initialize-instance_method" title="#initialize (instance method)">- (AuthorityKeyIdentifier) <strong>initialize</strong>(*args) </a>
260
+
261
+
262
+
263
+ </span>
264
+
265
+
266
+ <span class="note title constructor">constructor</span>
267
+
268
+
269
+
270
+
271
+
272
+
273
+
274
+
275
+ <span class="summary_desc"><div class='inline'>
276
+ <p>A new instance of AuthorityKeyIdentifier.</p>
277
+ </div></span>
278
+
279
+ </li>
280
+
281
+
282
+ </ul>
283
+
284
+
285
+
286
+ <div id="constructor_details" class="method_details_list">
287
+ <h2>Constructor Details</h2>
288
+
289
+ <div class="method_details first">
290
+ <h3 class="signature first" id="initialize-instance_method">
291
+
292
+ - (<tt><span class='object_link'><a href="" title="R509::Cert::Extensions::AuthorityKeyIdentifier (class)">AuthorityKeyIdentifier</a></span></tt>) <strong>initialize</strong>(*args)
293
+
294
+
295
+
296
+
297
+
298
+ </h3><div class="docstring">
299
+ <div class="discussion">
300
+
301
+ <p>A new instance of AuthorityKeyIdentifier</p>
302
+
303
+
304
+ </div>
305
+ </div>
306
+ <div class="tags">
307
+
308
+
309
+ </div><table class="source_code">
310
+ <tr>
311
+ <td>
312
+ <pre class="lines">
313
+
314
+
315
+ 350
316
+ 351
317
+ 352
318
+ 353
319
+ 354
320
+ 355
321
+ 356
322
+ 357
323
+ 358
324
+ 359
325
+ 360
326
+ 361
327
+ 362
328
+ 363
329
+ 364
330
+ 365
331
+ 366
332
+ 367
333
+ 368
334
+ 369
335
+ 370
336
+ 371
337
+ 372
338
+ 373
339
+ 374
340
+ 375</pre>
341
+ </td>
342
+ <td>
343
+ <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions.rb', line 350</span>
344
+
345
+ <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>
346
+ <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>
347
+
348
+ <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>
349
+ <span class='comment'># AuthorityKeyIdentifier ::= SEQUENCE {
350
+ </span> <span class='comment'># keyIdentifier [0] KeyIdentifier OPTIONAL,
351
+ </span> <span class='comment'># authorityCertIssuer [1] GeneralNames OPTIONAL,
352
+ </span> <span class='comment'># authorityCertSerialNumber [2] CertificateSerialNumber OPTIONAL }
353
+ </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_el'>el</span><span class='op'>|</span>
354
+ <span class='kw'>case</span> <span class='id identifier rubyid_el'>el</span><span class='period'>.</span><span class='id identifier rubyid_tag'>tag</span>
355
+ <span class='kw'>when</span> <span class='int'>0</span>
356
+ <span class='ivar'>@key_identifier</span> <span class='op'>=</span> <span class='id identifier rubyid_el'>el</span><span class='period'>.</span><span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_unpack'>unpack</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>H*</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span><span class='lbracket'>[</span><span class='int'>0</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_upcase'>upcase</span><span class='period'>.</span><span class='id identifier rubyid_scan'>scan</span><span class='lparen'>(</span><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>..</span><span class='regexp_end'>/</span></span><span class='rparen'>)</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>
357
+ <span class='kw'>when</span> <span class='int'>1</span>
358
+ <span class='ivar'>@authority_cert_issuer</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_el'>el</span><span class='period'>.</span><span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_first'>first</span><span class='rparen'>)</span>
359
+ <span class='kw'>when</span> <span class='int'>2</span>
360
+ <span class='id identifier rubyid_arr'>arr</span> <span class='op'>=</span> <span class='id identifier rubyid_el'>el</span><span class='period'>.</span><span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_unpack'>unpack</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>H*</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span><span class='lbracket'>[</span><span class='int'>0</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_upcase'>upcase</span><span class='period'>.</span><span class='id identifier rubyid_scan'>scan</span><span class='lparen'>(</span><span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>..</span><span class='regexp_end'>/</span></span><span class='rparen'>)</span>
361
+ <span class='comment'># OpenSSL's convention is to drop leading 00s, so let's strip that off if
362
+ </span> <span class='comment'># present
363
+ </span> <span class='kw'>if</span> <span class='id identifier rubyid_arr'>arr</span><span class='lbracket'>[</span><span class='int'>0</span><span class='rbracket'>]</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>00</span><span class='tstring_end'>&quot;</span></span>
364
+ <span class='id identifier rubyid_arr'>arr</span><span class='period'>.</span><span class='id identifier rubyid_delete_at'>delete_at</span><span class='lparen'>(</span><span class='int'>0</span><span class='rparen'>)</span>
365
+ <span class='kw'>end</span>
366
+ <span class='ivar'>@authority_cert_serial_number</span> <span class='op'>=</span> <span class='id identifier rubyid_arr'>arr</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>
367
+ <span class='kw'>end</span>
368
+ <span class='kw'>end</span>
369
+
370
+ <span class='kw'>end</span></pre>
371
+ </td>
372
+ </tr>
373
+ </table>
374
+ </div>
375
+
376
+ </div>
377
+
378
+ <div id="instance_attr_details" class="attr_details">
379
+ <h2>Instance Attribute Details</h2>
380
+
381
+
382
+ <span id=""></span>
383
+ <div class="method_details first">
384
+ <h3 class="signature first" id="authority_cert_issuer-instance_method">
385
+
386
+ - (<tt>Object</tt>) <strong>authority_cert_issuer</strong> <span class="extras">(readonly)</span>
387
+
388
+
389
+
390
+
391
+
392
+ </h3><div class="docstring">
393
+ <div class="discussion">
394
+
395
+ <p>key_identifier, if present, will be a hex string delimited by colons
396
+ authority_cert_issuer, if present, will be a GeneralName object
397
+ authority_cert_serial_number, if present, will be a hex string delimited by
398
+ colons</p>
399
+
400
+
401
+ </div>
402
+ </div>
403
+ <div class="tags">
404
+
405
+
406
+ </div><table class="source_code">
407
+ <tr>
408
+ <td>
409
+ <pre class="lines">
410
+
411
+
412
+ 348
413
+ 349
414
+ 350</pre>
415
+ </td>
416
+ <td>
417
+ <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions.rb', line 348</span>
418
+
419
+ <span class='kw'>def</span> <span class='id identifier rubyid_authority_cert_issuer'>authority_cert_issuer</span>
420
+ <span class='ivar'>@authority_cert_issuer</span>
421
+ <span class='kw'>end</span></pre>
422
+ </td>
423
+ </tr>
424
+ </table>
425
+ </div>
426
+
427
+
428
+ <span id=""></span>
429
+ <div class="method_details ">
430
+ <h3 class="signature " id="authority_cert_serial_number-instance_method">
431
+
432
+ - (<tt>Object</tt>) <strong>authority_cert_serial_number</strong> <span class="extras">(readonly)</span>
433
+
434
+
435
+
436
+
437
+
438
+ </h3><div class="docstring">
439
+ <div class="discussion">
440
+
441
+ <p>key_identifier, if present, will be a hex string delimited by colons
442
+ authority_cert_issuer, if present, will be a GeneralName object
443
+ authority_cert_serial_number, if present, will be a hex string delimited by
444
+ colons</p>
445
+
446
+
447
+ </div>
448
+ </div>
449
+ <div class="tags">
450
+
451
+
452
+ </div><table class="source_code">
453
+ <tr>
454
+ <td>
455
+ <pre class="lines">
456
+
457
+
458
+ 348
459
+ 349
460
+ 350</pre>
461
+ </td>
462
+ <td>
463
+ <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions.rb', line 348</span>
464
+
465
+ <span class='kw'>def</span> <span class='id identifier rubyid_authority_cert_serial_number'>authority_cert_serial_number</span>
466
+ <span class='ivar'>@authority_cert_serial_number</span>
467
+ <span class='kw'>end</span></pre>
468
+ </td>
469
+ </tr>
470
+ </table>
471
+ </div>
472
+
473
+
474
+ <span id=""></span>
475
+ <div class="method_details ">
476
+ <h3 class="signature " id="key_identifier-instance_method">
477
+
478
+ - (<tt>Object</tt>) <strong>key_identifier</strong> <span class="extras">(readonly)</span>
479
+
480
+
481
+
482
+
483
+
484
+ </h3><div class="docstring">
485
+ <div class="discussion">
486
+
487
+ <p>key_identifier, if present, will be a hex string delimited by colons
488
+ authority_cert_issuer, if present, will be a GeneralName object
489
+ authority_cert_serial_number, if present, will be a hex string delimited by
490
+ colons</p>
491
+
492
+
493
+ </div>
494
+ </div>
495
+ <div class="tags">
496
+
497
+
498
+ </div><table class="source_code">
499
+ <tr>
500
+ <td>
501
+ <pre class="lines">
502
+
503
+
504
+ 348
505
+ 349
506
+ 350</pre>
507
+ </td>
508
+ <td>
509
+ <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions.rb', line 348</span>
510
+
511
+ <span class='kw'>def</span> <span class='id identifier rubyid_key_identifier'>key_identifier</span>
512
+ <span class='ivar'>@key_identifier</span>
513
+ <span class='kw'>end</span></pre>
514
+ </td>
515
+ </tr>
516
+ </table>
517
+ </div>
518
+
519
+ </div>
520
+
138
521
 
139
522
  </div>
140
523
 
141
524
  <div id="footer">
142
- Generated on Thu Nov 8 14:19:28 2012 by
525
+ Generated on Tue Apr 16 10:49:58 2013 by
143
526
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
144
- 0.8.2.1 (ruby-1.9.3).
527
+ 0.8.5 (ruby-1.9.3).
145
528
  </div>
146
529
 
147
530
  </body>