r509 0.9.2 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +2 -0
- data/CONTRIBUTING.mdown +21 -0
- data/LICENSE +13 -0
- data/README.mdown +548 -0
- data/Rakefile +5 -0
- data/bin/r509 +16 -17
- data/doc/R509.html +42 -26
- data/doc/R509/ASN1.html +22 -16
- data/doc/R509/ASN1/GeneralName.html +180 -173
- data/doc/R509/ASN1/GeneralNames.html +390 -62
- data/doc/R509/CRL.html +9 -7
- data/doc/R509/CRL/Administrator.html +208 -623
- data/doc/R509/CRL/FileReaderWriter.html +856 -0
- data/doc/R509/CRL/ReaderWriter.html +524 -0
- data/doc/R509/CRL/SignedList.html +29 -42
- data/doc/R509/CSR.html +248 -333
- data/doc/R509/Cert.html +364 -491
- data/doc/R509/Cert/Extensions.html +134 -43
- data/doc/R509/Cert/Extensions/AuthorityInfoAccess.html +335 -65
- data/doc/R509/Cert/Extensions/AuthorityKeyIdentifier.html +201 -102
- data/doc/R509/Cert/Extensions/BasicConstraints.html +297 -68
- data/doc/R509/Cert/Extensions/CRLDistributionPoints.html +690 -77
- data/doc/R509/Cert/Extensions/CertificatePolicies.html +293 -43
- data/doc/R509/Cert/Extensions/ExtendedKeyUsage.html +321 -173
- data/doc/R509/Cert/Extensions/GeneralNamesMixin.html +656 -0
- data/doc/R509/Cert/Extensions/InhibitAnyPolicy.html +270 -42
- data/doc/R509/Cert/Extensions/KeyUsage.html +334 -184
- data/doc/R509/Cert/Extensions/NameConstraints.html +363 -93
- data/doc/R509/{ASN1 → Cert/Extensions}/NoticeReference.html +209 -48
- data/doc/R509/Cert/Extensions/OCSPNoCheck.html +244 -17
- data/doc/R509/Cert/Extensions/PolicyConstraints.html +322 -71
- data/doc/R509/{ASN1 → Cert/Extensions}/PolicyInformation.html +204 -43
- data/doc/R509/{ASN1 → Cert/Extensions}/PolicyQualifiers.html +205 -48
- data/doc/R509/Cert/Extensions/SubjectAlternativeName.html +348 -143
- data/doc/R509/Cert/Extensions/SubjectKeyIdentifier.html +165 -13
- data/doc/R509/{ASN1 → Cert/Extensions}/UserNotice.html +204 -43
- data/doc/R509/Cert/Extensions/ValidationMixin.html +120 -0
- data/doc/R509/CertificateAuthority.html +9 -7
- data/doc/R509/CertificateAuthority/OptionsBuilder.html +475 -0
- data/doc/R509/CertificateAuthority/Signer.html +149 -198
- data/doc/R509/Config.html +10 -8
- data/doc/R509/Config/CAConfig.html +708 -625
- data/doc/R509/Config/CAConfigPool.html +179 -31
- data/doc/R509/Config/CertProfile.html +1544 -0
- data/doc/R509/Config/SubjectItemPolicy.html +437 -99
- data/doc/R509/Engine.html +14 -28
- data/doc/R509/Helpers.html +1014 -0
- data/doc/R509/MessageDigest.html +73 -25
- data/doc/R509/NameSanitizer.html +39 -39
- data/doc/R509/OCSP.html +5 -5
- data/doc/R509/OCSP/Request.html +5 -5
- data/doc/R509/OCSP/Request/Nonce.html +5 -5
- data/doc/R509/OCSP/Response.html +7 -7
- data/doc/R509/OIDMapper.html +121 -6
- data/doc/R509/PrivateKey.html +226 -227
- data/doc/R509/R509Error.html +5 -5
- data/doc/R509/SPKI.html +244 -342
- data/doc/R509/Subject.html +241 -70
- data/doc/R509/Validity.html +5 -5
- data/doc/R509/Validity/Checker.html +5 -5
- data/doc/R509/Validity/DefaultChecker.html +5 -9
- data/doc/R509/Validity/DefaultWriter.html +5 -9
- data/doc/R509/Validity/Status.html +5 -5
- data/doc/R509/Validity/Writer.html +5 -5
- data/doc/_index.html +92 -30
- data/doc/class_list.html +2 -2
- data/doc/file.CONTRIBUTING.html +96 -0
- data/doc/file.LICENSE.html +87 -0
- data/doc/file.README.html +279 -389
- data/doc/file.YAML.html +243 -0
- data/doc/file.r509.html +298 -105
- data/doc/file_list.html +11 -2
- data/doc/frames.html +1 -1
- data/doc/index.html +279 -389
- data/doc/js/full_list.js +6 -1
- data/doc/method_list.html +869 -1139
- data/doc/top-level-namespace.html +103 -5
- data/lib/r509.rb +7 -2
- data/lib/r509/asn1.rb +97 -135
- data/lib/r509/cert.rb +17 -106
- data/lib/r509/cert/extensions.rb +13 -676
- data/lib/r509/cert/extensions/authority_info_access.rb +128 -0
- data/lib/r509/cert/extensions/authority_key_identifier.rb +100 -0
- data/lib/r509/cert/extensions/base.rb +142 -0
- data/lib/r509/cert/extensions/basic_constraints.rb +119 -0
- data/lib/r509/cert/extensions/certificate_policies.rb +262 -0
- data/lib/r509/cert/extensions/crl_distribution_points.rb +98 -0
- data/lib/r509/cert/extensions/extended_key_usage.rb +189 -0
- data/lib/r509/cert/extensions/inhibit_any_policy.rb +70 -0
- data/lib/r509/cert/extensions/key_usage.rb +209 -0
- data/lib/r509/cert/extensions/name_constraints.rb +179 -0
- data/lib/r509/cert/extensions/ocsp_no_check.rb +56 -0
- data/lib/r509/cert/extensions/policy_constraints.rb +122 -0
- data/lib/r509/cert/extensions/subject_alternative_name.rb +88 -0
- data/lib/r509/cert/extensions/subject_key_identifier.rb +56 -0
- data/lib/r509/cert/extensions/validation_mixin.rb +42 -0
- data/lib/r509/certificate_authority/options_builder.rb +142 -0
- data/lib/r509/certificate_authority/signer.rb +189 -0
- data/lib/r509/config.rb +3 -600
- data/lib/r509/config/ca_config.rb +414 -0
- data/lib/r509/config/cert_profile.rb +110 -0
- data/lib/r509/config/subject_item_policy.rb +118 -0
- data/lib/r509/crl/administrator.rb +169 -0
- data/lib/r509/crl/reader_writer.rb +109 -0
- data/lib/r509/crl/signed_list.rb +135 -0
- data/lib/r509/csr.rb +35 -116
- data/lib/r509/engine.rb +21 -11
- data/lib/r509/helpers.rb +110 -0
- data/lib/r509/io_helpers.rb +18 -13
- data/lib/r509/message_digest.rb +13 -3
- data/lib/r509/oid_mapper.rb +14 -0
- data/lib/r509/private_key.rb +74 -50
- data/lib/r509/spki.rb +50 -113
- data/lib/r509/subject.rb +24 -2
- data/lib/r509/trollop.rb +788 -0
- data/lib/r509/version.rb +1 -1
- data/r509.yaml +289 -96
- data/spec/asn1_spec.rb +171 -98
- data/spec/cert/extensions/authority_info_access_spec.rb +247 -0
- data/spec/cert/extensions/authority_key_identifier_spec.rb +85 -0
- data/spec/cert/extensions/base_spec.rb +172 -0
- data/spec/cert/extensions/basic_constraints_spec.rb +185 -0
- data/spec/cert/extensions/certificate_policies_spec.rb +288 -0
- data/spec/cert/extensions/crl_distribution_points_spec.rb +149 -0
- data/spec/cert/extensions/extended_key_usage_spec.rb +174 -0
- data/spec/cert/extensions/inhibit_any_policy_spec.rb +92 -0
- data/spec/cert/extensions/key_usage_spec.rb +172 -0
- data/spec/cert/extensions/name_constraints_spec.rb +335 -0
- data/spec/cert/extensions/ocsp_no_check_spec.rb +76 -0
- data/spec/cert/extensions/policy_constraints_spec.rb +155 -0
- data/spec/cert/extensions/subject_alternative_name_spec.rb +354 -0
- data/spec/cert/extensions/subject_key_identifier_spec.rb +64 -0
- data/spec/cert_spec.rb +11 -9
- data/spec/certificate_authority/options_builder_spec.rb +307 -0
- data/spec/certificate_authority/signer_spec.rb +278 -0
- data/spec/config/ca_config_spec.rb +405 -0
- data/spec/config/cert_profile_spec.rb +88 -0
- data/spec/config/subject_item_policy_spec.rb +81 -0
- data/spec/crl/administrator_spec.rb +199 -0
- data/spec/crl/reader_writer_spec.rb +97 -0
- data/spec/crl/signed_list_spec.rb +84 -0
- data/spec/csr_spec.rb +43 -36
- data/spec/engine_spec.rb +51 -0
- data/spec/fixtures.rb +40 -40
- data/spec/fixtures/cert1.pem +1 -1
- data/spec/fixtures/config_pool_test_minimal.yaml +11 -15
- data/spec/fixtures/config_test.yaml +96 -59
- data/spec/fixtures/config_test_dsa.yaml +29 -35
- data/spec/fixtures/config_test_ec.yaml +29 -35
- data/spec/fixtures/config_test_engine_key.yaml +7 -7
- data/spec/fixtures/config_test_engine_no_key_name.yaml +6 -6
- data/spec/fixtures/config_test_minimal.yaml +3 -5
- data/spec/fixtures/config_test_password.yaml +4 -6
- data/spec/fixtures/config_test_various.yaml +147 -137
- data/spec/fixtures/crl_list_file.txt +1 -1
- data/spec/fixtures/test_ca_crl.cer +20 -0
- data/spec/fixtures/test_ca_crl.key +28 -0
- data/spec/fixtures/test_ca_crl.p12 +0 -0
- data/spec/message_digest_spec.rb +6 -0
- data/spec/oid_mapper_spec.rb +11 -0
- data/spec/private_key_spec.rb +19 -18
- data/spec/spec_helper.rb +10 -6
- data/spec/spki_spec.rb +38 -19
- data/spec/subject_spec.rb +16 -0
- metadata +108 -59
- metadata.gz.sig +0 -0
- data/README.md +0 -638
- data/doc/R509/Config/CAProfile.html +0 -1015
- data/doc/R509/IOHelpers.html +0 -564
- data/lib/r509/certificate_authority.rb +0 -407
- data/lib/r509/crl.rb +0 -351
- data/spec/cert/extensions_spec.rb +0 -1095
- data/spec/certificate_authority_spec.rb +0 -681
- data/spec/config_spec.rb +0 -562
- data/spec/crl_spec.rb +0 -226
@@ -6,13 +6,13 @@
|
|
6
6
|
<title>
|
7
7
|
Class: R509::Config::CAConfigPool
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.
|
9
|
+
— Documentation by YARD 0.8.6.1
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
13
|
-
<link rel="stylesheet" href="../../css/style.css" type="text/css"
|
13
|
+
<link rel="stylesheet" href="../../css/style.css" type="text/css" charset="utf-8" />
|
14
14
|
|
15
|
-
<link rel="stylesheet" href="../../css/common.css" type="text/css"
|
15
|
+
<link rel="stylesheet" href="../../css/common.css" type="text/css" charset="utf-8" />
|
16
16
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
18
18
|
hasFrames = window.top.frames.main ? true : false;
|
@@ -94,7 +94,7 @@
|
|
94
94
|
|
95
95
|
|
96
96
|
<dt class="r2 last">Defined in:</dt>
|
97
|
-
<dd class="r2 last">lib/r509/config.rb</dd>
|
97
|
+
<dd class="r2 last">lib/r509/config/ca_config.rb</dd>
|
98
98
|
|
99
99
|
</dl>
|
100
100
|
<div class="clear"></div>
|
@@ -253,6 +253,50 @@
|
|
253
253
|
<p>get all the config names.</p>
|
254
254
|
</div></span>
|
255
255
|
|
256
|
+
</li>
|
257
|
+
|
258
|
+
|
259
|
+
<li class="public ">
|
260
|
+
<span class="summary_signature">
|
261
|
+
|
262
|
+
<a href="#to_h-instance_method" title="#to_h (instance method)">- (Hash) <strong>to_h</strong> </a>
|
263
|
+
|
264
|
+
|
265
|
+
|
266
|
+
</span>
|
267
|
+
|
268
|
+
|
269
|
+
|
270
|
+
|
271
|
+
|
272
|
+
|
273
|
+
|
274
|
+
|
275
|
+
|
276
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
277
|
+
|
278
|
+
</li>
|
279
|
+
|
280
|
+
|
281
|
+
<li class="public ">
|
282
|
+
<span class="summary_signature">
|
283
|
+
|
284
|
+
<a href="#to_yaml-instance_method" title="#to_yaml (instance method)">- (YAML) <strong>to_yaml</strong> </a>
|
285
|
+
|
286
|
+
|
287
|
+
|
288
|
+
</span>
|
289
|
+
|
290
|
+
|
291
|
+
|
292
|
+
|
293
|
+
|
294
|
+
|
295
|
+
|
296
|
+
|
297
|
+
|
298
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
299
|
+
|
256
300
|
</li>
|
257
301
|
|
258
302
|
|
@@ -330,12 +374,12 @@
|
|
330
374
|
<pre class="lines">
|
331
375
|
|
332
376
|
|
333
|
-
|
334
|
-
|
335
|
-
|
377
|
+
19
|
378
|
+
20
|
379
|
+
21</pre>
|
336
380
|
</td>
|
337
381
|
<td>
|
338
|
-
<pre class="code"><span class="info file"># File 'lib/r509/config.rb', line
|
382
|
+
<pre class="code"><span class="info file"># File 'lib/r509/config/ca_config.rb', line 19</span>
|
339
383
|
|
340
384
|
<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
385
|
<span class='ivar'>@configs</span> <span class='op'>=</span> <span class='id identifier rubyid_configs'>configs</span>
|
@@ -415,17 +459,17 @@ contain more than one configuration.</p>
|
|
415
459
|
<pre class="lines">
|
416
460
|
|
417
461
|
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
462
|
+
52
|
463
|
+
53
|
464
|
+
54
|
465
|
+
55
|
466
|
+
56
|
467
|
+
57
|
468
|
+
58
|
469
|
+
59</pre>
|
426
470
|
</td>
|
427
471
|
<td>
|
428
|
-
<pre class="code"><span class="info file"># File 'lib/r509/config.rb', line
|
472
|
+
<pre class="code"><span class="info file"># File 'lib/r509/config/ca_config.rb', line 52</span>
|
429
473
|
|
430
474
|
<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
475
|
<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>
|
@@ -472,12 +516,12 @@ contain more than one configuration.</p>
|
|
472
516
|
<pre class="lines">
|
473
517
|
|
474
518
|
|
475
|
-
|
476
|
-
|
477
|
-
|
519
|
+
29
|
520
|
+
30
|
521
|
+
31</pre>
|
478
522
|
</td>
|
479
523
|
<td>
|
480
|
-
<pre class="code"><span class="info file"># File 'lib/r509/config.rb', line
|
524
|
+
<pre class="code"><span class="info file"># File 'lib/r509/config/ca_config.rb', line 29</span>
|
481
525
|
|
482
526
|
<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
527
|
<span class='ivar'>@configs</span><span class='lbracket'>[</span><span class='id identifier rubyid_name'>name</span><span class='rbracket'>]</span>
|
@@ -531,12 +575,12 @@ contain more than one configuration.</p>
|
|
531
575
|
<pre class="lines">
|
532
576
|
|
533
577
|
|
534
|
-
|
535
|
-
|
536
|
-
|
578
|
+
34
|
579
|
+
35
|
580
|
+
36</pre>
|
537
581
|
</td>
|
538
582
|
<td>
|
539
|
-
<pre class="code"><span class="info file"># File 'lib/r509/config.rb', line
|
583
|
+
<pre class="code"><span class="info file"># File 'lib/r509/config/ca_config.rb', line 34</span>
|
540
584
|
|
541
585
|
<span class='kw'>def</span> <span class='id identifier rubyid_all'>all</span>
|
542
586
|
<span class='ivar'>@configs</span><span class='period'>.</span><span class='id identifier rubyid_values'>values</span>
|
@@ -572,12 +616,12 @@ contain more than one configuration.</p>
|
|
572
616
|
<pre class="lines">
|
573
617
|
|
574
618
|
|
575
|
-
|
576
|
-
|
577
|
-
|
619
|
+
24
|
620
|
+
25
|
621
|
+
26</pre>
|
578
622
|
</td>
|
579
623
|
<td>
|
580
|
-
<pre class="code"><span class="info file"># File 'lib/r509/config.rb', line
|
624
|
+
<pre class="code"><span class="info file"># File 'lib/r509/config/ca_config.rb', line 24</span>
|
581
625
|
|
582
626
|
<span class='kw'>def</span> <span class='id identifier rubyid_names'>names</span>
|
583
627
|
<span class='ivar'>@configs</span><span class='period'>.</span><span class='id identifier rubyid_keys'>keys</span>
|
@@ -585,6 +629,110 @@ contain more than one configuration.</p>
|
|
585
629
|
</td>
|
586
630
|
</tr>
|
587
631
|
</table>
|
632
|
+
</div>
|
633
|
+
|
634
|
+
<div class="method_details ">
|
635
|
+
<h3 class="signature " id="to_h-instance_method">
|
636
|
+
|
637
|
+
- (<tt>Hash</tt>) <strong>to_h</strong>
|
638
|
+
|
639
|
+
|
640
|
+
|
641
|
+
|
642
|
+
|
643
|
+
</h3><div class="docstring">
|
644
|
+
<div class="discussion">
|
645
|
+
|
646
|
+
|
647
|
+
</div>
|
648
|
+
</div>
|
649
|
+
<div class="tags">
|
650
|
+
|
651
|
+
<p class="tag_title">Returns:</p>
|
652
|
+
<ul class="return">
|
653
|
+
|
654
|
+
<li>
|
655
|
+
|
656
|
+
|
657
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
658
|
+
|
659
|
+
|
660
|
+
|
661
|
+
</li>
|
662
|
+
|
663
|
+
</ul>
|
664
|
+
|
665
|
+
</div><table class="source_code">
|
666
|
+
<tr>
|
667
|
+
<td>
|
668
|
+
<pre class="lines">
|
669
|
+
|
670
|
+
|
671
|
+
39
|
672
|
+
40
|
673
|
+
41</pre>
|
674
|
+
</td>
|
675
|
+
<td>
|
676
|
+
<pre class="code"><span class="info file"># File 'lib/r509/config/ca_config.rb', line 39</span>
|
677
|
+
|
678
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_to_h'>to_h</span>
|
679
|
+
<span class='ivar'>@configs</span><span class='period'>.</span><span class='id identifier rubyid_merge'>merge</span><span class='lparen'>(</span><span class='ivar'>@configs</span><span class='rparen'>)</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_k'>k</span><span class='comma'>,</span><span class='id identifier rubyid_v'>v</span><span class='op'>|</span> <span class='id identifier rubyid_v'>v</span><span class='period'>.</span><span class='id identifier rubyid_to_h'>to_h</span> <span class='rbrace'>}</span>
|
680
|
+
<span class='kw'>end</span></pre>
|
681
|
+
</td>
|
682
|
+
</tr>
|
683
|
+
</table>
|
684
|
+
</div>
|
685
|
+
|
686
|
+
<div class="method_details ">
|
687
|
+
<h3 class="signature " id="to_yaml-instance_method">
|
688
|
+
|
689
|
+
- (<tt>YAML</tt>) <strong>to_yaml</strong>
|
690
|
+
|
691
|
+
|
692
|
+
|
693
|
+
|
694
|
+
|
695
|
+
</h3><div class="docstring">
|
696
|
+
<div class="discussion">
|
697
|
+
|
698
|
+
|
699
|
+
</div>
|
700
|
+
</div>
|
701
|
+
<div class="tags">
|
702
|
+
|
703
|
+
<p class="tag_title">Returns:</p>
|
704
|
+
<ul class="return">
|
705
|
+
|
706
|
+
<li>
|
707
|
+
|
708
|
+
|
709
|
+
<span class='type'>(<tt>YAML</tt>)</span>
|
710
|
+
|
711
|
+
|
712
|
+
|
713
|
+
</li>
|
714
|
+
|
715
|
+
</ul>
|
716
|
+
|
717
|
+
</div><table class="source_code">
|
718
|
+
<tr>
|
719
|
+
<td>
|
720
|
+
<pre class="lines">
|
721
|
+
|
722
|
+
|
723
|
+
44
|
724
|
+
45
|
725
|
+
46</pre>
|
726
|
+
</td>
|
727
|
+
<td>
|
728
|
+
<pre class="code"><span class="info file"># File 'lib/r509/config/ca_config.rb', line 44</span>
|
729
|
+
|
730
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_to_yaml'>to_yaml</span>
|
731
|
+
<span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_to_h'>to_h</span><span class='period'>.</span><span class='id identifier rubyid_to_yaml'>to_yaml</span>
|
732
|
+
<span class='kw'>end</span></pre>
|
733
|
+
</td>
|
734
|
+
</tr>
|
735
|
+
</table>
|
588
736
|
</div>
|
589
737
|
|
590
738
|
</div>
|
@@ -592,9 +740,9 @@ contain more than one configuration.</p>
|
|
592
740
|
</div>
|
593
741
|
|
594
742
|
<div id="footer">
|
595
|
-
Generated on
|
743
|
+
Generated on Sun Jan 26 13:37:27 2014 by
|
596
744
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
597
|
-
0.8.
|
745
|
+
0.8.6.1 (ruby-2.0.0).
|
598
746
|
</div>
|
599
747
|
|
600
748
|
</body>
|
@@ -0,0 +1,1544 @@
|
|
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::CertProfile
|
8
|
+
|
9
|
+
— Documentation by YARD 0.8.6.1
|
10
|
+
|
11
|
+
</title>
|
12
|
+
|
13
|
+
<link rel="stylesheet" href="../../css/style.css" type="text/css" charset="utf-8" />
|
14
|
+
|
15
|
+
<link rel="stylesheet" href="../../css/common.css" type="text/css" 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> »
|
35
|
+
<span class='title'><span class='object_link'><a href="../../R509.html" title="R509 (module)">R509</a></span></span> » <span class='title'><span class='object_link'><a href="../Config.html" title="R509::Config (module)">Config</a></span></span>
|
36
|
+
»
|
37
|
+
<span class="title">CertProfile</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::CertProfile
|
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::CertProfile</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/cert_profile.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="#allowed_mds-instance_method" title="#allowed_mds (instance method)">- (Object) <strong>allowed_mds</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 allowed_mds.</p>
|
144
|
+
</div></span>
|
145
|
+
|
146
|
+
</li>
|
147
|
+
|
148
|
+
|
149
|
+
<li class="public ">
|
150
|
+
<span class="summary_signature">
|
151
|
+
|
152
|
+
<a href="#authority_info_access-instance_method" title="#authority_info_access (instance method)">- (Object) <strong>authority_info_access</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 authority_info_access.</p>
|
173
|
+
</div></span>
|
174
|
+
|
175
|
+
</li>
|
176
|
+
|
177
|
+
|
178
|
+
<li class="public ">
|
179
|
+
<span class="summary_signature">
|
180
|
+
|
181
|
+
<a href="#basic_constraints-instance_method" title="#basic_constraints (instance method)">- (Object) <strong>basic_constraints</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 basic_constraints.</p>
|
202
|
+
</div></span>
|
203
|
+
|
204
|
+
</li>
|
205
|
+
|
206
|
+
|
207
|
+
<li class="public ">
|
208
|
+
<span class="summary_signature">
|
209
|
+
|
210
|
+
<a href="#certificate_policies-instance_method" title="#certificate_policies (instance method)">- (Object) <strong>certificate_policies</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 certificate_policies.</p>
|
231
|
+
</div></span>
|
232
|
+
|
233
|
+
</li>
|
234
|
+
|
235
|
+
|
236
|
+
<li class="public ">
|
237
|
+
<span class="summary_signature">
|
238
|
+
|
239
|
+
<a href="#crl_distribution_points-instance_method" title="#crl_distribution_points (instance method)">- (Object) <strong>crl_distribution_points</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 crl_distribution_points.</p>
|
260
|
+
</div></span>
|
261
|
+
|
262
|
+
</li>
|
263
|
+
|
264
|
+
|
265
|
+
<li class="public ">
|
266
|
+
<span class="summary_signature">
|
267
|
+
|
268
|
+
<a href="#default_md-instance_method" title="#default_md (instance method)">- (Object) <strong>default_md</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 default_md.</p>
|
289
|
+
</div></span>
|
290
|
+
|
291
|
+
</li>
|
292
|
+
|
293
|
+
|
294
|
+
<li class="public ">
|
295
|
+
<span class="summary_signature">
|
296
|
+
|
297
|
+
<a href="#extended_key_usage-instance_method" title="#extended_key_usage (instance method)">- (Object) <strong>extended_key_usage</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 extended_key_usage.</p>
|
318
|
+
</div></span>
|
319
|
+
|
320
|
+
</li>
|
321
|
+
|
322
|
+
|
323
|
+
<li class="public ">
|
324
|
+
<span class="summary_signature">
|
325
|
+
|
326
|
+
<a href="#inhibit_any_policy-instance_method" title="#inhibit_any_policy (instance method)">- (Object) <strong>inhibit_any_policy</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 inhibit_any_policy.</p>
|
347
|
+
</div></span>
|
348
|
+
|
349
|
+
</li>
|
350
|
+
|
351
|
+
|
352
|
+
<li class="public ">
|
353
|
+
<span class="summary_signature">
|
354
|
+
|
355
|
+
<a href="#key_usage-instance_method" title="#key_usage (instance method)">- (Object) <strong>key_usage</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 key_usage.</p>
|
376
|
+
</div></span>
|
377
|
+
|
378
|
+
</li>
|
379
|
+
|
380
|
+
|
381
|
+
<li class="public ">
|
382
|
+
<span class="summary_signature">
|
383
|
+
|
384
|
+
<a href="#name_constraints-instance_method" title="#name_constraints (instance method)">- (Object) <strong>name_constraints</strong> </a>
|
385
|
+
|
386
|
+
|
387
|
+
|
388
|
+
</span>
|
389
|
+
|
390
|
+
|
391
|
+
|
392
|
+
|
393
|
+
<span class="note title readonly">readonly</span>
|
394
|
+
|
395
|
+
|
396
|
+
|
397
|
+
|
398
|
+
|
399
|
+
|
400
|
+
|
401
|
+
|
402
|
+
|
403
|
+
<span class="summary_desc"><div class='inline'>
|
404
|
+
<p>Returns the value of attribute name_constraints.</p>
|
405
|
+
</div></span>
|
406
|
+
|
407
|
+
</li>
|
408
|
+
|
409
|
+
|
410
|
+
<li class="public ">
|
411
|
+
<span class="summary_signature">
|
412
|
+
|
413
|
+
<a href="#ocsp_no_check-instance_method" title="#ocsp_no_check (instance method)">- (Object) <strong>ocsp_no_check</strong> </a>
|
414
|
+
|
415
|
+
|
416
|
+
|
417
|
+
</span>
|
418
|
+
|
419
|
+
|
420
|
+
|
421
|
+
|
422
|
+
<span class="note title readonly">readonly</span>
|
423
|
+
|
424
|
+
|
425
|
+
|
426
|
+
|
427
|
+
|
428
|
+
|
429
|
+
|
430
|
+
|
431
|
+
|
432
|
+
<span class="summary_desc"><div class='inline'>
|
433
|
+
<p>Returns the value of attribute ocsp_no_check.</p>
|
434
|
+
</div></span>
|
435
|
+
|
436
|
+
</li>
|
437
|
+
|
438
|
+
|
439
|
+
<li class="public ">
|
440
|
+
<span class="summary_signature">
|
441
|
+
|
442
|
+
<a href="#policy_constraints-instance_method" title="#policy_constraints (instance method)">- (Object) <strong>policy_constraints</strong> </a>
|
443
|
+
|
444
|
+
|
445
|
+
|
446
|
+
</span>
|
447
|
+
|
448
|
+
|
449
|
+
|
450
|
+
|
451
|
+
<span class="note title readonly">readonly</span>
|
452
|
+
|
453
|
+
|
454
|
+
|
455
|
+
|
456
|
+
|
457
|
+
|
458
|
+
|
459
|
+
|
460
|
+
|
461
|
+
<span class="summary_desc"><div class='inline'>
|
462
|
+
<p>Returns the value of attribute policy_constraints.</p>
|
463
|
+
</div></span>
|
464
|
+
|
465
|
+
</li>
|
466
|
+
|
467
|
+
|
468
|
+
<li class="public ">
|
469
|
+
<span class="summary_signature">
|
470
|
+
|
471
|
+
<a href="#subject_item_policy-instance_method" title="#subject_item_policy (instance method)">- (Object) <strong>subject_item_policy</strong> </a>
|
472
|
+
|
473
|
+
|
474
|
+
|
475
|
+
</span>
|
476
|
+
|
477
|
+
|
478
|
+
|
479
|
+
|
480
|
+
<span class="note title readonly">readonly</span>
|
481
|
+
|
482
|
+
|
483
|
+
|
484
|
+
|
485
|
+
|
486
|
+
|
487
|
+
|
488
|
+
|
489
|
+
|
490
|
+
<span class="summary_desc"><div class='inline'>
|
491
|
+
<p>Returns the value of attribute subject_item_policy.</p>
|
492
|
+
</div></span>
|
493
|
+
|
494
|
+
</li>
|
495
|
+
|
496
|
+
|
497
|
+
</ul>
|
498
|
+
|
499
|
+
|
500
|
+
|
501
|
+
|
502
|
+
|
503
|
+
<h2>
|
504
|
+
Instance Method Summary
|
505
|
+
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
506
|
+
</h2>
|
507
|
+
|
508
|
+
<ul class="summary">
|
509
|
+
|
510
|
+
<li class="public ">
|
511
|
+
<span class="summary_signature">
|
512
|
+
|
513
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">- (CertProfile) <strong>initialize</strong>(opts = {}) </a>
|
514
|
+
|
515
|
+
|
516
|
+
|
517
|
+
</span>
|
518
|
+
|
519
|
+
|
520
|
+
<span class="note title constructor">constructor</span>
|
521
|
+
|
522
|
+
|
523
|
+
|
524
|
+
|
525
|
+
|
526
|
+
|
527
|
+
|
528
|
+
|
529
|
+
<span class="summary_desc"><div class='inline'>
|
530
|
+
<p>All hash options for CertProfile are optional.</p>
|
531
|
+
</div></span>
|
532
|
+
|
533
|
+
</li>
|
534
|
+
|
535
|
+
|
536
|
+
<li class="public ">
|
537
|
+
<span class="summary_signature">
|
538
|
+
|
539
|
+
<a href="#to_h-instance_method" title="#to_h (instance method)">- (Hash) <strong>to_h</strong> </a>
|
540
|
+
|
541
|
+
|
542
|
+
|
543
|
+
</span>
|
544
|
+
|
545
|
+
|
546
|
+
|
547
|
+
|
548
|
+
|
549
|
+
|
550
|
+
|
551
|
+
|
552
|
+
|
553
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
554
|
+
|
555
|
+
</li>
|
556
|
+
|
557
|
+
|
558
|
+
<li class="public ">
|
559
|
+
<span class="summary_signature">
|
560
|
+
|
561
|
+
<a href="#to_yaml-instance_method" title="#to_yaml (instance method)">- (YAML) <strong>to_yaml</strong> </a>
|
562
|
+
|
563
|
+
|
564
|
+
|
565
|
+
</span>
|
566
|
+
|
567
|
+
|
568
|
+
|
569
|
+
|
570
|
+
|
571
|
+
|
572
|
+
|
573
|
+
|
574
|
+
|
575
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
576
|
+
|
577
|
+
</li>
|
578
|
+
|
579
|
+
|
580
|
+
</ul>
|
581
|
+
|
582
|
+
|
583
|
+
<div id="constructor_details" class="method_details_list">
|
584
|
+
<h2>Constructor Details</h2>
|
585
|
+
|
586
|
+
<div class="method_details first">
|
587
|
+
<h3 class="signature first" id="initialize-instance_method">
|
588
|
+
|
589
|
+
- (<tt><span class='object_link'><a href="" title="R509::Config::CertProfile (class)">CertProfile</a></span></tt>) <strong>initialize</strong>(opts = {})
|
590
|
+
|
591
|
+
|
592
|
+
|
593
|
+
|
594
|
+
|
595
|
+
</h3><div class="docstring">
|
596
|
+
<div class="discussion">
|
597
|
+
|
598
|
+
<p>All hash options for CertProfile are optional.</p>
|
599
|
+
|
600
|
+
|
601
|
+
</div>
|
602
|
+
</div>
|
603
|
+
<div class="tags">
|
604
|
+
<p class="tag_title">Parameters:</p>
|
605
|
+
<ul class="param">
|
606
|
+
|
607
|
+
<li>
|
608
|
+
|
609
|
+
<span class='name'>opts</span>
|
610
|
+
|
611
|
+
|
612
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
613
|
+
|
614
|
+
|
615
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
616
|
+
|
617
|
+
|
618
|
+
—
|
619
|
+
<div class='inline'>
|
620
|
+
<p>a customizable set of options</p>
|
621
|
+
</div>
|
622
|
+
|
623
|
+
</li>
|
624
|
+
|
625
|
+
</ul>
|
626
|
+
|
627
|
+
|
628
|
+
|
629
|
+
|
630
|
+
<p class="tag_title">Options Hash (<tt>opts</tt>):</p>
|
631
|
+
<ul class="option">
|
632
|
+
|
633
|
+
<li>
|
634
|
+
<span class="name">:basic_constraints</span>
|
635
|
+
<span class="type">(<tt>Hash</tt>)</span>
|
636
|
+
<span class="default">
|
637
|
+
|
638
|
+
</span>
|
639
|
+
|
640
|
+
</li>
|
641
|
+
|
642
|
+
<li>
|
643
|
+
<span class="name">:key_usage</span>
|
644
|
+
<span class="type">(<tt>Hash</tt>)</span>
|
645
|
+
<span class="default">
|
646
|
+
|
647
|
+
</span>
|
648
|
+
|
649
|
+
</li>
|
650
|
+
|
651
|
+
<li>
|
652
|
+
<span class="name">:extended_key_usage</span>
|
653
|
+
<span class="type">(<tt>Hash</tt>)</span>
|
654
|
+
<span class="default">
|
655
|
+
|
656
|
+
</span>
|
657
|
+
|
658
|
+
</li>
|
659
|
+
|
660
|
+
<li>
|
661
|
+
<span class="name">:certificate_policies</span>
|
662
|
+
<span class="type">(<tt>Hash</tt>)</span>
|
663
|
+
<span class="default">
|
664
|
+
|
665
|
+
</span>
|
666
|
+
|
667
|
+
</li>
|
668
|
+
|
669
|
+
<li>
|
670
|
+
<span class="name">:ocsp_no_check</span>
|
671
|
+
<span class="type">(<tt>Boolean</tt>)</span>
|
672
|
+
<span class="default">
|
673
|
+
|
674
|
+
</span>
|
675
|
+
|
676
|
+
— <div class='inline'>
|
677
|
+
<p>Sets OCSP No Check extension in the certificate if true</p>
|
678
|
+
</div>
|
679
|
+
|
680
|
+
</li>
|
681
|
+
|
682
|
+
<li>
|
683
|
+
<span class="name">:inhibit_any_policy</span>
|
684
|
+
<span class="type">(<tt>Hash</tt>)</span>
|
685
|
+
<span class="default">
|
686
|
+
|
687
|
+
</span>
|
688
|
+
|
689
|
+
— <div class='inline'>
|
690
|
+
<p>Sets the value of the inhibitAnyPolicy extension</p>
|
691
|
+
</div>
|
692
|
+
|
693
|
+
</li>
|
694
|
+
|
695
|
+
<li>
|
696
|
+
<span class="name">:policy_constraints</span>
|
697
|
+
<span class="type">(<tt>Hash</tt>)</span>
|
698
|
+
<span class="default">
|
699
|
+
|
700
|
+
</span>
|
701
|
+
|
702
|
+
— <div class='inline'>
|
703
|
+
<p>Sets the value of the policyConstraints extension</p>
|
704
|
+
</div>
|
705
|
+
|
706
|
+
</li>
|
707
|
+
|
708
|
+
<li>
|
709
|
+
<span class="name">:authority_info_access</span>
|
710
|
+
<span class="type">(<tt>Hash</tt>)</span>
|
711
|
+
<span class="default">
|
712
|
+
|
713
|
+
</span>
|
714
|
+
|
715
|
+
</li>
|
716
|
+
|
717
|
+
<li>
|
718
|
+
<span class="name">:crl_distribution_points</span>
|
719
|
+
<span class="type">(<tt>Hash</tt>)</span>
|
720
|
+
<span class="default">
|
721
|
+
|
722
|
+
</span>
|
723
|
+
|
724
|
+
</li>
|
725
|
+
|
726
|
+
<li>
|
727
|
+
<span class="name">:name_constraints</span>
|
728
|
+
<span class="type">(<tt>Hash</tt>)</span>
|
729
|
+
<span class="default">
|
730
|
+
|
731
|
+
</span>
|
732
|
+
|
733
|
+
— <div class='inline'>
|
734
|
+
<p>Sets the value of the nameConstraints extension</p>
|
735
|
+
</div>
|
736
|
+
|
737
|
+
</li>
|
738
|
+
|
739
|
+
<li>
|
740
|
+
<span class="name">:subject_item_policy</span>
|
741
|
+
<span class="type">(<tt><span class='object_link'><a href="SubjectItemPolicy.html" title="R509::Config::SubjectItemPolicy (class)">R509::Config::SubjectItemPolicy</a></span></tt>)</span>
|
742
|
+
<span class="default">
|
743
|
+
|
744
|
+
</span>
|
745
|
+
|
746
|
+
</li>
|
747
|
+
|
748
|
+
<li>
|
749
|
+
<span class="name">:default_md</span>
|
750
|
+
<span class="type">(<tt>String</tt>)</span>
|
751
|
+
<span class="default">
|
752
|
+
|
753
|
+
— default:
|
754
|
+
<tt>SHA1</tt>
|
755
|
+
|
756
|
+
</span>
|
757
|
+
|
758
|
+
— <div class='inline'>
|
759
|
+
<p>The hashing algorithm to use.</p>
|
760
|
+
</div>
|
761
|
+
|
762
|
+
</li>
|
763
|
+
|
764
|
+
<li>
|
765
|
+
<span class="name">:allowed_mds</span>
|
766
|
+
<span class="type">(<tt>Array</tt>)</span>
|
767
|
+
<span class="default">
|
768
|
+
|
769
|
+
— default:
|
770
|
+
<tt>nil</tt>
|
771
|
+
|
772
|
+
</span>
|
773
|
+
|
774
|
+
— <div class='inline'>
|
775
|
+
<p>Array of allowed hashes. default_md will be automatically added to this
|
776
|
+
list if it isn't already listed.</p>
|
777
|
+
</div>
|
778
|
+
|
779
|
+
</li>
|
780
|
+
|
781
|
+
</ul>
|
782
|
+
|
783
|
+
|
784
|
+
|
785
|
+
</div><table class="source_code">
|
786
|
+
<tr>
|
787
|
+
<td>
|
788
|
+
<pre class="lines">
|
789
|
+
|
790
|
+
|
791
|
+
37
|
792
|
+
38
|
793
|
+
39
|
794
|
+
40
|
795
|
+
41
|
796
|
+
42
|
797
|
+
43
|
798
|
+
44
|
799
|
+
45
|
800
|
+
46
|
801
|
+
47
|
802
|
+
48
|
803
|
+
49
|
804
|
+
50
|
805
|
+
51</pre>
|
806
|
+
</td>
|
807
|
+
<td>
|
808
|
+
<pre class="code"><span class="info file"># File 'lib/r509/config/cert_profile.rb', line 37</span>
|
809
|
+
|
810
|
+
<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>
|
811
|
+
<span class='ivar'>@basic_constraints</span> <span class='op'>=</span> <span class='const'>R509</span><span class='op'>::</span><span class='const'>Cert</span><span class='op'>::</span><span class='const'>Extensions</span><span class='op'>::</span><span class='const'>BasicConstraints</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:basic_constraints</span><span class='rbracket'>]</span><span class='rparen'>)</span> <span class='kw'>unless</span> <span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:basic_constraints</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
812
|
+
<span class='ivar'>@key_usage</span> <span class='op'>=</span> <span class='const'>R509</span><span class='op'>::</span><span class='const'>Cert</span><span class='op'>::</span><span class='const'>Extensions</span><span class='op'>::</span><span class='const'>KeyUsage</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:key_usage</span><span class='rbracket'>]</span><span class='rparen'>)</span> <span class='kw'>unless</span> <span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:key_usage</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
813
|
+
<span class='ivar'>@extended_key_usage</span> <span class='op'>=</span> <span class='const'>R509</span><span class='op'>::</span><span class='const'>Cert</span><span class='op'>::</span><span class='const'>Extensions</span><span class='op'>::</span><span class='const'>ExtendedKeyUsage</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:extended_key_usage</span><span class='rbracket'>]</span><span class='rparen'>)</span> <span class='kw'>unless</span> <span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:extended_key_usage</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
814
|
+
<span class='ivar'>@certificate_policies</span> <span class='op'>=</span> <span class='const'>R509</span><span class='op'>::</span><span class='const'>Cert</span><span class='op'>::</span><span class='const'>Extensions</span><span class='op'>::</span><span class='const'>CertificatePolicies</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:certificate_policies</span><span class='rbracket'>]</span><span class='rparen'>)</span> <span class='kw'>unless</span> <span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:certificate_policies</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
815
|
+
<span class='ivar'>@inhibit_any_policy</span> <span class='op'>=</span> <span class='const'>R509</span><span class='op'>::</span><span class='const'>Cert</span><span class='op'>::</span><span class='const'>Extensions</span><span class='op'>::</span><span class='const'>InhibitAnyPolicy</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:inhibit_any_policy</span><span class='rbracket'>]</span><span class='rparen'>)</span> <span class='kw'>unless</span> <span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:inhibit_any_policy</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
816
|
+
<span class='ivar'>@policy_constraints</span> <span class='op'>=</span> <span class='const'>R509</span><span class='op'>::</span><span class='const'>Cert</span><span class='op'>::</span><span class='const'>Extensions</span><span class='op'>::</span><span class='const'>PolicyConstraints</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:policy_constraints</span><span class='rbracket'>]</span><span class='rparen'>)</span> <span class='kw'>unless</span> <span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:policy_constraints</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
817
|
+
<span class='ivar'>@name_constraints</span> <span class='op'>=</span> <span class='const'>R509</span><span class='op'>::</span><span class='const'>Cert</span><span class='op'>::</span><span class='const'>Extensions</span><span class='op'>::</span><span class='const'>NameConstraints</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:name_constraints</span><span class='rbracket'>]</span><span class='rparen'>)</span> <span class='kw'>unless</span> <span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:name_constraints</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
818
|
+
<span class='ivar'>@ocsp_no_check</span> <span class='op'>=</span> <span class='const'>R509</span><span class='op'>::</span><span class='const'>Cert</span><span class='op'>::</span><span class='const'>Extensions</span><span class='op'>::</span><span class='const'>OCSPNoCheck</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</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='rparen'>)</span> <span class='kw'>unless</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='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
819
|
+
<span class='ivar'>@authority_info_access</span> <span class='op'>=</span> <span class='const'>R509</span><span class='op'>::</span><span class='const'>Cert</span><span class='op'>::</span><span class='const'>Extensions</span><span class='op'>::</span><span class='const'>AuthorityInfoAccess</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:authority_info_access</span><span class='rbracket'>]</span><span class='rparen'>)</span> <span class='kw'>unless</span> <span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:authority_info_access</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
820
|
+
<span class='ivar'>@crl_distribution_points</span> <span class='op'>=</span> <span class='const'>R509</span><span class='op'>::</span><span class='const'>Cert</span><span class='op'>::</span><span class='const'>Extensions</span><span class='op'>::</span><span class='const'>CRLDistributionPoints</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:crl_distribution_points</span><span class='rbracket'>]</span><span class='rparen'>)</span> <span class='kw'>unless</span> <span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:crl_distribution_points</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
821
|
+
<span class='ivar'>@subject_item_policy</span> <span class='op'>=</span> <span class='id identifier rubyid_validate_subject_item_policy'>validate_subject_item_policy</span><span class='lparen'>(</span><span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:subject_item_policy</span><span class='rbracket'>]</span><span class='rparen'>)</span>
|
822
|
+
<span class='ivar'>@default_md</span> <span class='op'>=</span> <span class='id identifier rubyid_validate_md'>validate_md</span><span class='lparen'>(</span><span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:default_md</span><span class='rbracket'>]</span> <span class='op'>||</span> <span class='const'>R509</span><span class='op'>::</span><span class='const'>MessageDigest</span><span class='op'>::</span><span class='const'>DEFAULT_MD</span><span class='rparen'>)</span>
|
823
|
+
<span class='ivar'>@allowed_mds</span> <span class='op'>=</span> <span class='id identifier rubyid_validate_allowed_mds'>validate_allowed_mds</span><span class='lparen'>(</span><span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:allowed_mds</span><span class='rbracket'>]</span><span class='rparen'>)</span>
|
824
|
+
<span class='kw'>end</span></pre>
|
825
|
+
</td>
|
826
|
+
</tr>
|
827
|
+
</table>
|
828
|
+
</div>
|
829
|
+
|
830
|
+
</div>
|
831
|
+
|
832
|
+
<div id="instance_attr_details" class="attr_details">
|
833
|
+
<h2>Instance Attribute Details</h2>
|
834
|
+
|
835
|
+
|
836
|
+
<span id=""></span>
|
837
|
+
<div class="method_details first">
|
838
|
+
<h3 class="signature first" id="allowed_mds-instance_method">
|
839
|
+
|
840
|
+
- (<tt>Object</tt>) <strong>allowed_mds</strong> <span class="extras">(readonly)</span>
|
841
|
+
|
842
|
+
|
843
|
+
|
844
|
+
|
845
|
+
|
846
|
+
</h3><div class="docstring">
|
847
|
+
<div class="discussion">
|
848
|
+
|
849
|
+
<p>Returns the value of attribute allowed_mds</p>
|
850
|
+
|
851
|
+
|
852
|
+
</div>
|
853
|
+
</div>
|
854
|
+
<div class="tags">
|
855
|
+
|
856
|
+
|
857
|
+
</div><table class="source_code">
|
858
|
+
<tr>
|
859
|
+
<td>
|
860
|
+
<pre class="lines">
|
861
|
+
|
862
|
+
|
863
|
+
17
|
864
|
+
18
|
865
|
+
19</pre>
|
866
|
+
</td>
|
867
|
+
<td>
|
868
|
+
<pre class="code"><span class="info file"># File 'lib/r509/config/cert_profile.rb', line 17</span>
|
869
|
+
|
870
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_allowed_mds'>allowed_mds</span>
|
871
|
+
<span class='ivar'>@allowed_mds</span>
|
872
|
+
<span class='kw'>end</span></pre>
|
873
|
+
</td>
|
874
|
+
</tr>
|
875
|
+
</table>
|
876
|
+
</div>
|
877
|
+
|
878
|
+
|
879
|
+
<span id=""></span>
|
880
|
+
<div class="method_details ">
|
881
|
+
<h3 class="signature " id="authority_info_access-instance_method">
|
882
|
+
|
883
|
+
- (<tt>Object</tt>) <strong>authority_info_access</strong> <span class="extras">(readonly)</span>
|
884
|
+
|
885
|
+
|
886
|
+
|
887
|
+
|
888
|
+
|
889
|
+
</h3><div class="docstring">
|
890
|
+
<div class="discussion">
|
891
|
+
|
892
|
+
<p>Returns the value of attribute authority_info_access</p>
|
893
|
+
|
894
|
+
|
895
|
+
</div>
|
896
|
+
</div>
|
897
|
+
<div class="tags">
|
898
|
+
|
899
|
+
|
900
|
+
</div><table class="source_code">
|
901
|
+
<tr>
|
902
|
+
<td>
|
903
|
+
<pre class="lines">
|
904
|
+
|
905
|
+
|
906
|
+
17
|
907
|
+
18
|
908
|
+
19</pre>
|
909
|
+
</td>
|
910
|
+
<td>
|
911
|
+
<pre class="code"><span class="info file"># File 'lib/r509/config/cert_profile.rb', line 17</span>
|
912
|
+
|
913
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_authority_info_access'>authority_info_access</span>
|
914
|
+
<span class='ivar'>@authority_info_access</span>
|
915
|
+
<span class='kw'>end</span></pre>
|
916
|
+
</td>
|
917
|
+
</tr>
|
918
|
+
</table>
|
919
|
+
</div>
|
920
|
+
|
921
|
+
|
922
|
+
<span id=""></span>
|
923
|
+
<div class="method_details ">
|
924
|
+
<h3 class="signature " id="basic_constraints-instance_method">
|
925
|
+
|
926
|
+
- (<tt>Object</tt>) <strong>basic_constraints</strong> <span class="extras">(readonly)</span>
|
927
|
+
|
928
|
+
|
929
|
+
|
930
|
+
|
931
|
+
|
932
|
+
</h3><div class="docstring">
|
933
|
+
<div class="discussion">
|
934
|
+
|
935
|
+
<p>Returns the value of attribute basic_constraints</p>
|
936
|
+
|
937
|
+
|
938
|
+
</div>
|
939
|
+
</div>
|
940
|
+
<div class="tags">
|
941
|
+
|
942
|
+
|
943
|
+
</div><table class="source_code">
|
944
|
+
<tr>
|
945
|
+
<td>
|
946
|
+
<pre class="lines">
|
947
|
+
|
948
|
+
|
949
|
+
17
|
950
|
+
18
|
951
|
+
19</pre>
|
952
|
+
</td>
|
953
|
+
<td>
|
954
|
+
<pre class="code"><span class="info file"># File 'lib/r509/config/cert_profile.rb', line 17</span>
|
955
|
+
|
956
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_basic_constraints'>basic_constraints</span>
|
957
|
+
<span class='ivar'>@basic_constraints</span>
|
958
|
+
<span class='kw'>end</span></pre>
|
959
|
+
</td>
|
960
|
+
</tr>
|
961
|
+
</table>
|
962
|
+
</div>
|
963
|
+
|
964
|
+
|
965
|
+
<span id=""></span>
|
966
|
+
<div class="method_details ">
|
967
|
+
<h3 class="signature " id="certificate_policies-instance_method">
|
968
|
+
|
969
|
+
- (<tt>Object</tt>) <strong>certificate_policies</strong> <span class="extras">(readonly)</span>
|
970
|
+
|
971
|
+
|
972
|
+
|
973
|
+
|
974
|
+
|
975
|
+
</h3><div class="docstring">
|
976
|
+
<div class="discussion">
|
977
|
+
|
978
|
+
<p>Returns the value of attribute certificate_policies</p>
|
979
|
+
|
980
|
+
|
981
|
+
</div>
|
982
|
+
</div>
|
983
|
+
<div class="tags">
|
984
|
+
|
985
|
+
|
986
|
+
</div><table class="source_code">
|
987
|
+
<tr>
|
988
|
+
<td>
|
989
|
+
<pre class="lines">
|
990
|
+
|
991
|
+
|
992
|
+
17
|
993
|
+
18
|
994
|
+
19</pre>
|
995
|
+
</td>
|
996
|
+
<td>
|
997
|
+
<pre class="code"><span class="info file"># File 'lib/r509/config/cert_profile.rb', line 17</span>
|
998
|
+
|
999
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_certificate_policies'>certificate_policies</span>
|
1000
|
+
<span class='ivar'>@certificate_policies</span>
|
1001
|
+
<span class='kw'>end</span></pre>
|
1002
|
+
</td>
|
1003
|
+
</tr>
|
1004
|
+
</table>
|
1005
|
+
</div>
|
1006
|
+
|
1007
|
+
|
1008
|
+
<span id=""></span>
|
1009
|
+
<div class="method_details ">
|
1010
|
+
<h3 class="signature " id="crl_distribution_points-instance_method">
|
1011
|
+
|
1012
|
+
- (<tt>Object</tt>) <strong>crl_distribution_points</strong> <span class="extras">(readonly)</span>
|
1013
|
+
|
1014
|
+
|
1015
|
+
|
1016
|
+
|
1017
|
+
|
1018
|
+
</h3><div class="docstring">
|
1019
|
+
<div class="discussion">
|
1020
|
+
|
1021
|
+
<p>Returns the value of attribute crl_distribution_points</p>
|
1022
|
+
|
1023
|
+
|
1024
|
+
</div>
|
1025
|
+
</div>
|
1026
|
+
<div class="tags">
|
1027
|
+
|
1028
|
+
|
1029
|
+
</div><table class="source_code">
|
1030
|
+
<tr>
|
1031
|
+
<td>
|
1032
|
+
<pre class="lines">
|
1033
|
+
|
1034
|
+
|
1035
|
+
17
|
1036
|
+
18
|
1037
|
+
19</pre>
|
1038
|
+
</td>
|
1039
|
+
<td>
|
1040
|
+
<pre class="code"><span class="info file"># File 'lib/r509/config/cert_profile.rb', line 17</span>
|
1041
|
+
|
1042
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_crl_distribution_points'>crl_distribution_points</span>
|
1043
|
+
<span class='ivar'>@crl_distribution_points</span>
|
1044
|
+
<span class='kw'>end</span></pre>
|
1045
|
+
</td>
|
1046
|
+
</tr>
|
1047
|
+
</table>
|
1048
|
+
</div>
|
1049
|
+
|
1050
|
+
|
1051
|
+
<span id=""></span>
|
1052
|
+
<div class="method_details ">
|
1053
|
+
<h3 class="signature " id="default_md-instance_method">
|
1054
|
+
|
1055
|
+
- (<tt>Object</tt>) <strong>default_md</strong> <span class="extras">(readonly)</span>
|
1056
|
+
|
1057
|
+
|
1058
|
+
|
1059
|
+
|
1060
|
+
|
1061
|
+
</h3><div class="docstring">
|
1062
|
+
<div class="discussion">
|
1063
|
+
|
1064
|
+
<p>Returns the value of attribute default_md</p>
|
1065
|
+
|
1066
|
+
|
1067
|
+
</div>
|
1068
|
+
</div>
|
1069
|
+
<div class="tags">
|
1070
|
+
|
1071
|
+
|
1072
|
+
</div><table class="source_code">
|
1073
|
+
<tr>
|
1074
|
+
<td>
|
1075
|
+
<pre class="lines">
|
1076
|
+
|
1077
|
+
|
1078
|
+
17
|
1079
|
+
18
|
1080
|
+
19</pre>
|
1081
|
+
</td>
|
1082
|
+
<td>
|
1083
|
+
<pre class="code"><span class="info file"># File 'lib/r509/config/cert_profile.rb', line 17</span>
|
1084
|
+
|
1085
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_default_md'>default_md</span>
|
1086
|
+
<span class='ivar'>@default_md</span>
|
1087
|
+
<span class='kw'>end</span></pre>
|
1088
|
+
</td>
|
1089
|
+
</tr>
|
1090
|
+
</table>
|
1091
|
+
</div>
|
1092
|
+
|
1093
|
+
|
1094
|
+
<span id=""></span>
|
1095
|
+
<div class="method_details ">
|
1096
|
+
<h3 class="signature " id="extended_key_usage-instance_method">
|
1097
|
+
|
1098
|
+
- (<tt>Object</tt>) <strong>extended_key_usage</strong> <span class="extras">(readonly)</span>
|
1099
|
+
|
1100
|
+
|
1101
|
+
|
1102
|
+
|
1103
|
+
|
1104
|
+
</h3><div class="docstring">
|
1105
|
+
<div class="discussion">
|
1106
|
+
|
1107
|
+
<p>Returns the value of attribute extended_key_usage</p>
|
1108
|
+
|
1109
|
+
|
1110
|
+
</div>
|
1111
|
+
</div>
|
1112
|
+
<div class="tags">
|
1113
|
+
|
1114
|
+
|
1115
|
+
</div><table class="source_code">
|
1116
|
+
<tr>
|
1117
|
+
<td>
|
1118
|
+
<pre class="lines">
|
1119
|
+
|
1120
|
+
|
1121
|
+
17
|
1122
|
+
18
|
1123
|
+
19</pre>
|
1124
|
+
</td>
|
1125
|
+
<td>
|
1126
|
+
<pre class="code"><span class="info file"># File 'lib/r509/config/cert_profile.rb', line 17</span>
|
1127
|
+
|
1128
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_extended_key_usage'>extended_key_usage</span>
|
1129
|
+
<span class='ivar'>@extended_key_usage</span>
|
1130
|
+
<span class='kw'>end</span></pre>
|
1131
|
+
</td>
|
1132
|
+
</tr>
|
1133
|
+
</table>
|
1134
|
+
</div>
|
1135
|
+
|
1136
|
+
|
1137
|
+
<span id=""></span>
|
1138
|
+
<div class="method_details ">
|
1139
|
+
<h3 class="signature " id="inhibit_any_policy-instance_method">
|
1140
|
+
|
1141
|
+
- (<tt>Object</tt>) <strong>inhibit_any_policy</strong> <span class="extras">(readonly)</span>
|
1142
|
+
|
1143
|
+
|
1144
|
+
|
1145
|
+
|
1146
|
+
|
1147
|
+
</h3><div class="docstring">
|
1148
|
+
<div class="discussion">
|
1149
|
+
|
1150
|
+
<p>Returns the value of attribute inhibit_any_policy</p>
|
1151
|
+
|
1152
|
+
|
1153
|
+
</div>
|
1154
|
+
</div>
|
1155
|
+
<div class="tags">
|
1156
|
+
|
1157
|
+
|
1158
|
+
</div><table class="source_code">
|
1159
|
+
<tr>
|
1160
|
+
<td>
|
1161
|
+
<pre class="lines">
|
1162
|
+
|
1163
|
+
|
1164
|
+
17
|
1165
|
+
18
|
1166
|
+
19</pre>
|
1167
|
+
</td>
|
1168
|
+
<td>
|
1169
|
+
<pre class="code"><span class="info file"># File 'lib/r509/config/cert_profile.rb', line 17</span>
|
1170
|
+
|
1171
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_inhibit_any_policy'>inhibit_any_policy</span>
|
1172
|
+
<span class='ivar'>@inhibit_any_policy</span>
|
1173
|
+
<span class='kw'>end</span></pre>
|
1174
|
+
</td>
|
1175
|
+
</tr>
|
1176
|
+
</table>
|
1177
|
+
</div>
|
1178
|
+
|
1179
|
+
|
1180
|
+
<span id=""></span>
|
1181
|
+
<div class="method_details ">
|
1182
|
+
<h3 class="signature " id="key_usage-instance_method">
|
1183
|
+
|
1184
|
+
- (<tt>Object</tt>) <strong>key_usage</strong> <span class="extras">(readonly)</span>
|
1185
|
+
|
1186
|
+
|
1187
|
+
|
1188
|
+
|
1189
|
+
|
1190
|
+
</h3><div class="docstring">
|
1191
|
+
<div class="discussion">
|
1192
|
+
|
1193
|
+
<p>Returns the value of attribute key_usage</p>
|
1194
|
+
|
1195
|
+
|
1196
|
+
</div>
|
1197
|
+
</div>
|
1198
|
+
<div class="tags">
|
1199
|
+
|
1200
|
+
|
1201
|
+
</div><table class="source_code">
|
1202
|
+
<tr>
|
1203
|
+
<td>
|
1204
|
+
<pre class="lines">
|
1205
|
+
|
1206
|
+
|
1207
|
+
17
|
1208
|
+
18
|
1209
|
+
19</pre>
|
1210
|
+
</td>
|
1211
|
+
<td>
|
1212
|
+
<pre class="code"><span class="info file"># File 'lib/r509/config/cert_profile.rb', line 17</span>
|
1213
|
+
|
1214
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_key_usage'>key_usage</span>
|
1215
|
+
<span class='ivar'>@key_usage</span>
|
1216
|
+
<span class='kw'>end</span></pre>
|
1217
|
+
</td>
|
1218
|
+
</tr>
|
1219
|
+
</table>
|
1220
|
+
</div>
|
1221
|
+
|
1222
|
+
|
1223
|
+
<span id=""></span>
|
1224
|
+
<div class="method_details ">
|
1225
|
+
<h3 class="signature " id="name_constraints-instance_method">
|
1226
|
+
|
1227
|
+
- (<tt>Object</tt>) <strong>name_constraints</strong> <span class="extras">(readonly)</span>
|
1228
|
+
|
1229
|
+
|
1230
|
+
|
1231
|
+
|
1232
|
+
|
1233
|
+
</h3><div class="docstring">
|
1234
|
+
<div class="discussion">
|
1235
|
+
|
1236
|
+
<p>Returns the value of attribute name_constraints</p>
|
1237
|
+
|
1238
|
+
|
1239
|
+
</div>
|
1240
|
+
</div>
|
1241
|
+
<div class="tags">
|
1242
|
+
|
1243
|
+
|
1244
|
+
</div><table class="source_code">
|
1245
|
+
<tr>
|
1246
|
+
<td>
|
1247
|
+
<pre class="lines">
|
1248
|
+
|
1249
|
+
|
1250
|
+
17
|
1251
|
+
18
|
1252
|
+
19</pre>
|
1253
|
+
</td>
|
1254
|
+
<td>
|
1255
|
+
<pre class="code"><span class="info file"># File 'lib/r509/config/cert_profile.rb', line 17</span>
|
1256
|
+
|
1257
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_name_constraints'>name_constraints</span>
|
1258
|
+
<span class='ivar'>@name_constraints</span>
|
1259
|
+
<span class='kw'>end</span></pre>
|
1260
|
+
</td>
|
1261
|
+
</tr>
|
1262
|
+
</table>
|
1263
|
+
</div>
|
1264
|
+
|
1265
|
+
|
1266
|
+
<span id=""></span>
|
1267
|
+
<div class="method_details ">
|
1268
|
+
<h3 class="signature " id="ocsp_no_check-instance_method">
|
1269
|
+
|
1270
|
+
- (<tt>Object</tt>) <strong>ocsp_no_check</strong> <span class="extras">(readonly)</span>
|
1271
|
+
|
1272
|
+
|
1273
|
+
|
1274
|
+
|
1275
|
+
|
1276
|
+
</h3><div class="docstring">
|
1277
|
+
<div class="discussion">
|
1278
|
+
|
1279
|
+
<p>Returns the value of attribute ocsp_no_check</p>
|
1280
|
+
|
1281
|
+
|
1282
|
+
</div>
|
1283
|
+
</div>
|
1284
|
+
<div class="tags">
|
1285
|
+
|
1286
|
+
|
1287
|
+
</div><table class="source_code">
|
1288
|
+
<tr>
|
1289
|
+
<td>
|
1290
|
+
<pre class="lines">
|
1291
|
+
|
1292
|
+
|
1293
|
+
17
|
1294
|
+
18
|
1295
|
+
19</pre>
|
1296
|
+
</td>
|
1297
|
+
<td>
|
1298
|
+
<pre class="code"><span class="info file"># File 'lib/r509/config/cert_profile.rb', line 17</span>
|
1299
|
+
|
1300
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_ocsp_no_check'>ocsp_no_check</span>
|
1301
|
+
<span class='ivar'>@ocsp_no_check</span>
|
1302
|
+
<span class='kw'>end</span></pre>
|
1303
|
+
</td>
|
1304
|
+
</tr>
|
1305
|
+
</table>
|
1306
|
+
</div>
|
1307
|
+
|
1308
|
+
|
1309
|
+
<span id=""></span>
|
1310
|
+
<div class="method_details ">
|
1311
|
+
<h3 class="signature " id="policy_constraints-instance_method">
|
1312
|
+
|
1313
|
+
- (<tt>Object</tt>) <strong>policy_constraints</strong> <span class="extras">(readonly)</span>
|
1314
|
+
|
1315
|
+
|
1316
|
+
|
1317
|
+
|
1318
|
+
|
1319
|
+
</h3><div class="docstring">
|
1320
|
+
<div class="discussion">
|
1321
|
+
|
1322
|
+
<p>Returns the value of attribute policy_constraints</p>
|
1323
|
+
|
1324
|
+
|
1325
|
+
</div>
|
1326
|
+
</div>
|
1327
|
+
<div class="tags">
|
1328
|
+
|
1329
|
+
|
1330
|
+
</div><table class="source_code">
|
1331
|
+
<tr>
|
1332
|
+
<td>
|
1333
|
+
<pre class="lines">
|
1334
|
+
|
1335
|
+
|
1336
|
+
17
|
1337
|
+
18
|
1338
|
+
19</pre>
|
1339
|
+
</td>
|
1340
|
+
<td>
|
1341
|
+
<pre class="code"><span class="info file"># File 'lib/r509/config/cert_profile.rb', line 17</span>
|
1342
|
+
|
1343
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_policy_constraints'>policy_constraints</span>
|
1344
|
+
<span class='ivar'>@policy_constraints</span>
|
1345
|
+
<span class='kw'>end</span></pre>
|
1346
|
+
</td>
|
1347
|
+
</tr>
|
1348
|
+
</table>
|
1349
|
+
</div>
|
1350
|
+
|
1351
|
+
|
1352
|
+
<span id=""></span>
|
1353
|
+
<div class="method_details ">
|
1354
|
+
<h3 class="signature " id="subject_item_policy-instance_method">
|
1355
|
+
|
1356
|
+
- (<tt>Object</tt>) <strong>subject_item_policy</strong> <span class="extras">(readonly)</span>
|
1357
|
+
|
1358
|
+
|
1359
|
+
|
1360
|
+
|
1361
|
+
|
1362
|
+
</h3><div class="docstring">
|
1363
|
+
<div class="discussion">
|
1364
|
+
|
1365
|
+
<p>Returns the value of attribute subject_item_policy</p>
|
1366
|
+
|
1367
|
+
|
1368
|
+
</div>
|
1369
|
+
</div>
|
1370
|
+
<div class="tags">
|
1371
|
+
|
1372
|
+
|
1373
|
+
</div><table class="source_code">
|
1374
|
+
<tr>
|
1375
|
+
<td>
|
1376
|
+
<pre class="lines">
|
1377
|
+
|
1378
|
+
|
1379
|
+
17
|
1380
|
+
18
|
1381
|
+
19</pre>
|
1382
|
+
</td>
|
1383
|
+
<td>
|
1384
|
+
<pre class="code"><span class="info file"># File 'lib/r509/config/cert_profile.rb', line 17</span>
|
1385
|
+
|
1386
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_subject_item_policy'>subject_item_policy</span>
|
1387
|
+
<span class='ivar'>@subject_item_policy</span>
|
1388
|
+
<span class='kw'>end</span></pre>
|
1389
|
+
</td>
|
1390
|
+
</tr>
|
1391
|
+
</table>
|
1392
|
+
</div>
|
1393
|
+
|
1394
|
+
</div>
|
1395
|
+
|
1396
|
+
|
1397
|
+
<div id="instance_method_details" class="method_details_list">
|
1398
|
+
<h2>Instance Method Details</h2>
|
1399
|
+
|
1400
|
+
|
1401
|
+
<div class="method_details first">
|
1402
|
+
<h3 class="signature first" id="to_h-instance_method">
|
1403
|
+
|
1404
|
+
- (<tt>Hash</tt>) <strong>to_h</strong>
|
1405
|
+
|
1406
|
+
|
1407
|
+
|
1408
|
+
|
1409
|
+
|
1410
|
+
</h3><div class="docstring">
|
1411
|
+
<div class="discussion">
|
1412
|
+
|
1413
|
+
|
1414
|
+
</div>
|
1415
|
+
</div>
|
1416
|
+
<div class="tags">
|
1417
|
+
|
1418
|
+
<p class="tag_title">Returns:</p>
|
1419
|
+
<ul class="return">
|
1420
|
+
|
1421
|
+
<li>
|
1422
|
+
|
1423
|
+
|
1424
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
1425
|
+
|
1426
|
+
|
1427
|
+
|
1428
|
+
</li>
|
1429
|
+
|
1430
|
+
</ul>
|
1431
|
+
|
1432
|
+
</div><table class="source_code">
|
1433
|
+
<tr>
|
1434
|
+
<td>
|
1435
|
+
<pre class="lines">
|
1436
|
+
|
1437
|
+
|
1438
|
+
54
|
1439
|
+
55
|
1440
|
+
56
|
1441
|
+
57
|
1442
|
+
58
|
1443
|
+
59
|
1444
|
+
60
|
1445
|
+
61
|
1446
|
+
62
|
1447
|
+
63
|
1448
|
+
64
|
1449
|
+
65
|
1450
|
+
66
|
1451
|
+
67
|
1452
|
+
68
|
1453
|
+
69
|
1454
|
+
70</pre>
|
1455
|
+
</td>
|
1456
|
+
<td>
|
1457
|
+
<pre class="code"><span class="info file"># File 'lib/r509/config/cert_profile.rb', line 54</span>
|
1458
|
+
|
1459
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_to_h'>to_h</span>
|
1460
|
+
<span class='id identifier rubyid_hash'>hash</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
|
1461
|
+
<span class='id identifier rubyid_hash'>hash</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>basic_constraints</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='ivar'>@basic_constraints</span><span class='period'>.</span><span class='id identifier rubyid_to_h'>to_h</span> <span class='kw'>unless</span> <span class='ivar'>@basic_constraints</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
1462
|
+
<span class='id identifier rubyid_hash'>hash</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>key_usage</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='ivar'>@key_usage</span><span class='period'>.</span><span class='id identifier rubyid_to_h'>to_h</span> <span class='kw'>unless</span> <span class='ivar'>@key_usage</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
1463
|
+
<span class='id identifier rubyid_hash'>hash</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>extended_key_usage</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='ivar'>@extended_key_usage</span><span class='period'>.</span><span class='id identifier rubyid_to_h'>to_h</span> <span class='kw'>unless</span> <span class='ivar'>@extended_key_usage</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
1464
|
+
<span class='id identifier rubyid_hash'>hash</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>certificate_policies</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='ivar'>@certificate_policies</span><span class='period'>.</span><span class='id identifier rubyid_to_h'>to_h</span> <span class='kw'>unless</span> <span class='ivar'>@certificate_policies</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
1465
|
+
<span class='id identifier rubyid_hash'>hash</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>inhibit_any_policy</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='ivar'>@inhibit_any_policy</span><span class='period'>.</span><span class='id identifier rubyid_to_h'>to_h</span> <span class='kw'>unless</span> <span class='ivar'>@inhibit_any_policy</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
1466
|
+
<span class='id identifier rubyid_hash'>hash</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>policy_constraints</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='ivar'>@policy_constraints</span><span class='period'>.</span><span class='id identifier rubyid_to_h'>to_h</span> <span class='kw'>unless</span> <span class='ivar'>@policy_constraints</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
1467
|
+
<span class='id identifier rubyid_hash'>hash</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>name_constraints</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='ivar'>@name_constraints</span><span class='period'>.</span><span class='id identifier rubyid_to_h'>to_h</span> <span class='kw'>unless</span> <span class='ivar'>@name_constraints</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
1468
|
+
<span class='id identifier rubyid_hash'>hash</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>ocsp_no_check</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='ivar'>@ocsp_no_check</span><span class='period'>.</span><span class='id identifier rubyid_to_h'>to_h</span> <span class='kw'>unless</span> <span class='ivar'>@ocsp_no_check</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
1469
|
+
<span class='id identifier rubyid_hash'>hash</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>authority_info_access</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='ivar'>@authority_info_access</span><span class='period'>.</span><span class='id identifier rubyid_to_h'>to_h</span> <span class='kw'>unless</span> <span class='ivar'>@authority_info_access</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
1470
|
+
<span class='id identifier rubyid_hash'>hash</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>crl_distribution_points</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='ivar'>@crl_distribution_points</span><span class='period'>.</span><span class='id identifier rubyid_to_h'>to_h</span> <span class='kw'>unless</span> <span class='ivar'>@crl_distribution_points</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
1471
|
+
<span class='id identifier rubyid_hash'>hash</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>subject_item_policy</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='ivar'>@subject_item_policy</span><span class='period'>.</span><span class='id identifier rubyid_to_h'>to_h</span> <span class='kw'>unless</span> <span class='ivar'>@subject_item_policy</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
1472
|
+
<span class='id identifier rubyid_hash'>hash</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>default_md</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='ivar'>@default_md</span> <span class='kw'>unless</span> <span class='ivar'>@default_md</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
1473
|
+
<span class='id identifier rubyid_hash'>hash</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>allowed_mds</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='ivar'>@allowed_mds</span> <span class='kw'>unless</span> <span class='ivar'>@allowed_mds</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
1474
|
+
<span class='id identifier rubyid_hash'>hash</span>
|
1475
|
+
<span class='kw'>end</span></pre>
|
1476
|
+
</td>
|
1477
|
+
</tr>
|
1478
|
+
</table>
|
1479
|
+
</div>
|
1480
|
+
|
1481
|
+
<div class="method_details ">
|
1482
|
+
<h3 class="signature " id="to_yaml-instance_method">
|
1483
|
+
|
1484
|
+
- (<tt>YAML</tt>) <strong>to_yaml</strong>
|
1485
|
+
|
1486
|
+
|
1487
|
+
|
1488
|
+
|
1489
|
+
|
1490
|
+
</h3><div class="docstring">
|
1491
|
+
<div class="discussion">
|
1492
|
+
|
1493
|
+
|
1494
|
+
</div>
|
1495
|
+
</div>
|
1496
|
+
<div class="tags">
|
1497
|
+
|
1498
|
+
<p class="tag_title">Returns:</p>
|
1499
|
+
<ul class="return">
|
1500
|
+
|
1501
|
+
<li>
|
1502
|
+
|
1503
|
+
|
1504
|
+
<span class='type'>(<tt>YAML</tt>)</span>
|
1505
|
+
|
1506
|
+
|
1507
|
+
|
1508
|
+
</li>
|
1509
|
+
|
1510
|
+
</ul>
|
1511
|
+
|
1512
|
+
</div><table class="source_code">
|
1513
|
+
<tr>
|
1514
|
+
<td>
|
1515
|
+
<pre class="lines">
|
1516
|
+
|
1517
|
+
|
1518
|
+
73
|
1519
|
+
74
|
1520
|
+
75</pre>
|
1521
|
+
</td>
|
1522
|
+
<td>
|
1523
|
+
<pre class="code"><span class="info file"># File 'lib/r509/config/cert_profile.rb', line 73</span>
|
1524
|
+
|
1525
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_to_yaml'>to_yaml</span>
|
1526
|
+
<span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_to_h'>to_h</span><span class='period'>.</span><span class='id identifier rubyid_to_yaml'>to_yaml</span>
|
1527
|
+
<span class='kw'>end</span></pre>
|
1528
|
+
</td>
|
1529
|
+
</tr>
|
1530
|
+
</table>
|
1531
|
+
</div>
|
1532
|
+
|
1533
|
+
</div>
|
1534
|
+
|
1535
|
+
</div>
|
1536
|
+
|
1537
|
+
<div id="footer">
|
1538
|
+
Generated on Sun Jan 26 13:37:27 2014 by
|
1539
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1540
|
+
0.8.6.1 (ruby-2.0.0).
|
1541
|
+
</div>
|
1542
|
+
|
1543
|
+
</body>
|
1544
|
+
</html>
|