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::CRLDistributionPoints
|
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::CRLDistributionPoints";
|
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 (C)</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">CRLDistributionPoints</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::CRLDistributionPoints
|
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,25 +83,30 @@
|
|
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
|
-
<dt class="r2">Includes:</dt>
|
96
|
-
<dd class="r2"><span class='object_link'><a href="GeneralNamesMixin.html" title="R509::Cert::Extensions::GeneralNamesMixin (module)">GeneralNamesMixin</a></span>, <span class='object_link'><a href="ValidationMixin.html" title="R509::Cert::Extensions::ValidationMixin (module)">ValidationMixin</a></span></dd>
|
97
|
-
|
98
|
-
|
99
92
|
|
100
93
|
|
94
|
+
<dl>
|
95
|
+
<dt>Includes:</dt>
|
96
|
+
<dd><span class='object_link'><a href="GeneralNamesMixin.html" title="R509::Cert::Extensions::GeneralNamesMixin (module)">GeneralNamesMixin</a></span>, <span class='object_link'><a href="ValidationMixin.html" title="R509::Cert::Extensions::ValidationMixin (module)">ValidationMixin</a></span></dd>
|
97
|
+
</dl>
|
101
98
|
|
102
|
-
<dt class="r1 last">Defined in:</dt>
|
103
|
-
<dd class="r1 last">lib/r509/cert/extensions/crl_distribution_points.rb</dd>
|
104
99
|
|
105
|
-
|
106
|
-
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
|
104
|
+
<dl>
|
105
|
+
<dt>Defined in:</dt>
|
106
|
+
<dd>lib/r509/cert/extensions/crl_distribution_points.rb</dd>
|
107
|
+
</dl>
|
108
|
+
|
109
|
+
</div>
|
107
110
|
|
108
111
|
<h2>Overview</h2><div class="docstring">
|
109
112
|
<div class="discussion">
|
@@ -127,11 +130,10 @@ to the contents or create a new one.</p>
|
|
127
130
|
|
128
131
|
</div>
|
129
132
|
<h2>Constant Summary</h2>
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
<
|
134
|
-
<div class="docstring">
|
133
|
+
<dl class="constants">
|
134
|
+
|
135
|
+
<dt id="OID-constant" class="">OID =
|
136
|
+
<div class="docstring">
|
135
137
|
<div class="discussion">
|
136
138
|
|
137
139
|
<p>friendly name for CDP OID</p>
|
@@ -143,11 +145,10 @@ to the contents or create a new one.</p>
|
|
143
145
|
|
144
146
|
|
145
147
|
</div>
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
148
|
+
</dt>
|
149
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>crlDistributionPoints</span><span class='tstring_end'>"</span></span></pre></dd>
|
150
|
+
|
151
|
+
</dl>
|
151
152
|
|
152
153
|
|
153
154
|
|
@@ -158,7 +159,7 @@ to the contents or create a new one.</p>
|
|
158
159
|
|
159
160
|
<h2>
|
160
161
|
Instance Method Summary
|
161
|
-
<small
|
162
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
162
163
|
</h2>
|
163
164
|
|
164
165
|
<ul class="summary">
|
@@ -166,7 +167,7 @@ to the contents or create a new one.</p>
|
|
166
167
|
<li class="public ">
|
167
168
|
<span class="summary_signature">
|
168
169
|
|
169
|
-
<a href="#directory_names-instance_method" title="#directory_names (instance method)"
|
170
|
+
<a href="#directory_names-instance_method" title="#directory_names (instance method)">#<strong>directory_names</strong> ⇒ Array<R509::Subject> </a>
|
170
171
|
|
171
172
|
|
172
173
|
|
@@ -197,7 +198,7 @@ to the contents or create a new one.</p>
|
|
197
198
|
<li class="public ">
|
198
199
|
<span class="summary_signature">
|
199
200
|
|
200
|
-
<a href="#dns_names-instance_method" title="#dns_names (instance method)"
|
201
|
+
<a href="#dns_names-instance_method" title="#dns_names (instance method)">#<strong>dns_names</strong> ⇒ Array<String> </a>
|
201
202
|
|
202
203
|
|
203
204
|
|
@@ -226,7 +227,7 @@ to the contents or create a new one.</p>
|
|
226
227
|
<li class="public ">
|
227
228
|
<span class="summary_signature">
|
228
229
|
|
229
|
-
<a href="#initialize-instance_method" title="#initialize (instance method)"
|
230
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(arg) ⇒ CRLDistributionPoints </a>
|
230
231
|
|
231
232
|
|
232
233
|
|
@@ -252,7 +253,7 @@ to the contents or create a new one.</p>
|
|
252
253
|
<li class="public ">
|
253
254
|
<span class="summary_signature">
|
254
255
|
|
255
|
-
<a href="#ip_addresses-instance_method" title="#ip_addresses (instance method)"
|
256
|
+
<a href="#ip_addresses-instance_method" title="#ip_addresses (instance method)">#<strong>ip_addresses</strong> ⇒ Array<String> </a>
|
256
257
|
|
257
258
|
|
258
259
|
|
@@ -283,7 +284,7 @@ to the contents or create a new one.</p>
|
|
283
284
|
<li class="public ">
|
284
285
|
<span class="summary_signature">
|
285
286
|
|
286
|
-
<a href="#names-instance_method" title="#names (instance method)"
|
287
|
+
<a href="#names-instance_method" title="#names (instance method)">#<strong>names</strong> ⇒ Array </a>
|
287
288
|
|
288
289
|
|
289
290
|
|
@@ -312,7 +313,7 @@ to the contents or create a new one.</p>
|
|
312
313
|
<li class="public ">
|
313
314
|
<span class="summary_signature">
|
314
315
|
|
315
|
-
<a href="#rfc_822_names-instance_method" title="#rfc_822_names (instance method)"
|
316
|
+
<a href="#rfc_822_names-instance_method" title="#rfc_822_names (instance method)">#<strong>rfc_822_names</strong> ⇒ Array<String> </a>
|
316
317
|
|
317
318
|
|
318
319
|
|
@@ -343,7 +344,7 @@ to the contents or create a new one.</p>
|
|
343
344
|
<li class="public ">
|
344
345
|
<span class="summary_signature">
|
345
346
|
|
346
|
-
<a href="#to_h-instance_method" title="#to_h (instance method)"
|
347
|
+
<a href="#to_h-instance_method" title="#to_h (instance method)">#<strong>to_h</strong> ⇒ Hash </a>
|
347
348
|
|
348
349
|
|
349
350
|
|
@@ -365,7 +366,7 @@ to the contents or create a new one.</p>
|
|
365
366
|
<li class="public ">
|
366
367
|
<span class="summary_signature">
|
367
368
|
|
368
|
-
<a href="#to_yaml-instance_method" title="#to_yaml (instance method)"
|
369
|
+
<a href="#to_yaml-instance_method" title="#to_yaml (instance method)">#<strong>to_yaml</strong> ⇒ YAML </a>
|
369
370
|
|
370
371
|
|
371
372
|
|
@@ -387,7 +388,7 @@ to the contents or create a new one.</p>
|
|
387
388
|
<li class="public ">
|
388
389
|
<span class="summary_signature">
|
389
390
|
|
390
|
-
<a href="#uris-instance_method" title="#uris (instance method)"
|
391
|
+
<a href="#uris-instance_method" title="#uris (instance method)">#<strong>uris</strong> ⇒ Array<String> </a>
|
391
392
|
|
392
393
|
|
393
394
|
|
@@ -427,7 +428,7 @@ to the contents or create a new one.</p>
|
|
427
428
|
<div class="method_details first">
|
428
429
|
<h3 class="signature first" id="initialize-instance_method">
|
429
430
|
|
430
|
-
|
431
|
+
#<strong>initialize</strong>(arg) ⇒ <tt><span class='object_link'><a href="" title="R509::Cert::Extensions::CRLDistributionPoints (class)">CRLDistributionPoints</a></span></tt>
|
431
432
|
|
432
433
|
|
433
434
|
|
@@ -534,7 +535,7 @@ to the contents or create a new one.</p>
|
|
534
535
|
<pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/crl_distribution_points.rb', line 38</span>
|
535
536
|
|
536
537
|
<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>
|
537
|
-
<span class='kw'>
|
538
|
+
<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>
|
538
539
|
<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>
|
539
540
|
<span class='kw'>end</span>
|
540
541
|
|
@@ -556,7 +557,7 @@ to the contents or create a new one.</p>
|
|
556
557
|
<div class="method_details first">
|
557
558
|
<h3 class="signature first" id="directory_names-instance_method">
|
558
559
|
|
559
|
-
|
560
|
+
#<strong>directory_names</strong> ⇒ <tt>Array<<span class='object_link'><a href="../../Subject.html" title="R509::Subject (class)">R509::Subject</a></span>></tt>
|
560
561
|
|
561
562
|
|
562
563
|
|
@@ -574,7 +575,7 @@ to the contents or create a new one.</p>
|
|
574
575
|
</h3><div class="docstring">
|
575
576
|
<div class="discussion">
|
576
577
|
|
577
|
-
<p>
|
578
|
+
<p>Returns directory names</p>
|
578
579
|
|
579
580
|
|
580
581
|
</div>
|
@@ -606,7 +607,7 @@ to the contents or create a new one.</p>
|
|
606
607
|
<div class="method_details ">
|
607
608
|
<h3 class="signature " id="dns_names-instance_method">
|
608
609
|
|
609
|
-
|
610
|
+
#<strong>dns_names</strong> ⇒ <tt>Array<String></tt>
|
610
611
|
|
611
612
|
|
612
613
|
|
@@ -620,7 +621,7 @@ to the contents or create a new one.</p>
|
|
620
621
|
</h3><div class="docstring">
|
621
622
|
<div class="discussion">
|
622
623
|
|
623
|
-
<p>DNS names</p>
|
624
|
+
<p>Returns DNS names</p>
|
624
625
|
|
625
626
|
|
626
627
|
</div>
|
@@ -652,7 +653,7 @@ to the contents or create a new one.</p>
|
|
652
653
|
<div class="method_details ">
|
653
654
|
<h3 class="signature " id="ip_addresses-instance_method">
|
654
655
|
|
655
|
-
|
656
|
+
#<strong>ip_addresses</strong> ⇒ <tt>Array<String></tt>
|
656
657
|
|
657
658
|
|
658
659
|
|
@@ -670,8 +671,9 @@ to the contents or create a new one.</p>
|
|
670
671
|
</h3><div class="docstring">
|
671
672
|
<div class="discussion">
|
672
673
|
|
673
|
-
<p>IP addresses. They will be formatted as strings (dotted quad with
|
674
|
-
netmask for IPv4 and colon-hexadecimal with optional netmask for
|
674
|
+
<p>Returns IP addresses. They will be formatted as strings (dotted quad with
|
675
|
+
optional netmask for IPv4 and colon-hexadecimal with optional netmask for
|
676
|
+
IPv6</p>
|
675
677
|
|
676
678
|
|
677
679
|
</div>
|
@@ -704,7 +706,7 @@ netmask for IPv4 and colon-hexadecimal with optional netmask for IPv6</p>
|
|
704
706
|
<div class="method_details ">
|
705
707
|
<h3 class="signature " id="names-instance_method">
|
706
708
|
|
707
|
-
|
709
|
+
#<strong>names</strong> ⇒ <tt>Array</tt>
|
708
710
|
|
709
711
|
|
710
712
|
|
@@ -718,7 +720,8 @@ netmask for IPv4 and colon-hexadecimal with optional netmask for IPv6</p>
|
|
718
720
|
</h3><div class="docstring">
|
719
721
|
<div class="discussion">
|
720
722
|
|
721
|
-
<p>
|
723
|
+
<p>Returns array of GeneralName objects preserving order found in the
|
724
|
+
extension</p>
|
722
725
|
|
723
726
|
|
724
727
|
</div>
|
@@ -750,7 +753,7 @@ netmask for IPv4 and colon-hexadecimal with optional netmask for IPv6</p>
|
|
750
753
|
<div class="method_details ">
|
751
754
|
<h3 class="signature " id="rfc_822_names-instance_method">
|
752
755
|
|
753
|
-
|
756
|
+
#<strong>rfc_822_names</strong> ⇒ <tt>Array<String></tt>
|
754
757
|
|
755
758
|
|
756
759
|
|
@@ -768,7 +771,7 @@ netmask for IPv4 and colon-hexadecimal with optional netmask for IPv6</p>
|
|
768
771
|
</h3><div class="docstring">
|
769
772
|
<div class="discussion">
|
770
773
|
|
771
|
-
<p>
|
774
|
+
<p>Returns email addresses</p>
|
772
775
|
|
773
776
|
|
774
777
|
</div>
|
@@ -800,7 +803,7 @@ netmask for IPv4 and colon-hexadecimal with optional netmask for IPv6</p>
|
|
800
803
|
<div class="method_details ">
|
801
804
|
<h3 class="signature " id="to_h-instance_method">
|
802
805
|
|
803
|
-
|
806
|
+
#<strong>to_h</strong> ⇒ <tt>Hash</tt>
|
804
807
|
|
805
808
|
|
806
809
|
|
@@ -858,7 +861,7 @@ netmask for IPv4 and colon-hexadecimal with optional netmask for IPv6</p>
|
|
858
861
|
<div class="method_details ">
|
859
862
|
<h3 class="signature " id="to_yaml-instance_method">
|
860
863
|
|
861
|
-
|
864
|
+
#<strong>to_yaml</strong> ⇒ <tt>YAML</tt>
|
862
865
|
|
863
866
|
|
864
867
|
|
@@ -910,7 +913,7 @@ netmask for IPv4 and colon-hexadecimal with optional netmask for IPv6</p>
|
|
910
913
|
<div class="method_details ">
|
911
914
|
<h3 class="signature " id="uris-instance_method">
|
912
915
|
|
913
|
-
|
916
|
+
#<strong>uris</strong> ⇒ <tt>Array<String></tt>
|
914
917
|
|
915
918
|
|
916
919
|
|
@@ -924,7 +927,7 @@ netmask for IPv4 and colon-hexadecimal with optional netmask for IPv6</p>
|
|
924
927
|
</h3><div class="docstring">
|
925
928
|
<div class="discussion">
|
926
929
|
|
927
|
-
<p>URIs (not typically found in SAN extensions)</p>
|
930
|
+
<p>Returns URIs (not typically found in SAN extensions)</p>
|
928
931
|
|
929
932
|
|
930
933
|
</div>
|
@@ -957,11 +960,12 @@ netmask for IPv4 and colon-hexadecimal with optional netmask for IPv6</p>
|
|
957
960
|
|
958
961
|
</div>
|
959
962
|
|
960
|
-
|
961
|
-
Generated on
|
963
|
+
<div id="footer">
|
964
|
+
Generated on Tue Dec 6 17:27:42 2016 by
|
962
965
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
963
|
-
0.
|
966
|
+
0.9.5 (ruby-2.4.0).
|
964
967
|
</div>
|
965
968
|
|
969
|
+
</div>
|
966
970
|
</body>
|
967
971
|
</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::CertificatePolicies
|
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::CertificatePolicies";
|
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 (C)</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">CertificatePolicies</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::CertificatePolicies
|
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/certificate_policies.rb</dd>
|
95
|
+
|
100
96
|
|
101
|
-
|
102
|
-
|
97
|
+
|
98
|
+
|
99
|
+
<dl>
|
100
|
+
<dt>Defined in:</dt>
|
101
|
+
<dd>lib/r509/cert/extensions/certificate_policies.rb</dd>
|
102
|
+
</dl>
|
103
|
+
|
104
|
+
</div>
|
103
105
|
|
104
106
|
<h2>Overview</h2><div class="docstring">
|
105
107
|
<div class="discussion">
|
@@ -125,11 +127,10 @@ to the contents or create a new one.</p>
|
|
125
127
|
|
126
128
|
</div>
|
127
129
|
<h2>Constant Summary</h2>
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
<
|
132
|
-
<div class="docstring">
|
130
|
+
<dl class="constants">
|
131
|
+
|
132
|
+
<dt id="OID-constant" class="">OID =
|
133
|
+
<div class="docstring">
|
133
134
|
<div class="discussion">
|
134
135
|
|
135
136
|
<p>friendly name for CP OID</p>
|
@@ -141,22 +142,21 @@ to the contents or create a new one.</p>
|
|
141
142
|
|
142
143
|
|
143
144
|
</div>
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
145
|
+
</dt>
|
146
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>certificatePolicies</span><span class='tstring_end'>"</span></span></pre></dd>
|
147
|
+
|
148
|
+
</dl>
|
149
149
|
|
150
150
|
|
151
151
|
|
152
152
|
|
153
|
-
<h2>Instance Attribute Summary <small
|
153
|
+
<h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
|
154
154
|
<ul class="summary">
|
155
155
|
|
156
156
|
<li class="public ">
|
157
157
|
<span class="summary_signature">
|
158
158
|
|
159
|
-
<a href="#policies-instance_method" title="#policies (instance method)"
|
159
|
+
<a href="#policies-instance_method" title="#policies (instance method)">#<strong>policies</strong> ⇒ Array </a>
|
160
160
|
|
161
161
|
|
162
162
|
|
@@ -190,7 +190,7 @@ to the contents or create a new one.</p>
|
|
190
190
|
|
191
191
|
<h2>
|
192
192
|
Instance Method Summary
|
193
|
-
<small
|
193
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
194
194
|
</h2>
|
195
195
|
|
196
196
|
<ul class="summary">
|
@@ -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="#initialize-instance_method" title="#initialize (instance method)"
|
201
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(arg) ⇒ CertificatePolicies </a>
|
202
202
|
|
203
203
|
|
204
204
|
|
@@ -224,7 +224,7 @@ to the contents or create a new one.</p>
|
|
224
224
|
<li class="public ">
|
225
225
|
<span class="summary_signature">
|
226
226
|
|
227
|
-
<a href="#to_h-instance_method" title="#to_h (instance method)"
|
227
|
+
<a href="#to_h-instance_method" title="#to_h (instance method)">#<strong>to_h</strong> ⇒ Hash </a>
|
228
228
|
|
229
229
|
|
230
230
|
|
@@ -246,7 +246,7 @@ to the contents or create a new one.</p>
|
|
246
246
|
<li class="public ">
|
247
247
|
<span class="summary_signature">
|
248
248
|
|
249
|
-
<a href="#to_yaml-instance_method" title="#to_yaml (instance method)"
|
249
|
+
<a href="#to_yaml-instance_method" title="#to_yaml (instance method)">#<strong>to_yaml</strong> ⇒ YAML </a>
|
250
250
|
|
251
251
|
|
252
252
|
|
@@ -275,7 +275,7 @@ to the contents or create a new one.</p>
|
|
275
275
|
<div class="method_details first">
|
276
276
|
<h3 class="signature first" id="initialize-instance_method">
|
277
277
|
|
278
|
-
|
278
|
+
#<strong>initialize</strong>(arg) ⇒ <tt><span class='object_link'><a href="" title="R509::Cert::Extensions::CertificatePolicies (class)">CertificatePolicies</a></span></tt>
|
279
279
|
|
280
280
|
|
281
281
|
|
@@ -368,20 +368,20 @@ hash.</p>
|
|
368
368
|
<pre class="lines">
|
369
369
|
|
370
370
|
|
371
|
+
36
|
371
372
|
37
|
372
373
|
38
|
373
374
|
39
|
374
375
|
40
|
375
376
|
41
|
376
377
|
42
|
377
|
-
43
|
378
|
-
44</pre>
|
378
|
+
43</pre>
|
379
379
|
</td>
|
380
380
|
<td>
|
381
|
-
<pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/certificate_policies.rb', line
|
381
|
+
<pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/certificate_policies.rb', line 36</span>
|
382
382
|
|
383
383
|
<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>
|
384
|
-
<span class='kw'>
|
384
|
+
<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>
|
385
385
|
<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>
|
386
386
|
<span class='kw'>end</span>
|
387
387
|
|
@@ -403,7 +403,7 @@ hash.</p>
|
|
403
403
|
<div class="method_details first">
|
404
404
|
<h3 class="signature first" id="policies-instance_method">
|
405
405
|
|
406
|
-
|
406
|
+
#<strong>policies</strong> ⇒ <tt>Array</tt> <span class="extras">(readonly)</span>
|
407
407
|
|
408
408
|
|
409
409
|
|
@@ -412,7 +412,8 @@ hash.</p>
|
|
412
412
|
</h3><div class="docstring">
|
413
413
|
<div class="discussion">
|
414
414
|
|
415
|
-
<p>Array of R509::Cert::Extensions::PolicyObjects::PolicyInformation
|
415
|
+
<p>Returns Array of R509::Cert::Extensions::PolicyObjects::PolicyInformation
|
416
|
+
objects</p>
|
416
417
|
|
417
418
|
|
418
419
|
</div>
|
@@ -444,12 +445,12 @@ hash.</p>
|
|
444
445
|
<pre class="lines">
|
445
446
|
|
446
447
|
|
448
|
+
22
|
447
449
|
23
|
448
|
-
24
|
449
|
-
25</pre>
|
450
|
+
24</pre>
|
450
451
|
</td>
|
451
452
|
<td>
|
452
|
-
<pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/certificate_policies.rb', line
|
453
|
+
<pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/certificate_policies.rb', line 22</span>
|
453
454
|
|
454
455
|
<span class='kw'>def</span> <span class='id identifier rubyid_policies'>policies</span>
|
455
456
|
<span class='ivar'>@policies</span>
|
@@ -469,7 +470,7 @@ hash.</p>
|
|
469
470
|
<div class="method_details first">
|
470
471
|
<h3 class="signature first" id="to_h-instance_method">
|
471
472
|
|
472
|
-
|
473
|
+
#<strong>to_h</strong> ⇒ <tt>Hash</tt>
|
473
474
|
|
474
475
|
|
475
476
|
|
@@ -503,15 +504,15 @@ hash.</p>
|
|
503
504
|
<pre class="lines">
|
504
505
|
|
505
506
|
|
507
|
+
46
|
506
508
|
47
|
507
509
|
48
|
508
510
|
49
|
509
511
|
50
|
510
|
-
51
|
511
|
-
52</pre>
|
512
|
+
51</pre>
|
512
513
|
</td>
|
513
514
|
<td>
|
514
|
-
<pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/certificate_policies.rb', line
|
515
|
+
<pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/certificate_policies.rb', line 46</span>
|
515
516
|
|
516
517
|
<span class='kw'>def</span> <span class='id identifier rubyid_to_h'>to_h</span>
|
517
518
|
<span class='lbrace'>{</span>
|
@@ -527,7 +528,7 @@ hash.</p>
|
|
527
528
|
<div class="method_details ">
|
528
529
|
<h3 class="signature " id="to_yaml-instance_method">
|
529
530
|
|
530
|
-
|
531
|
+
#<strong>to_yaml</strong> ⇒ <tt>YAML</tt>
|
531
532
|
|
532
533
|
|
533
534
|
|
@@ -561,12 +562,12 @@ hash.</p>
|
|
561
562
|
<pre class="lines">
|
562
563
|
|
563
564
|
|
565
|
+
54
|
564
566
|
55
|
565
|
-
56
|
566
|
-
57</pre>
|
567
|
+
56</pre>
|
567
568
|
</td>
|
568
569
|
<td>
|
569
|
-
<pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/certificate_policies.rb', line
|
570
|
+
<pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/certificate_policies.rb', line 54</span>
|
570
571
|
|
571
572
|
<span class='kw'>def</span> <span class='id identifier rubyid_to_yaml'>to_yaml</span>
|
572
573
|
<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>
|
@@ -580,11 +581,12 @@ hash.</p>
|
|
580
581
|
|
581
582
|
</div>
|
582
583
|
|
583
|
-
|
584
|
-
Generated on
|
584
|
+
<div id="footer">
|
585
|
+
Generated on Tue Dec 6 17:27:42 2016 by
|
585
586
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
586
|
-
0.
|
587
|
+
0.9.5 (ruby-2.4.0).
|
587
588
|
</div>
|
588
589
|
|
590
|
+
</div>
|
589
591
|
</body>
|
590
592
|
</html>
|