r509 0.8.1 → 0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (203) hide show
  1. data/README.md +343 -151
  2. data/Rakefile +26 -23
  3. data/bin/r509 +126 -112
  4. data/bin/r509-parse +24 -24
  5. data/doc/R509.html +169 -7
  6. data/doc/R509/ASN1.html +370 -0
  7. data/doc/R509/ASN1/GeneralName.html +1121 -0
  8. data/doc/R509/ASN1/GeneralNames.html +843 -0
  9. data/doc/R509/ASN1/NoticeReference.html +392 -0
  10. data/doc/R509/ASN1/PolicyInformation.html +387 -0
  11. data/doc/R509/ASN1/PolicyQualifiers.html +455 -0
  12. data/doc/R509/ASN1/UserNotice.html +386 -0
  13. data/doc/R509/{Crl.html → CRL.html} +7 -7
  14. data/doc/R509/CRL/Administrator.html +1559 -0
  15. data/doc/R509/{Crl/Parser.html → CRL/SignedList.html} +501 -210
  16. data/doc/R509/{Csr.html → CSR.html} +444 -314
  17. data/doc/R509/Cert.html +866 -617
  18. data/doc/R509/Cert/Extensions.html +52 -41
  19. data/doc/R509/Cert/Extensions/AuthorityInfoAccess.html +70 -35
  20. data/doc/R509/Cert/Extensions/AuthorityKeyIdentifier.html +387 -4
  21. data/doc/R509/Cert/Extensions/BasicConstraints.html +61 -25
  22. data/doc/R509/Cert/Extensions/CRLDistributionPoints.html +354 -0
  23. data/doc/R509/Cert/Extensions/CertificatePolicies.html +340 -0
  24. data/doc/R509/Cert/Extensions/ExtendedKeyUsage.html +440 -49
  25. data/doc/R509/Cert/Extensions/{CrlDistributionPoints.html → InhibitAnyPolicy.html} +52 -35
  26. data/doc/R509/Cert/Extensions/KeyUsage.html +247 -121
  27. data/doc/R509/Cert/Extensions/NameConstraints.html +445 -0
  28. data/doc/R509/Cert/Extensions/OCSPNoCheck.html +239 -0
  29. data/doc/R509/Cert/Extensions/PolicyConstraints.html +424 -0
  30. data/doc/R509/Cert/Extensions/SubjectAlternativeName.html +437 -62
  31. data/doc/R509/Cert/Extensions/SubjectKeyIdentifier.html +52 -10
  32. data/doc/R509/CertificateAuthority.html +4 -4
  33. data/doc/R509/CertificateAuthority/Signer.html +154 -187
  34. data/doc/R509/Config.html +6 -6
  35. data/doc/R509/Config/{CaConfig.html → CAConfig.html} +451 -348
  36. data/doc/R509/Config/{CaConfigPool.html → CAConfigPool.html} +47 -47
  37. data/doc/R509/Config/CAProfile.html +1015 -0
  38. data/doc/R509/Config/SubjectItemPolicy.html +86 -86
  39. data/doc/R509/IOHelpers.html +22 -22
  40. data/doc/R509/MessageDigest.html +14 -14
  41. data/doc/R509/NameSanitizer.html +53 -53
  42. data/doc/R509/{Ocsp.html → OCSP.html} +9 -9
  43. data/doc/R509/{Ocsp → OCSP}/Request.html +7 -7
  44. data/doc/R509/{Ocsp → OCSP}/Request/Nonce.html +56 -11
  45. data/doc/R509/{Ocsp → OCSP}/Response.html +44 -44
  46. data/doc/R509/{OidMapper.html → OIDMapper.html} +23 -39
  47. data/doc/R509/PrivateKey.html +415 -168
  48. data/doc/R509/R509Error.html +3 -3
  49. data/doc/R509/{Spki.html → SPKI.html} +354 -192
  50. data/doc/R509/Subject.html +224 -113
  51. data/doc/R509/Validity.html +27 -5
  52. data/doc/R509/Validity/Checker.html +13 -13
  53. data/doc/R509/Validity/DefaultChecker.html +13 -13
  54. data/doc/R509/Validity/DefaultWriter.html +14 -14
  55. data/doc/R509/Validity/Status.html +39 -39
  56. data/doc/R509/Validity/Writer.html +18 -18
  57. data/doc/_index.html +138 -35
  58. data/doc/class_list.html +1 -1
  59. data/doc/css/style.css +10 -0
  60. data/doc/file.README.html +368 -171
  61. data/doc/file.r509.html +92 -69
  62. data/doc/frames.html +1 -1
  63. data/doc/index.html +368 -171
  64. data/doc/method_list.html +910 -390
  65. data/doc/top-level-namespace.html +3 -3
  66. data/lib/r509.rb +32 -16
  67. data/lib/r509/asn1.rb +375 -0
  68. data/lib/r509/cert.rb +381 -364
  69. data/lib/r509/cert/extensions.rb +443 -76
  70. data/lib/r509/certificate_authority.rb +407 -0
  71. data/lib/r509/config.rb +547 -351
  72. data/lib/r509/crl.rb +336 -366
  73. data/lib/r509/csr.rb +278 -289
  74. data/lib/r509/ec-hack.rb +37 -0
  75. data/lib/r509/exceptions.rb +3 -3
  76. data/lib/r509/io_helpers.rb +44 -44
  77. data/lib/r509/message_digest.rb +53 -0
  78. data/lib/r509/ocsp.rb +80 -70
  79. data/lib/r509/oid_mapper.rb +32 -0
  80. data/lib/r509/private_key.rb +228 -0
  81. data/lib/r509/spki.rb +145 -93
  82. data/lib/r509/subject.rb +203 -110
  83. data/lib/r509/validity.rb +70 -68
  84. data/lib/r509/version.rb +2 -2
  85. data/r509.yaml +92 -69
  86. data/spec/asn1_spec.rb +402 -0
  87. data/spec/cert/extensions_spec.rb +957 -494
  88. data/spec/cert_spec.rb +382 -307
  89. data/spec/certificate_authority_spec.rb +668 -250
  90. data/spec/config_spec.rb +515 -302
  91. data/spec/crl_spec.rb +197 -198
  92. data/spec/csr_spec.rb +334 -289
  93. data/spec/fixtures.rb +247 -171
  94. data/spec/fixtures/cert1.der +0 -0
  95. data/spec/fixtures/cert1.pem +0 -0
  96. data/spec/fixtures/cert1_public_key_modulus.txt +0 -0
  97. data/spec/fixtures/cert3.p12 +0 -0
  98. data/spec/fixtures/cert3.pem +0 -0
  99. data/spec/fixtures/cert3_key.pem +0 -0
  100. data/spec/fixtures/cert3_key_des3.pem +0 -0
  101. data/spec/fixtures/cert4.pem +0 -0
  102. data/spec/fixtures/cert5.pem +0 -0
  103. data/spec/fixtures/cert6.pem +0 -0
  104. data/spec/fixtures/cert_expired.pem +0 -0
  105. data/spec/fixtures/cert_inhibit.pem +24 -0
  106. data/spec/fixtures/cert_name_constraints.pem +29 -0
  107. data/spec/fixtures/cert_not_yet_valid.pem +0 -0
  108. data/spec/fixtures/cert_ocsp_no_check.pem +18 -0
  109. data/spec/fixtures/cert_policy_constraints.pem +31 -0
  110. data/spec/fixtures/cert_san.pem +0 -0
  111. data/spec/fixtures/cert_san2.pem +0 -0
  112. data/spec/fixtures/cert_unknown_extension.pem +28 -0
  113. data/spec/fixtures/config_pool_test_minimal.yaml +11 -11
  114. data/spec/fixtures/config_test.yaml +54 -36
  115. data/spec/fixtures/config_test_dsa.yaml +35 -0
  116. data/spec/fixtures/config_test_ec.yaml +35 -0
  117. data/spec/fixtures/config_test_engine_key.yaml +5 -5
  118. data/spec/fixtures/config_test_engine_no_key_name.yaml +4 -4
  119. data/spec/fixtures/config_test_minimal.yaml +4 -4
  120. data/spec/fixtures/config_test_password.yaml +5 -5
  121. data/spec/fixtures/config_test_various.yaml +111 -74
  122. data/spec/fixtures/crl_list_file.txt +0 -0
  123. data/spec/fixtures/crl_with_reason.pem +0 -0
  124. data/spec/fixtures/csr1.der +0 -0
  125. data/spec/fixtures/csr1.pem +0 -0
  126. data/spec/fixtures/csr1_key.der +0 -0
  127. data/spec/fixtures/csr1_key.pem +0 -0
  128. data/spec/fixtures/csr1_key_encrypted_des3.pem +0 -0
  129. data/spec/fixtures/csr1_newlines.pem +0 -0
  130. data/spec/fixtures/csr1_no_begin_end.pem +0 -0
  131. data/spec/fixtures/csr1_public_key_modulus.txt +0 -0
  132. data/spec/fixtures/csr2.pem +0 -0
  133. data/spec/fixtures/csr2_key.pem +0 -0
  134. data/spec/fixtures/csr3.pem +0 -0
  135. data/spec/fixtures/csr4.pem +0 -0
  136. data/spec/fixtures/csr_dsa.pem +0 -0
  137. data/spec/fixtures/csr_invalid_signature.pem +0 -0
  138. data/spec/fixtures/dsa_key.pem +0 -0
  139. data/spec/fixtures/dsa_root.cer +28 -0
  140. data/spec/fixtures/dsa_root.key +20 -0
  141. data/spec/fixtures/ec_csr2.der +0 -0
  142. data/spec/fixtures/ec_csr2.pem +8 -0
  143. data/spec/fixtures/ec_key1.der +0 -0
  144. data/spec/fixtures/ec_key1.pem +6 -0
  145. data/spec/fixtures/ec_key1_encrypted.pem +9 -0
  146. data/spec/fixtures/ec_key2.pem +6 -0
  147. data/spec/fixtures/hmacsha1.sig +1 -0
  148. data/spec/fixtures/hmacsha512.sig +1 -0
  149. data/spec/fixtures/key4.pem +0 -0
  150. data/spec/fixtures/key4_encrypted_des3.pem +0 -0
  151. data/spec/fixtures/missing_key_identifier_ca.cer +0 -0
  152. data/spec/fixtures/missing_key_identifier_ca.key +0 -0
  153. data/spec/fixtures/ocsptest.r509.local.pem +0 -0
  154. data/spec/fixtures/ocsptest.r509.local_ocsp_request.der +0 -0
  155. data/spec/fixtures/ocsptest2.r509.local.pem +0 -0
  156. data/spec/fixtures/second_ca.cer +0 -0
  157. data/spec/fixtures/second_ca.key +0 -0
  158. data/spec/fixtures/spkac.der +0 -0
  159. data/spec/fixtures/spkac.txt +0 -0
  160. data/spec/fixtures/spkac_dsa.txt +1 -1
  161. data/spec/fixtures/spkac_dsa_no_verify.txt +1 -0
  162. data/spec/fixtures/spkac_ec.txt +1 -0
  163. data/spec/fixtures/spkac_rsa_newlines.txt +13 -0
  164. data/spec/fixtures/stca.pem +0 -0
  165. data/spec/fixtures/stca_ocsp_request.der +0 -0
  166. data/spec/fixtures/stca_ocsp_response.der +0 -0
  167. data/spec/fixtures/test1.csr +0 -0
  168. data/spec/fixtures/test_ca.cer +0 -0
  169. data/spec/fixtures/test_ca.key +0 -0
  170. data/spec/fixtures/test_ca.p12 +0 -0
  171. data/spec/fixtures/test_ca_des3.key +0 -0
  172. data/spec/fixtures/test_ca_ec.cer +14 -0
  173. data/spec/fixtures/test_ca_ec.key +6 -0
  174. data/spec/fixtures/test_ca_ec_ee.cer +22 -0
  175. data/spec/fixtures/test_ca_ec_ee.key +6 -0
  176. data/spec/fixtures/test_ca_ocsp.cer +0 -0
  177. data/spec/fixtures/test_ca_ocsp.key +0 -0
  178. data/spec/fixtures/test_ca_ocsp.p12 +0 -0
  179. data/spec/fixtures/test_ca_ocsp_chain.txt +0 -0
  180. data/spec/fixtures/test_ca_ocsp_response.der +0 -0
  181. data/spec/fixtures/test_ca_subroot.cer +0 -0
  182. data/spec/fixtures/test_ca_subroot.key +0 -0
  183. data/spec/fixtures/test_ca_subroot_ocsp.cer +0 -0
  184. data/spec/fixtures/test_ca_subroot_ocsp.key +0 -0
  185. data/spec/fixtures/test_ca_subroot_ocsp_response.der +0 -0
  186. data/spec/fixtures/unknown_oid.csr +0 -0
  187. data/spec/message_digest_spec.rb +104 -84
  188. data/spec/ocsp_spec.rb +105 -105
  189. data/spec/oid_mapper_spec.rb +21 -21
  190. data/spec/private_key_spec.rb +275 -0
  191. data/spec/r509_spec.rb +35 -0
  192. data/spec/spec_helper.rb +15 -6
  193. data/spec/spki_spec.rb +221 -142
  194. data/spec/subject_spec.rb +232 -164
  195. data/spec/validity_spec.rb +91 -91
  196. metadata +79 -25
  197. data/doc/R509/Config/CaProfile.html +0 -651
  198. data/doc/R509/Crl/Administrator.html +0 -2073
  199. data/lib/r509/certificateauthority.rb +0 -290
  200. data/lib/r509/messagedigest.rb +0 -49
  201. data/lib/r509/oidmapper.rb +0 -32
  202. data/lib/r509/privatekey.rb +0 -185
  203. data/spec/privatekey_spec.rb +0 -198
@@ -0,0 +1,424 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
+ <title>
7
+ Class: R509::Cert::Extensions::PolicyConstraints
8
+
9
+ &mdash; Documentation by YARD 0.8.5
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="../../../css/style.css" type="text/css" media="screen" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="../../../css/common.css" type="text/css" media="screen" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ hasFrames = window.top.frames.main ? true : false;
19
+ relpath = '../../../';
20
+ framesUrl = "../../../frames.html#!" + escape(window.location.href);
21
+ </script>
22
+
23
+
24
+ <script type="text/javascript" charset="utf-8" src="../../../js/jquery.js"></script>
25
+
26
+ <script type="text/javascript" charset="utf-8" src="../../../js/app.js"></script>
27
+
28
+
29
+ </head>
30
+ <body>
31
+ <div id="header">
32
+ <div id="menu">
33
+
34
+ <a href="../../../_index.html">Index (P)</a> &raquo;
35
+ <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
+ &raquo;
37
+ <span class="title">PolicyConstraints</span>
38
+
39
+
40
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
41
+ </div>
42
+
43
+ <div id="search">
44
+
45
+ <a class="full_list_link" id="class_list_link"
46
+ href="../../../class_list.html">
47
+ Class List
48
+ </a>
49
+
50
+ <a class="full_list_link" id="method_list_link"
51
+ href="../../../method_list.html">
52
+ Method List
53
+ </a>
54
+
55
+ <a class="full_list_link" id="file_list_link"
56
+ href="../../../file_list.html">
57
+ File List
58
+ </a>
59
+
60
+ </div>
61
+ <div class="clear"></div>
62
+ </div>
63
+
64
+ <iframe id="search_frame"></iframe>
65
+
66
+ <div id="content"><h1>Class: R509::Cert::Extensions::PolicyConstraints
67
+
68
+
69
+
70
+ </h1>
71
+
72
+ <dl class="box">
73
+
74
+ <dt class="r1">Inherits:</dt>
75
+ <dd class="r1">
76
+ <span class="inheritName">OpenSSL::X509::Extension</span>
77
+
78
+ <ul class="fullTree">
79
+ <li>Object</li>
80
+
81
+ <li class="next">OpenSSL::X509::Extension</li>
82
+
83
+ <li class="next">R509::Cert::Extensions::PolicyConstraints</li>
84
+
85
+ </ul>
86
+ <a href="#" class="inheritanceTree">show all</a>
87
+
88
+ </dd>
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+
97
+
98
+ <dt class="r2 last">Defined in:</dt>
99
+ <dd class="r2 last">lib/r509/cert/extensions.rb</dd>
100
+
101
+ </dl>
102
+ <div class="clear"></div>
103
+
104
+ <h2>Overview</h2><div class="docstring">
105
+ <div class="discussion">
106
+
107
+ <p>Implements the PolicyConstraints certificate extension, with methods to
108
+ provide access to the components and meaning of the extension's contents.</p>
109
+
110
+
111
+ </div>
112
+ </div>
113
+ <div class="tags">
114
+
115
+
116
+ </div>
117
+ <h2>Constant Summary</h2>
118
+
119
+ <dl class="constants">
120
+
121
+ <dt id="OID-constant" class="">OID =
122
+ <div class="docstring">
123
+ <div class="discussion">
124
+
125
+ <p>friendly name for CP OID</p>
126
+
127
+
128
+ </div>
129
+ </div>
130
+ <div class="tags">
131
+
132
+
133
+ </div>
134
+ </dt>
135
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>policyConstraints</span><span class='tstring_end'>&quot;</span></span></pre></dd>
136
+
137
+ </dl>
138
+
139
+
140
+
141
+
142
+
143
+ <h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
144
+ <ul class="summary">
145
+
146
+ <li class="public ">
147
+ <span class="summary_signature">
148
+
149
+ <a href="#inhibit_policy_mapping-instance_method" title="#inhibit_policy_mapping (instance method)">- (Object) <strong>inhibit_policy_mapping</strong> </a>
150
+
151
+
152
+
153
+ </span>
154
+
155
+
156
+
157
+
158
+ <span class="note title readonly">readonly</span>
159
+
160
+
161
+
162
+
163
+
164
+
165
+
166
+
167
+
168
+ <span class="summary_desc"><div class='inline'>
169
+ <p>Returns the value of attribute inhibit_policy_mapping.</p>
170
+ </div></span>
171
+
172
+ </li>
173
+
174
+
175
+ <li class="public ">
176
+ <span class="summary_signature">
177
+
178
+ <a href="#require_explicit_policy-instance_method" title="#require_explicit_policy (instance method)">- (Object) <strong>require_explicit_policy</strong> </a>
179
+
180
+
181
+
182
+ </span>
183
+
184
+
185
+
186
+
187
+ <span class="note title readonly">readonly</span>
188
+
189
+
190
+
191
+
192
+
193
+
194
+
195
+
196
+
197
+ <span class="summary_desc"><div class='inline'>
198
+ <p>Returns the value of attribute require_explicit_policy.</p>
199
+ </div></span>
200
+
201
+ </li>
202
+
203
+
204
+ </ul>
205
+
206
+
207
+
208
+
209
+
210
+ <h2>
211
+ Instance Method Summary
212
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
213
+ </h2>
214
+
215
+ <ul class="summary">
216
+
217
+ <li class="public ">
218
+ <span class="summary_signature">
219
+
220
+ <a href="#initialize-instance_method" title="#initialize (instance method)">- (PolicyConstraints) <strong>initialize</strong>(*args) </a>
221
+
222
+
223
+
224
+ </span>
225
+
226
+
227
+ <span class="note title constructor">constructor</span>
228
+
229
+
230
+
231
+
232
+
233
+
234
+
235
+
236
+ <span class="summary_desc"><div class='inline'>
237
+ <p>A new instance of PolicyConstraints.</p>
238
+ </div></span>
239
+
240
+ </li>
241
+
242
+
243
+ </ul>
244
+
245
+
246
+
247
+ <div id="constructor_details" class="method_details_list">
248
+ <h2>Constructor Details</h2>
249
+
250
+ <div class="method_details first">
251
+ <h3 class="signature first" id="initialize-instance_method">
252
+
253
+ - (<tt><span class='object_link'><a href="" title="R509::Cert::Extensions::PolicyConstraints (class)">PolicyConstraints</a></span></tt>) <strong>initialize</strong>(*args)
254
+
255
+
256
+
257
+
258
+
259
+ </h3><div class="docstring">
260
+ <div class="discussion">
261
+
262
+ <p>A new instance of PolicyConstraints</p>
263
+
264
+
265
+ </div>
266
+ </div>
267
+ <div class="tags">
268
+
269
+
270
+ </div><table class="source_code">
271
+ <tr>
272
+ <td>
273
+ <pre class="lines">
274
+
275
+
276
+ 559
277
+ 560
278
+ 561
279
+ 562
280
+ 563
281
+ 564
282
+ 565
283
+ 566
284
+ 567
285
+ 568
286
+ 569
287
+ 570
288
+ 571
289
+ 572
290
+ 573
291
+ 574
292
+ 575
293
+ 576</pre>
294
+ </td>
295
+ <td>
296
+ <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions.rb', line 559</span>
297
+
298
+ <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
299
+ <span class='kw'>super</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
300
+
301
+ <span class='comment'># id-ce-policyConstraints OBJECT IDENTIFIER ::= { id-ce 36 }
302
+ </span> <span class='comment'># PolicyConstraints ::= SEQUENCE {
303
+ </span> <span class='comment'># requireExplicitPolicy [0] SkipCerts OPTIONAL,
304
+ </span> <span class='comment'># inhibitPolicyMapping [1] SkipCerts OPTIONAL }
305
+ </span> <span class='comment'>#
306
+ </span> <span class='comment'># SkipCerts ::= INTEGER (0..MAX)
307
+ </span> <span class='id identifier rubyid_data'>data</span> <span class='op'>=</span> <span class='const'>R509</span><span class='op'>::</span><span class='const'>ASN1</span><span class='period'>.</span><span class='id identifier rubyid_get_extension_payload'>get_extension_payload</span><span class='lparen'>(</span><span class='kw'>self</span><span class='rparen'>)</span>
308
+ <span class='id identifier rubyid_data'>data</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_pc'>pc</span><span class='op'>|</span>
309
+ <span class='kw'>if</span> <span class='id identifier rubyid_pc'>pc</span><span class='period'>.</span><span class='id identifier rubyid_tag'>tag</span> <span class='op'>==</span> <span class='int'>0</span>
310
+ <span class='ivar'>@require_explicit_policy</span> <span class='op'>=</span> <span class='id identifier rubyid_pc'>pc</span><span class='period'>.</span><span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_bytes'>bytes</span><span class='period'>.</span><span class='id identifier rubyid_to_a'>to_a</span><span class='lbracket'>[</span><span class='int'>0</span><span class='rbracket'>]</span>
311
+ <span class='kw'>elsif</span> <span class='id identifier rubyid_pc'>pc</span><span class='period'>.</span><span class='id identifier rubyid_tag'>tag</span> <span class='op'>==</span> <span class='int'>1</span>
312
+ <span class='ivar'>@inhibit_policy_mapping</span> <span class='op'>=</span> <span class='id identifier rubyid_pc'>pc</span><span class='period'>.</span><span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_bytes'>bytes</span><span class='period'>.</span><span class='id identifier rubyid_to_a'>to_a</span><span class='lbracket'>[</span><span class='int'>0</span><span class='rbracket'>]</span>
313
+ <span class='kw'>end</span>
314
+ <span class='kw'>end</span>
315
+ <span class='kw'>end</span></pre>
316
+ </td>
317
+ </tr>
318
+ </table>
319
+ </div>
320
+
321
+ </div>
322
+
323
+ <div id="instance_attr_details" class="attr_details">
324
+ <h2>Instance Attribute Details</h2>
325
+
326
+
327
+ <span id=""></span>
328
+ <div class="method_details first">
329
+ <h3 class="signature first" id="inhibit_policy_mapping-instance_method">
330
+
331
+ - (<tt>Object</tt>) <strong>inhibit_policy_mapping</strong> <span class="extras">(readonly)</span>
332
+
333
+
334
+
335
+
336
+
337
+ </h3><div class="docstring">
338
+ <div class="discussion">
339
+
340
+ <p>Returns the value of attribute inhibit_policy_mapping</p>
341
+
342
+
343
+ </div>
344
+ </div>
345
+ <div class="tags">
346
+
347
+
348
+ </div><table class="source_code">
349
+ <tr>
350
+ <td>
351
+ <pre class="lines">
352
+
353
+
354
+ 557
355
+ 558
356
+ 559</pre>
357
+ </td>
358
+ <td>
359
+ <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions.rb', line 557</span>
360
+
361
+ <span class='kw'>def</span> <span class='id identifier rubyid_inhibit_policy_mapping'>inhibit_policy_mapping</span>
362
+ <span class='ivar'>@inhibit_policy_mapping</span>
363
+ <span class='kw'>end</span></pre>
364
+ </td>
365
+ </tr>
366
+ </table>
367
+ </div>
368
+
369
+
370
+ <span id=""></span>
371
+ <div class="method_details ">
372
+ <h3 class="signature " id="require_explicit_policy-instance_method">
373
+
374
+ - (<tt>Object</tt>) <strong>require_explicit_policy</strong> <span class="extras">(readonly)</span>
375
+
376
+
377
+
378
+
379
+
380
+ </h3><div class="docstring">
381
+ <div class="discussion">
382
+
383
+ <p>Returns the value of attribute require_explicit_policy</p>
384
+
385
+
386
+ </div>
387
+ </div>
388
+ <div class="tags">
389
+
390
+
391
+ </div><table class="source_code">
392
+ <tr>
393
+ <td>
394
+ <pre class="lines">
395
+
396
+
397
+ 556
398
+ 557
399
+ 558</pre>
400
+ </td>
401
+ <td>
402
+ <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions.rb', line 556</span>
403
+
404
+ <span class='kw'>def</span> <span class='id identifier rubyid_require_explicit_policy'>require_explicit_policy</span>
405
+ <span class='ivar'>@require_explicit_policy</span>
406
+ <span class='kw'>end</span></pre>
407
+ </td>
408
+ </tr>
409
+ </table>
410
+ </div>
411
+
412
+ </div>
413
+
414
+
415
+ </div>
416
+
417
+ <div id="footer">
418
+ Generated on Tue Apr 16 10:49:58 2013 by
419
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
420
+ 0.8.5 (ruby-1.9.3).
421
+ </div>
422
+
423
+ </body>
424
+ </html>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: R509::Cert::Extensions::SubjectAlternativeName
8
8
 
9
- &mdash; Documentation by YARD 0.8.2.1
9
+ &mdash; Documentation by YARD 0.8.5
10
10
 
11
11
  </title>
12
12
 
@@ -120,7 +120,18 @@ contents.</p>
120
120
  <dl class="constants">
121
121
 
122
122
  <dt id="OID-constant" class="">OID =
123
-
123
+ <div class="docstring">
124
+ <div class="discussion">
125
+
126
+ <p>friendly name for SAN OID</p>
127
+
128
+
129
+ </div>
130
+ </div>
131
+ <div class="tags">
132
+
133
+
134
+ </div>
124
135
  </dt>
125
136
  <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>subjectAltName</span><span class='tstring_end'>&quot;</span></span></pre></dd>
126
137
 
@@ -136,7 +147,7 @@ contents.</p>
136
147
  <li class="public ">
137
148
  <span class="summary_signature">
138
149
 
139
- <a href="#dns_names-instance_method" title="#dns_names (instance method)">- (Object) <strong>dns_names</strong> </a>
150
+ <a href="#general_names-instance_method" title="#general_names (instance method)">- (Object) <strong>general_names</strong> </a>
140
151
 
141
152
 
142
153
 
@@ -156,16 +167,29 @@ contents.</p>
156
167
 
157
168
 
158
169
  <span class="summary_desc"><div class='inline'>
159
- <p>An array of the DNS alternative names, if any.</p>
170
+ <p>Returns the value of attribute general_names.</p>
160
171
  </div></span>
161
172
 
162
173
  </li>
163
174
 
164
175
 
165
- <li class="public ">
176
+ </ul>
177
+
178
+
179
+
180
+
181
+
182
+ <h2>
183
+ Instance Method Summary
184
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
185
+ </h2>
186
+
187
+ <ul class="summary">
188
+
189
+ <li class="public ">
166
190
  <span class="summary_signature">
167
191
 
168
- <a href="#ip_addresses-instance_method" title="#ip_addresses (instance method)">- (Object) <strong>ip_addresses</strong> </a>
192
+ <a href="#directory_names-instance_method" title="#directory_names (instance method)">- (Array&lt;R509::Subject&gt;) <strong>directory_names</strong> </a>
169
193
 
170
194
 
171
195
 
@@ -173,10 +197,29 @@ contents.</p>
173
197
 
174
198
 
175
199
 
200
+
201
+
202
+
203
+
204
+
205
+
206
+ <span class="summary_desc"><div class='inline'>
207
+ <p>Directory names.</p>
208
+ </div></span>
209
+
210
+ </li>
211
+
212
+
213
+ <li class="public ">
214
+ <span class="summary_signature">
176
215
 
177
- <span class="note title readonly">readonly</span>
216
+ <a href="#dns_names-instance_method" title="#dns_names (instance method)">- (Array&lt;String&gt;) <strong>dns_names</strong> </a>
178
217
 
218
+
179
219
 
220
+ </span>
221
+
222
+
180
223
 
181
224
 
182
225
 
@@ -185,27 +228,48 @@ contents.</p>
185
228
 
186
229
 
187
230
  <span class="summary_desc"><div class='inline'>
188
- <p>An array of the IP-address alternative names, if any.</p>
231
+ <p>DNS names.</p>
189
232
  </div></span>
190
233
 
191
234
  </li>
192
235
 
193
-
194
- <li class="public ">
236
+
237
+ <li class="public ">
195
238
  <span class="summary_signature">
196
239
 
197
- <a href="#uris-instance_method" title="#uris (instance method)">- (Object) <strong>uris</strong> </a>
240
+ <a href="#initialize-instance_method" title="#initialize (instance method)">- (SubjectAlternativeName) <strong>initialize</strong>(*args) </a>
198
241
 
199
242
 
200
243
 
201
244
  </span>
202
245
 
203
246
 
247
+ <span class="note title constructor">constructor</span>
248
+
249
+
250
+
204
251
 
252
+
253
+
254
+
255
+
256
+ <span class="summary_desc"><div class='inline'>
257
+ <p>See OpenSSL::X509::Extension#initialize.</p>
258
+ </div></span>
259
+
260
+ </li>
261
+
262
+
263
+ <li class="public ">
264
+ <span class="summary_signature">
205
265
 
206
- <span class="note title readonly">readonly</span>
266
+ <a href="#ip_addresses-instance_method" title="#ip_addresses (instance method)">- (Array&lt;String&gt;) <strong>ip_addresses</strong> </a>
207
267
 
268
+
208
269
 
270
+ </span>
271
+
272
+
209
273
 
210
274
 
211
275
 
@@ -214,37 +278,70 @@ contents.</p>
214
278
 
215
279
 
216
280
  <span class="summary_desc"><div class='inline'>
217
- <p>An array of the URI alternative names, if any.</p>
281
+ <p>IP addresses formatted as dotted quad.</p>
218
282
  </div></span>
219
283
 
220
284
  </li>
221
285
 
286
+
287
+ <li class="public ">
288
+ <span class="summary_signature">
289
+
290
+ <a href="#names-instance_method" title="#names (instance method)">- (Array) <strong>names</strong> </a>
222
291
 
223
- </ul>
224
292
 
293
+
294
+ </span>
295
+
296
+
297
+
298
+
299
+
300
+
301
+
225
302
 
303
+
304
+ <span class="summary_desc"><div class='inline'>
305
+ <p>Array of GeneralName objects preserving order found in the extension.</p>
306
+ </div></span>
307
+
308
+ </li>
226
309
 
310
+
311
+ <li class="public ">
312
+ <span class="summary_signature">
313
+
314
+ <a href="#rfc_822_names-instance_method" title="#rfc_822_names (instance method)">- (Array&lt;String&gt;) <strong>rfc_822_names</strong> </a>
315
+
227
316
 
317
+
318
+ </span>
319
+
320
+
321
+
322
+
323
+
324
+
228
325
 
229
- <h2>
230
- Instance Method Summary
231
- <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
232
- </h2>
233
326
 
234
- <ul class="summary">
327
+
328
+ <span class="summary_desc"><div class='inline'>
329
+ <p>Email addresses.</p>
330
+ </div></span>
331
+
332
+ </li>
333
+
235
334
 
236
335
  <li class="public ">
237
336
  <span class="summary_signature">
238
337
 
239
- <a href="#initialize-instance_method" title="#initialize (instance method)">- (SubjectAlternativeName) <strong>initialize</strong>(*args) </a>
338
+ <a href="#uris-instance_method" title="#uris (instance method)">- (Array&lt;String&gt;) <strong>uris</strong> </a>
240
339
 
241
340
 
242
341
 
243
342
  </span>
244
343
 
245
344
 
246
- <span class="note title constructor">constructor</span>
247
-
248
345
 
249
346
 
250
347
 
@@ -253,7 +350,7 @@ contents.</p>
253
350
 
254
351
 
255
352
  <span class="summary_desc"><div class='inline'>
256
- <p>See OpenSSL::X509::Extension#initialize.</p>
353
+ <p>URIs (not typically found in SAN extensions).</p>
257
354
  </div></span>
258
355
 
259
356
  </li>
@@ -292,23 +389,27 @@ contents.</p>
292
389
  <pre class="lines">
293
390
 
294
391
 
295
- 215
296
- 216
297
- 217
298
- 218
299
- 219
300
- 220
301
- 221</pre>
392
+ 389
393
+ 390
394
+ 391
395
+ 392
396
+ 393
397
+ 394
398
+ 395
399
+ 396
400
+ 397</pre>
302
401
  </td>
303
402
  <td>
304
- <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions.rb', line 215</span>
403
+ <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions.rb', line 389</span>
305
404
 
306
405
  <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
307
406
  <span class='kw'>super</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
308
407
 
309
- <span class='ivar'>@dns_names</span> <span class='op'>=</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_scan'>scan</span><span class='lparen'>(</span> <span class='const'>DNS_REGEX</span> <span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_match'>match</span><span class='op'>|</span> <span class='id identifier rubyid_match'>match</span><span class='lbracket'>[</span><span class='int'>0</span><span class='rbracket'>]</span> <span class='rbrace'>}</span>
310
- <span class='ivar'>@ip_addresses</span> <span class='op'>=</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_scan'>scan</span><span class='lparen'>(</span> <span class='const'>IP_ADDRESS_REGEX</span> <span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_match'>match</span><span class='op'>|</span> <span class='id identifier rubyid_match'>match</span><span class='lbracket'>[</span><span class='int'>0</span><span class='rbracket'>]</span> <span class='rbrace'>}</span>
311
- <span class='ivar'>@uris</span> <span class='op'>=</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_scan'>scan</span><span class='lparen'>(</span> <span class='const'>URI_REGEX</span> <span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_match'>match</span><span class='op'>|</span> <span class='id identifier rubyid_match'>match</span><span class='lbracket'>[</span><span class='int'>0</span><span class='rbracket'>]</span> <span class='rbrace'>}</span>
408
+ <span class='id identifier rubyid_data'>data</span> <span class='op'>=</span> <span class='const'>R509</span><span class='op'>::</span><span class='const'>ASN1</span><span class='period'>.</span><span class='id identifier rubyid_get_extension_payload'>get_extension_payload</span><span class='lparen'>(</span><span class='kw'>self</span><span class='rparen'>)</span>
409
+ <span class='ivar'>@general_names</span> <span class='op'>=</span> <span class='const'>R509</span><span class='op'>::</span><span class='const'>ASN1</span><span class='op'>::</span><span class='const'>GeneralNames</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
410
+ <span class='id identifier rubyid_data'>data</span><span class='period'>.</span><span class='id identifier rubyid_entries'>entries</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_gn'>gn</span><span class='op'>|</span>
411
+ <span class='ivar'>@general_names</span><span class='period'>.</span><span class='id identifier rubyid_add_item'>add_item</span><span class='lparen'>(</span><span class='id identifier rubyid_gn'>gn</span><span class='rparen'>)</span>
412
+ <span class='kw'>end</span>
312
413
  <span class='kw'>end</span></pre>
313
414
  </td>
314
415
  </tr>
@@ -323,9 +424,9 @@ contents.</p>
323
424
 
324
425
  <span id=""></span>
325
426
  <div class="method_details first">
326
- <h3 class="signature first" id="dns_names-instance_method">
427
+ <h3 class="signature first" id="general_names-instance_method">
327
428
 
328
- - (<tt>Object</tt>) <strong>dns_names</strong> <span class="extras">(readonly)</span>
429
+ - (<tt>Object</tt>) <strong>general_names</strong> <span class="extras">(readonly)</span>
329
430
 
330
431
 
331
432
 
@@ -334,7 +435,7 @@ contents.</p>
334
435
  </h3><div class="docstring">
335
436
  <div class="discussion">
336
437
 
337
- <p>An array of the DNS alternative names, if any</p>
438
+ <p>Returns the value of attribute general_names</p>
338
439
 
339
440
 
340
441
  </div>
@@ -348,27 +449,150 @@ contents.</p>
348
449
  <pre class="lines">
349
450
 
350
451
 
351
- 208
352
- 209
353
- 210</pre>
452
+ 386
453
+ 387
454
+ 388</pre>
354
455
  </td>
355
456
  <td>
356
- <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions.rb', line 208</span>
457
+ <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions.rb', line 386</span>
357
458
 
358
- <span class='kw'>def</span> <span class='id identifier rubyid_dns_names'>dns_names</span>
359
- <span class='ivar'>@dns_names</span>
459
+ <span class='kw'>def</span> <span class='id identifier rubyid_general_names'>general_names</span>
460
+ <span class='ivar'>@general_names</span>
360
461
  <span class='kw'>end</span></pre>
361
462
  </td>
362
463
  </tr>
363
464
  </table>
364
465
  </div>
365
466
 
467
+ </div>
468
+
469
+
470
+ <div id="instance_method_details" class="method_details_list">
471
+ <h2>Instance Method Details</h2>
472
+
473
+
474
+ <div class="method_details first">
475
+ <h3 class="signature first" id="directory_names-instance_method">
476
+
477
+ - (<tt>Array&lt;<span class='object_link'><a href="../../Subject.html" title="R509::Subject (class)">R509::Subject</a></span>&gt;</tt>) <strong>directory_names</strong>
478
+
479
+
480
+
481
+
482
+
483
+ </h3><div class="docstring">
484
+ <div class="discussion">
485
+
486
+ <p>Directory names</p>
487
+
488
+
489
+ </div>
490
+ </div>
491
+ <div class="tags">
492
+
493
+ <p class="tag_title">Returns:</p>
494
+ <ul class="return">
495
+
496
+ <li>
366
497
 
367
- <span id=""></span>
498
+
499
+ <span class='type'>(<tt>Array&lt;<span class='object_link'><a href="../../Subject.html" title="R509::Subject (class)">R509::Subject</a></span>&gt;</tt>)</span>
500
+
501
+
502
+
503
+ &mdash;
504
+ <div class='inline'>
505
+ <p>directory names</p>
506
+ </div>
507
+
508
+ </li>
509
+
510
+ </ul>
511
+
512
+ </div><table class="source_code">
513
+ <tr>
514
+ <td>
515
+ <pre class="lines">
516
+
517
+
518
+ 420
519
+ 421
520
+ 422</pre>
521
+ </td>
522
+ <td>
523
+ <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions.rb', line 420</span>
524
+
525
+ <span class='kw'>def</span> <span class='id identifier rubyid_directory_names'>directory_names</span>
526
+ <span class='ivar'>@general_names</span><span class='period'>.</span><span class='id identifier rubyid_directory_names'>directory_names</span>
527
+ <span class='kw'>end</span></pre>
528
+ </td>
529
+ </tr>
530
+ </table>
531
+ </div>
532
+
533
+ <div class="method_details ">
534
+ <h3 class="signature " id="dns_names-instance_method">
535
+
536
+ - (<tt>Array&lt;String&gt;</tt>) <strong>dns_names</strong>
537
+
538
+
539
+
540
+
541
+
542
+ </h3><div class="docstring">
543
+ <div class="discussion">
544
+
545
+ <p>DNS names</p>
546
+
547
+
548
+ </div>
549
+ </div>
550
+ <div class="tags">
551
+
552
+ <p class="tag_title">Returns:</p>
553
+ <ul class="return">
554
+
555
+ <li>
556
+
557
+
558
+ <span class='type'>(<tt>Array&lt;String&gt;</tt>)</span>
559
+
560
+
561
+
562
+ &mdash;
563
+ <div class='inline'>
564
+ <p>DNS names</p>
565
+ </div>
566
+
567
+ </li>
568
+
569
+ </ul>
570
+
571
+ </div><table class="source_code">
572
+ <tr>
573
+ <td>
574
+ <pre class="lines">
575
+
576
+
577
+ 400
578
+ 401
579
+ 402</pre>
580
+ </td>
581
+ <td>
582
+ <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions.rb', line 400</span>
583
+
584
+ <span class='kw'>def</span> <span class='id identifier rubyid_dns_names'>dns_names</span>
585
+ <span class='ivar'>@general_names</span><span class='period'>.</span><span class='id identifier rubyid_dns_names'>dns_names</span>
586
+ <span class='kw'>end</span></pre>
587
+ </td>
588
+ </tr>
589
+ </table>
590
+ </div>
591
+
368
592
  <div class="method_details ">
369
593
  <h3 class="signature " id="ip_addresses-instance_method">
370
594
 
371
- - (<tt>Object</tt>) <strong>ip_addresses</strong> <span class="extras">(readonly)</span>
595
+ - (<tt>Array&lt;String&gt;</tt>) <strong>ip_addresses</strong>
372
596
 
373
597
 
374
598
 
@@ -377,13 +601,31 @@ contents.</p>
377
601
  </h3><div class="docstring">
378
602
  <div class="discussion">
379
603
 
380
- <p>An array of the IP-address alternative names, if any</p>
604
+ <p>IP addresses formatted as dotted quad</p>
381
605
 
382
606
 
383
607
  </div>
384
608
  </div>
385
609
  <div class="tags">
386
610
 
611
+ <p class="tag_title">Returns:</p>
612
+ <ul class="return">
613
+
614
+ <li>
615
+
616
+
617
+ <span class='type'>(<tt>Array&lt;String&gt;</tt>)</span>
618
+
619
+
620
+
621
+ &mdash;
622
+ <div class='inline'>
623
+ <p>IP addresses formatted as dotted quad</p>
624
+ </div>
625
+
626
+ </li>
627
+
628
+ </ul>
387
629
 
388
630
  </div><table class="source_code">
389
631
  <tr>
@@ -391,27 +633,143 @@ contents.</p>
391
633
  <pre class="lines">
392
634
 
393
635
 
394
- 210
395
- 211
396
- 212</pre>
636
+ 405
637
+ 406
638
+ 407</pre>
397
639
  </td>
398
640
  <td>
399
- <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions.rb', line 210</span>
641
+ <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions.rb', line 405</span>
400
642
 
401
643
  <span class='kw'>def</span> <span class='id identifier rubyid_ip_addresses'>ip_addresses</span>
402
- <span class='ivar'>@ip_addresses</span>
644
+ <span class='ivar'>@general_names</span><span class='period'>.</span><span class='id identifier rubyid_ip_addresses'>ip_addresses</span>
645
+ <span class='kw'>end</span></pre>
646
+ </td>
647
+ </tr>
648
+ </table>
649
+ </div>
650
+
651
+ <div class="method_details ">
652
+ <h3 class="signature " id="names-instance_method">
653
+
654
+ - (<tt>Array</tt>) <strong>names</strong>
655
+
656
+
657
+
658
+
659
+
660
+ </h3><div class="docstring">
661
+ <div class="discussion">
662
+
663
+ <p>Array of GeneralName objects preserving order found in the extension</p>
664
+
665
+
666
+ </div>
667
+ </div>
668
+ <div class="tags">
669
+
670
+ <p class="tag_title">Returns:</p>
671
+ <ul class="return">
672
+
673
+ <li>
674
+
675
+
676
+ <span class='type'>(<tt>Array</tt>)</span>
677
+
678
+
679
+
680
+ &mdash;
681
+ <div class='inline'>
682
+ <p>array of GeneralName objects preserving order found in the extension</p>
683
+ </div>
684
+
685
+ </li>
686
+
687
+ </ul>
688
+
689
+ </div><table class="source_code">
690
+ <tr>
691
+ <td>
692
+ <pre class="lines">
693
+
694
+
695
+ 425
696
+ 426
697
+ 427</pre>
698
+ </td>
699
+ <td>
700
+ <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions.rb', line 425</span>
701
+
702
+ <span class='kw'>def</span> <span class='id identifier rubyid_names'>names</span>
703
+ <span class='ivar'>@general_names</span><span class='period'>.</span><span class='id identifier rubyid_names'>names</span>
403
704
  <span class='kw'>end</span></pre>
404
705
  </td>
405
706
  </tr>
406
707
  </table>
407
708
  </div>
408
709
 
710
+ <div class="method_details ">
711
+ <h3 class="signature " id="rfc_822_names-instance_method">
712
+
713
+ - (<tt>Array&lt;String&gt;</tt>) <strong>rfc_822_names</strong>
714
+
715
+
716
+
717
+
718
+
719
+ </h3><div class="docstring">
720
+ <div class="discussion">
721
+
722
+ <p>Email addresses</p>
723
+
724
+
725
+ </div>
726
+ </div>
727
+ <div class="tags">
728
+
729
+ <p class="tag_title">Returns:</p>
730
+ <ul class="return">
731
+
732
+ <li>
409
733
 
410
- <span id=""></span>
734
+
735
+ <span class='type'>(<tt>Array&lt;String&gt;</tt>)</span>
736
+
737
+
738
+
739
+ &mdash;
740
+ <div class='inline'>
741
+ <p>email addresses</p>
742
+ </div>
743
+
744
+ </li>
745
+
746
+ </ul>
747
+
748
+ </div><table class="source_code">
749
+ <tr>
750
+ <td>
751
+ <pre class="lines">
752
+
753
+
754
+ 410
755
+ 411
756
+ 412</pre>
757
+ </td>
758
+ <td>
759
+ <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions.rb', line 410</span>
760
+
761
+ <span class='kw'>def</span> <span class='id identifier rubyid_rfc_822_names'>rfc_822_names</span>
762
+ <span class='ivar'>@general_names</span><span class='period'>.</span><span class='id identifier rubyid_rfc_822_names'>rfc_822_names</span>
763
+ <span class='kw'>end</span></pre>
764
+ </td>
765
+ </tr>
766
+ </table>
767
+ </div>
768
+
411
769
  <div class="method_details ">
412
770
  <h3 class="signature " id="uris-instance_method">
413
771
 
414
- - (<tt>Object</tt>) <strong>uris</strong> <span class="extras">(readonly)</span>
772
+ - (<tt>Array&lt;String&gt;</tt>) <strong>uris</strong>
415
773
 
416
774
 
417
775
 
@@ -420,13 +778,31 @@ contents.</p>
420
778
  </h3><div class="docstring">
421
779
  <div class="discussion">
422
780
 
423
- <p>An array of the URI alternative names, if any</p>
781
+ <p>URIs (not typically found in SAN extensions)</p>
424
782
 
425
783
 
426
784
  </div>
427
785
  </div>
428
786
  <div class="tags">
429
787
 
788
+ <p class="tag_title">Returns:</p>
789
+ <ul class="return">
790
+
791
+ <li>
792
+
793
+
794
+ <span class='type'>(<tt>Array&lt;String&gt;</tt>)</span>
795
+
796
+
797
+
798
+ &mdash;
799
+ <div class='inline'>
800
+ <p>URIs (not typically found in SAN extensions)</p>
801
+ </div>
802
+
803
+ </li>
804
+
805
+ </ul>
430
806
 
431
807
  </div><table class="source_code">
432
808
  <tr>
@@ -434,15 +810,15 @@ contents.</p>
434
810
  <pre class="lines">
435
811
 
436
812
 
437
- 212
438
- 213
439
- 214</pre>
813
+ 415
814
+ 416
815
+ 417</pre>
440
816
  </td>
441
817
  <td>
442
- <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions.rb', line 212</span>
818
+ <pre class="code"><span class="info file"># File 'lib/r509/cert/extensions.rb', line 415</span>
443
819
 
444
820
  <span class='kw'>def</span> <span class='id identifier rubyid_uris'>uris</span>
445
- <span class='ivar'>@uris</span>
821
+ <span class='ivar'>@general_names</span><span class='period'>.</span><span class='id identifier rubyid_uris'>uris</span>
446
822
  <span class='kw'>end</span></pre>
447
823
  </td>
448
824
  </tr>
@@ -451,13 +827,12 @@ contents.</p>
451
827
 
452
828
  </div>
453
829
 
454
-
455
830
  </div>
456
831
 
457
832
  <div id="footer">
458
- Generated on Thu Nov 8 14:19:29 2012 by
833
+ Generated on Tue Apr 16 10:49:58 2013 by
459
834
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
460
- 0.8.2.1 (ruby-1.9.3).
835
+ 0.8.5 (ruby-1.9.3).
461
836
  </div>
462
837
 
463
838
  </body>