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
@@ -4,9 +4,9 @@
4
4
  <head>
5
5
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
6
  <title>
7
- Class: R509::Config::CaConfigPool
7
+ Class: R509::Config::CAConfigPool
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
 
@@ -34,7 +34,7 @@
34
34
  <a href="../../_index.html">Index (C)</a> &raquo;
35
35
  <span class='title'><span class='object_link'><a href="../../R509.html" title="R509 (module)">R509</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Config.html" title="R509::Config (module)">Config</a></span></span>
36
36
  &raquo;
37
- <span class="title">CaConfigPool</span>
37
+ <span class="title">CAConfigPool</span>
38
38
 
39
39
 
40
40
  <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
@@ -63,7 +63,7 @@
63
63
 
64
64
  <iframe id="search_frame"></iframe>
65
65
 
66
- <div id="content"><h1>Class: R509::Config::CaConfigPool
66
+ <div id="content"><h1>Class: R509::Config::CAConfigPool
67
67
 
68
68
 
69
69
 
@@ -78,7 +78,7 @@
78
78
  <ul class="fullTree">
79
79
  <li>Object</li>
80
80
 
81
- <li class="next">R509::Config::CaConfigPool</li>
81
+ <li class="next">R509::Config::CAConfigPool</li>
82
82
 
83
83
  </ul>
84
84
  <a href="#" class="inheritanceTree">show all</a>
@@ -209,7 +209,7 @@
209
209
  <li class="public ">
210
210
  <span class="summary_signature">
211
211
 
212
- <a href="#initialize-instance_method" title="#initialize (instance method)">- (CaConfigPool) <strong>initialize</strong>(configs) </a>
212
+ <a href="#initialize-instance_method" title="#initialize (instance method)">- (CAConfigPool) <strong>initialize</strong>(configs) </a>
213
213
 
214
214
 
215
215
 
@@ -226,7 +226,7 @@
226
226
 
227
227
 
228
228
  <span class="summary_desc"><div class='inline'>
229
- <p>A new instance of CaConfigPool.</p>
229
+ <p>A new instance of CAConfigPool.</p>
230
230
  </div></span>
231
231
 
232
232
  </li>
@@ -265,7 +265,7 @@
265
265
  <div class="method_details first">
266
266
  <h3 class="signature first" id="initialize-instance_method">
267
267
 
268
- - (<tt><span class='object_link'><a href="" title="R509::Config::CaConfigPool (class)">CaConfigPool</a></span></tt>) <strong>initialize</strong>(configs)
268
+ - (<tt><span class='object_link'><a href="" title="R509::Config::CAConfigPool (class)">CAConfigPool</a></span></tt>) <strong>initialize</strong>(configs)
269
269
 
270
270
 
271
271
 
@@ -274,7 +274,7 @@
274
274
  </h3><div class="docstring">
275
275
  <div class="discussion">
276
276
 
277
- <p>A new instance of CaConfigPool</p>
277
+ <p>A new instance of CAConfigPool</p>
278
278
 
279
279
 
280
280
  </div>
@@ -309,7 +309,7 @@
309
309
 
310
310
  <li>
311
311
  <span class="name">the</span>
312
- <span class="type">(<tt>Hash&lt;String, <span class='object_link'><a href="CaConfig.html" title="R509::Config::CaConfig (class)">R509::Config::CaConfig</a></span>&gt;</tt>)</span>
312
+ <span class="type">(<tt>Hash&lt;String, <span class='object_link'><a href="CAConfig.html" title="R509::Config::CAConfig (class)">R509::Config::CAConfig</a></span>&gt;</tt>)</span>
313
313
  <span class="default">
314
314
 
315
315
  </span>
@@ -330,15 +330,15 @@
330
330
  <pre class="lines">
331
331
 
332
332
 
333
- 93
334
- 94
335
- 95</pre>
333
+ 256
334
+ 257
335
+ 258</pre>
336
336
  </td>
337
337
  <td>
338
- <pre class="code"><span class="info file"># File 'lib/r509/config.rb', line 93</span>
338
+ <pre class="code"><span class="info file"># File 'lib/r509/config.rb', line 256</span>
339
339
 
340
340
  <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_configs'>configs</span><span class='rparen'>)</span>
341
- <span class='ivar'>@configs</span> <span class='op'>=</span> <span class='id identifier rubyid_configs'>configs</span>
341
+ <span class='ivar'>@configs</span> <span class='op'>=</span> <span class='id identifier rubyid_configs'>configs</span>
342
342
  <span class='kw'>end</span></pre>
343
343
  </td>
344
344
  </tr>
@@ -415,25 +415,25 @@ contain more than one configuration.</p>
415
415
  <pre class="lines">
416
416
 
417
417
 
418
- 116
419
- 117
420
- 118
421
- 119
422
- 120
423
- 121
424
- 122
425
- 123</pre>
418
+ 279
419
+ 280
420
+ 281
421
+ 282
422
+ 283
423
+ 284
424
+ 285
425
+ 286</pre>
426
426
  </td>
427
427
  <td>
428
- <pre class="code"><span class="info file"># File 'lib/r509/config.rb', line 116</span>
428
+ <pre class="code"><span class="info file"># File 'lib/r509/config.rb', line 279</span>
429
429
 
430
430
  <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_from_yaml'>from_yaml</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_yaml_data'>yaml_data</span><span class='comma'>,</span> <span class='id identifier rubyid_opts'>opts</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
431
- <span class='id identifier rubyid_conf'>conf</span> <span class='op'>=</span> <span class='const'>YAML</span><span class='period'>.</span><span class='id identifier rubyid_load'>load</span><span class='lparen'>(</span><span class='id identifier rubyid_yaml_data'>yaml_data</span><span class='rparen'>)</span>
432
- <span class='id identifier rubyid_configs'>configs</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
433
- <span class='id identifier rubyid_conf'>conf</span><span class='lbracket'>[</span><span class='id identifier rubyid_name'>name</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_each_pair'>each_pair</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_ca_name'>ca_name</span><span class='comma'>,</span> <span class='id identifier rubyid_data'>data</span><span class='op'>|</span>
434
- <span class='id identifier rubyid_configs'>configs</span><span class='lbracket'>[</span><span class='id identifier rubyid_ca_name'>ca_name</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='const'>R509</span><span class='op'>::</span><span class='const'>Config</span><span class='op'>::</span><span class='const'>CaConfig</span><span class='period'>.</span><span class='id identifier rubyid_load_from_hash'>load_from_hash</span><span class='lparen'>(</span><span class='id identifier rubyid_data'>data</span><span class='comma'>,</span> <span class='id identifier rubyid_opts'>opts</span><span class='rparen'>)</span>
435
- <span class='kw'>end</span>
436
- <span class='const'>R509</span><span class='op'>::</span><span class='const'>Config</span><span class='op'>::</span><span class='const'>CaConfigPool</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_configs'>configs</span><span class='rparen'>)</span>
431
+ <span class='id identifier rubyid_conf'>conf</span> <span class='op'>=</span> <span class='const'>YAML</span><span class='period'>.</span><span class='id identifier rubyid_load'>load</span><span class='lparen'>(</span><span class='id identifier rubyid_yaml_data'>yaml_data</span><span class='rparen'>)</span>
432
+ <span class='id identifier rubyid_configs'>configs</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
433
+ <span class='id identifier rubyid_conf'>conf</span><span class='lbracket'>[</span><span class='id identifier rubyid_name'>name</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_each_pair'>each_pair</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_ca_name'>ca_name</span><span class='comma'>,</span> <span class='id identifier rubyid_data'>data</span><span class='op'>|</span>
434
+ <span class='id identifier rubyid_configs'>configs</span><span class='lbracket'>[</span><span class='id identifier rubyid_ca_name'>ca_name</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='const'>R509</span><span class='op'>::</span><span class='const'>Config</span><span class='op'>::</span><span class='const'>CAConfig</span><span class='period'>.</span><span class='id identifier rubyid_load_from_hash'>load_from_hash</span><span class='lparen'>(</span><span class='id identifier rubyid_data'>data</span><span class='comma'>,</span> <span class='id identifier rubyid_opts'>opts</span><span class='rparen'>)</span>
435
+ <span class='kw'>end</span>
436
+ <span class='const'>R509</span><span class='op'>::</span><span class='const'>Config</span><span class='op'>::</span><span class='const'>CAConfigPool</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_configs'>configs</span><span class='rparen'>)</span>
437
437
  <span class='kw'>end</span></pre>
438
438
  </td>
439
439
  </tr>
@@ -472,15 +472,15 @@ contain more than one configuration.</p>
472
472
  <pre class="lines">
473
473
 
474
474
 
475
- 103
476
- 104
477
- 105</pre>
475
+ 266
476
+ 267
477
+ 268</pre>
478
478
  </td>
479
479
  <td>
480
- <pre class="code"><span class="info file"># File 'lib/r509/config.rb', line 103</span>
480
+ <pre class="code"><span class="info file"># File 'lib/r509/config.rb', line 266</span>
481
481
 
482
482
  <span class='kw'>def</span> <span class='op'>[]</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='rparen'>)</span>
483
- <span class='ivar'>@configs</span><span class='lbracket'>[</span><span class='id identifier rubyid_name'>name</span><span class='rbracket'>]</span>
483
+ <span class='ivar'>@configs</span><span class='lbracket'>[</span><span class='id identifier rubyid_name'>name</span><span class='rbracket'>]</span>
484
484
  <span class='kw'>end</span></pre>
485
485
  </td>
486
486
  </tr>
@@ -531,15 +531,15 @@ contain more than one configuration.</p>
531
531
  <pre class="lines">
532
532
 
533
533
 
534
- 108
535
- 109
536
- 110</pre>
534
+ 271
535
+ 272
536
+ 273</pre>
537
537
  </td>
538
538
  <td>
539
- <pre class="code"><span class="info file"># File 'lib/r509/config.rb', line 108</span>
539
+ <pre class="code"><span class="info file"># File 'lib/r509/config.rb', line 271</span>
540
540
 
541
541
  <span class='kw'>def</span> <span class='id identifier rubyid_all'>all</span>
542
- <span class='ivar'>@configs</span><span class='period'>.</span><span class='id identifier rubyid_values'>values</span>
542
+ <span class='ivar'>@configs</span><span class='period'>.</span><span class='id identifier rubyid_values'>values</span>
543
543
  <span class='kw'>end</span></pre>
544
544
  </td>
545
545
  </tr>
@@ -572,15 +572,15 @@ contain more than one configuration.</p>
572
572
  <pre class="lines">
573
573
 
574
574
 
575
- 98
576
- 99
577
- 100</pre>
575
+ 261
576
+ 262
577
+ 263</pre>
578
578
  </td>
579
579
  <td>
580
- <pre class="code"><span class="info file"># File 'lib/r509/config.rb', line 98</span>
580
+ <pre class="code"><span class="info file"># File 'lib/r509/config.rb', line 261</span>
581
581
 
582
582
  <span class='kw'>def</span> <span class='id identifier rubyid_names'>names</span>
583
- <span class='ivar'>@configs</span><span class='period'>.</span><span class='id identifier rubyid_keys'>keys</span>
583
+ <span class='ivar'>@configs</span><span class='period'>.</span><span class='id identifier rubyid_keys'>keys</span>
584
584
  <span class='kw'>end</span></pre>
585
585
  </td>
586
586
  </tr>
@@ -592,9 +592,9 @@ contain more than one configuration.</p>
592
592
  </div>
593
593
 
594
594
  <div id="footer">
595
- Generated on Thu Nov 8 14:19:26 2012 by
595
+ Generated on Tue Apr 16 10:49:56 2013 by
596
596
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
597
- 0.8.2.1 (ruby-1.9.3).
597
+ 0.8.5 (ruby-1.9.3).
598
598
  </div>
599
599
 
600
600
  </body>
@@ -0,0 +1,1015 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
+ <title>
7
+ Class: R509::Config::CAProfile
8
+
9
+ &mdash; Documentation by YARD 0.8.5
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="../../css/style.css" type="text/css" media="screen" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="../../css/common.css" type="text/css" media="screen" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ hasFrames = window.top.frames.main ? true : false;
19
+ relpath = '../../';
20
+ framesUrl = "../../frames.html#!" + escape(window.location.href);
21
+ </script>
22
+
23
+
24
+ <script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
25
+
26
+ <script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
27
+
28
+
29
+ </head>
30
+ <body>
31
+ <div id="header">
32
+ <div id="menu">
33
+
34
+ <a href="../../_index.html">Index (C)</a> &raquo;
35
+ <span class='title'><span class='object_link'><a href="../../R509.html" title="R509 (module)">R509</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Config.html" title="R509::Config (module)">Config</a></span></span>
36
+ &raquo;
37
+ <span class="title">CAProfile</span>
38
+
39
+
40
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
41
+ </div>
42
+
43
+ <div id="search">
44
+
45
+ <a class="full_list_link" id="class_list_link"
46
+ href="../../class_list.html">
47
+ Class List
48
+ </a>
49
+
50
+ <a class="full_list_link" id="method_list_link"
51
+ href="../../method_list.html">
52
+ Method List
53
+ </a>
54
+
55
+ <a class="full_list_link" id="file_list_link"
56
+ href="../../file_list.html">
57
+ File List
58
+ </a>
59
+
60
+ </div>
61
+ <div class="clear"></div>
62
+ </div>
63
+
64
+ <iframe id="search_frame"></iframe>
65
+
66
+ <div id="content"><h1>Class: R509::Config::CAProfile
67
+
68
+
69
+
70
+ </h1>
71
+
72
+ <dl class="box">
73
+
74
+ <dt class="r1">Inherits:</dt>
75
+ <dd class="r1">
76
+ <span class="inheritName">Object</span>
77
+
78
+ <ul class="fullTree">
79
+ <li>Object</li>
80
+
81
+ <li class="next">R509::Config::CAProfile</li>
82
+
83
+ </ul>
84
+ <a href="#" class="inheritanceTree">show all</a>
85
+
86
+ </dd>
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+ <dt class="r2 last">Defined in:</dt>
97
+ <dd class="r2 last">lib/r509/config.rb</dd>
98
+
99
+ </dl>
100
+ <div class="clear"></div>
101
+
102
+ <h2>Overview</h2><div class="docstring">
103
+ <div class="discussion">
104
+
105
+ <p>Provides access to configuration profiles</p>
106
+
107
+
108
+ </div>
109
+ </div>
110
+ <div class="tags">
111
+
112
+
113
+ </div>
114
+
115
+
116
+
117
+ <h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
118
+ <ul class="summary">
119
+
120
+ <li class="public ">
121
+ <span class="summary_signature">
122
+
123
+ <a href="#basic_constraints-instance_method" title="#basic_constraints (instance method)">- (Object) <strong>basic_constraints</strong> </a>
124
+
125
+
126
+
127
+ </span>
128
+
129
+
130
+
131
+
132
+ <span class="note title readonly">readonly</span>
133
+
134
+
135
+
136
+
137
+
138
+
139
+
140
+
141
+
142
+ <span class="summary_desc"><div class='inline'>
143
+ <p>Returns the value of attribute basic_constraints.</p>
144
+ </div></span>
145
+
146
+ </li>
147
+
148
+
149
+ <li class="public ">
150
+ <span class="summary_signature">
151
+
152
+ <a href="#certificate_policies-instance_method" title="#certificate_policies (instance method)">- (Object) <strong>certificate_policies</strong> </a>
153
+
154
+
155
+
156
+ </span>
157
+
158
+
159
+
160
+
161
+ <span class="note title readonly">readonly</span>
162
+
163
+
164
+
165
+
166
+
167
+
168
+
169
+
170
+
171
+ <span class="summary_desc"><div class='inline'>
172
+ <p>Returns the value of attribute certificate_policies.</p>
173
+ </div></span>
174
+
175
+ </li>
176
+
177
+
178
+ <li class="public ">
179
+ <span class="summary_signature">
180
+
181
+ <a href="#extended_key_usage-instance_method" title="#extended_key_usage (instance method)">- (Object) <strong>extended_key_usage</strong> </a>
182
+
183
+
184
+
185
+ </span>
186
+
187
+
188
+
189
+
190
+ <span class="note title readonly">readonly</span>
191
+
192
+
193
+
194
+
195
+
196
+
197
+
198
+
199
+
200
+ <span class="summary_desc"><div class='inline'>
201
+ <p>Returns the value of attribute extended_key_usage.</p>
202
+ </div></span>
203
+
204
+ </li>
205
+
206
+
207
+ <li class="public ">
208
+ <span class="summary_signature">
209
+
210
+ <a href="#inhibit_any_policy-instance_method" title="#inhibit_any_policy (instance method)">- (Object) <strong>inhibit_any_policy</strong> </a>
211
+
212
+
213
+
214
+ </span>
215
+
216
+
217
+
218
+
219
+ <span class="note title readonly">readonly</span>
220
+
221
+
222
+
223
+
224
+
225
+
226
+
227
+
228
+
229
+ <span class="summary_desc"><div class='inline'>
230
+ <p>Returns the value of attribute inhibit_any_policy.</p>
231
+ </div></span>
232
+
233
+ </li>
234
+
235
+
236
+ <li class="public ">
237
+ <span class="summary_signature">
238
+
239
+ <a href="#key_usage-instance_method" title="#key_usage (instance method)">- (Object) <strong>key_usage</strong> </a>
240
+
241
+
242
+
243
+ </span>
244
+
245
+
246
+
247
+
248
+ <span class="note title readonly">readonly</span>
249
+
250
+
251
+
252
+
253
+
254
+
255
+
256
+
257
+
258
+ <span class="summary_desc"><div class='inline'>
259
+ <p>Returns the value of attribute key_usage.</p>
260
+ </div></span>
261
+
262
+ </li>
263
+
264
+
265
+ <li class="public ">
266
+ <span class="summary_signature">
267
+
268
+ <a href="#name_constraints-instance_method" title="#name_constraints (instance method)">- (Object) <strong>name_constraints</strong> </a>
269
+
270
+
271
+
272
+ </span>
273
+
274
+
275
+
276
+
277
+ <span class="note title readonly">readonly</span>
278
+
279
+
280
+
281
+
282
+
283
+
284
+
285
+
286
+
287
+ <span class="summary_desc"><div class='inline'>
288
+ <p>Returns the value of attribute name_constraints.</p>
289
+ </div></span>
290
+
291
+ </li>
292
+
293
+
294
+ <li class="public ">
295
+ <span class="summary_signature">
296
+
297
+ <a href="#ocsp_no_check-instance_method" title="#ocsp_no_check (instance method)">- (Object) <strong>ocsp_no_check</strong> </a>
298
+
299
+
300
+
301
+ </span>
302
+
303
+
304
+
305
+
306
+ <span class="note title readonly">readonly</span>
307
+
308
+
309
+
310
+
311
+
312
+
313
+
314
+
315
+
316
+ <span class="summary_desc"><div class='inline'>
317
+ <p>Returns the value of attribute ocsp_no_check.</p>
318
+ </div></span>
319
+
320
+ </li>
321
+
322
+
323
+ <li class="public ">
324
+ <span class="summary_signature">
325
+
326
+ <a href="#policy_constraints-instance_method" title="#policy_constraints (instance method)">- (Object) <strong>policy_constraints</strong> </a>
327
+
328
+
329
+
330
+ </span>
331
+
332
+
333
+
334
+
335
+ <span class="note title readonly">readonly</span>
336
+
337
+
338
+
339
+
340
+
341
+
342
+
343
+
344
+
345
+ <span class="summary_desc"><div class='inline'>
346
+ <p>Returns the value of attribute policy_constraints.</p>
347
+ </div></span>
348
+
349
+ </li>
350
+
351
+
352
+ <li class="public ">
353
+ <span class="summary_signature">
354
+
355
+ <a href="#subject_item_policy-instance_method" title="#subject_item_policy (instance method)">- (Object) <strong>subject_item_policy</strong> </a>
356
+
357
+
358
+
359
+ </span>
360
+
361
+
362
+
363
+
364
+ <span class="note title readonly">readonly</span>
365
+
366
+
367
+
368
+
369
+
370
+
371
+
372
+
373
+
374
+ <span class="summary_desc"><div class='inline'>
375
+ <p>Returns the value of attribute subject_item_policy.</p>
376
+ </div></span>
377
+
378
+ </li>
379
+
380
+
381
+ </ul>
382
+
383
+
384
+
385
+
386
+
387
+ <h2>
388
+ Instance Method Summary
389
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
390
+ </h2>
391
+
392
+ <ul class="summary">
393
+
394
+ <li class="public ">
395
+ <span class="summary_signature">
396
+
397
+ <a href="#initialize-instance_method" title="#initialize (instance method)">- (CAProfile) <strong>initialize</strong>(opts = {}) </a>
398
+
399
+
400
+
401
+ </span>
402
+
403
+
404
+ <span class="note title constructor">constructor</span>
405
+
406
+
407
+
408
+
409
+
410
+
411
+
412
+
413
+ <span class="summary_desc"><div class='inline'>
414
+ <p>All hash options for CAProfile are optional.</p>
415
+ </div></span>
416
+
417
+ </li>
418
+
419
+
420
+ </ul>
421
+
422
+
423
+ <div id="constructor_details" class="method_details_list">
424
+ <h2>Constructor Details</h2>
425
+
426
+ <div class="method_details first">
427
+ <h3 class="signature first" id="initialize-instance_method">
428
+
429
+ - (<tt><span class='object_link'><a href="" title="R509::Config::CAProfile (class)">CAProfile</a></span></tt>) <strong>initialize</strong>(opts = {})
430
+
431
+
432
+
433
+
434
+
435
+ </h3><div class="docstring">
436
+ <div class="discussion">
437
+
438
+ <p>All hash options for CAProfile are optional.</p>
439
+
440
+
441
+ </div>
442
+ </div>
443
+ <div class="tags">
444
+ <p class="tag_title">Parameters:</p>
445
+ <ul class="param">
446
+
447
+ <li>
448
+
449
+ <span class='name'>opts</span>
450
+
451
+
452
+ <span class='type'>(<tt>Hash</tt>)</span>
453
+
454
+
455
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
456
+
457
+
458
+ &mdash;
459
+ <div class='inline'>
460
+ <p>a customizable set of options</p>
461
+ </div>
462
+
463
+ </li>
464
+
465
+ </ul>
466
+
467
+
468
+
469
+
470
+ <p class="tag_title">Options Hash (<tt>opts</tt>):</p>
471
+ <ul class="option">
472
+
473
+ <li>
474
+ <span class="name">:basic_constraints</span>
475
+ <span class="type">(<tt>String</tt>)</span>
476
+ <span class="default">
477
+
478
+ </span>
479
+
480
+ </li>
481
+
482
+ <li>
483
+ <span class="name">:key_usage</span>
484
+ <span class="type">(<tt>Array</tt>)</span>
485
+ <span class="default">
486
+
487
+ </span>
488
+
489
+ </li>
490
+
491
+ <li>
492
+ <span class="name">:extended_key_usage</span>
493
+ <span class="type">(<tt>Array</tt>)</span>
494
+ <span class="default">
495
+
496
+ </span>
497
+
498
+ </li>
499
+
500
+ <li>
501
+ <span class="name">:certificate_policies</span>
502
+ <span class="type">(<tt>Array</tt>)</span>
503
+ <span class="default">
504
+
505
+ </span>
506
+
507
+ </li>
508
+
509
+ <li>
510
+ <span class="name">:ocsp_no_check</span>
511
+ <span class="type">(<tt>Boolean</tt>)</span>
512
+ <span class="default">
513
+
514
+ </span>
515
+
516
+ &mdash; <div class='inline'>
517
+ <p>Sets OCSP No Check extension in the certificate if true</p>
518
+ </div>
519
+
520
+ </li>
521
+
522
+ <li>
523
+ <span class="name">:inhibit_any_policy</span>
524
+ <span class="type">(<tt>Integer</tt>)</span>
525
+ <span class="default">
526
+
527
+ </span>
528
+
529
+ &mdash; <div class='inline'>
530
+ <p>Sets the value of the inhibitAnyPolicy extension</p>
531
+ </div>
532
+
533
+ </li>
534
+
535
+ <li>
536
+ <span class="name">:policy_constraints</span>
537
+ <span class="type">(<tt>Hash</tt>)</span>
538
+ <span class="default">
539
+
540
+ </span>
541
+
542
+ &mdash; <div class='inline'>
543
+ <p>Sets the value of the policyConstriants extension</p>
544
+ </div>
545
+
546
+ </li>
547
+
548
+ <li>
549
+ <span class="name">:name_constraints</span>
550
+ <span class="type">(<tt>Hash</tt>)</span>
551
+ <span class="default">
552
+
553
+ </span>
554
+
555
+ &mdash; <div class='inline'>
556
+ <p>Sets the value of the nameConstraints extension</p>
557
+ </div>
558
+
559
+ </li>
560
+
561
+ <li>
562
+ <span class="name">:subject_item_policy</span>
563
+ <span class="type">(<tt><span class='object_link'><a href="SubjectItemPolicy.html" title="R509::Config::SubjectItemPolicy (class)">R509::Config::SubjectItemPolicy</a></span></tt>)</span>
564
+ <span class="default">
565
+
566
+ </span>
567
+
568
+ </li>
569
+
570
+ </ul>
571
+
572
+
573
+
574
+ </div><table class="source_code">
575
+ <tr>
576
+ <td>
577
+ <pre class="lines">
578
+
579
+
580
+ 29
581
+ 30
582
+ 31
583
+ 32
584
+ 33
585
+ 34
586
+ 35
587
+ 36
588
+ 37
589
+ 38
590
+ 39</pre>
591
+ </td>
592
+ <td>
593
+ <pre class="code"><span class="info file"># File 'lib/r509/config.rb', line 29</span>
594
+
595
+ <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_opts'>opts</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
596
+ <span class='id identifier rubyid_validate_basic_constraints'>validate_basic_constraints</span> <span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:basic_constraints</span><span class='rbracket'>]</span>
597
+ <span class='id identifier rubyid_validate_key_usage'>validate_key_usage</span> <span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:key_usage</span><span class='rbracket'>]</span>
598
+ <span class='id identifier rubyid_validate_extended_key_usage'>validate_extended_key_usage</span> <span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:extended_key_usage</span><span class='rbracket'>]</span>
599
+ <span class='id identifier rubyid_validate_certificate_policies'>validate_certificate_policies</span> <span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:certificate_policies</span><span class='rbracket'>]</span>
600
+ <span class='id identifier rubyid_validate_inhibit_any_policy'>validate_inhibit_any_policy</span> <span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:inhibit_any_policy</span><span class='rbracket'>]</span>
601
+ <span class='id identifier rubyid_validate_policy_constraints'>validate_policy_constraints</span> <span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:policy_constraints</span><span class='rbracket'>]</span>
602
+ <span class='id identifier rubyid_validate_name_constraints'>validate_name_constraints</span> <span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:name_constraints</span><span class='rbracket'>]</span>
603
+ <span class='ivar'>@ocsp_no_check</span> <span class='op'>=</span> <span class='lparen'>(</span><span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:ocsp_no_check</span><span class='rbracket'>]</span> <span class='op'>==</span> <span class='kw'>true</span> <span class='kw'>or</span> <span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:ocsp_no_check</span><span class='rbracket'>]</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>true</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span><span class='op'>?</span><span class='kw'>true</span><span class='op'>:</span><span class='kw'>false</span>
604
+ <span class='id identifier rubyid_validate_subject_item_policy'>validate_subject_item_policy</span> <span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:subject_item_policy</span><span class='rbracket'>]</span>
605
+ <span class='kw'>end</span></pre>
606
+ </td>
607
+ </tr>
608
+ </table>
609
+ </div>
610
+
611
+ </div>
612
+
613
+ <div id="instance_attr_details" class="attr_details">
614
+ <h2>Instance Attribute Details</h2>
615
+
616
+
617
+ <span id=""></span>
618
+ <div class="method_details first">
619
+ <h3 class="signature first" id="basic_constraints-instance_method">
620
+
621
+ - (<tt>Object</tt>) <strong>basic_constraints</strong> <span class="extras">(readonly)</span>
622
+
623
+
624
+
625
+
626
+
627
+ </h3><div class="docstring">
628
+ <div class="discussion">
629
+
630
+ <p>Returns the value of attribute basic_constraints</p>
631
+
632
+
633
+ </div>
634
+ </div>
635
+ <div class="tags">
636
+
637
+
638
+ </div><table class="source_code">
639
+ <tr>
640
+ <td>
641
+ <pre class="lines">
642
+
643
+
644
+ 15
645
+ 16
646
+ 17</pre>
647
+ </td>
648
+ <td>
649
+ <pre class="code"><span class="info file"># File 'lib/r509/config.rb', line 15</span>
650
+
651
+ <span class='kw'>def</span> <span class='id identifier rubyid_basic_constraints'>basic_constraints</span>
652
+ <span class='ivar'>@basic_constraints</span>
653
+ <span class='kw'>end</span></pre>
654
+ </td>
655
+ </tr>
656
+ </table>
657
+ </div>
658
+
659
+
660
+ <span id=""></span>
661
+ <div class="method_details ">
662
+ <h3 class="signature " id="certificate_policies-instance_method">
663
+
664
+ - (<tt>Object</tt>) <strong>certificate_policies</strong> <span class="extras">(readonly)</span>
665
+
666
+
667
+
668
+
669
+
670
+ </h3><div class="docstring">
671
+ <div class="discussion">
672
+
673
+ <p>Returns the value of attribute certificate_policies</p>
674
+
675
+
676
+ </div>
677
+ </div>
678
+ <div class="tags">
679
+
680
+
681
+ </div><table class="source_code">
682
+ <tr>
683
+ <td>
684
+ <pre class="lines">
685
+
686
+
687
+ 15
688
+ 16
689
+ 17</pre>
690
+ </td>
691
+ <td>
692
+ <pre class="code"><span class="info file"># File 'lib/r509/config.rb', line 15</span>
693
+
694
+ <span class='kw'>def</span> <span class='id identifier rubyid_certificate_policies'>certificate_policies</span>
695
+ <span class='ivar'>@certificate_policies</span>
696
+ <span class='kw'>end</span></pre>
697
+ </td>
698
+ </tr>
699
+ </table>
700
+ </div>
701
+
702
+
703
+ <span id=""></span>
704
+ <div class="method_details ">
705
+ <h3 class="signature " id="extended_key_usage-instance_method">
706
+
707
+ - (<tt>Object</tt>) <strong>extended_key_usage</strong> <span class="extras">(readonly)</span>
708
+
709
+
710
+
711
+
712
+
713
+ </h3><div class="docstring">
714
+ <div class="discussion">
715
+
716
+ <p>Returns the value of attribute extended_key_usage</p>
717
+
718
+
719
+ </div>
720
+ </div>
721
+ <div class="tags">
722
+
723
+
724
+ </div><table class="source_code">
725
+ <tr>
726
+ <td>
727
+ <pre class="lines">
728
+
729
+
730
+ 15
731
+ 16
732
+ 17</pre>
733
+ </td>
734
+ <td>
735
+ <pre class="code"><span class="info file"># File 'lib/r509/config.rb', line 15</span>
736
+
737
+ <span class='kw'>def</span> <span class='id identifier rubyid_extended_key_usage'>extended_key_usage</span>
738
+ <span class='ivar'>@extended_key_usage</span>
739
+ <span class='kw'>end</span></pre>
740
+ </td>
741
+ </tr>
742
+ </table>
743
+ </div>
744
+
745
+
746
+ <span id=""></span>
747
+ <div class="method_details ">
748
+ <h3 class="signature " id="inhibit_any_policy-instance_method">
749
+
750
+ - (<tt>Object</tt>) <strong>inhibit_any_policy</strong> <span class="extras">(readonly)</span>
751
+
752
+
753
+
754
+
755
+
756
+ </h3><div class="docstring">
757
+ <div class="discussion">
758
+
759
+ <p>Returns the value of attribute inhibit_any_policy</p>
760
+
761
+
762
+ </div>
763
+ </div>
764
+ <div class="tags">
765
+
766
+
767
+ </div><table class="source_code">
768
+ <tr>
769
+ <td>
770
+ <pre class="lines">
771
+
772
+
773
+ 15
774
+ 16
775
+ 17</pre>
776
+ </td>
777
+ <td>
778
+ <pre class="code"><span class="info file"># File 'lib/r509/config.rb', line 15</span>
779
+
780
+ <span class='kw'>def</span> <span class='id identifier rubyid_inhibit_any_policy'>inhibit_any_policy</span>
781
+ <span class='ivar'>@inhibit_any_policy</span>
782
+ <span class='kw'>end</span></pre>
783
+ </td>
784
+ </tr>
785
+ </table>
786
+ </div>
787
+
788
+
789
+ <span id=""></span>
790
+ <div class="method_details ">
791
+ <h3 class="signature " id="key_usage-instance_method">
792
+
793
+ - (<tt>Object</tt>) <strong>key_usage</strong> <span class="extras">(readonly)</span>
794
+
795
+
796
+
797
+
798
+
799
+ </h3><div class="docstring">
800
+ <div class="discussion">
801
+
802
+ <p>Returns the value of attribute key_usage</p>
803
+
804
+
805
+ </div>
806
+ </div>
807
+ <div class="tags">
808
+
809
+
810
+ </div><table class="source_code">
811
+ <tr>
812
+ <td>
813
+ <pre class="lines">
814
+
815
+
816
+ 15
817
+ 16
818
+ 17</pre>
819
+ </td>
820
+ <td>
821
+ <pre class="code"><span class="info file"># File 'lib/r509/config.rb', line 15</span>
822
+
823
+ <span class='kw'>def</span> <span class='id identifier rubyid_key_usage'>key_usage</span>
824
+ <span class='ivar'>@key_usage</span>
825
+ <span class='kw'>end</span></pre>
826
+ </td>
827
+ </tr>
828
+ </table>
829
+ </div>
830
+
831
+
832
+ <span id=""></span>
833
+ <div class="method_details ">
834
+ <h3 class="signature " id="name_constraints-instance_method">
835
+
836
+ - (<tt>Object</tt>) <strong>name_constraints</strong> <span class="extras">(readonly)</span>
837
+
838
+
839
+
840
+
841
+
842
+ </h3><div class="docstring">
843
+ <div class="discussion">
844
+
845
+ <p>Returns the value of attribute name_constraints</p>
846
+
847
+
848
+ </div>
849
+ </div>
850
+ <div class="tags">
851
+
852
+
853
+ </div><table class="source_code">
854
+ <tr>
855
+ <td>
856
+ <pre class="lines">
857
+
858
+
859
+ 15
860
+ 16
861
+ 17</pre>
862
+ </td>
863
+ <td>
864
+ <pre class="code"><span class="info file"># File 'lib/r509/config.rb', line 15</span>
865
+
866
+ <span class='kw'>def</span> <span class='id identifier rubyid_name_constraints'>name_constraints</span>
867
+ <span class='ivar'>@name_constraints</span>
868
+ <span class='kw'>end</span></pre>
869
+ </td>
870
+ </tr>
871
+ </table>
872
+ </div>
873
+
874
+
875
+ <span id=""></span>
876
+ <div class="method_details ">
877
+ <h3 class="signature " id="ocsp_no_check-instance_method">
878
+
879
+ - (<tt>Object</tt>) <strong>ocsp_no_check</strong> <span class="extras">(readonly)</span>
880
+
881
+
882
+
883
+
884
+
885
+ </h3><div class="docstring">
886
+ <div class="discussion">
887
+
888
+ <p>Returns the value of attribute ocsp_no_check</p>
889
+
890
+
891
+ </div>
892
+ </div>
893
+ <div class="tags">
894
+
895
+
896
+ </div><table class="source_code">
897
+ <tr>
898
+ <td>
899
+ <pre class="lines">
900
+
901
+
902
+ 15
903
+ 16
904
+ 17</pre>
905
+ </td>
906
+ <td>
907
+ <pre class="code"><span class="info file"># File 'lib/r509/config.rb', line 15</span>
908
+
909
+ <span class='kw'>def</span> <span class='id identifier rubyid_ocsp_no_check'>ocsp_no_check</span>
910
+ <span class='ivar'>@ocsp_no_check</span>
911
+ <span class='kw'>end</span></pre>
912
+ </td>
913
+ </tr>
914
+ </table>
915
+ </div>
916
+
917
+
918
+ <span id=""></span>
919
+ <div class="method_details ">
920
+ <h3 class="signature " id="policy_constraints-instance_method">
921
+
922
+ - (<tt>Object</tt>) <strong>policy_constraints</strong> <span class="extras">(readonly)</span>
923
+
924
+
925
+
926
+
927
+
928
+ </h3><div class="docstring">
929
+ <div class="discussion">
930
+
931
+ <p>Returns the value of attribute policy_constraints</p>
932
+
933
+
934
+ </div>
935
+ </div>
936
+ <div class="tags">
937
+
938
+
939
+ </div><table class="source_code">
940
+ <tr>
941
+ <td>
942
+ <pre class="lines">
943
+
944
+
945
+ 15
946
+ 16
947
+ 17</pre>
948
+ </td>
949
+ <td>
950
+ <pre class="code"><span class="info file"># File 'lib/r509/config.rb', line 15</span>
951
+
952
+ <span class='kw'>def</span> <span class='id identifier rubyid_policy_constraints'>policy_constraints</span>
953
+ <span class='ivar'>@policy_constraints</span>
954
+ <span class='kw'>end</span></pre>
955
+ </td>
956
+ </tr>
957
+ </table>
958
+ </div>
959
+
960
+
961
+ <span id=""></span>
962
+ <div class="method_details ">
963
+ <h3 class="signature " id="subject_item_policy-instance_method">
964
+
965
+ - (<tt>Object</tt>) <strong>subject_item_policy</strong> <span class="extras">(readonly)</span>
966
+
967
+
968
+
969
+
970
+
971
+ </h3><div class="docstring">
972
+ <div class="discussion">
973
+
974
+ <p>Returns the value of attribute subject_item_policy</p>
975
+
976
+
977
+ </div>
978
+ </div>
979
+ <div class="tags">
980
+
981
+
982
+ </div><table class="source_code">
983
+ <tr>
984
+ <td>
985
+ <pre class="lines">
986
+
987
+
988
+ 15
989
+ 16
990
+ 17</pre>
991
+ </td>
992
+ <td>
993
+ <pre class="code"><span class="info file"># File 'lib/r509/config.rb', line 15</span>
994
+
995
+ <span class='kw'>def</span> <span class='id identifier rubyid_subject_item_policy'>subject_item_policy</span>
996
+ <span class='ivar'>@subject_item_policy</span>
997
+ <span class='kw'>end</span></pre>
998
+ </td>
999
+ </tr>
1000
+ </table>
1001
+ </div>
1002
+
1003
+ </div>
1004
+
1005
+
1006
+ </div>
1007
+
1008
+ <div id="footer">
1009
+ Generated on Tue Apr 16 10:49:56 2013 by
1010
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1011
+ 0.8.5 (ruby-1.9.3).
1012
+ </div>
1013
+
1014
+ </body>
1015
+ </html>