r509 0.10.0 → 1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/README.mdown +2 -2
- data/Rakefile +2 -3
- data/bin/r509 +77 -80
- data/bin/r509-parse +4 -4
- data/doc/R509.html +60 -60
- data/doc/R509/ASN1.html +158 -48
- data/doc/R509/ASN1/GeneralName.html +157 -154
- data/doc/R509/ASN1/GeneralNames.html +246 -237
- data/doc/R509/CRL.html +41 -39
- data/doc/R509/CRL/Administrator.html +105 -100
- data/doc/R509/CRL/FileReaderWriter.html +146 -98
- data/doc/R509/CRL/ReaderWriter.html +57 -54
- data/doc/R509/CRL/SQLiteReaderWriter.html +727 -0
- data/doc/R509/CRL/SignedList.html +83 -80
- data/doc/R509/CSR.html +184 -162
- data/doc/R509/Cert.html +271 -269
- data/doc/R509/Cert/Extensions.html +62 -63
- data/doc/R509/Cert/Extensions/AuthorityInfoAccess.html +138 -108
- data/doc/R509/Cert/Extensions/AuthorityKeyIdentifier.html +100 -84
- data/doc/R509/Cert/Extensions/BasicConstraints.html +89 -88
- data/doc/R509/Cert/Extensions/CRLDistributionPoints.html +87 -83
- data/doc/R509/Cert/Extensions/CertificatePolicies.html +78 -76
- data/doc/R509/Cert/Extensions/ExtendedKeyUsage.html +128 -125
- data/doc/R509/Cert/Extensions/GeneralNamesMixin.html +83 -78
- data/doc/R509/Cert/Extensions/InhibitAnyPolicy.html +69 -67
- data/doc/R509/Cert/Extensions/KeyUsage.html +138 -135
- data/doc/R509/Cert/Extensions/NameConstraints.html +82 -81
- data/doc/R509/Cert/Extensions/NoticeReference.html +59 -56
- data/doc/R509/Cert/Extensions/OCSPNoCheck.html +70 -69
- data/doc/R509/Cert/Extensions/PolicyConstraints.html +71 -69
- data/doc/R509/Cert/Extensions/PolicyInformation.html +63 -60
- data/doc/R509/Cert/Extensions/PolicyQualifiers.html +60 -57
- data/doc/R509/Cert/Extensions/SubjectAlternativeName.html +91 -87
- data/doc/R509/Cert/Extensions/SubjectKeyIdentifier.html +72 -71
- data/doc/R509/Cert/Extensions/UserNotice.html +60 -57
- data/doc/R509/Cert/Extensions/ValidationMixin.html +43 -40
- data/doc/R509/CertificateAuthority.html +39 -37
- data/doc/R509/CertificateAuthority/OptionsBuilder.html +58 -55
- data/doc/R509/CertificateAuthority/Signer.html +277 -60
- data/doc/R509/Config.html +40 -38
- data/doc/R509/Config/CAConfig.html +255 -188
- data/doc/R509/Config/CAConfigPool.html +64 -61
- data/doc/R509/Config/CertProfile.html +119 -116
- data/doc/R509/Config/SubjectItemPolicy.html +94 -93
- data/doc/R509/Engine.html +60 -56
- data/doc/R509/Helpers.html +99 -96
- data/doc/R509/MessageDigest.html +69 -68
- data/doc/R509/NameSanitizer.html +51 -48
- data/doc/R509/OCSP.html +39 -37
- data/doc/R509/OCSP/Request.html +39 -37
- data/doc/R509/OCSP/Request/Nonce.html +67 -67
- data/doc/R509/OCSP/Response.html +93 -90
- data/doc/R509/OIDMapper.html +48 -46
- data/doc/R509/PrivateKey.html +170 -169
- data/doc/R509/R509Error.html +45 -42
- data/doc/R509/SPKI.html +99 -89
- data/doc/R509/Subject.html +86 -83
- data/doc/R509/Validity.html +57 -57
- data/doc/R509/Validity/Checker.html +63 -93
- data/doc/R509/Validity/DefaultChecker.html +58 -55
- data/doc/R509/Validity/DefaultWriter.html +62 -59
- data/doc/R509/Validity/Status.html +77 -74
- data/doc/R509/Validity/Writer.html +75 -123
- data/doc/_index.html +37 -31
- data/doc/class_list.html +25 -27
- data/doc/css/full_list.css +32 -31
- data/doc/css/style.css +221 -78
- data/doc/file.CONTRIBUTING.html +29 -30
- data/doc/file.LICENSE.html +29 -30
- data/doc/file.README.html +31 -32
- data/doc/file.YAML.html +33 -34
- data/doc/file.r509.html +39 -48
- data/doc/file_list.html +39 -30
- data/doc/frames.html +10 -21
- data/doc/index.html +31 -32
- data/doc/js/app.js +100 -71
- data/doc/js/full_list.js +168 -130
- data/doc/method_list.html +1788 -1119
- data/doc/top-level-namespace.html +45 -49
- data/lib/r509.rb +21 -7
- data/lib/r509/asn1.rb +45 -32
- data/lib/r509/cert.rb +45 -51
- data/lib/r509/cert/extensions/authority_info_access.rb +49 -23
- data/lib/r509/cert/extensions/authority_key_identifier.rb +16 -11
- data/lib/r509/cert/extensions/base.rb +22 -23
- data/lib/r509/cert/extensions/basic_constraints.rb +11 -12
- data/lib/r509/cert/extensions/certificate_policies.rb +26 -26
- data/lib/r509/cert/extensions/crl_distribution_points.rb +5 -7
- data/lib/r509/cert/extensions/extended_key_usage.rb +5 -5
- data/lib/r509/cert/extensions/inhibit_any_policy.rb +4 -3
- data/lib/r509/cert/extensions/key_usage.rb +5 -5
- data/lib/r509/cert/extensions/name_constraints.rb +16 -16
- data/lib/r509/cert/extensions/ocsp_no_check.rb +3 -3
- data/lib/r509/cert/extensions/policy_constraints.rb +8 -8
- data/lib/r509/cert/extensions/subject_alternative_name.rb +5 -4
- data/lib/r509/cert/extensions/subject_key_identifier.rb +5 -5
- data/lib/r509/cert/extensions/validation_mixin.rb +11 -10
- data/lib/r509/certificate_authority/options_builder.rb +19 -21
- data/lib/r509/certificate_authority/signer.rb +26 -27
- data/lib/r509/config.rb +1 -0
- data/lib/r509/config/ca_config.rb +70 -75
- data/lib/r509/config/cert_profile.rb +9 -8
- data/lib/r509/config/subject_item_policy.rb +25 -28
- data/lib/r509/crl/administrator.rb +19 -20
- data/lib/r509/crl/reader_writer.rb +10 -8
- data/lib/r509/crl/signed_list.rb +4 -4
- data/lib/r509/crl/sqlite_reader_writer.rb +75 -0
- data/lib/r509/csr.rb +54 -60
- data/lib/r509/ec-hack.rb +3 -2
- data/lib/r509/engine.rb +5 -6
- data/lib/r509/exceptions.rb +1 -1
- data/lib/r509/helpers.rb +11 -14
- data/lib/r509/io_helpers.rb +7 -7
- data/lib/r509/message_digest.rb +5 -6
- data/lib/r509/ocsp.rb +11 -13
- data/lib/r509/oid_mapper.rb +2 -2
- data/lib/r509/private_key.rb +28 -32
- data/lib/r509/spki.rb +17 -20
- data/lib/r509/subject.rb +26 -27
- data/lib/r509/trollop.rb +1 -0
- data/lib/r509/validity.rb +30 -21
- data/lib/r509/version.rb +4 -2
- data/r509.yaml +9 -17
- data/spec/asn1_spec.rb +145 -146
- data/spec/cert/extensions/authority_info_access_spec.rb +41 -41
- data/spec/cert/extensions/authority_key_identifier_spec.rb +29 -23
- data/spec/cert/extensions/base_spec.rb +38 -34
- data/spec/cert/extensions/basic_constraints_spec.rb +21 -21
- data/spec/cert/extensions/certificate_policies_spec.rb +99 -87
- data/spec/cert/extensions/crl_distribution_points_spec.rb +24 -25
- data/spec/cert/extensions/extended_key_usage_spec.rb +40 -36
- data/spec/cert/extensions/inhibit_any_policy_spec.rb +12 -12
- data/spec/cert/extensions/key_usage_spec.rb +44 -39
- data/spec/cert/extensions/name_constraints_spec.rb +83 -83
- data/spec/cert/extensions/ocsp_no_check_spec.rb +10 -10
- data/spec/cert/extensions/policy_constraints_spec.rb +19 -19
- data/spec/cert/extensions/subject_alternative_name_spec.rb +46 -47
- data/spec/cert/extensions/subject_key_identifier_spec.rb +10 -10
- data/spec/cert_spec.rb +105 -101
- data/spec/certificate_authority/options_builder_spec.rb +90 -90
- data/spec/certificate_authority/signer_spec.rb +41 -41
- data/spec/config/ca_config_spec.rb +169 -119
- data/spec/config/cert_profile_spec.rb +33 -33
- data/spec/config/subject_item_policy_spec.rb +22 -22
- data/spec/crl/administrator_spec.rb +65 -65
- data/spec/crl/reader_writer_spec.rb +20 -19
- data/spec/crl/signed_list_spec.rb +26 -26
- data/spec/crl/sqlite_reader_writer_spec.rb +42 -0
- data/spec/csr_spec.rb +149 -145
- data/spec/engine_spec.rb +14 -14
- data/spec/fixtures.rb +56 -39
- data/spec/fixtures/crl_list.sql +13 -0
- data/spec/fixtures/csr1.der +0 -0
- data/spec/fixtures/csr1.pem +6 -6
- data/spec/message_digest_spec.rb +43 -43
- data/spec/ocsp_spec.rb +25 -25
- data/spec/oid_mapper_spec.rb +18 -19
- data/spec/private_key_spec.rb +79 -81
- data/spec/r509_spec.rb +16 -16
- data/spec/spec_helper.rb +3 -3
- data/spec/spki_spec.rb +94 -94
- data/spec/subject_spec.rb +107 -107
- data/spec/validity_spec.rb +25 -25
- metadata +113 -111
- metadata.gz.sig +0 -0
@@ -1,12 +1,12 @@
|
|
1
|
-
<!DOCTYPE html
|
2
|
-
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
4
3
|
<head>
|
5
|
-
<meta
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
6
|
<title>
|
7
7
|
Class: R509::Cert::Extensions::NameConstraints
|
8
8
|
|
9
|
-
— Documentation by YARD 0.
|
9
|
+
— Documentation by YARD 0.9.5
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -15,9 +15,8 @@
|
|
15
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
|
+
pathId = "R509::Cert::Extensions::NameConstraints";
|
19
19
|
relpath = '../../../';
|
20
|
-
framesUrl = "../../../frames.html#!" + escape(window.location.href);
|
21
20
|
</script>
|
22
21
|
|
23
22
|
|
@@ -28,51 +27,50 @@
|
|
28
27
|
|
29
28
|
</head>
|
30
29
|
<body>
|
31
|
-
<div
|
32
|
-
<
|
30
|
+
<div class="nav_wrap">
|
31
|
+
<iframe id="nav" src="../../../class_list.html"></iframe>
|
32
|
+
<div id="resizer"></div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="main" tabindex="-1">
|
36
|
+
<div id="header">
|
37
|
+
<div id="menu">
|
33
38
|
|
34
39
|
<a href="../../../_index.html">Index (N)</a> »
|
35
40
|
<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="../../Cert.html" title="R509::Cert (class)">Cert</a></span></span> » <span class='title'><span class='object_link'><a href="../Extensions.html" title="R509::Cert::Extensions (module)">Extensions</a></span></span>
|
36
41
|
»
|
37
42
|
<span class="title">NameConstraints</span>
|
38
43
|
|
39
|
-
|
40
|
-
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
41
44
|
</div>
|
42
45
|
|
43
|
-
|
46
|
+
<div id="search">
|
44
47
|
|
45
48
|
<a class="full_list_link" id="class_list_link"
|
46
49
|
href="../../../class_list.html">
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
</a>
|
54
|
-
|
55
|
-
<a class="full_list_link" id="file_list_link"
|
56
|
-
href="../../../file_list.html">
|
57
|
-
File List
|
50
|
+
|
51
|
+
<svg width="24" height="24">
|
52
|
+
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
53
|
+
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
54
|
+
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
55
|
+
</svg>
|
58
56
|
</a>
|
59
57
|
|
60
58
|
</div>
|
61
|
-
|
62
|
-
|
59
|
+
<div class="clear"></div>
|
60
|
+
</div>
|
63
61
|
|
64
|
-
|
62
|
+
<iframe id="search_frame" src="../../../class_list.html"></iframe>
|
65
63
|
|
66
|
-
|
64
|
+
<div id="content"><h1>Class: R509::Cert::Extensions::NameConstraints
|
67
65
|
|
68
66
|
|
69
67
|
|
70
68
|
</h1>
|
71
|
-
|
72
|
-
<dl class="box">
|
69
|
+
<div class="box_info">
|
73
70
|
|
74
|
-
|
75
|
-
<
|
71
|
+
<dl>
|
72
|
+
<dt>Inherits:</dt>
|
73
|
+
<dd>
|
76
74
|
<span class="inheritName">OpenSSL::X509::Extension</span>
|
77
75
|
|
78
76
|
<ul class="fullTree">
|
@@ -85,21 +83,25 @@
|
|
85
83
|
</ul>
|
86
84
|
<a href="#" class="inheritanceTree">show all</a>
|
87
85
|
|
88
|
-
|
89
|
-
|
86
|
+
</dd>
|
87
|
+
</dl>
|
90
88
|
|
89
|
+
|
91
90
|
|
92
|
-
|
93
91
|
|
94
|
-
|
95
92
|
|
96
93
|
|
97
94
|
|
98
|
-
|
99
|
-
<dd class="r2 last">lib/r509/cert/extensions/name_constraints.rb</dd>
|
95
|
+
|
100
96
|
|
101
|
-
|
102
|
-
|
97
|
+
|
98
|
+
|
99
|
+
<dl>
|
100
|
+
<dt>Defined in:</dt>
|
101
|
+
<dd>lib/r509/cert/extensions/name_constraints.rb</dd>
|
102
|
+
</dl>
|
103
|
+
|
104
|
+
</div>
|
103
105
|
|
104
106
|
<h2>Overview</h2><div class="docstring">
|
105
107
|
<div class="discussion">
|
@@ -140,11 +142,10 @@ to the contents or create a new one.</p>
|
|
140
142
|
|
141
143
|
</div>
|
142
144
|
<h2>Constant Summary</h2>
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
<
|
147
|
-
<div class="docstring">
|
145
|
+
<dl class="constants">
|
146
|
+
|
147
|
+
<dt id="OID-constant" class="">OID =
|
148
|
+
<div class="docstring">
|
148
149
|
<div class="discussion">
|
149
150
|
|
150
151
|
<p>friendly name for CP OID</p>
|
@@ -156,22 +157,21 @@ to the contents or create a new one.</p>
|
|
156
157
|
|
157
158
|
|
158
159
|
</div>
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
160
|
+
</dt>
|
161
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>nameConstraints</span><span class='tstring_end'>"</span></span></pre></dd>
|
162
|
+
|
163
|
+
</dl>
|
164
164
|
|
165
165
|
|
166
166
|
|
167
167
|
|
168
|
-
<h2>Instance Attribute Summary <small
|
168
|
+
<h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
|
169
169
|
<ul class="summary">
|
170
170
|
|
171
171
|
<li class="public ">
|
172
172
|
<span class="summary_signature">
|
173
173
|
|
174
|
-
<a href="#excluded-instance_method" title="#excluded (instance method)"
|
174
|
+
<a href="#excluded-instance_method" title="#excluded (instance method)">#<strong>excluded</strong> ⇒ R509::ASN1::GeneralNames<sup>?</sup> </a>
|
175
175
|
|
176
176
|
|
177
177
|
|
@@ -198,7 +198,7 @@ to the contents or create a new one.</p>
|
|
198
198
|
<li class="public ">
|
199
199
|
<span class="summary_signature">
|
200
200
|
|
201
|
-
<a href="#permitted-instance_method" title="#permitted (instance method)"
|
201
|
+
<a href="#permitted-instance_method" title="#permitted (instance method)">#<strong>permitted</strong> ⇒ R509::ASN1::GeneralNames<sup>?</sup> </a>
|
202
202
|
|
203
203
|
|
204
204
|
|
@@ -230,7 +230,7 @@ to the contents or create a new one.</p>
|
|
230
230
|
|
231
231
|
<h2>
|
232
232
|
Instance Method Summary
|
233
|
-
<small
|
233
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
234
234
|
</h2>
|
235
235
|
|
236
236
|
<ul class="summary">
|
@@ -238,7 +238,7 @@ to the contents or create a new one.</p>
|
|
238
238
|
<li class="public ">
|
239
239
|
<span class="summary_signature">
|
240
240
|
|
241
|
-
<a href="#initialize-instance_method" title="#initialize (instance method)"
|
241
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(arg) ⇒ NameConstraints </a>
|
242
242
|
|
243
243
|
|
244
244
|
|
@@ -264,7 +264,7 @@ to the contents or create a new one.</p>
|
|
264
264
|
<li class="public ">
|
265
265
|
<span class="summary_signature">
|
266
266
|
|
267
|
-
<a href="#to_h-instance_method" title="#to_h (instance method)"
|
267
|
+
<a href="#to_h-instance_method" title="#to_h (instance method)">#<strong>to_h</strong> ⇒ Hash </a>
|
268
268
|
|
269
269
|
|
270
270
|
|
@@ -286,7 +286,7 @@ to the contents or create a new one.</p>
|
|
286
286
|
<li class="public ">
|
287
287
|
<span class="summary_signature">
|
288
288
|
|
289
|
-
<a href="#to_yaml-instance_method" title="#to_yaml (instance method)"
|
289
|
+
<a href="#to_yaml-instance_method" title="#to_yaml (instance method)">#<strong>to_yaml</strong> ⇒ YAML </a>
|
290
290
|
|
291
291
|
|
292
292
|
|
@@ -315,7 +315,7 @@ to the contents or create a new one.</p>
|
|
315
315
|
<div class="method_details first">
|
316
316
|
<h3 class="signature first" id="initialize-instance_method">
|
317
317
|
|
318
|
-
|
318
|
+
#<strong>initialize</strong>(arg) ⇒ <tt><span class='object_link'><a href="" title="R509::Cert::Extensions::NameConstraints (class)">NameConstraints</a></span></tt>
|
319
319
|
|
320
320
|
|
321
321
|
|
@@ -341,7 +341,7 @@ build an R509::Subject</p>
|
|
341
341
|
</div>
|
342
342
|
|
343
343
|
|
344
|
-
<p>
|
344
|
+
<p>Returns a new instance of NameConstraints</p>
|
345
345
|
|
346
346
|
|
347
347
|
</div>
|
@@ -446,20 +446,20 @@ build an R509::Subject</p>
|
|
446
446
|
<pre class="lines">
|
447
447
|
|
448
448
|
|
449
|
+
64
|
449
450
|
65
|
450
451
|
66
|
451
452
|
67
|
452
453
|
68
|
453
454
|
69
|
454
455
|
70
|
455
|
-
71
|
456
|
-
72</pre>
|
456
|
+
71</pre>
|
457
457
|
</td>
|
458
458
|
<td>
|
459
|
-
<pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/name_constraints.rb', line
|
459
|
+
<pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/name_constraints.rb', line 64</span>
|
460
460
|
|
461
461
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_arg'>arg</span><span class='rparen'>)</span>
|
462
|
-
<span class='kw'>
|
462
|
+
<span class='kw'>unless</span> <span class='const'>R509</span><span class='op'>::</span><span class='const'>Cert</span><span class='op'>::</span><span class='const'>Extensions</span><span class='period'>.</span><span class='id identifier rubyid_is_extension?'>is_extension?</span><span class='lparen'>(</span><span class='id identifier rubyid_arg'>arg</span><span class='rparen'>)</span>
|
463
463
|
<span class='id identifier rubyid_arg'>arg</span> <span class='op'>=</span> <span class='id identifier rubyid_build_extension'>build_extension</span><span class='lparen'>(</span><span class='id identifier rubyid_arg'>arg</span><span class='rparen'>)</span>
|
464
464
|
<span class='kw'>end</span>
|
465
465
|
<span class='kw'>super</span><span class='lparen'>(</span><span class='id identifier rubyid_arg'>arg</span><span class='rparen'>)</span>
|
@@ -481,7 +481,7 @@ build an R509::Subject</p>
|
|
481
481
|
<div class="method_details first">
|
482
482
|
<h3 class="signature first" id="excluded-instance_method">
|
483
483
|
|
484
|
-
|
484
|
+
#<strong>excluded</strong> ⇒ <tt><span class='object_link'><a href="../../ASN1/GeneralNames.html" title="R509::ASN1::GeneralNames (class)">R509::ASN1::GeneralNames</a></span></tt><sup>?</sup> <span class="extras">(readonly)</span>
|
485
485
|
|
486
486
|
|
487
487
|
|
@@ -515,12 +515,12 @@ build an R509::Subject</p>
|
|
515
515
|
<pre class="lines">
|
516
516
|
|
517
517
|
|
518
|
+
39
|
518
519
|
40
|
519
|
-
41
|
520
|
-
42</pre>
|
520
|
+
41</pre>
|
521
521
|
</td>
|
522
522
|
<td>
|
523
|
-
<pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/name_constraints.rb', line
|
523
|
+
<pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/name_constraints.rb', line 39</span>
|
524
524
|
|
525
525
|
<span class='kw'>def</span> <span class='id identifier rubyid_excluded'>excluded</span>
|
526
526
|
<span class='ivar'>@excluded</span>
|
@@ -535,7 +535,7 @@ build an R509::Subject</p>
|
|
535
535
|
<div class="method_details ">
|
536
536
|
<h3 class="signature " id="permitted-instance_method">
|
537
537
|
|
538
|
-
|
538
|
+
#<strong>permitted</strong> ⇒ <tt><span class='object_link'><a href="../../ASN1/GeneralNames.html" title="R509::ASN1::GeneralNames (class)">R509::ASN1::GeneralNames</a></span></tt><sup>?</sup> <span class="extras">(readonly)</span>
|
539
539
|
|
540
540
|
|
541
541
|
|
@@ -569,12 +569,12 @@ build an R509::Subject</p>
|
|
569
569
|
<pre class="lines">
|
570
570
|
|
571
571
|
|
572
|
+
39
|
572
573
|
40
|
573
|
-
41
|
574
|
-
42</pre>
|
574
|
+
41</pre>
|
575
575
|
</td>
|
576
576
|
<td>
|
577
|
-
<pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/name_constraints.rb', line
|
577
|
+
<pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/name_constraints.rb', line 39</span>
|
578
578
|
|
579
579
|
<span class='kw'>def</span> <span class='id identifier rubyid_permitted'>permitted</span>
|
580
580
|
<span class='ivar'>@permitted</span>
|
@@ -594,7 +594,7 @@ build an R509::Subject</p>
|
|
594
594
|
<div class="method_details first">
|
595
595
|
<h3 class="signature first" id="to_h-instance_method">
|
596
596
|
|
597
|
-
|
597
|
+
#<strong>to_h</strong> ⇒ <tt>Hash</tt>
|
598
598
|
|
599
599
|
|
600
600
|
|
@@ -628,15 +628,15 @@ build an R509::Subject</p>
|
|
628
628
|
<pre class="lines">
|
629
629
|
|
630
630
|
|
631
|
+
74
|
631
632
|
75
|
632
633
|
76
|
633
634
|
77
|
634
635
|
78
|
635
|
-
79
|
636
|
-
80</pre>
|
636
|
+
79</pre>
|
637
637
|
</td>
|
638
638
|
<td>
|
639
|
-
<pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/name_constraints.rb', line
|
639
|
+
<pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/name_constraints.rb', line 74</span>
|
640
640
|
|
641
641
|
<span class='kw'>def</span> <span class='id identifier rubyid_to_h'>to_h</span>
|
642
642
|
<span class='id identifier rubyid_hash'>hash</span> <span class='op'>=</span> <span class='lbrace'>{</span> <span class='symbol'>:critical</span> <span class='op'>=></span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_critical?'>critical?</span> <span class='rbrace'>}</span>
|
@@ -652,7 +652,7 @@ build an R509::Subject</p>
|
|
652
652
|
<div class="method_details ">
|
653
653
|
<h3 class="signature " id="to_yaml-instance_method">
|
654
654
|
|
655
|
-
|
655
|
+
#<strong>to_yaml</strong> ⇒ <tt>YAML</tt>
|
656
656
|
|
657
657
|
|
658
658
|
|
@@ -686,12 +686,12 @@ build an R509::Subject</p>
|
|
686
686
|
<pre class="lines">
|
687
687
|
|
688
688
|
|
689
|
+
82
|
689
690
|
83
|
690
|
-
84
|
691
|
-
85</pre>
|
691
|
+
84</pre>
|
692
692
|
</td>
|
693
693
|
<td>
|
694
|
-
<pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/name_constraints.rb', line
|
694
|
+
<pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/name_constraints.rb', line 82</span>
|
695
695
|
|
696
696
|
<span class='kw'>def</span> <span class='id identifier rubyid_to_yaml'>to_yaml</span>
|
697
697
|
<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>
|
@@ -705,11 +705,12 @@ build an R509::Subject</p>
|
|
705
705
|
|
706
706
|
</div>
|
707
707
|
|
708
|
-
|
709
|
-
Generated on
|
708
|
+
<div id="footer">
|
709
|
+
Generated on Tue Dec 6 17:27:41 2016 by
|
710
710
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
711
|
-
0.
|
711
|
+
0.9.5 (ruby-2.4.0).
|
712
712
|
</div>
|
713
713
|
|
714
|
+
</div>
|
714
715
|
</body>
|
715
716
|
</html>
|
@@ -1,12 +1,12 @@
|
|
1
|
-
<!DOCTYPE html
|
2
|
-
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
4
3
|
<head>
|
5
|
-
<meta
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
6
|
<title>
|
7
7
|
Class: R509::Cert::Extensions::NoticeReference
|
8
8
|
|
9
|
-
— Documentation by YARD 0.
|
9
|
+
— Documentation by YARD 0.9.5
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -15,9 +15,8 @@
|
|
15
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
|
+
pathId = "R509::Cert::Extensions::NoticeReference";
|
19
19
|
relpath = '../../../';
|
20
|
-
framesUrl = "../../../frames.html#!" + escape(window.location.href);
|
21
20
|
</script>
|
22
21
|
|
23
22
|
|
@@ -28,51 +27,50 @@
|
|
28
27
|
|
29
28
|
</head>
|
30
29
|
<body>
|
31
|
-
<div
|
32
|
-
<
|
30
|
+
<div class="nav_wrap">
|
31
|
+
<iframe id="nav" src="../../../class_list.html"></iframe>
|
32
|
+
<div id="resizer"></div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="main" tabindex="-1">
|
36
|
+
<div id="header">
|
37
|
+
<div id="menu">
|
33
38
|
|
34
39
|
<a href="../../../_index.html">Index (N)</a> »
|
35
40
|
<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="../../Cert.html" title="R509::Cert (class)">Cert</a></span></span> » <span class='title'><span class='object_link'><a href="../Extensions.html" title="R509::Cert::Extensions (module)">Extensions</a></span></span>
|
36
41
|
»
|
37
42
|
<span class="title">NoticeReference</span>
|
38
43
|
|
39
|
-
|
40
|
-
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
41
44
|
</div>
|
42
45
|
|
43
|
-
|
46
|
+
<div id="search">
|
44
47
|
|
45
48
|
<a class="full_list_link" id="class_list_link"
|
46
49
|
href="../../../class_list.html">
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
</a>
|
54
|
-
|
55
|
-
<a class="full_list_link" id="file_list_link"
|
56
|
-
href="../../../file_list.html">
|
57
|
-
File List
|
50
|
+
|
51
|
+
<svg width="24" height="24">
|
52
|
+
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
53
|
+
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
54
|
+
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
55
|
+
</svg>
|
58
56
|
</a>
|
59
57
|
|
60
58
|
</div>
|
61
|
-
|
62
|
-
|
59
|
+
<div class="clear"></div>
|
60
|
+
</div>
|
63
61
|
|
64
|
-
|
62
|
+
<iframe id="search_frame" src="../../../class_list.html"></iframe>
|
65
63
|
|
66
|
-
|
64
|
+
<div id="content"><h1>Class: R509::Cert::Extensions::NoticeReference
|
67
65
|
|
68
66
|
|
69
67
|
|
70
68
|
</h1>
|
71
|
-
|
72
|
-
<dl class="box">
|
69
|
+
<div class="box_info">
|
73
70
|
|
74
|
-
|
75
|
-
<
|
71
|
+
<dl>
|
72
|
+
<dt>Inherits:</dt>
|
73
|
+
<dd>
|
76
74
|
<span class="inheritName">Object</span>
|
77
75
|
|
78
76
|
<ul class="fullTree">
|
@@ -83,21 +81,25 @@
|
|
83
81
|
</ul>
|
84
82
|
<a href="#" class="inheritanceTree">show all</a>
|
85
83
|
|
86
|
-
|
87
|
-
|
84
|
+
</dd>
|
85
|
+
</dl>
|
86
|
+
|
87
|
+
|
88
88
|
|
89
89
|
|
90
|
-
|
91
90
|
|
92
|
-
|
93
91
|
|
94
92
|
|
93
|
+
|
94
|
+
|
95
|
+
|
95
96
|
|
96
|
-
|
97
|
-
<
|
97
|
+
<dl>
|
98
|
+
<dt>Defined in:</dt>
|
99
|
+
<dd>lib/r509/cert/extensions/certificate_policies.rb</dd>
|
100
|
+
</dl>
|
98
101
|
|
99
|
-
</
|
100
|
-
<div class="clear"></div>
|
102
|
+
</div>
|
101
103
|
|
102
104
|
<h2>Overview</h2><div class="docstring">
|
103
105
|
<div class="discussion">
|
@@ -118,13 +120,13 @@
|
|
118
120
|
|
119
121
|
|
120
122
|
|
121
|
-
<h2>Instance Attribute Summary <small
|
123
|
+
<h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
|
122
124
|
<ul class="summary">
|
123
125
|
|
124
126
|
<li class="public ">
|
125
127
|
<span class="summary_signature">
|
126
128
|
|
127
|
-
<a href="#notice_numbers-instance_method" title="#notice_numbers (instance method)"
|
129
|
+
<a href="#notice_numbers-instance_method" title="#notice_numbers (instance method)">#<strong>notice_numbers</strong> ⇒ Object </a>
|
128
130
|
|
129
131
|
|
130
132
|
|
@@ -153,7 +155,7 @@
|
|
153
155
|
<li class="public ">
|
154
156
|
<span class="summary_signature">
|
155
157
|
|
156
|
-
<a href="#organization-instance_method" title="#organization (instance method)"
|
158
|
+
<a href="#organization-instance_method" title="#organization (instance method)">#<strong>organization</strong> ⇒ Object </a>
|
157
159
|
|
158
160
|
|
159
161
|
|
@@ -187,7 +189,7 @@
|
|
187
189
|
|
188
190
|
<h2>
|
189
191
|
Instance Method Summary
|
190
|
-
<small
|
192
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
191
193
|
</h2>
|
192
194
|
|
193
195
|
<ul class="summary">
|
@@ -195,7 +197,7 @@
|
|
195
197
|
<li class="public ">
|
196
198
|
<span class="summary_signature">
|
197
199
|
|
198
|
-
<a href="#initialize-instance_method" title="#initialize (instance method)"
|
200
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(data) ⇒ NoticeReference </a>
|
199
201
|
|
200
202
|
|
201
203
|
|
@@ -221,7 +223,7 @@
|
|
221
223
|
<li class="public ">
|
222
224
|
<span class="summary_signature">
|
223
225
|
|
224
|
-
<a href="#to_h-instance_method" title="#to_h (instance method)"
|
226
|
+
<a href="#to_h-instance_method" title="#to_h (instance method)">#<strong>to_h</strong> ⇒ Hash </a>
|
225
227
|
|
226
228
|
|
227
229
|
|
@@ -243,7 +245,7 @@
|
|
243
245
|
<li class="public ">
|
244
246
|
<span class="summary_signature">
|
245
247
|
|
246
|
-
<a href="#to_yaml-instance_method" title="#to_yaml (instance method)"
|
248
|
+
<a href="#to_yaml-instance_method" title="#to_yaml (instance method)">#<strong>to_yaml</strong> ⇒ YAML </a>
|
247
249
|
|
248
250
|
|
249
251
|
|
@@ -271,7 +273,7 @@
|
|
271
273
|
<div class="method_details first">
|
272
274
|
<h3 class="signature first" id="initialize-instance_method">
|
273
275
|
|
274
|
-
|
276
|
+
#<strong>initialize</strong>(data) ⇒ <tt><span class='object_link'><a href="" title="R509::Cert::Extensions::NoticeReference (class)">NoticeReference</a></span></tt>
|
275
277
|
|
276
278
|
|
277
279
|
|
@@ -280,7 +282,7 @@
|
|
280
282
|
</h3><div class="docstring">
|
281
283
|
<div class="discussion">
|
282
284
|
|
283
|
-
<p>
|
285
|
+
<p>Returns a new instance of NoticeReference</p>
|
284
286
|
|
285
287
|
|
286
288
|
</div>
|
@@ -316,7 +318,7 @@
|
|
316
318
|
<span class='id identifier rubyid_data'>data</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_notice_reference'>notice_reference</span><span class='op'>|</span>
|
317
319
|
<span class='comment'># if it's displaytext then it's the organization
|
318
320
|
</span> <span class='comment'># if it's YET ANOTHER ASN1::Sequence, then it's noticeNumbers
|
319
|
-
</span> <span class='kw'>if</span> <span class='id identifier rubyid_notice_reference'>notice_reference</span><span class='period'>.</span><span class='id identifier
|
321
|
+
</span> <span class='kw'>if</span> <span class='id identifier rubyid_notice_reference'>notice_reference</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>OpenSSL</span><span class='op'>::</span><span class='const'>ASN1</span><span class='op'>::</span><span class='const'>Sequence</span><span class='rparen'>)</span>
|
320
322
|
<span class='ivar'>@notice_numbers</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
|
321
323
|
<span class='id identifier rubyid_notice_reference'>notice_reference</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_ints'>ints</span><span class='op'>|</span>
|
322
324
|
<span class='ivar'>@notice_numbers</span> <span class='op'><<</span> <span class='id identifier rubyid_ints'>ints</span><span class='period'>.</span><span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_to_i'>to_i</span>
|
@@ -341,7 +343,7 @@
|
|
341
343
|
<div class="method_details first">
|
342
344
|
<h3 class="signature first" id="notice_numbers-instance_method">
|
343
345
|
|
344
|
-
|
346
|
+
#<strong>notice_numbers</strong> ⇒ <tt>Object</tt> <span class="extras">(readonly)</span>
|
345
347
|
|
346
348
|
|
347
349
|
|
@@ -384,7 +386,7 @@
|
|
384
386
|
<div class="method_details ">
|
385
387
|
<h3 class="signature " id="organization-instance_method">
|
386
388
|
|
387
|
-
|
389
|
+
#<strong>organization</strong> ⇒ <tt>Object</tt> <span class="extras">(readonly)</span>
|
388
390
|
|
389
391
|
|
390
392
|
|
@@ -432,7 +434,7 @@
|
|
432
434
|
<div class="method_details first">
|
433
435
|
<h3 class="signature first" id="to_h-instance_method">
|
434
436
|
|
435
|
-
|
437
|
+
#<strong>to_h</strong> ⇒ <tt>Hash</tt>
|
436
438
|
|
437
439
|
|
438
440
|
|
@@ -490,7 +492,7 @@
|
|
490
492
|
<div class="method_details ">
|
491
493
|
<h3 class="signature " id="to_yaml-instance_method">
|
492
494
|
|
493
|
-
|
495
|
+
#<strong>to_yaml</strong> ⇒ <tt>YAML</tt>
|
494
496
|
|
495
497
|
|
496
498
|
|
@@ -543,11 +545,12 @@
|
|
543
545
|
|
544
546
|
</div>
|
545
547
|
|
546
|
-
|
547
|
-
Generated on
|
548
|
+
<div id="footer">
|
549
|
+
Generated on Tue Dec 6 17:27:42 2016 by
|
548
550
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
549
|
-
0.
|
551
|
+
0.9.5 (ruby-2.4.0).
|
550
552
|
</div>
|
551
553
|
|
554
|
+
</div>
|
552
555
|
</body>
|
553
556
|
</html>
|