r509 0.9.1 → 0.9.2
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.
- data/README.md +3 -4
- data/doc/R509.html +10 -10
- data/doc/R509/ASN1.html +1 -1
- data/doc/R509/ASN1/GeneralName.html +1 -1
- data/doc/R509/ASN1/GeneralNames.html +1 -1
- data/doc/R509/ASN1/NoticeReference.html +1 -1
- data/doc/R509/ASN1/PolicyInformation.html +1 -1
- data/doc/R509/ASN1/PolicyQualifiers.html +1 -1
- data/doc/R509/ASN1/UserNotice.html +1 -1
- data/doc/R509/CRL.html +1 -1
- data/doc/R509/CRL/Administrator.html +1 -1
- data/doc/R509/CRL/SignedList.html +1 -1
- data/doc/R509/CSR.html +1 -1
- data/doc/R509/Cert.html +1 -1
- data/doc/R509/Cert/Extensions.html +1 -1
- data/doc/R509/Cert/Extensions/AuthorityInfoAccess.html +1 -1
- data/doc/R509/Cert/Extensions/AuthorityKeyIdentifier.html +1 -1
- data/doc/R509/Cert/Extensions/BasicConstraints.html +1 -1
- data/doc/R509/Cert/Extensions/CRLDistributionPoints.html +1 -1
- data/doc/R509/Cert/Extensions/CertificatePolicies.html +1 -1
- data/doc/R509/Cert/Extensions/ExtendedKeyUsage.html +1 -1
- data/doc/R509/Cert/Extensions/InhibitAnyPolicy.html +1 -1
- data/doc/R509/Cert/Extensions/KeyUsage.html +1 -1
- data/doc/R509/Cert/Extensions/NameConstraints.html +1 -1
- data/doc/R509/Cert/Extensions/OCSPNoCheck.html +1 -1
- data/doc/R509/Cert/Extensions/PolicyConstraints.html +1 -1
- data/doc/R509/Cert/Extensions/SubjectAlternativeName.html +1 -1
- data/doc/R509/Cert/Extensions/SubjectKeyIdentifier.html +1 -1
- data/doc/R509/CertificateAuthority.html +1 -1
- data/doc/R509/CertificateAuthority/Signer.html +1 -1
- data/doc/R509/Config.html +1 -1
- data/doc/R509/Config/CAConfig.html +61 -61
- data/doc/R509/Config/CAConfigPool.html +16 -16
- data/doc/R509/Config/CAProfile.html +31 -31
- data/doc/R509/Config/SubjectItemPolicy.html +13 -13
- data/doc/R509/Engine.html +416 -0
- data/doc/R509/IOHelpers.html +1 -1
- data/doc/R509/MessageDigest.html +1 -1
- data/doc/R509/NameSanitizer.html +1 -1
- data/doc/R509/OCSP.html +1 -1
- data/doc/R509/OCSP/Request.html +1 -1
- data/doc/R509/OCSP/Request/Nonce.html +1 -1
- data/doc/R509/OCSP/Response.html +1 -1
- data/doc/R509/OIDMapper.html +1 -1
- data/doc/R509/PrivateKey.html +1 -1
- data/doc/R509/R509Error.html +1 -1
- data/doc/R509/SPKI.html +1 -1
- data/doc/R509/Subject.html +1 -1
- data/doc/R509/Validity.html +1 -1
- data/doc/R509/Validity/Checker.html +1 -1
- data/doc/R509/Validity/DefaultChecker.html +1 -1
- data/doc/R509/Validity/DefaultWriter.html +1 -1
- data/doc/R509/Validity/Status.html +1 -1
- data/doc/R509/Validity/Writer.html +1 -1
- data/doc/_index.html +8 -1
- data/doc/class_list.html +1 -1
- data/doc/file.README.html +4 -5
- data/doc/file.r509.html +1 -1
- data/doc/index.html +4 -5
- data/doc/method_list.html +443 -419
- data/doc/top-level-namespace.html +1 -1
- data/lib/r509.rb +1 -0
- data/lib/r509/config.rb +2 -1
- data/lib/r509/engine.rb +36 -0
- data/lib/r509/version.rb +1 -1
- data/spec/certificate_authority_spec.rb +4 -1
- data/spec/fixtures/config_test_various.yaml +2 -1
- metadata +5 -3
data/README.md
CHANGED
@@ -145,8 +145,7 @@ key.write_encrypted_pem("/tmp/path","aes256","my-password")
|
|
145
145
|
The engine you want to load must already be available to OpenSSL. How to compile/install OpenSSL engines is outside the scope of this document.
|
146
146
|
|
147
147
|
```ruby
|
148
|
-
|
149
|
-
engine = OpenSSL::Engine.by_id("engine_name")
|
148
|
+
engine = R509::Engine.load("SO_PATH" => "/usr/lib64/openssl/engines/libchil.so", "ID" => "chil")
|
150
149
|
key = R509::PrivateKey(
|
151
150
|
:engine => engine,
|
152
151
|
:key_name => "my_key_name"
|
@@ -439,7 +438,7 @@ This hash defines the certificate + key that will be used to sign for the ca\_na
|
|
439
438
|
|
440
439
|
* cert (cannot use with pkcs12)
|
441
440
|
* key (optional, cannot use with pkcs12)
|
442
|
-
* engine (optional, cannot be used with key or pkcs12)
|
441
|
+
* engine (optional, cannot be used with key or pkcs12. Must be a hash with SO_PATH and ID keys)
|
443
442
|
* key\_name (required when using engine)
|
444
443
|
* pkcs12 (optional, cannot be used with key or cert)
|
445
444
|
* password (optional, used for pkcs12 or passworded private key)
|
@@ -449,7 +448,7 @@ This hash defines the certificate + key that will be used to sign for OCSP respo
|
|
449
448
|
|
450
449
|
* cert (cannot use with pkcs12)
|
451
450
|
* key (optional, cannot use with pkcs12)
|
452
|
-
* engine (optional, cannot be used with key or pkcs12)
|
451
|
+
* engine (optional, cannot be used with key or pkcs12. Must be a hash with SO_PATH and ID keys)
|
453
452
|
* key\_name (required when using engine)
|
454
453
|
* pkcs12 (optional, cannot be used with key or cert)
|
455
454
|
* password (optional, used for pkcs12 or passworded private key)
|
data/doc/R509.html
CHANGED
@@ -80,7 +80,7 @@
|
|
80
80
|
|
81
81
|
<dt class="r1 last">Defined in:</dt>
|
82
82
|
<dd class="r1 last">lib/r509.rb<span class="defines">,<br />
|
83
|
-
lib/r509/csr.rb,<br /> lib/r509/crl.rb,<br /> lib/r509/cert.rb,<br /> lib/r509/spki.rb,<br /> lib/r509/asn1.rb,<br /> lib/r509/config.rb,<br /> lib/r509/
|
83
|
+
lib/r509/csr.rb,<br /> lib/r509/crl.rb,<br /> lib/r509/cert.rb,<br /> lib/r509/spki.rb,<br /> lib/r509/asn1.rb,<br /> lib/r509/config.rb,<br /> lib/r509/engine.rb,<br /> lib/r509/version.rb,<br /> lib/r509/subject.rb,<br /> lib/r509/oid_mapper.rb,<br /> lib/r509/io_helpers.rb,<br /> lib/r509/exceptions.rb,<br /> lib/r509/private_key.rb,<br /> lib/r509/message_digest.rb,<br /> lib/r509/cert/extensions.rb</span>
|
84
84
|
</dd>
|
85
85
|
|
86
86
|
</dl>
|
@@ -106,7 +106,7 @@ support.</p>
|
|
106
106
|
|
107
107
|
|
108
108
|
|
109
|
-
<strong class="classes">Classes:</strong> <span class='object_link'><a href="R509/CSR.html" title="R509::CSR (class)">CSR</a></span>, <span class='object_link'><a href="R509/Cert.html" title="R509::Cert (class)">Cert</a></span>, <span class='object_link'><a href="R509/MessageDigest.html" title="R509::MessageDigest (class)">MessageDigest</a></span>, <span class='object_link'><a href="R509/NameSanitizer.html" title="R509::NameSanitizer (class)">NameSanitizer</a></span>, <span class='object_link'><a href="R509/PrivateKey.html" title="R509::PrivateKey (class)">PrivateKey</a></span>, <span class='object_link'><a href="R509/R509Error.html" title="R509::R509Error (class)">R509Error</a></span>, <span class='object_link'><a href="R509/SPKI.html" title="R509::SPKI (class)">SPKI</a></span>, <span class='object_link'><a href="R509/Subject.html" title="R509::Subject (class)">Subject</a></span>
|
109
|
+
<strong class="classes">Classes:</strong> <span class='object_link'><a href="R509/CSR.html" title="R509::CSR (class)">CSR</a></span>, <span class='object_link'><a href="R509/Cert.html" title="R509::Cert (class)">Cert</a></span>, <span class='object_link'><a href="R509/Engine.html" title="R509::Engine (class)">Engine</a></span>, <span class='object_link'><a href="R509/MessageDigest.html" title="R509::MessageDigest (class)">MessageDigest</a></span>, <span class='object_link'><a href="R509/NameSanitizer.html" title="R509::NameSanitizer (class)">NameSanitizer</a></span>, <span class='object_link'><a href="R509/PrivateKey.html" title="R509::PrivateKey (class)">PrivateKey</a></span>, <span class='object_link'><a href="R509/R509Error.html" title="R509::R509Error (class)">R509Error</a></span>, <span class='object_link'><a href="R509/SPKI.html" title="R509::SPKI (class)">SPKI</a></span>, <span class='object_link'><a href="R509/Subject.html" title="R509::Subject (class)">Subject</a></span>
|
110
110
|
|
111
111
|
|
112
112
|
</p>
|
@@ -129,7 +129,7 @@ support.</p>
|
|
129
129
|
|
130
130
|
</div>
|
131
131
|
</dt>
|
132
|
-
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>0.9.
|
132
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>0.9.2</span><span class='tstring_end'>"</span></span></pre></dd>
|
133
133
|
|
134
134
|
</dl>
|
135
135
|
|
@@ -240,12 +240,12 @@ support.</p>
|
|
240
240
|
<pre class="lines">
|
241
241
|
|
242
242
|
|
243
|
-
27
|
244
243
|
28
|
245
|
-
29
|
244
|
+
29
|
245
|
+
30</pre>
|
246
246
|
</td>
|
247
247
|
<td>
|
248
|
-
<pre class="code"><span class="info file"># File 'lib/r509.rb', line
|
248
|
+
<pre class="code"><span class="info file"># File 'lib/r509.rb', line 28</span>
|
249
249
|
|
250
250
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_ec_supported?'>ec_supported?</span>
|
251
251
|
<span class='lparen'>(</span><span class='kw'>not</span> <span class='kw'>defined?</span><span class='lparen'>(</span><span class='const'>OpenSSL</span><span class='op'>::</span><span class='const'>PKey</span><span class='op'>::</span><span class='const'>EC</span><span class='op'>::</span><span class='const'>UNSUPPORTED</span><span class='rparen'>)</span><span class='rparen'>)</span>
|
@@ -281,15 +281,15 @@ support.</p>
|
|
281
281
|
<pre class="lines">
|
282
282
|
|
283
283
|
|
284
|
-
20
|
285
284
|
21
|
286
285
|
22
|
287
286
|
23
|
288
287
|
24
|
289
|
-
25
|
288
|
+
25
|
289
|
+
26</pre>
|
290
290
|
</td>
|
291
291
|
<td>
|
292
|
-
<pre class="code"><span class="info file"># File 'lib/r509.rb', line
|
292
|
+
<pre class="code"><span class="info file"># File 'lib/r509.rb', line 21</span>
|
293
293
|
|
294
294
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_print_debug'>print_debug</span>
|
295
295
|
<span class='id identifier rubyid_puts'>puts</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>r509 v</span><span class='embexpr_beg'>#{</span><span class='const'>R509</span><span class='op'>::</span><span class='const'>VERSION</span><span class='rbrace'>}</span><span class='tstring_end'>"</span></span>
|
@@ -307,7 +307,7 @@ support.</p>
|
|
307
307
|
</div>
|
308
308
|
|
309
309
|
<div id="footer">
|
310
|
-
Generated on
|
310
|
+
Generated on Tue Apr 23 10:46:04 2013 by
|
311
311
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
312
312
|
0.8.5 (ruby-1.9.3).
|
313
313
|
</div>
|
data/doc/R509/ASN1.html
CHANGED
@@ -361,7 +361,7 @@ processing by the subclasses</p>
|
|
361
361
|
</div>
|
362
362
|
|
363
363
|
<div id="footer">
|
364
|
-
Generated on
|
364
|
+
Generated on Tue Apr 23 10:46:04 2013 by
|
365
365
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
366
366
|
0.8.5 (ruby-1.9.3).
|
367
367
|
</div>
|
@@ -1112,7 +1112,7 @@ R509::CertificateAuthority::Signer</p>
|
|
1112
1112
|
</div>
|
1113
1113
|
|
1114
1114
|
<div id="footer">
|
1115
|
-
Generated on
|
1115
|
+
Generated on Tue Apr 23 10:46:05 2013 by
|
1116
1116
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1117
1117
|
0.8.5 (ruby-1.9.3).
|
1118
1118
|
</div>
|
@@ -834,7 +834,7 @@ in SubjectAlternativeName, AuthorityInfoAccess, CRLDistributionPoints, etc</p>
|
|
834
834
|
</div>
|
835
835
|
|
836
836
|
<div id="footer">
|
837
|
-
Generated on
|
837
|
+
Generated on Tue Apr 23 10:46:05 2013 by
|
838
838
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
839
839
|
0.8.5 (ruby-1.9.3).
|
840
840
|
</div>
|
@@ -383,7 +383,7 @@ noticeNumbers SEQUENCE OF INTEGER }</code></pre>
|
|
383
383
|
</div>
|
384
384
|
|
385
385
|
<div id="footer">
|
386
|
-
Generated on
|
386
|
+
Generated on Tue Apr 23 10:46:05 2013 by
|
387
387
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
388
388
|
0.8.5 (ruby-1.9.3).
|
389
389
|
</div>
|
@@ -378,7 +378,7 @@ policyQualifiers SEQUENCE SIZE (1..MAX) OF
|
|
378
378
|
</div>
|
379
379
|
|
380
380
|
<div id="footer">
|
381
|
-
Generated on
|
381
|
+
Generated on Tue Apr 23 10:46:05 2013 by
|
382
382
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
383
383
|
0.8.5 (ruby-1.9.3).
|
384
384
|
</div>
|
@@ -446,7 +446,7 @@ qualifier ANY DEFINED BY policyQualifierId }</code></pre>
|
|
446
446
|
</div>
|
447
447
|
|
448
448
|
<div id="footer">
|
449
|
-
Generated on
|
449
|
+
Generated on Tue Apr 23 10:46:05 2013 by
|
450
450
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
451
451
|
0.8.5 (ruby-1.9.3).
|
452
452
|
</div>
|
@@ -377,7 +377,7 @@ explicitText DisplayText OPTIONAL }</code></pre>
|
|
377
377
|
</div>
|
378
378
|
|
379
379
|
<div id="footer">
|
380
|
-
Generated on
|
380
|
+
Generated on Tue Apr 23 10:46:05 2013 by
|
381
381
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
382
382
|
0.8.5 (ruby-1.9.3).
|
383
383
|
</div>
|
data/doc/R509/CRL.html
CHANGED
@@ -117,7 +117,7 @@
|
|
117
117
|
</div>
|
118
118
|
|
119
119
|
<div id="footer">
|
120
|
-
Generated on
|
120
|
+
Generated on Tue Apr 23 10:46:04 2013 by
|
121
121
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
122
122
|
0.8.5 (ruby-1.9.3).
|
123
123
|
</div>
|
@@ -1554,7 +1554,7 @@ generate_crl to sign a new CRL</p>
|
|
1554
1554
|
</div>
|
1555
1555
|
|
1556
1556
|
<div id="footer">
|
1557
|
-
Generated on
|
1557
|
+
Generated on Tue Apr 23 10:46:04 2013 by
|
1558
1558
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1559
1559
|
0.8.5 (ruby-1.9.3).
|
1560
1560
|
</div>
|
@@ -1505,7 +1505,7 @@ IO-like object.</p>
|
|
1505
1505
|
</div>
|
1506
1506
|
|
1507
1507
|
<div id="footer">
|
1508
|
-
Generated on
|
1508
|
+
Generated on Tue Apr 23 10:46:04 2013 by
|
1509
1509
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1510
1510
|
0.8.5 (ruby-1.9.3).
|
1511
1511
|
</div>
|
data/doc/R509/CSR.html
CHANGED
@@ -2375,7 +2375,7 @@ IO-like object.</p>
|
|
2375
2375
|
</div>
|
2376
2376
|
|
2377
2377
|
<div id="footer">
|
2378
|
-
Generated on
|
2378
|
+
Generated on Tue Apr 23 10:46:04 2013 by
|
2379
2379
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
2380
2380
|
0.8.5 (ruby-1.9.3).
|
2381
2381
|
</div>
|
data/doc/R509/Cert.html
CHANGED
@@ -4200,7 +4200,7 @@ IO-like object.</p>
|
|
4200
4200
|
</div>
|
4201
4201
|
|
4202
4202
|
<div id="footer">
|
4203
|
-
Generated on
|
4203
|
+
Generated on Tue Apr 23 10:46:04 2013 by
|
4204
4204
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
4205
4205
|
0.8.5 (ruby-1.9.3).
|
4206
4206
|
</div>
|
@@ -327,7 +327,7 @@ implementation are ignored (see #get_unknown_extensions).</p>
|
|
327
327
|
</div>
|
328
328
|
|
329
329
|
<div id="footer">
|
330
|
-
Generated on
|
330
|
+
Generated on Tue Apr 23 10:46:04 2013 by
|
331
331
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
332
332
|
0.8.5 (ruby-1.9.3).
|
333
333
|
</div>
|
@@ -415,7 +415,7 @@ provide access to the components and meaning of the extension's contents.</p>
|
|
415
415
|
</div>
|
416
416
|
|
417
417
|
<div id="footer">
|
418
|
-
Generated on
|
418
|
+
Generated on Tue Apr 23 10:46:07 2013 by
|
419
419
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
420
420
|
0.8.5 (ruby-1.9.3).
|
421
421
|
</div>
|
@@ -522,7 +522,7 @@ colons</p>
|
|
522
522
|
</div>
|
523
523
|
|
524
524
|
<div id="footer">
|
525
|
-
Generated on
|
525
|
+
Generated on Tue Apr 23 10:46:06 2013 by
|
526
526
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
527
527
|
0.8.5 (ruby-1.9.3).
|
528
528
|
</div>
|
@@ -508,7 +508,7 @@ is a pathlen restriction in the cert chain above the current cert</p>
|
|
508
508
|
</div>
|
509
509
|
|
510
510
|
<div id="footer">
|
511
|
-
Generated on
|
511
|
+
Generated on Tue Apr 23 10:46:06 2013 by
|
512
512
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
513
513
|
0.8.5 (ruby-1.9.3).
|
514
514
|
</div>
|
@@ -345,7 +345,7 @@ provide access to the components and meaning of the extension's contents.</p>
|
|
345
345
|
</div>
|
346
346
|
|
347
347
|
<div id="footer">
|
348
|
-
Generated on
|
348
|
+
Generated on Tue Apr 23 10:46:07 2013 by
|
349
349
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
350
350
|
0.8.5 (ruby-1.9.3).
|
351
351
|
</div>
|
@@ -331,7 +331,7 @@ provide access to the components and meaning of the extension's contents.</p>
|
|
331
331
|
</div>
|
332
332
|
|
333
333
|
<div id="footer">
|
334
|
-
Generated on
|
334
|
+
Generated on Tue Apr 23 10:46:07 2013 by
|
335
335
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
336
336
|
0.8.5 (ruby-1.9.3).
|
337
337
|
</div>
|
@@ -1161,7 +1161,7 @@ provide access to the components and meaning of the extension's contents.</p>
|
|
1161
1161
|
</div>
|
1162
1162
|
|
1163
1163
|
<div id="footer">
|
1164
|
-
Generated on
|
1164
|
+
Generated on Tue Apr 23 10:46:06 2013 by
|
1165
1165
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1166
1166
|
0.8.5 (ruby-1.9.3).
|
1167
1167
|
</div>
|
@@ -323,7 +323,7 @@ provide access to the component and meaning of the extension's contents.</p>
|
|
323
323
|
</div>
|
324
324
|
|
325
325
|
<div id="footer">
|
326
|
-
Generated on
|
326
|
+
Generated on Tue Apr 23 10:46:07 2013 by
|
327
327
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
328
328
|
0.8.5 (ruby-1.9.3).
|
329
329
|
</div>
|
@@ -1346,7 +1346,7 @@ AU_* constants in this class</p>
|
|
1346
1346
|
</div>
|
1347
1347
|
|
1348
1348
|
<div id="footer">
|
1349
|
-
Generated on
|
1349
|
+
Generated on Tue Apr 23 10:46:06 2013 by
|
1350
1350
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1351
1351
|
0.8.5 (ruby-1.9.3).
|
1352
1352
|
</div>
|
@@ -436,7 +436,7 @@ BaseDistance ::= INTEGER (0..MAX)</code></pre>
|
|
436
436
|
</div>
|
437
437
|
|
438
438
|
<div id="footer">
|
439
|
-
Generated on
|
439
|
+
Generated on Tue Apr 23 10:46:07 2013 by
|
440
440
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
441
441
|
0.8.5 (ruby-1.9.3).
|
442
442
|
</div>
|
@@ -230,7 +230,7 @@
|
|
230
230
|
</div>
|
231
231
|
|
232
232
|
<div id="footer">
|
233
|
-
Generated on
|
233
|
+
Generated on Tue Apr 23 10:46:07 2013 by
|
234
234
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
235
235
|
0.8.5 (ruby-1.9.3).
|
236
236
|
</div>
|
@@ -415,7 +415,7 @@ provide access to the components and meaning of the extension's contents.</p>
|
|
415
415
|
</div>
|
416
416
|
|
417
417
|
<div id="footer">
|
418
|
-
Generated on
|
418
|
+
Generated on Tue Apr 23 10:46:07 2013 by
|
419
419
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
420
420
|
0.8.5 (ruby-1.9.3).
|
421
421
|
</div>
|
@@ -830,7 +830,7 @@ contents.</p>
|
|
830
830
|
</div>
|
831
831
|
|
832
832
|
<div id="footer">
|
833
|
-
Generated on
|
833
|
+
Generated on Tue Apr 23 10:46:07 2013 by
|
834
834
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
835
835
|
0.8.5 (ruby-1.9.3).
|
836
836
|
</div>
|
@@ -249,7 +249,7 @@ provide access to the components and meaning of the extension's contents.</p>
|
|
249
249
|
</div>
|
250
250
|
|
251
251
|
<div id="footer">
|
252
|
-
Generated on
|
252
|
+
Generated on Tue Apr 23 10:46:06 2013 by
|
253
253
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
254
254
|
0.8.5 (ruby-1.9.3).
|
255
255
|
</div>
|
@@ -117,7 +117,7 @@
|
|
117
117
|
</div>
|
118
118
|
|
119
119
|
<div id="footer">
|
120
|
-
Generated on
|
120
|
+
Generated on Tue Apr 23 10:46:04 2013 by
|
121
121
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
122
122
|
0.8.5 (ruby-1.9.3).
|
123
123
|
</div>
|
@@ -835,7 +835,7 @@ default</p>
|
|
835
835
|
</div>
|
836
836
|
|
837
837
|
<div id="footer">
|
838
|
-
Generated on
|
838
|
+
Generated on Tue Apr 23 10:46:07 2013 by
|
839
839
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
840
840
|
0.8.5 (ruby-1.9.3).
|
841
841
|
</div>
|
data/doc/R509/Config.html
CHANGED
@@ -118,7 +118,7 @@ CAProfile, SubjectItemPolicy)</p>
|
|
118
118
|
</div>
|
119
119
|
|
120
120
|
<div id="footer">
|
121
|
-
Generated on
|
121
|
+
Generated on Tue Apr 23 10:46:04 2013 by
|
122
122
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
123
123
|
0.8.5 (ruby-1.9.3).
|
124
124
|
</div>
|
@@ -886,7 +886,6 @@ object if not provided</p>
|
|
886
886
|
<pre class="lines">
|
887
887
|
|
888
888
|
|
889
|
-
315
|
890
889
|
316
|
891
890
|
317
|
892
891
|
318
|
@@ -927,10 +926,11 @@ object if not provided</p>
|
|
927
926
|
353
|
928
927
|
354
|
929
928
|
355
|
930
|
-
356
|
929
|
+
356
|
930
|
+
357</pre>
|
931
931
|
</td>
|
932
932
|
<td>
|
933
|
-
<pre class="code"><span class="info file"># File 'lib/r509/config.rb', line
|
933
|
+
<pre class="code"><span class="info file"># File 'lib/r509/config.rb', line 316</span>
|
934
934
|
|
935
935
|
<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>
|
936
936
|
<span class='kw'>if</span> <span class='kw'>not</span> <span class='id identifier rubyid_opts'>opts</span><span class='period'>.</span><span class='id identifier rubyid_has_key?'>has_key?</span><span class='lparen'>(</span><span class='symbol'>:ca_cert</span><span class='rparen'>)</span> <span class='kw'>then</span>
|
@@ -1012,12 +1012,12 @@ object if not provided</p>
|
|
1012
1012
|
<pre class="lines">
|
1013
1013
|
|
1014
1014
|
|
1015
|
-
293
|
1016
1015
|
294
|
1017
|
-
295
|
1016
|
+
295
|
1017
|
+
296</pre>
|
1018
1018
|
</td>
|
1019
1019
|
<td>
|
1020
|
-
<pre class="code"><span class="info file"># File 'lib/r509/config.rb', line
|
1020
|
+
<pre class="code"><span class="info file"># File 'lib/r509/config.rb', line 294</span>
|
1021
1021
|
|
1022
1022
|
<span class='kw'>def</span> <span class='id identifier rubyid_ca_cert'>ca_cert</span>
|
1023
1023
|
<span class='ivar'>@ca_cert</span>
|
@@ -1055,12 +1055,12 @@ object if not provided</p>
|
|
1055
1055
|
<pre class="lines">
|
1056
1056
|
|
1057
1057
|
|
1058
|
-
293
|
1059
1058
|
294
|
1060
|
-
295
|
1059
|
+
295
|
1060
|
+
296</pre>
|
1061
1061
|
</td>
|
1062
1062
|
<td>
|
1063
|
-
<pre class="code"><span class="info file"># File 'lib/r509/config.rb', line
|
1063
|
+
<pre class="code"><span class="info file"># File 'lib/r509/config.rb', line 294</span>
|
1064
1064
|
|
1065
1065
|
<span class='kw'>def</span> <span class='id identifier rubyid_ca_issuers_location'>ca_issuers_location</span>
|
1066
1066
|
<span class='ivar'>@ca_issuers_location</span>
|
@@ -1098,12 +1098,12 @@ object if not provided</p>
|
|
1098
1098
|
<pre class="lines">
|
1099
1099
|
|
1100
1100
|
|
1101
|
-
293
|
1102
1101
|
294
|
1103
|
-
295
|
1102
|
+
295
|
1103
|
+
296</pre>
|
1104
1104
|
</td>
|
1105
1105
|
<td>
|
1106
|
-
<pre class="code"><span class="info file"># File 'lib/r509/config.rb', line
|
1106
|
+
<pre class="code"><span class="info file"># File 'lib/r509/config.rb', line 294</span>
|
1107
1107
|
|
1108
1108
|
<span class='kw'>def</span> <span class='id identifier rubyid_cdp_location'>cdp_location</span>
|
1109
1109
|
<span class='ivar'>@cdp_location</span>
|
@@ -1141,12 +1141,12 @@ object if not provided</p>
|
|
1141
1141
|
<pre class="lines">
|
1142
1142
|
|
1143
1143
|
|
1144
|
-
293
|
1145
1144
|
294
|
1146
|
-
295
|
1145
|
+
295
|
1146
|
+
296</pre>
|
1147
1147
|
</td>
|
1148
1148
|
<td>
|
1149
|
-
<pre class="code"><span class="info file"># File 'lib/r509/config.rb', line
|
1149
|
+
<pre class="code"><span class="info file"># File 'lib/r509/config.rb', line 294</span>
|
1150
1150
|
|
1151
1151
|
<span class='kw'>def</span> <span class='id identifier rubyid_crl_list_file'>crl_list_file</span>
|
1152
1152
|
<span class='ivar'>@crl_list_file</span>
|
@@ -1184,12 +1184,12 @@ object if not provided</p>
|
|
1184
1184
|
<pre class="lines">
|
1185
1185
|
|
1186
1186
|
|
1187
|
-
293
|
1188
1187
|
294
|
1189
|
-
295
|
1188
|
+
295
|
1189
|
+
296</pre>
|
1190
1190
|
</td>
|
1191
1191
|
<td>
|
1192
|
-
<pre class="code"><span class="info file"># File 'lib/r509/config.rb', line
|
1192
|
+
<pre class="code"><span class="info file"># File 'lib/r509/config.rb', line 294</span>
|
1193
1193
|
|
1194
1194
|
<span class='kw'>def</span> <span class='id identifier rubyid_crl_number_file'>crl_number_file</span>
|
1195
1195
|
<span class='ivar'>@crl_number_file</span>
|
@@ -1227,12 +1227,12 @@ object if not provided</p>
|
|
1227
1227
|
<pre class="lines">
|
1228
1228
|
|
1229
1229
|
|
1230
|
-
293
|
1231
1230
|
294
|
1232
|
-
295
|
1231
|
+
295
|
1232
|
+
296</pre>
|
1233
1233
|
</td>
|
1234
1234
|
<td>
|
1235
|
-
<pre class="code"><span class="info file"># File 'lib/r509/config.rb', line
|
1235
|
+
<pre class="code"><span class="info file"># File 'lib/r509/config.rb', line 294</span>
|
1236
1236
|
|
1237
1237
|
<span class='kw'>def</span> <span class='id identifier rubyid_crl_start_skew_seconds'>crl_start_skew_seconds</span>
|
1238
1238
|
<span class='ivar'>@crl_start_skew_seconds</span>
|
@@ -1270,12 +1270,12 @@ object if not provided</p>
|
|
1270
1270
|
<pre class="lines">
|
1271
1271
|
|
1272
1272
|
|
1273
|
-
293
|
1274
1273
|
294
|
1275
|
-
295
|
1274
|
+
295
|
1275
|
+
296</pre>
|
1276
1276
|
</td>
|
1277
1277
|
<td>
|
1278
|
-
<pre class="code"><span class="info file"># File 'lib/r509/config.rb', line
|
1278
|
+
<pre class="code"><span class="info file"># File 'lib/r509/config.rb', line 294</span>
|
1279
1279
|
|
1280
1280
|
<span class='kw'>def</span> <span class='id identifier rubyid_crl_validity_hours'>crl_validity_hours</span>
|
1281
1281
|
<span class='ivar'>@crl_validity_hours</span>
|
@@ -1313,12 +1313,12 @@ object if not provided</p>
|
|
1313
1313
|
<pre class="lines">
|
1314
1314
|
|
1315
1315
|
|
1316
|
-
293
|
1317
1316
|
294
|
1318
|
-
295
|
1317
|
+
295
|
1318
|
+
296</pre>
|
1319
1319
|
</td>
|
1320
1320
|
<td>
|
1321
|
-
<pre class="code"><span class="info file"># File 'lib/r509/config.rb', line
|
1321
|
+
<pre class="code"><span class="info file"># File 'lib/r509/config.rb', line 294</span>
|
1322
1322
|
|
1323
1323
|
<span class='kw'>def</span> <span class='id identifier rubyid_message_digest'>message_digest</span>
|
1324
1324
|
<span class='ivar'>@message_digest</span>
|
@@ -1356,12 +1356,12 @@ object if not provided</p>
|
|
1356
1356
|
<pre class="lines">
|
1357
1357
|
|
1358
1358
|
|
1359
|
-
293
|
1360
1359
|
294
|
1361
|
-
295
|
1360
|
+
295
|
1361
|
+
296</pre>
|
1362
1362
|
</td>
|
1363
1363
|
<td>
|
1364
|
-
<pre class="code"><span class="info file"># File 'lib/r509/config.rb', line
|
1364
|
+
<pre class="code"><span class="info file"># File 'lib/r509/config.rb', line 294</span>
|
1365
1365
|
|
1366
1366
|
<span class='kw'>def</span> <span class='id identifier rubyid_ocsp_chain'>ocsp_chain</span>
|
1367
1367
|
<span class='ivar'>@ocsp_chain</span>
|
@@ -1399,12 +1399,12 @@ object if not provided</p>
|
|
1399
1399
|
<pre class="lines">
|
1400
1400
|
|
1401
1401
|
|
1402
|
-
293
|
1403
1402
|
294
|
1404
|
-
295
|
1403
|
+
295
|
1404
|
+
296</pre>
|
1405
1405
|
</td>
|
1406
1406
|
<td>
|
1407
|
-
<pre class="code"><span class="info file"># File 'lib/r509/config.rb', line
|
1407
|
+
<pre class="code"><span class="info file"># File 'lib/r509/config.rb', line 294</span>
|
1408
1408
|
|
1409
1409
|
<span class='kw'>def</span> <span class='id identifier rubyid_ocsp_location'>ocsp_location</span>
|
1410
1410
|
<span class='ivar'>@ocsp_location</span>
|
@@ -1442,12 +1442,12 @@ object if not provided</p>
|
|
1442
1442
|
<pre class="lines">
|
1443
1443
|
|
1444
1444
|
|
1445
|
-
293
|
1446
1445
|
294
|
1447
|
-
295
|
1446
|
+
295
|
1447
|
+
296</pre>
|
1448
1448
|
</td>
|
1449
1449
|
<td>
|
1450
|
-
<pre class="code"><span class="info file"># File 'lib/r509/config.rb', line
|
1450
|
+
<pre class="code"><span class="info file"># File 'lib/r509/config.rb', line 294</span>
|
1451
1451
|
|
1452
1452
|
<span class='kw'>def</span> <span class='id identifier rubyid_ocsp_start_skew_seconds'>ocsp_start_skew_seconds</span>
|
1453
1453
|
<span class='ivar'>@ocsp_start_skew_seconds</span>
|
@@ -1485,12 +1485,12 @@ object if not provided</p>
|
|
1485
1485
|
<pre class="lines">
|
1486
1486
|
|
1487
1487
|
|
1488
|
-
293
|
1489
1488
|
294
|
1490
|
-
295
|
1489
|
+
295
|
1490
|
+
296</pre>
|
1491
1491
|
</td>
|
1492
1492
|
<td>
|
1493
|
-
<pre class="code"><span class="info file"># File 'lib/r509/config.rb', line
|
1493
|
+
<pre class="code"><span class="info file"># File 'lib/r509/config.rb', line 294</span>
|
1494
1494
|
|
1495
1495
|
<span class='kw'>def</span> <span class='id identifier rubyid_ocsp_validity_hours'>ocsp_validity_hours</span>
|
1496
1496
|
<span class='ivar'>@ocsp_validity_hours</span>
|
@@ -1570,13 +1570,13 @@ contain more than one configuration.</p>
|
|
1570
1570
|
<pre class="lines">
|
1571
1571
|
|
1572
1572
|
|
1573
|
-
502
|
1574
1573
|
503
|
1575
1574
|
504
|
1576
|
-
505
|
1575
|
+
505
|
1576
|
+
506</pre>
|
1577
1577
|
</td>
|
1578
1578
|
<td>
|
1579
|
-
<pre class="code"><span class="info file"># File 'lib/r509/config.rb', line
|
1579
|
+
<pre class="code"><span class="info file"># File 'lib/r509/config.rb', line 503</span>
|
1580
1580
|
|
1581
1581
|
<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_conf_name'>conf_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>
|
1582
1582
|
<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>
|
@@ -1676,7 +1676,6 @@ when loading from a YAML file.</p>
|
|
1676
1676
|
<pre class="lines">
|
1677
1677
|
|
1678
1678
|
|
1679
|
-
394
|
1680
1679
|
395
|
1681
1680
|
396
|
1682
1681
|
397
|
@@ -1769,10 +1768,11 @@ when loading from a YAML file.</p>
|
|
1769
1768
|
484
|
1770
1769
|
485
|
1771
1770
|
486
|
1772
|
-
487
|
1771
|
+
487
|
1772
|
+
488</pre>
|
1773
1773
|
</td>
|
1774
1774
|
<td>
|
1775
|
-
<pre class="code"><span class="info file"># File 'lib/r509/config.rb', line
|
1775
|
+
<pre class="code"><span class="info file"># File 'lib/r509/config.rb', line 395</span>
|
1776
1776
|
|
1777
1777
|
<span class='kw'>def</span> <span class='kw'>self</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_conf'>conf</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>
|
1778
1778
|
<span class='kw'>if</span> <span class='id identifier rubyid_conf'>conf</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
@@ -1936,13 +1936,13 @@ contain more than one configuration.</p>
|
|
1936
1936
|
<pre class="lines">
|
1937
1937
|
|
1938
1938
|
|
1939
|
-
493
|
1940
1939
|
494
|
1941
1940
|
495
|
1942
|
-
496
|
1941
|
+
496
|
1942
|
+
497</pre>
|
1943
1943
|
</td>
|
1944
1944
|
<td>
|
1945
|
-
<pre class="code"><span class="info file"># File 'lib/r509/config.rb', line
|
1945
|
+
<pre class="code"><span class="info file"># File 'lib/r509/config.rb', line 494</span>
|
1946
1946
|
|
1947
1947
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_load_yaml'>load_yaml</span><span class='lparen'>(</span><span class='id identifier rubyid_conf_name'>conf_name</span><span class='comma'>,</span> <span class='id identifier rubyid_yaml_file'>yaml_file</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>
|
1948
1948
|
<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_file'>load_file</span><span class='lparen'>(</span><span class='id identifier rubyid_yaml_file'>yaml_file</span><span class='rparen'>)</span>
|
@@ -2003,12 +2003,12 @@ contain more than one configuration.</p>
|
|
2003
2003
|
<pre class="lines">
|
2004
2004
|
|
2005
2005
|
|
2006
|
-
382
|
2007
2006
|
383
|
2008
|
-
384
|
2007
|
+
384
|
2008
|
+
385</pre>
|
2009
2009
|
</td>
|
2010
2010
|
<td>
|
2011
|
-
<pre class="code"><span class="info file"># File 'lib/r509/config.rb', line
|
2011
|
+
<pre class="code"><span class="info file"># File 'lib/r509/config.rb', line 383</span>
|
2012
2012
|
|
2013
2013
|
<span class='kw'>def</span> <span class='id identifier rubyid_num_profiles'>num_profiles</span>
|
2014
2014
|
<span class='ivar'>@profiles</span><span class='period'>.</span><span class='id identifier rubyid_count'>count</span>
|
@@ -2062,12 +2062,12 @@ contain more than one configuration.</p>
|
|
2062
2062
|
<pre class="lines">
|
2063
2063
|
|
2064
2064
|
|
2065
|
-
359
|
2066
2065
|
360
|
2067
|
-
361
|
2066
|
+
361
|
2067
|
+
362</pre>
|
2068
2068
|
</td>
|
2069
2069
|
<td>
|
2070
|
-
<pre class="code"><span class="info file"># File 'lib/r509/config.rb', line
|
2070
|
+
<pre class="code"><span class="info file"># File 'lib/r509/config.rb', line 360</span>
|
2071
2071
|
|
2072
2072
|
<span class='kw'>def</span> <span class='id identifier rubyid_ocsp_cert'>ocsp_cert</span>
|
2073
2073
|
<span class='kw'>if</span> <span class='ivar'>@ocsp_cert</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='kw'>then</span> <span class='ivar'>@ca_cert</span> <span class='kw'>else</span> <span class='ivar'>@ocsp_cert</span> <span class='kw'>end</span>
|
@@ -2136,15 +2136,15 @@ contain more than one configuration.</p>
|
|
2136
2136
|
<pre class="lines">
|
2137
2137
|
|
2138
2138
|
|
2139
|
-
374
|
2140
2139
|
375
|
2141
2140
|
376
|
2142
2141
|
377
|
2143
2142
|
378
|
2144
|
-
379
|
2143
|
+
379
|
2144
|
+
380</pre>
|
2145
2145
|
</td>
|
2146
2146
|
<td>
|
2147
|
-
<pre class="code"><span class="info file"># File 'lib/r509/config.rb', line
|
2147
|
+
<pre class="code"><span class="info file"># File 'lib/r509/config.rb', line 375</span>
|
2148
2148
|
|
2149
2149
|
<span class='kw'>def</span> <span class='id identifier rubyid_profile'>profile</span><span class='lparen'>(</span><span class='id identifier rubyid_prof'>prof</span><span class='rparen'>)</span>
|
2150
2150
|
<span class='kw'>if</span> <span class='op'>!</span><span class='ivar'>@profiles</span><span class='period'>.</span><span class='id identifier rubyid_has_key?'>has_key?</span><span class='lparen'>(</span><span class='id identifier rubyid_prof'>prof</span><span class='rparen'>)</span>
|
@@ -2217,15 +2217,15 @@ contain more than one configuration.</p>
|
|
2217
2217
|
<pre class="lines">
|
2218
2218
|
|
2219
2219
|
|
2220
|
-
365
|
2221
2220
|
366
|
2222
2221
|
367
|
2223
2222
|
368
|
2224
2223
|
369
|
2225
|
-
370
|
2224
|
+
370
|
2225
|
+
371</pre>
|
2226
2226
|
</td>
|
2227
2227
|
<td>
|
2228
|
-
<pre class="code"><span class="info file"># File 'lib/r509/config.rb', line
|
2228
|
+
<pre class="code"><span class="info file"># File 'lib/r509/config.rb', line 366</span>
|
2229
2229
|
|
2230
2230
|
<span class='kw'>def</span> <span class='id identifier rubyid_set_profile'>set_profile</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_prof'>prof</span><span class='rparen'>)</span>
|
2231
2231
|
<span class='kw'>unless</span> <span class='id identifier rubyid_prof'>prof</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>R509</span><span class='op'>::</span><span class='const'>Config</span><span class='op'>::</span><span class='const'>CAProfile</span><span class='rparen'>)</span>
|
@@ -2243,7 +2243,7 @@ contain more than one configuration.</p>
|
|
2243
2243
|
</div>
|
2244
2244
|
|
2245
2245
|
<div id="footer">
|
2246
|
-
Generated on
|
2246
|
+
Generated on Tue Apr 23 10:46:05 2013 by
|
2247
2247
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
2248
2248
|
0.8.5 (ruby-1.9.3).
|
2249
2249
|
</div>
|