r509 0.10.0 → 1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (168) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data.tar.gz.sig +0 -0
  4. data/README.mdown +2 -2
  5. data/Rakefile +2 -3
  6. data/bin/r509 +77 -80
  7. data/bin/r509-parse +4 -4
  8. data/doc/R509.html +60 -60
  9. data/doc/R509/ASN1.html +158 -48
  10. data/doc/R509/ASN1/GeneralName.html +157 -154
  11. data/doc/R509/ASN1/GeneralNames.html +246 -237
  12. data/doc/R509/CRL.html +41 -39
  13. data/doc/R509/CRL/Administrator.html +105 -100
  14. data/doc/R509/CRL/FileReaderWriter.html +146 -98
  15. data/doc/R509/CRL/ReaderWriter.html +57 -54
  16. data/doc/R509/CRL/SQLiteReaderWriter.html +727 -0
  17. data/doc/R509/CRL/SignedList.html +83 -80
  18. data/doc/R509/CSR.html +184 -162
  19. data/doc/R509/Cert.html +271 -269
  20. data/doc/R509/Cert/Extensions.html +62 -63
  21. data/doc/R509/Cert/Extensions/AuthorityInfoAccess.html +138 -108
  22. data/doc/R509/Cert/Extensions/AuthorityKeyIdentifier.html +100 -84
  23. data/doc/R509/Cert/Extensions/BasicConstraints.html +89 -88
  24. data/doc/R509/Cert/Extensions/CRLDistributionPoints.html +87 -83
  25. data/doc/R509/Cert/Extensions/CertificatePolicies.html +78 -76
  26. data/doc/R509/Cert/Extensions/ExtendedKeyUsage.html +128 -125
  27. data/doc/R509/Cert/Extensions/GeneralNamesMixin.html +83 -78
  28. data/doc/R509/Cert/Extensions/InhibitAnyPolicy.html +69 -67
  29. data/doc/R509/Cert/Extensions/KeyUsage.html +138 -135
  30. data/doc/R509/Cert/Extensions/NameConstraints.html +82 -81
  31. data/doc/R509/Cert/Extensions/NoticeReference.html +59 -56
  32. data/doc/R509/Cert/Extensions/OCSPNoCheck.html +70 -69
  33. data/doc/R509/Cert/Extensions/PolicyConstraints.html +71 -69
  34. data/doc/R509/Cert/Extensions/PolicyInformation.html +63 -60
  35. data/doc/R509/Cert/Extensions/PolicyQualifiers.html +60 -57
  36. data/doc/R509/Cert/Extensions/SubjectAlternativeName.html +91 -87
  37. data/doc/R509/Cert/Extensions/SubjectKeyIdentifier.html +72 -71
  38. data/doc/R509/Cert/Extensions/UserNotice.html +60 -57
  39. data/doc/R509/Cert/Extensions/ValidationMixin.html +43 -40
  40. data/doc/R509/CertificateAuthority.html +39 -37
  41. data/doc/R509/CertificateAuthority/OptionsBuilder.html +58 -55
  42. data/doc/R509/CertificateAuthority/Signer.html +277 -60
  43. data/doc/R509/Config.html +40 -38
  44. data/doc/R509/Config/CAConfig.html +255 -188
  45. data/doc/R509/Config/CAConfigPool.html +64 -61
  46. data/doc/R509/Config/CertProfile.html +119 -116
  47. data/doc/R509/Config/SubjectItemPolicy.html +94 -93
  48. data/doc/R509/Engine.html +60 -56
  49. data/doc/R509/Helpers.html +99 -96
  50. data/doc/R509/MessageDigest.html +69 -68
  51. data/doc/R509/NameSanitizer.html +51 -48
  52. data/doc/R509/OCSP.html +39 -37
  53. data/doc/R509/OCSP/Request.html +39 -37
  54. data/doc/R509/OCSP/Request/Nonce.html +67 -67
  55. data/doc/R509/OCSP/Response.html +93 -90
  56. data/doc/R509/OIDMapper.html +48 -46
  57. data/doc/R509/PrivateKey.html +170 -169
  58. data/doc/R509/R509Error.html +45 -42
  59. data/doc/R509/SPKI.html +99 -89
  60. data/doc/R509/Subject.html +86 -83
  61. data/doc/R509/Validity.html +57 -57
  62. data/doc/R509/Validity/Checker.html +63 -93
  63. data/doc/R509/Validity/DefaultChecker.html +58 -55
  64. data/doc/R509/Validity/DefaultWriter.html +62 -59
  65. data/doc/R509/Validity/Status.html +77 -74
  66. data/doc/R509/Validity/Writer.html +75 -123
  67. data/doc/_index.html +37 -31
  68. data/doc/class_list.html +25 -27
  69. data/doc/css/full_list.css +32 -31
  70. data/doc/css/style.css +221 -78
  71. data/doc/file.CONTRIBUTING.html +29 -30
  72. data/doc/file.LICENSE.html +29 -30
  73. data/doc/file.README.html +31 -32
  74. data/doc/file.YAML.html +33 -34
  75. data/doc/file.r509.html +39 -48
  76. data/doc/file_list.html +39 -30
  77. data/doc/frames.html +10 -21
  78. data/doc/index.html +31 -32
  79. data/doc/js/app.js +100 -71
  80. data/doc/js/full_list.js +168 -130
  81. data/doc/method_list.html +1788 -1119
  82. data/doc/top-level-namespace.html +45 -49
  83. data/lib/r509.rb +21 -7
  84. data/lib/r509/asn1.rb +45 -32
  85. data/lib/r509/cert.rb +45 -51
  86. data/lib/r509/cert/extensions/authority_info_access.rb +49 -23
  87. data/lib/r509/cert/extensions/authority_key_identifier.rb +16 -11
  88. data/lib/r509/cert/extensions/base.rb +22 -23
  89. data/lib/r509/cert/extensions/basic_constraints.rb +11 -12
  90. data/lib/r509/cert/extensions/certificate_policies.rb +26 -26
  91. data/lib/r509/cert/extensions/crl_distribution_points.rb +5 -7
  92. data/lib/r509/cert/extensions/extended_key_usage.rb +5 -5
  93. data/lib/r509/cert/extensions/inhibit_any_policy.rb +4 -3
  94. data/lib/r509/cert/extensions/key_usage.rb +5 -5
  95. data/lib/r509/cert/extensions/name_constraints.rb +16 -16
  96. data/lib/r509/cert/extensions/ocsp_no_check.rb +3 -3
  97. data/lib/r509/cert/extensions/policy_constraints.rb +8 -8
  98. data/lib/r509/cert/extensions/subject_alternative_name.rb +5 -4
  99. data/lib/r509/cert/extensions/subject_key_identifier.rb +5 -5
  100. data/lib/r509/cert/extensions/validation_mixin.rb +11 -10
  101. data/lib/r509/certificate_authority/options_builder.rb +19 -21
  102. data/lib/r509/certificate_authority/signer.rb +26 -27
  103. data/lib/r509/config.rb +1 -0
  104. data/lib/r509/config/ca_config.rb +70 -75
  105. data/lib/r509/config/cert_profile.rb +9 -8
  106. data/lib/r509/config/subject_item_policy.rb +25 -28
  107. data/lib/r509/crl/administrator.rb +19 -20
  108. data/lib/r509/crl/reader_writer.rb +10 -8
  109. data/lib/r509/crl/signed_list.rb +4 -4
  110. data/lib/r509/crl/sqlite_reader_writer.rb +75 -0
  111. data/lib/r509/csr.rb +54 -60
  112. data/lib/r509/ec-hack.rb +3 -2
  113. data/lib/r509/engine.rb +5 -6
  114. data/lib/r509/exceptions.rb +1 -1
  115. data/lib/r509/helpers.rb +11 -14
  116. data/lib/r509/io_helpers.rb +7 -7
  117. data/lib/r509/message_digest.rb +5 -6
  118. data/lib/r509/ocsp.rb +11 -13
  119. data/lib/r509/oid_mapper.rb +2 -2
  120. data/lib/r509/private_key.rb +28 -32
  121. data/lib/r509/spki.rb +17 -20
  122. data/lib/r509/subject.rb +26 -27
  123. data/lib/r509/trollop.rb +1 -0
  124. data/lib/r509/validity.rb +30 -21
  125. data/lib/r509/version.rb +4 -2
  126. data/r509.yaml +9 -17
  127. data/spec/asn1_spec.rb +145 -146
  128. data/spec/cert/extensions/authority_info_access_spec.rb +41 -41
  129. data/spec/cert/extensions/authority_key_identifier_spec.rb +29 -23
  130. data/spec/cert/extensions/base_spec.rb +38 -34
  131. data/spec/cert/extensions/basic_constraints_spec.rb +21 -21
  132. data/spec/cert/extensions/certificate_policies_spec.rb +99 -87
  133. data/spec/cert/extensions/crl_distribution_points_spec.rb +24 -25
  134. data/spec/cert/extensions/extended_key_usage_spec.rb +40 -36
  135. data/spec/cert/extensions/inhibit_any_policy_spec.rb +12 -12
  136. data/spec/cert/extensions/key_usage_spec.rb +44 -39
  137. data/spec/cert/extensions/name_constraints_spec.rb +83 -83
  138. data/spec/cert/extensions/ocsp_no_check_spec.rb +10 -10
  139. data/spec/cert/extensions/policy_constraints_spec.rb +19 -19
  140. data/spec/cert/extensions/subject_alternative_name_spec.rb +46 -47
  141. data/spec/cert/extensions/subject_key_identifier_spec.rb +10 -10
  142. data/spec/cert_spec.rb +105 -101
  143. data/spec/certificate_authority/options_builder_spec.rb +90 -90
  144. data/spec/certificate_authority/signer_spec.rb +41 -41
  145. data/spec/config/ca_config_spec.rb +169 -119
  146. data/spec/config/cert_profile_spec.rb +33 -33
  147. data/spec/config/subject_item_policy_spec.rb +22 -22
  148. data/spec/crl/administrator_spec.rb +65 -65
  149. data/spec/crl/reader_writer_spec.rb +20 -19
  150. data/spec/crl/signed_list_spec.rb +26 -26
  151. data/spec/crl/sqlite_reader_writer_spec.rb +42 -0
  152. data/spec/csr_spec.rb +149 -145
  153. data/spec/engine_spec.rb +14 -14
  154. data/spec/fixtures.rb +56 -39
  155. data/spec/fixtures/crl_list.sql +13 -0
  156. data/spec/fixtures/csr1.der +0 -0
  157. data/spec/fixtures/csr1.pem +6 -6
  158. data/spec/message_digest_spec.rb +43 -43
  159. data/spec/ocsp_spec.rb +25 -25
  160. data/spec/oid_mapper_spec.rb +18 -19
  161. data/spec/private_key_spec.rb +79 -81
  162. data/spec/r509_spec.rb +16 -16
  163. data/spec/spec_helper.rb +3 -3
  164. data/spec/spki_spec.rb +94 -94
  165. data/spec/subject_spec.rb +107 -107
  166. data/spec/validity_spec.rb +25 -25
  167. metadata +113 -111
  168. metadata.gz.sig +0 -0
@@ -1,12 +1,12 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
1
+ <!DOCTYPE html>
2
+ <html>
4
3
  <head>
5
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
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::KeyUsage
8
8
 
9
- &mdash; Documentation by YARD 0.8.6.1
9
+ &mdash; 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
- hasFrames = window.top.frames.main ? true : false;
18
+ pathId = "R509::Cert::Extensions::KeyUsage";
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 id="header">
32
- <div id="menu">
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 (K)</a> &raquo;
35
40
  <span class='title'><span class='object_link'><a href="../../../R509.html" title="R509 (module)">R509</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../../Cert.html" title="R509::Cert (class)">Cert</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Extensions.html" title="R509::Cert::Extensions (module)">Extensions</a></span></span>
36
41
  &raquo;
37
42
  <span class="title">KeyUsage</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
- <div id="search">
46
+ <div id="search">
44
47
 
45
48
  <a class="full_list_link" id="class_list_link"
46
49
  href="../../../class_list.html">
47
- Class List
48
- </a>
49
-
50
- <a class="full_list_link" id="method_list_link"
51
- href="../../../method_list.html">
52
- Method List
53
- </a>
54
-
55
- <a class="full_list_link" id="file_list_link"
56
- href="../../../file_list.html">
57
- File List
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
- <div class="clear"></div>
62
- </div>
59
+ <div class="clear"></div>
60
+ </div>
63
61
 
64
- <iframe id="search_frame"></iframe>
62
+ <iframe id="search_frame" src="../../../class_list.html"></iframe>
65
63
 
66
- <div id="content"><h1>Class: R509::Cert::Extensions::KeyUsage
64
+ <div id="content"><h1>Class: R509::Cert::Extensions::KeyUsage
67
65
 
68
66
 
69
67
 
70
68
  </h1>
71
-
72
- <dl class="box">
69
+ <div class="box_info">
73
70
 
74
- <dt class="r1">Inherits:</dt>
75
- <dd class="r1">
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
- </dd>
89
-
86
+ </dd>
87
+ </dl>
88
+
89
+
90
90
 
91
91
 
92
-
93
92
 
94
-
95
- <dt class="r2">Includes:</dt>
96
- <dd class="r2"><span class='object_link'><a href="ValidationMixin.html" title="R509::Cert::Extensions::ValidationMixin (module)">ValidationMixin</a></span></dd>
97
-
98
-
93
+
94
+ <dl>
95
+ <dt>Includes:</dt>
96
+ <dd><span class='object_link'><a href="ValidationMixin.html" title="R509::Cert::Extensions::ValidationMixin (module)">ValidationMixin</a></span></dd>
97
+ </dl>
99
98
 
100
99
 
100
+
101
+
102
+
101
103
 
102
- <dt class="r1 last">Defined in:</dt>
103
- <dd class="r1 last">lib/r509/cert/extensions/key_usage.rb</dd>
104
+ <dl>
105
+ <dt>Defined in:</dt>
106
+ <dd>lib/r509/cert/extensions/key_usage.rb</dd>
107
+ </dl>
104
108
 
105
- </dl>
106
- <div class="clear"></div>
109
+ </div>
107
110
 
108
111
  <h2>Overview</h2><div class="docstring">
109
112
  <div class="discussion">
@@ -131,11 +134,10 @@ to the contents or create a new one.</p>
131
134
 
132
135
  </div>
133
136
  <h2>Constant Summary</h2>
134
-
135
- <dl class="constants">
136
-
137
- <dt id="OID-constant" class="">OID =
138
- <div class="docstring">
137
+ <dl class="constants">
138
+
139
+ <dt id="OID-constant" class="">OID =
140
+ <div class="docstring">
139
141
  <div class="discussion">
140
142
 
141
143
  <p>friendly name for KeyUsage OID</p>
@@ -147,11 +149,11 @@ to the contents or create a new one.</p>
147
149
 
148
150
 
149
151
  </div>
150
- </dt>
151
- <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>keyUsage</span><span class='tstring_end'>&quot;</span></span></pre></dd>
152
-
153
- <dt id="AU_DIGITAL_SIGNATURE-constant" class="">AU_DIGITAL_SIGNATURE =
154
- <div class="docstring">
152
+ </dt>
153
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>keyUsage</span><span class='tstring_end'>&quot;</span></span></pre></dd>
154
+
155
+ <dt id="AU_DIGITAL_SIGNATURE-constant" class="">AU_DIGITAL_SIGNATURE =
156
+ <div class="docstring">
155
157
  <div class="discussion">
156
158
 
157
159
  <p>OpenSSL short name for Digital Signature</p>
@@ -163,11 +165,11 @@ to the contents or create a new one.</p>
163
165
 
164
166
 
165
167
  </div>
166
- </dt>
167
- <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>digitalSignature</span><span class='tstring_end'>&quot;</span></span></pre></dd>
168
-
169
- <dt id="AU_NON_REPUDIATION-constant" class="">AU_NON_REPUDIATION =
170
- <div class="docstring">
168
+ </dt>
169
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>digitalSignature</span><span class='tstring_end'>&quot;</span></span></pre></dd>
170
+
171
+ <dt id="AU_NON_REPUDIATION-constant" class="">AU_NON_REPUDIATION =
172
+ <div class="docstring">
171
173
  <div class="discussion">
172
174
 
173
175
  <p>OpenSSL short name for Non Repudiation (also known as content commitment)</p>
@@ -179,11 +181,11 @@ to the contents or create a new one.</p>
179
181
 
180
182
 
181
183
  </div>
182
- </dt>
183
- <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>nonRepudiation</span><span class='tstring_end'>&quot;</span></span></pre></dd>
184
-
185
- <dt id="AU_KEY_ENCIPHERMENT-constant" class="">AU_KEY_ENCIPHERMENT =
186
- <div class="docstring">
184
+ </dt>
185
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>nonRepudiation</span><span class='tstring_end'>&quot;</span></span></pre></dd>
186
+
187
+ <dt id="AU_KEY_ENCIPHERMENT-constant" class="">AU_KEY_ENCIPHERMENT =
188
+ <div class="docstring">
187
189
  <div class="discussion">
188
190
 
189
191
  <p>OpenSSL short name for Key Encipherment</p>
@@ -195,11 +197,11 @@ to the contents or create a new one.</p>
195
197
 
196
198
 
197
199
  </div>
198
- </dt>
199
- <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>keyEncipherment</span><span class='tstring_end'>&quot;</span></span></pre></dd>
200
-
201
- <dt id="AU_DATA_ENCIPHERMENT-constant" class="">AU_DATA_ENCIPHERMENT =
202
- <div class="docstring">
200
+ </dt>
201
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>keyEncipherment</span><span class='tstring_end'>&quot;</span></span></pre></dd>
202
+
203
+ <dt id="AU_DATA_ENCIPHERMENT-constant" class="">AU_DATA_ENCIPHERMENT =
204
+ <div class="docstring">
203
205
  <div class="discussion">
204
206
 
205
207
  <p>OpenSSL short name for Data Encipherment</p>
@@ -211,11 +213,11 @@ to the contents or create a new one.</p>
211
213
 
212
214
 
213
215
  </div>
214
- </dt>
215
- <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>dataEncipherment</span><span class='tstring_end'>&quot;</span></span></pre></dd>
216
-
217
- <dt id="AU_KEY_AGREEMENT-constant" class="">AU_KEY_AGREEMENT =
218
- <div class="docstring">
216
+ </dt>
217
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>dataEncipherment</span><span class='tstring_end'>&quot;</span></span></pre></dd>
218
+
219
+ <dt id="AU_KEY_AGREEMENT-constant" class="">AU_KEY_AGREEMENT =
220
+ <div class="docstring">
219
221
  <div class="discussion">
220
222
 
221
223
  <p>OpenSSL short name for Key Agreement</p>
@@ -227,11 +229,11 @@ to the contents or create a new one.</p>
227
229
 
228
230
 
229
231
  </div>
230
- </dt>
231
- <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>keyAgreement</span><span class='tstring_end'>&quot;</span></span></pre></dd>
232
-
233
- <dt id="AU_KEY_CERT_SIGN-constant" class="">AU_KEY_CERT_SIGN =
234
- <div class="docstring">
232
+ </dt>
233
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>keyAgreement</span><span class='tstring_end'>&quot;</span></span></pre></dd>
234
+
235
+ <dt id="AU_KEY_CERT_SIGN-constant" class="">AU_KEY_CERT_SIGN =
236
+ <div class="docstring">
235
237
  <div class="discussion">
236
238
 
237
239
  <p>OpenSSL short name for Certificate Sign</p>
@@ -243,11 +245,11 @@ to the contents or create a new one.</p>
243
245
 
244
246
 
245
247
  </div>
246
- </dt>
247
- <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>keyCertSign</span><span class='tstring_end'>&quot;</span></span></pre></dd>
248
-
249
- <dt id="AU_CRL_SIGN-constant" class="">AU_CRL_SIGN =
250
- <div class="docstring">
248
+ </dt>
249
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>keyCertSign</span><span class='tstring_end'>&quot;</span></span></pre></dd>
250
+
251
+ <dt id="AU_CRL_SIGN-constant" class="">AU_CRL_SIGN =
252
+ <div class="docstring">
251
253
  <div class="discussion">
252
254
 
253
255
  <p>OpenSSL short name for CRL Sign</p>
@@ -259,11 +261,11 @@ to the contents or create a new one.</p>
259
261
 
260
262
 
261
263
  </div>
262
- </dt>
263
- <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>cRLSign</span><span class='tstring_end'>&quot;</span></span></pre></dd>
264
-
265
- <dt id="AU_ENCIPHER_ONLY-constant" class="">AU_ENCIPHER_ONLY =
266
- <div class="docstring">
264
+ </dt>
265
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>cRLSign</span><span class='tstring_end'>&quot;</span></span></pre></dd>
266
+
267
+ <dt id="AU_ENCIPHER_ONLY-constant" class="">AU_ENCIPHER_ONLY =
268
+ <div class="docstring">
267
269
  <div class="discussion">
268
270
 
269
271
  <p>OpenSSL short name for Encipher Only</p>
@@ -275,11 +277,11 @@ to the contents or create a new one.</p>
275
277
 
276
278
 
277
279
  </div>
278
- </dt>
279
- <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>encipherOnly</span><span class='tstring_end'>&quot;</span></span></pre></dd>
280
-
281
- <dt id="AU_DECIPHER_ONLY-constant" class="">AU_DECIPHER_ONLY =
282
- <div class="docstring">
280
+ </dt>
281
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>encipherOnly</span><span class='tstring_end'>&quot;</span></span></pre></dd>
282
+
283
+ <dt id="AU_DECIPHER_ONLY-constant" class="">AU_DECIPHER_ONLY =
284
+ <div class="docstring">
283
285
  <div class="discussion">
284
286
 
285
287
  <p>OpenSSL short name for Decipher Only</p>
@@ -291,22 +293,21 @@ to the contents or create a new one.</p>
291
293
 
292
294
 
293
295
  </div>
294
- </dt>
295
- <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>decipherOnly</span><span class='tstring_end'>&quot;</span></span></pre></dd>
296
-
297
- </dl>
298
-
296
+ </dt>
297
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>decipherOnly</span><span class='tstring_end'>&quot;</span></span></pre></dd>
298
+
299
+ </dl>
299
300
 
300
301
 
301
302
 
302
303
 
303
- <h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
304
+ <h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
304
305
  <ul class="summary">
305
306
 
306
307
  <li class="public ">
307
308
  <span class="summary_signature">
308
309
 
309
- <a href="#allowed_uses-instance_method" title="#allowed_uses (instance method)">- (Array<sup>?</sup>) <strong>allowed_uses</strong> </a>
310
+ <a href="#allowed_uses-instance_method" title="#allowed_uses (instance method)">#<strong>allowed_uses</strong> &#x21d2; Array<sup>?</sup> </a>
310
311
 
311
312
 
312
313
 
@@ -340,7 +341,7 @@ to the contents or create a new one.</p>
340
341
 
341
342
  <h2>
342
343
  Instance Method Summary
343
- <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
344
+ <small><a href="#" class="summary_toggle">collapse</a></small>
344
345
  </h2>
345
346
 
346
347
  <ul class="summary">
@@ -348,7 +349,7 @@ to the contents or create a new one.</p>
348
349
  <li class="public ">
349
350
  <span class="summary_signature">
350
351
 
351
- <a href="#allows%3F-instance_method" title="#allows? (instance method)">- (Boolean) <strong>allows?</strong>(friendly_use_name) </a>
352
+ <a href="#allows%3F-instance_method" title="#allows? (instance method)">#<strong>allows?</strong>(friendly_use_name) &#x21d2; Boolean </a>
352
353
 
353
354
 
354
355
 
@@ -372,7 +373,7 @@ to the contents or create a new one.</p>
372
373
  <li class="public ">
373
374
  <span class="summary_signature">
374
375
 
375
- <a href="#crl_sign%3F-instance_method" title="#crl_sign? (instance method)">- (Boolean) <strong>crl_sign?</strong> </a>
376
+ <a href="#crl_sign%3F-instance_method" title="#crl_sign? (instance method)">#<strong>crl_sign?</strong> &#x21d2; Boolean </a>
376
377
 
377
378
 
378
379
 
@@ -394,7 +395,7 @@ to the contents or create a new one.</p>
394
395
  <li class="public ">
395
396
  <span class="summary_signature">
396
397
 
397
- <a href="#data_encipherment%3F-instance_method" title="#data_encipherment? (instance method)">- (Boolean) <strong>data_encipherment?</strong> </a>
398
+ <a href="#data_encipherment%3F-instance_method" title="#data_encipherment? (instance method)">#<strong>data_encipherment?</strong> &#x21d2; Boolean </a>
398
399
 
399
400
 
400
401
 
@@ -416,7 +417,7 @@ to the contents or create a new one.</p>
416
417
  <li class="public ">
417
418
  <span class="summary_signature">
418
419
 
419
- <a href="#decipher_only%3F-instance_method" title="#decipher_only? (instance method)">- (Boolean) <strong>decipher_only?</strong> </a>
420
+ <a href="#decipher_only%3F-instance_method" title="#decipher_only? (instance method)">#<strong>decipher_only?</strong> &#x21d2; Boolean </a>
420
421
 
421
422
 
422
423
 
@@ -438,7 +439,7 @@ to the contents or create a new one.</p>
438
439
  <li class="public ">
439
440
  <span class="summary_signature">
440
441
 
441
- <a href="#digital_signature%3F-instance_method" title="#digital_signature? (instance method)">- (Boolean) <strong>digital_signature?</strong> </a>
442
+ <a href="#digital_signature%3F-instance_method" title="#digital_signature? (instance method)">#<strong>digital_signature?</strong> &#x21d2; Boolean </a>
442
443
 
443
444
 
444
445
 
@@ -460,7 +461,7 @@ to the contents or create a new one.</p>
460
461
  <li class="public ">
461
462
  <span class="summary_signature">
462
463
 
463
- <a href="#encipher_only%3F-instance_method" title="#encipher_only? (instance method)">- (Boolean) <strong>encipher_only?</strong> </a>
464
+ <a href="#encipher_only%3F-instance_method" title="#encipher_only? (instance method)">#<strong>encipher_only?</strong> &#x21d2; Boolean </a>
464
465
 
465
466
 
466
467
 
@@ -482,7 +483,7 @@ to the contents or create a new one.</p>
482
483
  <li class="public ">
483
484
  <span class="summary_signature">
484
485
 
485
- <a href="#initialize-instance_method" title="#initialize (instance method)">- (KeyUsage) <strong>initialize</strong>(arg) </a>
486
+ <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(arg) &#x21d2; KeyUsage </a>
486
487
 
487
488
 
488
489
 
@@ -508,7 +509,7 @@ to the contents or create a new one.</p>
508
509
  <li class="public ">
509
510
  <span class="summary_signature">
510
511
 
511
- <a href="#key_agreement%3F-instance_method" title="#key_agreement? (instance method)">- (Boolean) <strong>key_agreement?</strong> </a>
512
+ <a href="#key_agreement%3F-instance_method" title="#key_agreement? (instance method)">#<strong>key_agreement?</strong> &#x21d2; Boolean </a>
512
513
 
513
514
 
514
515
 
@@ -530,7 +531,7 @@ to the contents or create a new one.</p>
530
531
  <li class="public ">
531
532
  <span class="summary_signature">
532
533
 
533
- <a href="#key_cert_sign%3F-instance_method" title="#key_cert_sign? (instance method)">- (Boolean) <strong>key_cert_sign?</strong> </a>
534
+ <a href="#key_cert_sign%3F-instance_method" title="#key_cert_sign? (instance method)">#<strong>key_cert_sign?</strong> &#x21d2; Boolean </a>
534
535
 
535
536
 
536
537
 
@@ -552,7 +553,7 @@ to the contents or create a new one.</p>
552
553
  <li class="public ">
553
554
  <span class="summary_signature">
554
555
 
555
- <a href="#key_encipherment%3F-instance_method" title="#key_encipherment? (instance method)">- (Boolean) <strong>key_encipherment?</strong> </a>
556
+ <a href="#key_encipherment%3F-instance_method" title="#key_encipherment? (instance method)">#<strong>key_encipherment?</strong> &#x21d2; Boolean </a>
556
557
 
557
558
 
558
559
 
@@ -574,7 +575,7 @@ to the contents or create a new one.</p>
574
575
  <li class="public ">
575
576
  <span class="summary_signature">
576
577
 
577
- <a href="#non_repudiation%3F-instance_method" title="#non_repudiation? (instance method)">- (Boolean) <strong>non_repudiation?</strong> </a>
578
+ <a href="#non_repudiation%3F-instance_method" title="#non_repudiation? (instance method)">#<strong>non_repudiation?</strong> &#x21d2; Boolean </a>
578
579
 
579
580
 
580
581
 
@@ -596,7 +597,7 @@ to the contents or create a new one.</p>
596
597
  <li class="public ">
597
598
  <span class="summary_signature">
598
599
 
599
- <a href="#to_h-instance_method" title="#to_h (instance method)">- (Hash) <strong>to_h</strong> </a>
600
+ <a href="#to_h-instance_method" title="#to_h (instance method)">#<strong>to_h</strong> &#x21d2; Hash </a>
600
601
 
601
602
 
602
603
 
@@ -618,7 +619,7 @@ to the contents or create a new one.</p>
618
619
  <li class="public ">
619
620
  <span class="summary_signature">
620
621
 
621
- <a href="#to_yaml-instance_method" title="#to_yaml (instance method)">- (YAML) <strong>to_yaml</strong> </a>
622
+ <a href="#to_yaml-instance_method" title="#to_yaml (instance method)">#<strong>to_yaml</strong> &#x21d2; YAML </a>
622
623
 
623
624
 
624
625
 
@@ -649,7 +650,7 @@ to the contents or create a new one.</p>
649
650
  <div class="method_details first">
650
651
  <h3 class="signature first" id="initialize-instance_method">
651
652
 
652
- - (<tt><span class='object_link'><a href="" title="R509::Cert::Extensions::KeyUsage (class)">KeyUsage</a></span></tt>) <strong>initialize</strong>(arg)
653
+ #<strong>initialize</strong>(arg) &#x21d2; <tt><span class='object_link'><a href="" title="R509::Cert::Extensions::KeyUsage (class)">KeyUsage</a></span></tt>
653
654
 
654
655
 
655
656
 
@@ -670,7 +671,8 @@ to the contents or create a new one.</p>
670
671
  <span class='id identifier rubyid_keyCertSign'>keyCertSign</span>
671
672
  <span class='id identifier rubyid_cRLSign'>cRLSign</span>
672
673
  <span class='id identifier rubyid_encipherOnly'>encipherOnly</span>
673
- <span class='id identifier rubyid_decipherOnly'>decipherOnly</span></code></pre>
674
+ <span class='id identifier rubyid_decipherOnly'>decipherOnly</span>
675
+ </code></pre>
674
676
 
675
677
 
676
678
  </div>
@@ -758,7 +760,7 @@ to the contents or create a new one.</p>
758
760
  <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/key_usage.rb', line 71</span>
759
761
 
760
762
  <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>
761
- <span class='kw'>if</span> <span class='kw'>not</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>
763
+ <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>
762
764
  <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>
763
765
  <span class='kw'>end</span>
764
766
 
@@ -780,7 +782,7 @@ to the contents or create a new one.</p>
780
782
  <div class="method_details first">
781
783
  <h3 class="signature first" id="allowed_uses-instance_method">
782
784
 
783
- - (<tt>Array</tt><sup>?</sup>) <strong>allowed_uses</strong> <span class="extras">(readonly)</span>
785
+ #<strong>allowed_uses</strong> &#x21d2; <tt>Array</tt><sup>?</sup> <span class="extras">(readonly)</span>
784
786
 
785
787
 
786
788
 
@@ -841,7 +843,7 @@ to the contents or create a new one.</p>
841
843
  <div class="method_details first">
842
844
  <h3 class="signature first" id="allows?-instance_method">
843
845
 
844
- - (<tt>Boolean</tt>) <strong>allows?</strong>(friendly_use_name)
846
+ #<strong>allows?</strong>(friendly_use_name) &#x21d2; <tt>Boolean</tt>
845
847
 
846
848
 
847
849
 
@@ -905,8 +907,8 @@ AU_* constants in this class</p>
905
907
  <td>
906
908
  <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions/key_usage.rb', line 84</span>
907
909
 
908
- <span class='kw'>def</span> <span class='id identifier rubyid_allows?'>allows?</span><span class='lparen'>(</span> <span class='id identifier rubyid_friendly_use_name'>friendly_use_name</span> <span class='rparen'>)</span>
909
- <span class='ivar'>@allowed_uses</span><span class='period'>.</span><span class='id identifier rubyid_include?'>include?</span><span class='lparen'>(</span> <span class='id identifier rubyid_friendly_use_name'>friendly_use_name</span> <span class='rparen'>)</span>
910
+ <span class='kw'>def</span> <span class='id identifier rubyid_allows?'>allows?</span><span class='lparen'>(</span><span class='id identifier rubyid_friendly_use_name'>friendly_use_name</span><span class='rparen'>)</span>
911
+ <span class='ivar'>@allowed_uses</span><span class='period'>.</span><span class='id identifier rubyid_include?'>include?</span><span class='lparen'>(</span><span class='id identifier rubyid_friendly_use_name'>friendly_use_name</span><span class='rparen'>)</span>
910
912
  <span class='kw'>end</span></pre>
911
913
  </td>
912
914
  </tr>
@@ -916,7 +918,7 @@ AU_* constants in this class</p>
916
918
  <div class="method_details ">
917
919
  <h3 class="signature " id="crl_sign?-instance_method">
918
920
 
919
- - (<tt>Boolean</tt>) <strong>crl_sign?</strong>
921
+ #<strong>crl_sign?</strong> &#x21d2; <tt>Boolean</tt>
920
922
 
921
923
 
922
924
 
@@ -968,7 +970,7 @@ AU_* constants in this class</p>
968
970
  <div class="method_details ">
969
971
  <h3 class="signature " id="data_encipherment?-instance_method">
970
972
 
971
- - (<tt>Boolean</tt>) <strong>data_encipherment?</strong>
973
+ #<strong>data_encipherment?</strong> &#x21d2; <tt>Boolean</tt>
972
974
 
973
975
 
974
976
 
@@ -1020,7 +1022,7 @@ AU_* constants in this class</p>
1020
1022
  <div class="method_details ">
1021
1023
  <h3 class="signature " id="decipher_only?-instance_method">
1022
1024
 
1023
- - (<tt>Boolean</tt>) <strong>decipher_only?</strong>
1025
+ #<strong>decipher_only?</strong> &#x21d2; <tt>Boolean</tt>
1024
1026
 
1025
1027
 
1026
1028
 
@@ -1072,7 +1074,7 @@ AU_* constants in this class</p>
1072
1074
  <div class="method_details ">
1073
1075
  <h3 class="signature " id="digital_signature?-instance_method">
1074
1076
 
1075
- - (<tt>Boolean</tt>) <strong>digital_signature?</strong>
1077
+ #<strong>digital_signature?</strong> &#x21d2; <tt>Boolean</tt>
1076
1078
 
1077
1079
 
1078
1080
 
@@ -1124,7 +1126,7 @@ AU_* constants in this class</p>
1124
1126
  <div class="method_details ">
1125
1127
  <h3 class="signature " id="encipher_only?-instance_method">
1126
1128
 
1127
- - (<tt>Boolean</tt>) <strong>encipher_only?</strong>
1129
+ #<strong>encipher_only?</strong> &#x21d2; <tt>Boolean</tt>
1128
1130
 
1129
1131
 
1130
1132
 
@@ -1176,7 +1178,7 @@ AU_* constants in this class</p>
1176
1178
  <div class="method_details ">
1177
1179
  <h3 class="signature " id="key_agreement?-instance_method">
1178
1180
 
1179
- - (<tt>Boolean</tt>) <strong>key_agreement?</strong>
1181
+ #<strong>key_agreement?</strong> &#x21d2; <tt>Boolean</tt>
1180
1182
 
1181
1183
 
1182
1184
 
@@ -1228,7 +1230,7 @@ AU_* constants in this class</p>
1228
1230
  <div class="method_details ">
1229
1231
  <h3 class="signature " id="key_cert_sign?-instance_method">
1230
1232
 
1231
- - (<tt>Boolean</tt>) <strong>key_cert_sign?</strong>
1233
+ #<strong>key_cert_sign?</strong> &#x21d2; <tt>Boolean</tt>
1232
1234
 
1233
1235
 
1234
1236
 
@@ -1280,7 +1282,7 @@ AU_* constants in this class</p>
1280
1282
  <div class="method_details ">
1281
1283
  <h3 class="signature " id="key_encipherment?-instance_method">
1282
1284
 
1283
- - (<tt>Boolean</tt>) <strong>key_encipherment?</strong>
1285
+ #<strong>key_encipherment?</strong> &#x21d2; <tt>Boolean</tt>
1284
1286
 
1285
1287
 
1286
1288
 
@@ -1332,7 +1334,7 @@ AU_* constants in this class</p>
1332
1334
  <div class="method_details ">
1333
1335
  <h3 class="signature " id="non_repudiation?-instance_method">
1334
1336
 
1335
- - (<tt>Boolean</tt>) <strong>non_repudiation?</strong>
1337
+ #<strong>non_repudiation?</strong> &#x21d2; <tt>Boolean</tt>
1336
1338
 
1337
1339
 
1338
1340
 
@@ -1384,7 +1386,7 @@ AU_* constants in this class</p>
1384
1386
  <div class="method_details ">
1385
1387
  <h3 class="signature " id="to_h-instance_method">
1386
1388
 
1387
- - (<tt>Hash</tt>) <strong>to_h</strong>
1389
+ #<strong>to_h</strong> &#x21d2; <tt>Hash</tt>
1388
1390
 
1389
1391
 
1390
1392
 
@@ -1442,7 +1444,7 @@ AU_* constants in this class</p>
1442
1444
  <div class="method_details ">
1443
1445
  <h3 class="signature " id="to_yaml-instance_method">
1444
1446
 
1445
- - (<tt>YAML</tt>) <strong>to_yaml</strong>
1447
+ #<strong>to_yaml</strong> &#x21d2; <tt>YAML</tt>
1446
1448
 
1447
1449
 
1448
1450
 
@@ -1495,11 +1497,12 @@ AU_* constants in this class</p>
1495
1497
 
1496
1498
  </div>
1497
1499
 
1498
- <div id="footer">
1499
- Generated on Sun Jan 26 13:37:27 2014 by
1500
+ <div id="footer">
1501
+ Generated on Tue Dec 6 17:27:41 2016 by
1500
1502
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1501
- 0.8.6.1 (ruby-2.0.0).
1503
+ 0.9.5 (ruby-2.4.0).
1502
1504
  </div>
1503
1505
 
1506
+ </div>
1504
1507
  </body>
1505
1508
  </html>