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::AuthorityKeyIdentifier
|
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::AuthorityKeyIdentifier";
|
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 (A)</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">AuthorityKeyIdentifier</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::AuthorityKeyIdentifier
|
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/authority_key_identifier.rb</dd>
|
95
|
+
|
100
96
|
|
101
|
-
|
102
|
-
|
97
|
+
|
98
|
+
|
99
|
+
<dl>
|
100
|
+
<dt>Defined in:</dt>
|
101
|
+
<dd>lib/r509/cert/extensions/authority_key_identifier.rb</dd>
|
102
|
+
</dl>
|
103
|
+
|
104
|
+
</div>
|
103
105
|
|
104
106
|
<h2>Overview</h2><div class="docstring">
|
105
107
|
<div class="discussion">
|
@@ -126,11 +128,10 @@ to the contents or create a new one.</p>
|
|
126
128
|
|
127
129
|
</div>
|
128
130
|
<h2>Constant Summary</h2>
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
<
|
133
|
-
<div class="docstring">
|
131
|
+
<dl class="constants">
|
132
|
+
|
133
|
+
<dt id="OID-constant" class="">OID =
|
134
|
+
<div class="docstring">
|
134
135
|
<div class="discussion">
|
135
136
|
|
136
137
|
<p>friendly name for Authority Key Identifier OID</p>
|
@@ -142,11 +143,11 @@ to the contents or create a new one.</p>
|
|
142
143
|
|
143
144
|
|
144
145
|
</div>
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
146
|
+
</dt>
|
147
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>authorityKeyIdentifier</span><span class='tstring_end'>"</span></span></pre></dd>
|
148
|
+
|
149
|
+
<dt id="AKI_EXTENSION_DEFAULT-constant" class="">AKI_EXTENSION_DEFAULT =
|
150
|
+
<div class="docstring">
|
150
151
|
<div class="discussion">
|
151
152
|
|
152
153
|
<p>default extension behavior when generating</p>
|
@@ -158,22 +159,21 @@ to the contents or create a new one.</p>
|
|
158
159
|
|
159
160
|
|
160
161
|
</div>
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
162
|
+
</dt>
|
163
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>keyid</span><span class='tstring_end'>"</span></span></pre></dd>
|
164
|
+
|
165
|
+
</dl>
|
166
166
|
|
167
167
|
|
168
168
|
|
169
169
|
|
170
|
-
<h2>Instance Attribute Summary <small
|
170
|
+
<h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
|
171
171
|
<ul class="summary">
|
172
172
|
|
173
173
|
<li class="public ">
|
174
174
|
<span class="summary_signature">
|
175
175
|
|
176
|
-
<a href="#authority_cert_issuer-instance_method" title="#authority_cert_issuer (instance method)"
|
176
|
+
<a href="#authority_cert_issuer-instance_method" title="#authority_cert_issuer (instance method)">#<strong>authority_cert_issuer</strong> ⇒ R509::ASN1::GeneralName<sup>?</sup> </a>
|
177
177
|
|
178
178
|
|
179
179
|
|
@@ -202,7 +202,7 @@ to the contents or create a new one.</p>
|
|
202
202
|
<li class="public ">
|
203
203
|
<span class="summary_signature">
|
204
204
|
|
205
|
-
<a href="#authority_cert_serial_number-instance_method" title="#authority_cert_serial_number (instance method)"
|
205
|
+
<a href="#authority_cert_serial_number-instance_method" title="#authority_cert_serial_number (instance method)">#<strong>authority_cert_serial_number</strong> ⇒ String<sup>?</sup> </a>
|
206
206
|
|
207
207
|
|
208
208
|
|
@@ -232,7 +232,7 @@ colons.</p>
|
|
232
232
|
<li class="public ">
|
233
233
|
<span class="summary_signature">
|
234
234
|
|
235
|
-
<a href="#key_identifier-instance_method" title="#key_identifier (instance method)"
|
235
|
+
<a href="#key_identifier-instance_method" title="#key_identifier (instance method)">#<strong>key_identifier</strong> ⇒ String<sup>?</sup> </a>
|
236
236
|
|
237
237
|
|
238
238
|
|
@@ -266,7 +266,7 @@ colons.</p>
|
|
266
266
|
|
267
267
|
<h2>
|
268
268
|
Instance Method Summary
|
269
|
-
<small
|
269
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
270
270
|
</h2>
|
271
271
|
|
272
272
|
<ul class="summary">
|
@@ -274,7 +274,7 @@ colons.</p>
|
|
274
274
|
<li class="public ">
|
275
275
|
<span class="summary_signature">
|
276
276
|
|
277
|
-
<a href="#initialize-instance_method" title="#initialize (instance method)"
|
277
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(arg) ⇒ AuthorityKeyIdentifier </a>
|
278
278
|
|
279
279
|
|
280
280
|
|
@@ -307,7 +307,7 @@ colons.</p>
|
|
307
307
|
<div class="method_details first">
|
308
308
|
<h3 class="signature first" id="initialize-instance_method">
|
309
309
|
|
310
|
-
|
310
|
+
#<strong>initialize</strong>(arg) ⇒ <tt><span class='object_link'><a href="" title="R509::Cert::Extensions::AuthorityKeyIdentifier (class)">AuthorityKeyIdentifier</a></span></tt>
|
311
311
|
|
312
312
|
|
313
313
|
|
@@ -316,7 +316,7 @@ colons.</p>
|
|
316
316
|
</h3><div class="docstring">
|
317
317
|
<div class="discussion">
|
318
318
|
|
319
|
-
<p>
|
319
|
+
<p>Returns a new instance of AuthorityKeyIdentifier</p>
|
320
320
|
|
321
321
|
|
322
322
|
</div>
|
@@ -370,7 +370,22 @@ colons.</p>
|
|
370
370
|
</span>
|
371
371
|
|
372
372
|
— <div class='inline'>
|
373
|
-
<p>Required if embedding issuer
|
373
|
+
<p>Required if embedding issuer. This should be the issuing certificate's
|
374
|
+
issuer subject name.</p>
|
375
|
+
</div>
|
376
|
+
|
377
|
+
</li>
|
378
|
+
|
379
|
+
<li>
|
380
|
+
<span class="name">:issuer_serial</span>
|
381
|
+
<span class="type">(<tt>Integer</tt>)</span>
|
382
|
+
<span class="default">
|
383
|
+
|
384
|
+
</span>
|
385
|
+
|
386
|
+
— <div class='inline'>
|
387
|
+
<p>Required if embedding issuer. This should be the issuing certificate's
|
388
|
+
issuer serial number.</p>
|
374
389
|
</div>
|
375
390
|
|
376
391
|
</li>
|
@@ -388,8 +403,8 @@ colons.</p>
|
|
388
403
|
— <div class='inline'>
|
389
404
|
<p>For the rules of :value see: <a
|
390
405
|
href="http://www.openssl.org/docs/apps/x509v3_config.html#Authority_Key_Identifier_">www.openssl.org/docs/apps/x509v3_config.html#Authority_Key_Identifier_</a>.
|
391
|
-
If you want to embed issuer you MUST supply :
|
392
|
-
:public_key</p>
|
406
|
+
If you want to embed issuer you MUST supply :issuer_subject and
|
407
|
+
:issuer_serial and not :public_key</p>
|
393
408
|
</div>
|
394
409
|
|
395
410
|
</li>
|
@@ -416,20 +431,20 @@ If you want to embed issuer you MUST supply :issuer_certificate and not
|
|
416
431
|
<pre class="lines">
|
417
432
|
|
418
433
|
|
434
|
+
40
|
419
435
|
41
|
420
436
|
42
|
421
437
|
43
|
422
438
|
44
|
423
439
|
45
|
424
440
|
46
|
425
|
-
47
|
426
|
-
48</pre>
|
441
|
+
47</pre>
|
427
442
|
</td>
|
428
443
|
<td>
|
429
|
-
<pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/authority_key_identifier.rb', line
|
444
|
+
<pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/authority_key_identifier.rb', line 40</span>
|
430
445
|
|
431
446
|
<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>
|
432
|
-
<span class='kw'>
|
447
|
+
<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>
|
433
448
|
<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>
|
434
449
|
<span class='kw'>end</span>
|
435
450
|
|
@@ -451,7 +466,7 @@ If you want to embed issuer you MUST supply :issuer_certificate and not
|
|
451
466
|
<div class="method_details first">
|
452
467
|
<h3 class="signature first" id="authority_cert_issuer-instance_method">
|
453
468
|
|
454
|
-
|
469
|
+
#<strong>authority_cert_issuer</strong> ⇒ <tt><span class='object_link'><a href="../../ASN1/GeneralName.html" title="R509::ASN1::GeneralName (class)">R509::ASN1::GeneralName</a></span></tt><sup>?</sup> <span class="extras">(readonly)</span>
|
455
470
|
|
456
471
|
|
457
472
|
|
@@ -487,12 +502,12 @@ If you want to embed issuer you MUST supply :issuer_certificate and not
|
|
487
502
|
<pre class="lines">
|
488
503
|
|
489
504
|
|
505
|
+
30
|
490
506
|
31
|
491
|
-
32
|
492
|
-
33</pre>
|
507
|
+
32</pre>
|
493
508
|
</td>
|
494
509
|
<td>
|
495
|
-
<pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/authority_key_identifier.rb', line
|
510
|
+
<pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/authority_key_identifier.rb', line 30</span>
|
496
511
|
|
497
512
|
<span class='kw'>def</span> <span class='id identifier rubyid_authority_cert_issuer'>authority_cert_issuer</span>
|
498
513
|
<span class='ivar'>@authority_cert_issuer</span>
|
@@ -507,7 +522,7 @@ If you want to embed issuer you MUST supply :issuer_certificate and not
|
|
507
522
|
<div class="method_details ">
|
508
523
|
<h3 class="signature " id="authority_cert_serial_number-instance_method">
|
509
524
|
|
510
|
-
|
525
|
+
#<strong>authority_cert_serial_number</strong> ⇒ <tt>String</tt><sup>?</sup> <span class="extras">(readonly)</span>
|
511
526
|
|
512
527
|
|
513
528
|
|
@@ -544,12 +559,12 @@ colons</p>
|
|
544
559
|
<pre class="lines">
|
545
560
|
|
546
561
|
|
562
|
+
33
|
547
563
|
34
|
548
|
-
35
|
549
|
-
36</pre>
|
564
|
+
35</pre>
|
550
565
|
</td>
|
551
566
|
<td>
|
552
|
-
<pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/authority_key_identifier.rb', line
|
567
|
+
<pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/authority_key_identifier.rb', line 33</span>
|
553
568
|
|
554
569
|
<span class='kw'>def</span> <span class='id identifier rubyid_authority_cert_serial_number'>authority_cert_serial_number</span>
|
555
570
|
<span class='ivar'>@authority_cert_serial_number</span>
|
@@ -564,7 +579,7 @@ colons</p>
|
|
564
579
|
<div class="method_details ">
|
565
580
|
<h3 class="signature " id="key_identifier-instance_method">
|
566
581
|
|
567
|
-
|
582
|
+
#<strong>key_identifier</strong> ⇒ <tt>String</tt><sup>?</sup> <span class="extras">(readonly)</span>
|
568
583
|
|
569
584
|
|
570
585
|
|
@@ -600,12 +615,12 @@ colons</p>
|
|
600
615
|
<pre class="lines">
|
601
616
|
|
602
617
|
|
618
|
+
27
|
603
619
|
28
|
604
|
-
29
|
605
|
-
30</pre>
|
620
|
+
29</pre>
|
606
621
|
</td>
|
607
622
|
<td>
|
608
|
-
<pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/authority_key_identifier.rb', line
|
623
|
+
<pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/authority_key_identifier.rb', line 27</span>
|
609
624
|
|
610
625
|
<span class='kw'>def</span> <span class='id identifier rubyid_key_identifier'>key_identifier</span>
|
611
626
|
<span class='ivar'>@key_identifier</span>
|
@@ -620,11 +635,12 @@ colons</p>
|
|
620
635
|
|
621
636
|
</div>
|
622
637
|
|
623
|
-
|
624
|
-
Generated on
|
638
|
+
<div id="footer">
|
639
|
+
Generated on Tue Dec 6 17:27:42 2016 by
|
625
640
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
626
|
-
0.
|
641
|
+
0.9.5 (ruby-2.4.0).
|
627
642
|
</div>
|
628
643
|
|
644
|
+
</div>
|
629
645
|
</body>
|
630
646
|
</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::BasicConstraints
|
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::BasicConstraints";
|
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 (B)</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">BasicConstraints</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::BasicConstraints
|
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/basic_constraints.rb</dd>
|
95
|
+
|
100
96
|
|
101
|
-
|
102
|
-
|
97
|
+
|
98
|
+
|
99
|
+
<dl>
|
100
|
+
<dt>Defined in:</dt>
|
101
|
+
<dd>lib/r509/cert/extensions/basic_constraints.rb</dd>
|
102
|
+
</dl>
|
103
|
+
|
104
|
+
</div>
|
103
105
|
|
104
106
|
<h2>Overview</h2><div class="docstring">
|
105
107
|
<div class="discussion">
|
@@ -122,11 +124,10 @@ to the contents or create a new one.</p>
|
|
122
124
|
|
123
125
|
</div>
|
124
126
|
<h2>Constant Summary</h2>
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
<
|
129
|
-
<div class="docstring">
|
127
|
+
<dl class="constants">
|
128
|
+
|
129
|
+
<dt id="OID-constant" class="">OID =
|
130
|
+
<div class="docstring">
|
130
131
|
<div class="discussion">
|
131
132
|
|
132
133
|
<p>friendly name for BasicConstraints OID</p>
|
@@ -138,22 +139,21 @@ to the contents or create a new one.</p>
|
|
138
139
|
|
139
140
|
|
140
141
|
</div>
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
142
|
+
</dt>
|
143
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>basicConstraints</span><span class='tstring_end'>"</span></span></pre></dd>
|
144
|
+
|
145
|
+
</dl>
|
146
146
|
|
147
147
|
|
148
148
|
|
149
149
|
|
150
|
-
<h2>Instance Attribute Summary <small
|
150
|
+
<h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
|
151
151
|
<ul class="summary">
|
152
152
|
|
153
153
|
<li class="public ">
|
154
154
|
<span class="summary_signature">
|
155
155
|
|
156
|
-
<a href="#path_length-instance_method" title="#path_length (instance method)"
|
156
|
+
<a href="#path_length-instance_method" title="#path_length (instance method)">#<strong>path_length</strong> ⇒ Integer<sup>?</sup> </a>
|
157
157
|
|
158
158
|
|
159
159
|
|
@@ -187,7 +187,7 @@ to the contents or create a new one.</p>
|
|
187
187
|
|
188
188
|
<h2>
|
189
189
|
Instance Method Summary
|
190
|
-
<small
|
190
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
191
191
|
</h2>
|
192
192
|
|
193
193
|
<ul class="summary">
|
@@ -195,7 +195,7 @@ to the contents or create a new one.</p>
|
|
195
195
|
<li class="public ">
|
196
196
|
<span class="summary_signature">
|
197
197
|
|
198
|
-
<a href="#allows_sub_ca%3F-instance_method" title="#allows_sub_ca? (instance method)"
|
198
|
+
<a href="#allows_sub_ca%3F-instance_method" title="#allows_sub_ca? (instance method)">#<strong>allows_sub_ca?</strong> ⇒ Boolean </a>
|
199
199
|
|
200
200
|
|
201
201
|
|
@@ -220,7 +220,7 @@ create subordinate signing certificates beneath it.</p>
|
|
220
220
|
<li class="public ">
|
221
221
|
<span class="summary_signature">
|
222
222
|
|
223
|
-
<a href="#initialize-instance_method" title="#initialize (instance method)"
|
223
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(arg) ⇒ BasicConstraints </a>
|
224
224
|
|
225
225
|
|
226
226
|
|
@@ -246,7 +246,7 @@ create subordinate signing certificates beneath it.</p>
|
|
246
246
|
<li class="public ">
|
247
247
|
<span class="summary_signature">
|
248
248
|
|
249
|
-
<a href="#is_ca%3F-instance_method" title="#is_ca? (instance method)"
|
249
|
+
<a href="#is_ca%3F-instance_method" title="#is_ca? (instance method)">#<strong>is_ca?</strong> ⇒ Boolean </a>
|
250
250
|
|
251
251
|
|
252
252
|
|
@@ -270,7 +270,7 @@ create subordinate signing certificates beneath it.</p>
|
|
270
270
|
<li class="public ">
|
271
271
|
<span class="summary_signature">
|
272
272
|
|
273
|
-
<a href="#to_h-instance_method" title="#to_h (instance method)"
|
273
|
+
<a href="#to_h-instance_method" title="#to_h (instance method)">#<strong>to_h</strong> ⇒ Hash </a>
|
274
274
|
|
275
275
|
|
276
276
|
|
@@ -292,7 +292,7 @@ create subordinate signing certificates beneath it.</p>
|
|
292
292
|
<li class="public ">
|
293
293
|
<span class="summary_signature">
|
294
294
|
|
295
|
-
<a href="#to_yaml-instance_method" title="#to_yaml (instance method)"
|
295
|
+
<a href="#to_yaml-instance_method" title="#to_yaml (instance method)">#<strong>to_yaml</strong> ⇒ YAML </a>
|
296
296
|
|
297
297
|
|
298
298
|
|
@@ -321,7 +321,7 @@ create subordinate signing certificates beneath it.</p>
|
|
321
321
|
<div class="method_details first">
|
322
322
|
<h3 class="signature first" id="initialize-instance_method">
|
323
323
|
|
324
|
-
|
324
|
+
#<strong>initialize</strong>(arg) ⇒ <tt><span class='object_link'><a href="" title="R509::Cert::Extensions::BasicConstraints (class)">BasicConstraints</a></span></tt>
|
325
325
|
|
326
326
|
|
327
327
|
|
@@ -417,20 +417,20 @@ subroots. This must be a non-negative integer (>=0).</p>
|
|
417
417
|
<pre class="lines">
|
418
418
|
|
419
419
|
|
420
|
+
27
|
420
421
|
28
|
421
422
|
29
|
422
423
|
30
|
423
424
|
31
|
424
425
|
32
|
425
426
|
33
|
426
|
-
34
|
427
|
-
35</pre>
|
427
|
+
34</pre>
|
428
428
|
</td>
|
429
429
|
<td>
|
430
|
-
<pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/basic_constraints.rb', line
|
430
|
+
<pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/basic_constraints.rb', line 27</span>
|
431
431
|
|
432
432
|
<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>
|
433
|
-
<span class='kw'>
|
433
|
+
<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>
|
434
434
|
<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>
|
435
435
|
<span class='kw'>end</span>
|
436
436
|
|
@@ -452,7 +452,7 @@ subroots. This must be a non-negative integer (>=0).</p>
|
|
452
452
|
<div class="method_details first">
|
453
453
|
<h3 class="signature first" id="path_length-instance_method">
|
454
454
|
|
455
|
-
|
455
|
+
#<strong>path_length</strong> ⇒ <tt>Integer</tt><sup>?</sup> <span class="extras">(readonly)</span>
|
456
456
|
|
457
457
|
|
458
458
|
|
@@ -488,12 +488,12 @@ subroots. This must be a non-negative integer (>=0).</p>
|
|
488
488
|
<pre class="lines">
|
489
489
|
|
490
490
|
|
491
|
+
21
|
491
492
|
22
|
492
|
-
23
|
493
|
-
24</pre>
|
493
|
+
23</pre>
|
494
494
|
</td>
|
495
495
|
<td>
|
496
|
-
<pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/basic_constraints.rb', line
|
496
|
+
<pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/basic_constraints.rb', line 21</span>
|
497
497
|
|
498
498
|
<span class='kw'>def</span> <span class='id identifier rubyid_path_length'>path_length</span>
|
499
499
|
<span class='ivar'>@path_length</span>
|
@@ -513,7 +513,7 @@ subroots. This must be a non-negative integer (>=0).</p>
|
|
513
513
|
<div class="method_details first">
|
514
514
|
<h3 class="signature first" id="allows_sub_ca?-instance_method">
|
515
515
|
|
516
|
-
|
516
|
+
#<strong>allows_sub_ca?</strong> ⇒ <tt>Boolean</tt>
|
517
517
|
|
518
518
|
|
519
519
|
|
@@ -551,19 +551,19 @@ is a pathlen restriction in the cert chain above the current cert</p>
|
|
551
551
|
<pre class="lines">
|
552
552
|
|
553
553
|
|
554
|
+
46
|
554
555
|
47
|
555
556
|
48
|
556
557
|
49
|
557
|
-
50
|
558
|
-
51</pre>
|
558
|
+
50</pre>
|
559
559
|
</td>
|
560
560
|
<td>
|
561
|
-
<pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/basic_constraints.rb', line
|
561
|
+
<pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/basic_constraints.rb', line 46</span>
|
562
562
|
|
563
563
|
<span class='kw'>def</span> <span class='id identifier rubyid_allows_sub_ca?'>allows_sub_ca?</span>
|
564
564
|
<span class='kw'>return</span> <span class='kw'>false</span> <span class='kw'>unless</span> <span class='id identifier rubyid_is_ca?'>is_ca?</span>
|
565
565
|
<span class='kw'>return</span> <span class='kw'>true</span> <span class='kw'>if</span> <span class='ivar'>@path_length</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
566
|
-
<span class='
|
566
|
+
<span class='ivar'>@path_length</span> <span class='op'>></span> <span class='int'>0</span>
|
567
567
|
<span class='kw'>end</span></pre>
|
568
568
|
</td>
|
569
569
|
</tr>
|
@@ -573,7 +573,7 @@ is a pathlen restriction in the cert chain above the current cert</p>
|
|
573
573
|
<div class="method_details ">
|
574
574
|
<h3 class="signature " id="is_ca?-instance_method">
|
575
575
|
|
576
|
-
|
576
|
+
#<strong>is_ca?</strong> ⇒ <tt>Boolean</tt>
|
577
577
|
|
578
578
|
|
579
579
|
|
@@ -609,15 +609,15 @@ is a pathlen restriction in the cert chain above the current cert</p>
|
|
609
609
|
<pre class="lines">
|
610
610
|
|
611
611
|
|
612
|
+
38
|
612
613
|
39
|
613
|
-
40
|
614
|
-
41</pre>
|
614
|
+
40</pre>
|
615
615
|
</td>
|
616
616
|
<td>
|
617
|
-
<pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/basic_constraints.rb', line
|
617
|
+
<pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/basic_constraints.rb', line 38</span>
|
618
618
|
|
619
619
|
<span class='kw'>def</span> <span class='id identifier rubyid_is_ca?'>is_ca?</span>
|
620
|
-
<span class='
|
620
|
+
<span class='ivar'>@is_ca</span> <span class='op'>==</span> <span class='kw'>true</span>
|
621
621
|
<span class='kw'>end</span></pre>
|
622
622
|
</td>
|
623
623
|
</tr>
|
@@ -627,7 +627,7 @@ is a pathlen restriction in the cert chain above the current cert</p>
|
|
627
627
|
<div class="method_details ">
|
628
628
|
<h3 class="signature " id="to_h-instance_method">
|
629
629
|
|
630
|
-
|
630
|
+
#<strong>to_h</strong> ⇒ <tt>Hash</tt>
|
631
631
|
|
632
632
|
|
633
633
|
|
@@ -661,18 +661,18 @@ is a pathlen restriction in the cert chain above the current cert</p>
|
|
661
661
|
<pre class="lines">
|
662
662
|
|
663
663
|
|
664
|
+
53
|
664
665
|
54
|
665
666
|
55
|
666
667
|
56
|
667
|
-
57
|
668
|
-
58</pre>
|
668
|
+
57</pre>
|
669
669
|
</td>
|
670
670
|
<td>
|
671
|
-
<pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/basic_constraints.rb', line
|
671
|
+
<pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/basic_constraints.rb', line 53</span>
|
672
672
|
|
673
673
|
<span class='kw'>def</span> <span class='id identifier rubyid_to_h'>to_h</span>
|
674
674
|
<span class='id identifier rubyid_hash'>hash</span> <span class='op'>=</span> <span class='lbrace'>{</span> <span class='symbol'>:ca</span> <span class='op'>=></span> <span class='ivar'>@is_ca</span><span class='comma'>,</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>
|
675
|
-
<span class='id identifier rubyid_hash'>hash</span><span class='lbracket'>[</span><span class='symbol'>:path_length</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='ivar'>@path_length</span> <span class='kw'>unless</span> <span class='ivar'>@path_length</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='
|
675
|
+
<span class='id identifier rubyid_hash'>hash</span><span class='lbracket'>[</span><span class='symbol'>:path_length</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='ivar'>@path_length</span> <span class='kw'>unless</span> <span class='ivar'>@path_length</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='op'>||</span> <span class='op'>!</span><span class='id identifier rubyid_is_ca?'>is_ca?</span>
|
676
676
|
<span class='id identifier rubyid_hash'>hash</span>
|
677
677
|
<span class='kw'>end</span></pre>
|
678
678
|
</td>
|
@@ -683,7 +683,7 @@ is a pathlen restriction in the cert chain above the current cert</p>
|
|
683
683
|
<div class="method_details ">
|
684
684
|
<h3 class="signature " id="to_yaml-instance_method">
|
685
685
|
|
686
|
-
|
686
|
+
#<strong>to_yaml</strong> ⇒ <tt>YAML</tt>
|
687
687
|
|
688
688
|
|
689
689
|
|
@@ -717,12 +717,12 @@ is a pathlen restriction in the cert chain above the current cert</p>
|
|
717
717
|
<pre class="lines">
|
718
718
|
|
719
719
|
|
720
|
+
60
|
720
721
|
61
|
721
|
-
62
|
722
|
-
63</pre>
|
722
|
+
62</pre>
|
723
723
|
</td>
|
724
724
|
<td>
|
725
|
-
<pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/basic_constraints.rb', line
|
725
|
+
<pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/basic_constraints.rb', line 60</span>
|
726
726
|
|
727
727
|
<span class='kw'>def</span> <span class='id identifier rubyid_to_yaml'>to_yaml</span>
|
728
728
|
<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>
|
@@ -736,11 +736,12 @@ is a pathlen restriction in the cert chain above the current cert</p>
|
|
736
736
|
|
737
737
|
</div>
|
738
738
|
|
739
|
-
|
740
|
-
Generated on
|
739
|
+
<div id="footer">
|
740
|
+
Generated on Tue Dec 6 17:27:41 2016 by
|
741
741
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
742
|
-
0.
|
742
|
+
0.9.5 (ruby-2.4.0).
|
743
743
|
</div>
|
744
744
|
|
745
|
+
</div>
|
745
746
|
</body>
|
746
747
|
</html>
|