r509-ca-http 0.1 → 0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. data/Rakefile +18 -18
  2. data/doc/R509/CertificateAuthority/Http/Factory/CsrFactory.html +11 -11
  3. data/doc/R509/CertificateAuthority/Http/Factory/SpkiFactory.html +11 -11
  4. data/doc/R509/CertificateAuthority/Http/Factory.html +9 -9
  5. data/doc/R509/CertificateAuthority/Http/Server.html +9 -9
  6. data/doc/R509/CertificateAuthority/Http/SubjectParser.html +22 -22
  7. data/doc/R509/CertificateAuthority/Http/ValidityPeriodConverter.html +19 -19
  8. data/doc/R509/CertificateAuthority/Http.html +11 -11
  9. data/doc/R509/CertificateAuthority.html +6 -6
  10. data/doc/R509.html +5 -5
  11. data/doc/_index.html +21 -21
  12. data/doc/class_list.html +2 -2
  13. data/doc/css/style.css +10 -0
  14. data/doc/file.README.html +7 -7
  15. data/doc/file_list.html +1 -1
  16. data/doc/frames.html +1 -1
  17. data/doc/index.html +7 -7
  18. data/doc/js/full_list.js +6 -1
  19. data/doc/method_list.html +10 -20
  20. data/doc/top-level-namespace.html +5 -5
  21. data/lib/r509/certificateauthority/http/factory.rb +12 -12
  22. data/lib/r509/certificateauthority/http/server.rb +219 -223
  23. data/lib/r509/certificateauthority/http/subjectparser.rb +27 -27
  24. data/lib/r509/certificateauthority/http/validityperiodconverter.rb +14 -14
  25. data/lib/r509/certificateauthority/http/version.rb +4 -4
  26. data/lib/r509/certificateauthority/http/views/test_issue.erb +73 -73
  27. data/lib/r509/certificateauthority/http/views/test_revoke.erb +19 -19
  28. data/lib/r509/certificateauthority/http/views/test_unrevoke.erb +14 -14
  29. data/spec/fixtures/test_config.yaml +14 -15
  30. data/spec/http_spec.rb +235 -227
  31. data/spec/spec_helper.rb +1 -1
  32. data/spec/subject_parser_spec.rb +2 -2
  33. data/spec/validity_period_converter_spec.rb +2 -2
  34. metadata +20 -20
@@ -6,13 +6,13 @@
6
6
  <title>
7
7
  Module: R509::CertificateAuthority
8
8
 
9
- &mdash; Documentation by YARD 0.8.3
9
+ &mdash; Documentation by YARD 0.8.6.1
10
10
 
11
11
  </title>
12
12
 
13
- <link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
13
+ <link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" />
14
14
 
15
- <link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
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
  hasFrames = window.top.frames.main ? true : false;
@@ -90,7 +90,7 @@
90
90
  <p class="children">
91
91
 
92
92
 
93
- <strong class="modules">Modules:</strong> <span class='object_link'><a href="CertificateAuthority/Http.html" title="R509::CertificateAuthority::Http (module)">Http</a></span>
93
+ <strong class="modules">Modules:</strong> <span class='object_link'><a href="CertificateAuthority/HTTP.html" title="R509::CertificateAuthority::HTTP (module)">HTTP</a></span>
94
94
 
95
95
 
96
96
 
@@ -108,9 +108,9 @@
108
108
  </div>
109
109
 
110
110
  <div id="footer">
111
- Generated on Thu Nov 8 14:58:26 2012 by
111
+ Generated on Tue Apr 16 13:52:50 2013 by
112
112
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
113
- 0.8.3 (ruby-1.9.3).
113
+ 0.8.6.1 (ruby-1.9.3).
114
114
  </div>
115
115
 
116
116
  </body>
data/doc/R509.html CHANGED
@@ -6,13 +6,13 @@
6
6
  <title>
7
7
  Module: R509
8
8
 
9
- &mdash; Documentation by YARD 0.8.3
9
+ &mdash; Documentation by YARD 0.8.6.1
10
10
 
11
11
  </title>
12
12
 
13
- <link rel="stylesheet" href="css/style.css" type="text/css" media="screen" charset="utf-8" />
13
+ <link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
14
14
 
15
- <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
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
  hasFrames = window.top.frames.main ? true : false;
@@ -108,9 +108,9 @@
108
108
  </div>
109
109
 
110
110
  <div id="footer">
111
- Generated on Thu Nov 8 14:58:26 2012 by
111
+ Generated on Tue Apr 16 13:52:50 2013 by
112
112
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
113
- 0.8.3 (ruby-1.9.3).
113
+ 0.8.6.1 (ruby-1.9.3).
114
114
  </div>
115
115
 
116
116
  </body>
data/doc/_index.html CHANGED
@@ -4,13 +4,13 @@
4
4
  <head>
5
5
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
6
  <title>
7
- Documentation by YARD 0.8.3
7
+ Documentation by YARD 0.8.6.1
8
8
 
9
9
  </title>
10
10
 
11
- <link rel="stylesheet" href="css/style.css" type="text/css" media="screen" charset="utf-8" />
11
+ <link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
12
12
 
13
- <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
13
+ <link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
14
14
 
15
15
  <script type="text/javascript" charset="utf-8">
16
16
  hasFrames = window.top.frames.main ? true : false;
@@ -56,7 +56,7 @@
56
56
 
57
57
  <iframe id="search_frame"></iframe>
58
58
 
59
- <div id="content"><h1 class="noborder title">Documentation by YARD 0.8.3</h1>
59
+ <div id="content"><h1 class="noborder title">Documentation by YARD 0.8.6.1</h1>
60
60
  <div id="listing">
61
61
  <h1 class="alphaindex">Alphabetic Index</h1>
62
62
 
@@ -85,16 +85,16 @@
85
85
  <ul>
86
86
 
87
87
  <li>
88
- <span class='object_link'><a href="R509/CertificateAuthority.html" title="R509::CertificateAuthority (module)">CertificateAuthority</a></span>
88
+ <span class='object_link'><a href="R509/CertificateAuthority/HTTP/Factory/CSRFactory.html" title="R509::CertificateAuthority::HTTP::Factory::CSRFactory (class)">CSRFactory</a></span>
89
89
 
90
- <small>(R509)</small>
90
+ <small>(R509::CertificateAuthority::HTTP::Factory)</small>
91
91
 
92
92
  </li>
93
93
 
94
94
  <li>
95
- <span class='object_link'><a href="R509/CertificateAuthority/Http/Factory/CsrFactory.html" title="R509::CertificateAuthority::Http::Factory::CsrFactory (class)">CsrFactory</a></span>
95
+ <span class='object_link'><a href="R509/CertificateAuthority.html" title="R509::CertificateAuthority (module)">CertificateAuthority</a></span>
96
96
 
97
- <small>(R509::CertificateAuthority::Http::Factory)</small>
97
+ <small>(R509)</small>
98
98
 
99
99
  </li>
100
100
 
@@ -107,9 +107,9 @@
107
107
  <ul>
108
108
 
109
109
  <li>
110
- <span class='object_link'><a href="R509/CertificateAuthority/Http/Factory.html" title="R509::CertificateAuthority::Http::Factory (module)">Factory</a></span>
110
+ <span class='object_link'><a href="R509/CertificateAuthority/HTTP/Factory.html" title="R509::CertificateAuthority::HTTP::Factory (module)">Factory</a></span>
111
111
 
112
- <small>(R509::CertificateAuthority::Http)</small>
112
+ <small>(R509::CertificateAuthority::HTTP)</small>
113
113
 
114
114
  </li>
115
115
 
@@ -122,7 +122,7 @@
122
122
  <ul>
123
123
 
124
124
  <li>
125
- <span class='object_link'><a href="R509/CertificateAuthority/Http.html" title="R509::CertificateAuthority::Http (module)">Http</a></span>
125
+ <span class='object_link'><a href="R509/CertificateAuthority/HTTP.html" title="R509::CertificateAuthority::HTTP (module)">HTTP</a></span>
126
126
 
127
127
  <small>(R509::CertificateAuthority)</small>
128
128
 
@@ -150,23 +150,23 @@
150
150
  <ul>
151
151
 
152
152
  <li>
153
- <span class='object_link'><a href="R509/CertificateAuthority/Http/Server.html" title="R509::CertificateAuthority::Http::Server (class)">Server</a></span>
153
+ <span class='object_link'><a href="R509/CertificateAuthority/HTTP/Factory/SPKIFactory.html" title="R509::CertificateAuthority::HTTP::Factory::SPKIFactory (class)">SPKIFactory</a></span>
154
154
 
155
- <small>(R509::CertificateAuthority::Http)</small>
155
+ <small>(R509::CertificateAuthority::HTTP::Factory)</small>
156
156
 
157
157
  </li>
158
158
 
159
159
  <li>
160
- <span class='object_link'><a href="R509/CertificateAuthority/Http/Factory/SpkiFactory.html" title="R509::CertificateAuthority::Http::Factory::SpkiFactory (class)">SpkiFactory</a></span>
160
+ <span class='object_link'><a href="R509/CertificateAuthority/HTTP/Server.html" title="R509::CertificateAuthority::HTTP::Server (class)">Server</a></span>
161
161
 
162
- <small>(R509::CertificateAuthority::Http::Factory)</small>
162
+ <small>(R509::CertificateAuthority::HTTP)</small>
163
163
 
164
164
  </li>
165
165
 
166
166
  <li>
167
- <span class='object_link'><a href="R509/CertificateAuthority/Http/SubjectParser.html" title="R509::CertificateAuthority::Http::SubjectParser (class)">SubjectParser</a></span>
167
+ <span class='object_link'><a href="R509/CertificateAuthority/HTTP/SubjectParser.html" title="R509::CertificateAuthority::HTTP::SubjectParser (class)">SubjectParser</a></span>
168
168
 
169
- <small>(R509::CertificateAuthority::Http)</small>
169
+ <small>(R509::CertificateAuthority::HTTP)</small>
170
170
 
171
171
  </li>
172
172
 
@@ -179,9 +179,9 @@
179
179
  <ul>
180
180
 
181
181
  <li>
182
- <span class='object_link'><a href="R509/CertificateAuthority/Http/ValidityPeriodConverter.html" title="R509::CertificateAuthority::Http::ValidityPeriodConverter (class)">ValidityPeriodConverter</a></span>
182
+ <span class='object_link'><a href="R509/CertificateAuthority/HTTP/ValidityPeriodConverter.html" title="R509::CertificateAuthority::HTTP::ValidityPeriodConverter (class)">ValidityPeriodConverter</a></span>
183
183
 
184
- <small>(R509::CertificateAuthority::Http)</small>
184
+ <small>(R509::CertificateAuthority::HTTP)</small>
185
185
 
186
186
  </li>
187
187
 
@@ -197,9 +197,9 @@
197
197
  </div>
198
198
 
199
199
  <div id="footer">
200
- Generated on Thu Nov 8 14:58:26 2012 by
200
+ Generated on Tue Apr 16 13:52:50 2013 by
201
201
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
202
- 0.8.3 (ruby-1.9.3).
202
+ 0.8.6.1 (ruby-1.9.3).
203
203
  </div>
204
204
 
205
205
  </body>
data/doc/class_list.html CHANGED
@@ -44,8 +44,8 @@
44
44
  <div id="search">Search: <input type="text" /></div>
45
45
 
46
46
  <ul id="full_list" class="class">
47
- <li><span class='object_link'><a href="top-level-namespace.html" title=" (root)">Top Level Namespace</a></span></li>
48
- <li><a class='toggle'></a> <span class='object_link'><a href="R509.html" title="R509 (module)">R509</a></span><small class='search_info'>Top Level Namespace</small></li><ul><li><a class='toggle'></a> <span class='object_link'><a href="R509/CertificateAuthority.html" title="R509::CertificateAuthority (module)">CertificateAuthority</a></span><small class='search_info'>R509</small></li><ul><li><a class='toggle'></a> <span class='object_link'><a href="R509/CertificateAuthority/Http.html" title="R509::CertificateAuthority::Http (module)">Http</a></span><small class='search_info'>R509::CertificateAuthority</small></li><ul><li><a class='toggle'></a> <span class='object_link'><a href="R509/CertificateAuthority/Http/Factory.html" title="R509::CertificateAuthority::Http::Factory (module)">Factory</a></span><small class='search_info'>R509::CertificateAuthority::Http</small></li><ul><li><span class='object_link'><a href="R509/CertificateAuthority/Http/Factory/CsrFactory.html" title="R509::CertificateAuthority::Http::Factory::CsrFactory (class)">CsrFactory</a></span> &lt; Object<small class='search_info'>R509::CertificateAuthority::Http::Factory</small></li><li><span class='object_link'><a href="R509/CertificateAuthority/Http/Factory/SpkiFactory.html" title="R509::CertificateAuthority::Http::Factory::SpkiFactory (class)">SpkiFactory</a></span> &lt; Object<small class='search_info'>R509::CertificateAuthority::Http::Factory</small></li></ul><li><span class='object_link'><a href="R509/CertificateAuthority/Http/Server.html" title="R509::CertificateAuthority::Http::Server (class)">Server</a></span> &lt; Base<small class='search_info'>R509::CertificateAuthority::Http</small></li><li><span class='object_link'><a href="R509/CertificateAuthority/Http/SubjectParser.html" title="R509::CertificateAuthority::Http::SubjectParser (class)">SubjectParser</a></span> &lt; Object<small class='search_info'>R509::CertificateAuthority::Http</small></li><li><span class='object_link'><a href="R509/CertificateAuthority/Http/ValidityPeriodConverter.html" title="R509::CertificateAuthority::Http::ValidityPeriodConverter (class)">ValidityPeriodConverter</a></span> &lt; Object<small class='search_info'>R509::CertificateAuthority::Http</small></li></ul></ul></ul>
47
+ <li><span class='object_link'><a href="top-level-namespace.html" title="Top Level Namespace (root)">Top Level Namespace</a></span></li>
48
+ <li><a class='toggle'></a> <span class='object_link'><a href="R509.html" title="R509 (module)">R509</a></span><small class='search_info'>Top Level Namespace</small></li><ul><li><a class='toggle'></a> <span class='object_link'><a href="R509/CertificateAuthority.html" title="R509::CertificateAuthority (module)">CertificateAuthority</a></span><small class='search_info'>R509</small></li><ul><li><a class='toggle'></a> <span class='object_link'><a href="R509/CertificateAuthority/HTTP.html" title="R509::CertificateAuthority::HTTP (module)">HTTP</a></span><small class='search_info'>R509::CertificateAuthority</small></li><ul><li><a class='toggle'></a> <span class='object_link'><a href="R509/CertificateAuthority/HTTP/Factory.html" title="R509::CertificateAuthority::HTTP::Factory (module)">Factory</a></span><small class='search_info'>R509::CertificateAuthority::HTTP</small></li><ul><li><span class='object_link'><a href="R509/CertificateAuthority/HTTP/Factory/CSRFactory.html" title="R509::CertificateAuthority::HTTP::Factory::CSRFactory (class)">CSRFactory</a></span> &lt; Object<small class='search_info'>R509::CertificateAuthority::HTTP::Factory</small></li><li><span class='object_link'><a href="R509/CertificateAuthority/HTTP/Factory/SPKIFactory.html" title="R509::CertificateAuthority::HTTP::Factory::SPKIFactory (class)">SPKIFactory</a></span> &lt; Object<small class='search_info'>R509::CertificateAuthority::HTTP::Factory</small></li></ul><li><span class='object_link'><a href="R509/CertificateAuthority/HTTP/Server.html" title="R509::CertificateAuthority::HTTP::Server (class)">Server</a></span> &lt; Base<small class='search_info'>R509::CertificateAuthority::HTTP</small></li><li><span class='object_link'><a href="R509/CertificateAuthority/HTTP/SubjectParser.html" title="R509::CertificateAuthority::HTTP::SubjectParser (class)">SubjectParser</a></span> &lt; Object<small class='search_info'>R509::CertificateAuthority::HTTP</small></li><li><span class='object_link'><a href="R509/CertificateAuthority/HTTP/ValidityPeriodConverter.html" title="R509::CertificateAuthority::HTTP::ValidityPeriodConverter (class)">ValidityPeriodConverter</a></span> &lt; Object<small class='search_info'>R509::CertificateAuthority::HTTP</small></li></ul></ul></ul>
49
49
 
50
50
  </ul>
51
51
  </div>
data/doc/css/style.css CHANGED
@@ -27,6 +27,16 @@ h2 small { font-weight: normal; font-size: 0.7em; display: block; float: right;
27
27
  .rdoc-term { padding-right: 25px; font-weight: bold; }
28
28
  .rdoc-list p { margin: 0; padding: 0; margin-bottom: 4px; }
29
29
 
30
+ /* style for <table> */
31
+ #filecontents table, .docstring table { border-collapse: collapse; }
32
+ #filecontents table th, #filecontents table td,
33
+ .docstring table th, .docstring table td { border: 1px solid #ccc; padding: 8px; padding-right: 17px; }
34
+ #filecontents table tr:nth-child(odd),
35
+ .docstring table tr:nth-child(odd) { background: #eee; }
36
+ #filecontents table tr:nth-child(even),
37
+ .docstring table tr:nth-child(even) { background: #fff; }
38
+ #filecontents table th, .docstring table th { background: #fff; }
39
+
30
40
  /* style for <ul> */
31
41
  #filecontents li > p, .docstring li > p { margin: 0px; }
32
42
  #filecontents ul, .docstring ul { padding-left: 20px; }
data/doc/file.README.html CHANGED
@@ -6,13 +6,13 @@
6
6
  <title>
7
7
  File: README
8
8
 
9
- &mdash; Documentation by YARD 0.8.3
9
+ &mdash; Documentation by YARD 0.8.6.1
10
10
 
11
11
  </title>
12
12
 
13
- <link rel="stylesheet" href="css/style.css" type="text/css" media="screen" charset="utf-8" />
13
+ <link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
14
14
 
15
- <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
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
  hasFrames = window.top.frames.main ? true : false;
@@ -97,7 +97,7 @@
97
97
 
98
98
  <p>The subject is provided like so:</p>
99
99
 
100
- <pre class="code ruby"><code><span class='id identifier rubyid_subject'>subject</span><span class='lbracket'>[</span><span class='const'>CN</span><span class='rbracket'>]</span><span class='op'>=</span><span class='id identifier rubyid_domain'>domain</span><span class='period'>.</span><span class='id identifier rubyid_com'>com</span><span class='op'>&amp;</span><span class='id identifier rubyid_subject'>subject</span><span class='lbracket'>[</span><span class='const'>O</span><span class='rbracket'>]</span><span class='op'>=</span><span class='id identifier rubyid_orgname'>orgname</span><span class='op'>&amp;</span><span class='id identifier rubyid_subject'>subject</span><span class='lbracket'>[</span><span class='const'>L</span><span class='rbracket'>]</span><span class='op'>=</span><span class='id identifier rubyid_locality'>locality</span>
100
+ <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_subject'>subject</span><span class='lbracket'>[</span><span class='const'>CN</span><span class='rbracket'>]</span><span class='op'>=</span><span class='id identifier rubyid_domain'>domain</span><span class='period'>.</span><span class='id identifier rubyid_com'>com</span><span class='op'>&amp;</span><span class='id identifier rubyid_subject'>subject</span><span class='lbracket'>[</span><span class='const'>O</span><span class='rbracket'>]</span><span class='op'>=</span><span class='id identifier rubyid_orgname'>orgname</span><span class='op'>&amp;</span><span class='id identifier rubyid_subject'>subject</span><span class='lbracket'>[</span><span class='const'>L</span><span class='rbracket'>]</span><span class='op'>=</span><span class='id identifier rubyid_locality'>locality</span>
101
101
  </code></pre>
102
102
 
103
103
  <p>Optional POST parameters:</p>
@@ -108,7 +108,7 @@
108
108
 
109
109
  <p>SAN names are provided like so:</p>
110
110
 
111
- <pre class="code ruby"><code><span class='id identifier rubyid_extensions'>extensions</span><span class='lbracket'>[</span><span class='id identifier rubyid_subjectAlternativeName'>subjectAlternativeName</span><span class='rbracket'>]</span><span class='lbracket'>[</span><span class='rbracket'>]</span><span class='op'>=</span><span class='id identifier rubyid_domain1'>domain1</span><span class='period'>.</span><span class='id identifier rubyid_com'>com</span><span class='op'>&amp;</span><span class='id identifier rubyid_extensions'>extensions</span><span class='lbracket'>[</span><span class='id identifier rubyid_subjectAlternativeName'>subjectAlternativeName</span><span class='rbracket'>]</span><span class='lbracket'>[</span><span class='rbracket'>]</span><span class='op'>=</span><span class='id identifier rubyid_domain2'>domain2</span><span class='period'>.</span><span class='id identifier rubyid_com'>com</span>
111
+ <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_extensions'>extensions</span><span class='lbracket'>[</span><span class='id identifier rubyid_subjectAlternativeName'>subjectAlternativeName</span><span class='rbracket'>]</span><span class='lbracket'>[</span><span class='rbracket'>]</span><span class='op'>=</span><span class='id identifier rubyid_domain1'>domain1</span><span class='period'>.</span><span class='id identifier rubyid_com'>com</span><span class='op'>&amp;</span><span class='id identifier rubyid_extensions'>extensions</span><span class='lbracket'>[</span><span class='id identifier rubyid_subjectAlternativeName'>subjectAlternativeName</span><span class='rbracket'>]</span><span class='lbracket'>[</span><span class='rbracket'>]</span><span class='op'>=</span><span class='id identifier rubyid_domain2'>domain2</span><span class='period'>.</span><span class='id identifier rubyid_com'>com</span>
112
112
  </code></pre>
113
113
 
114
114
  <p>The issue method will return the PEM text of the issued certificate.</p>
@@ -200,9 +200,9 @@
200
200
  </div></div>
201
201
 
202
202
  <div id="footer">
203
- Generated on Thu Nov 8 14:58:26 2012 by
203
+ Generated on Tue Apr 16 13:52:50 2013 by
204
204
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
205
- 0.8.3 (ruby-1.9.3).
205
+ 0.8.6.1 (ruby-1.9.3).
206
206
  </div>
207
207
 
208
208
  </body>
data/doc/file_list.html CHANGED
@@ -46,7 +46,7 @@
46
46
  <ul id="full_list" class="file">
47
47
 
48
48
 
49
- <li class="r1"><a href="index.html" title="README">README</a></li>
49
+ <li class="r1"><span class="object_link"><a href="index.html" title="README">README</a></a></li>
50
50
 
51
51
 
52
52
  </ul>
data/doc/frames.html CHANGED
@@ -4,7 +4,7 @@
4
4
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
5
  <head>
6
6
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
7
- <title>Documentation by YARD 0.8.3</title>
7
+ <title>Documentation by YARD 0.8.6.1</title>
8
8
  </head>
9
9
  <script type="text/javascript" charset="utf-8">
10
10
  window.onload = function() {
data/doc/index.html CHANGED
@@ -6,13 +6,13 @@
6
6
  <title>
7
7
  File: README
8
8
 
9
- &mdash; Documentation by YARD 0.8.3
9
+ &mdash; Documentation by YARD 0.8.6.1
10
10
 
11
11
  </title>
12
12
 
13
- <link rel="stylesheet" href="css/style.css" type="text/css" media="screen" charset="utf-8" />
13
+ <link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
14
14
 
15
- <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
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
  hasFrames = window.top.frames.main ? true : false;
@@ -97,7 +97,7 @@
97
97
 
98
98
  <p>The subject is provided like so:</p>
99
99
 
100
- <pre class="code ruby"><code><span class='id identifier rubyid_subject'>subject</span><span class='lbracket'>[</span><span class='const'>CN</span><span class='rbracket'>]</span><span class='op'>=</span><span class='id identifier rubyid_domain'>domain</span><span class='period'>.</span><span class='id identifier rubyid_com'>com</span><span class='op'>&amp;</span><span class='id identifier rubyid_subject'>subject</span><span class='lbracket'>[</span><span class='const'>O</span><span class='rbracket'>]</span><span class='op'>=</span><span class='id identifier rubyid_orgname'>orgname</span><span class='op'>&amp;</span><span class='id identifier rubyid_subject'>subject</span><span class='lbracket'>[</span><span class='const'>L</span><span class='rbracket'>]</span><span class='op'>=</span><span class='id identifier rubyid_locality'>locality</span>
100
+ <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_subject'>subject</span><span class='lbracket'>[</span><span class='const'>CN</span><span class='rbracket'>]</span><span class='op'>=</span><span class='id identifier rubyid_domain'>domain</span><span class='period'>.</span><span class='id identifier rubyid_com'>com</span><span class='op'>&amp;</span><span class='id identifier rubyid_subject'>subject</span><span class='lbracket'>[</span><span class='const'>O</span><span class='rbracket'>]</span><span class='op'>=</span><span class='id identifier rubyid_orgname'>orgname</span><span class='op'>&amp;</span><span class='id identifier rubyid_subject'>subject</span><span class='lbracket'>[</span><span class='const'>L</span><span class='rbracket'>]</span><span class='op'>=</span><span class='id identifier rubyid_locality'>locality</span>
101
101
  </code></pre>
102
102
 
103
103
  <p>Optional POST parameters:</p>
@@ -108,7 +108,7 @@
108
108
 
109
109
  <p>SAN names are provided like so:</p>
110
110
 
111
- <pre class="code ruby"><code><span class='id identifier rubyid_extensions'>extensions</span><span class='lbracket'>[</span><span class='id identifier rubyid_subjectAlternativeName'>subjectAlternativeName</span><span class='rbracket'>]</span><span class='lbracket'>[</span><span class='rbracket'>]</span><span class='op'>=</span><span class='id identifier rubyid_domain1'>domain1</span><span class='period'>.</span><span class='id identifier rubyid_com'>com</span><span class='op'>&amp;</span><span class='id identifier rubyid_extensions'>extensions</span><span class='lbracket'>[</span><span class='id identifier rubyid_subjectAlternativeName'>subjectAlternativeName</span><span class='rbracket'>]</span><span class='lbracket'>[</span><span class='rbracket'>]</span><span class='op'>=</span><span class='id identifier rubyid_domain2'>domain2</span><span class='period'>.</span><span class='id identifier rubyid_com'>com</span>
111
+ <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_extensions'>extensions</span><span class='lbracket'>[</span><span class='id identifier rubyid_subjectAlternativeName'>subjectAlternativeName</span><span class='rbracket'>]</span><span class='lbracket'>[</span><span class='rbracket'>]</span><span class='op'>=</span><span class='id identifier rubyid_domain1'>domain1</span><span class='period'>.</span><span class='id identifier rubyid_com'>com</span><span class='op'>&amp;</span><span class='id identifier rubyid_extensions'>extensions</span><span class='lbracket'>[</span><span class='id identifier rubyid_subjectAlternativeName'>subjectAlternativeName</span><span class='rbracket'>]</span><span class='lbracket'>[</span><span class='rbracket'>]</span><span class='op'>=</span><span class='id identifier rubyid_domain2'>domain2</span><span class='period'>.</span><span class='id identifier rubyid_com'>com</span>
112
112
  </code></pre>
113
113
 
114
114
  <p>The issue method will return the PEM text of the issued certificate.</p>
@@ -200,9 +200,9 @@
200
200
  </div></div>
201
201
 
202
202
  <div id="footer">
203
- Generated on Thu Nov 8 14:58:26 2012 by
203
+ Generated on Tue Apr 16 13:52:50 2013 by
204
204
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
205
- 0.8.3 (ruby-1.9.3).
205
+ 0.8.6.1 (ruby-1.9.3).
206
206
  </div>
207
207
 
208
208
  </body>
data/doc/js/full_list.js CHANGED
@@ -17,6 +17,7 @@ function fullListSearch() {
17
17
  searchCache = [];
18
18
  $('#full_list li').each(function() {
19
19
  var link = $(this).find('.object_link a');
20
+ if (link.length === 0) return;
20
21
  var fullName = link.attr('title').split(' ')[0];
21
22
  searchCache.push({name:link.text(), fullName:fullName, node:$(this), link:link});
22
23
  });
@@ -41,7 +42,7 @@ function fullListSearch() {
41
42
  $('#full_list li').removeClass('found').each(function() {
42
43
 
43
44
  var link = $(this).find('.object_link a');
44
- link.text(link.text());
45
+ if (link.length > 0) link.text(link.text());
45
46
  });
46
47
  if (clicked) {
47
48
  clicked.parents('ul').each(function() {
@@ -110,6 +111,10 @@ clicked = null;
110
111
  function linkList() {
111
112
  $('#full_list li, #full_list li a:last').click(function(evt) {
112
113
  if ($(this).hasClass('toggle')) return true;
114
+ if ($(this).find('.object_link a').length === 0) {
115
+ $(this).children('a.toggle').click();
116
+ return false;
117
+ }
113
118
  if (this.tagName.toLowerCase() == "li") {
114
119
  var toggle = $(this).children('a.toggle');
115
120
  if (toggle.size() > 0 && evt.pageX < toggle.offset().left) {
data/doc/method_list.html CHANGED
@@ -47,42 +47,32 @@
47
47
 
48
48
 
49
49
  <li class="r1 ">
50
- <span class='object_link'><a href="R509/CertificateAuthority/Http/Factory/CsrFactory.html#build-instance_method" title="R509::CertificateAuthority::Http::Factory::CsrFactory#build (method)">#build</a></span>
51
-
52
- <small>R509::CertificateAuthority::Http::Factory::CsrFactory</small>
53
-
50
+ <span class='object_link'><a href="R509/CertificateAuthority/HTTP/Factory/CSRFactory.html#build-instance_method" title="R509::CertificateAuthority::HTTP::Factory::CSRFactory#build (method)">#build</a></span>
51
+ <small>R509::CertificateAuthority::HTTP::Factory::CSRFactory</small>
54
52
  </li>
55
53
 
56
54
 
57
55
  <li class="r2 ">
58
- <span class='object_link'><a href="R509/CertificateAuthority/Http/Factory/SpkiFactory.html#build-instance_method" title="R509::CertificateAuthority::Http::Factory::SpkiFactory#build (method)">#build</a></span>
59
-
60
- <small>R509::CertificateAuthority::Http::Factory::SpkiFactory</small>
61
-
56
+ <span class='object_link'><a href="R509/CertificateAuthority/HTTP/Factory/SPKIFactory.html#build-instance_method" title="R509::CertificateAuthority::HTTP::Factory::SPKIFactory#build (method)">#build</a></span>
57
+ <small>R509::CertificateAuthority::HTTP::Factory::SPKIFactory</small>
62
58
  </li>
63
59
 
64
60
 
65
61
  <li class="r1 ">
66
- <span class='object_link'><a href="R509/CertificateAuthority/Http/ValidityPeriodConverter.html#convert-instance_method" title="R509::CertificateAuthority::Http::ValidityPeriodConverter#convert (method)">#convert</a></span>
67
-
68
- <small>R509::CertificateAuthority::Http::ValidityPeriodConverter</small>
69
-
62
+ <span class='object_link'><a href="R509/CertificateAuthority/HTTP/ValidityPeriodConverter.html#convert-instance_method" title="R509::CertificateAuthority::HTTP::ValidityPeriodConverter#convert (method)">#convert</a></span>
63
+ <small>R509::CertificateAuthority::HTTP::ValidityPeriodConverter</small>
70
64
  </li>
71
65
 
72
66
 
73
67
  <li class="r2 ">
74
- <span class='object_link'><a href="R509/CertificateAuthority/Http/SubjectParser.html#parse-instance_method" title="R509::CertificateAuthority::Http::SubjectParser#parse (method)">#parse</a></span>
75
-
76
- <small>R509::CertificateAuthority::Http::SubjectParser</small>
77
-
68
+ <span class='object_link'><a href="R509/CertificateAuthority/HTTP/SubjectParser.html#parse-instance_method" title="R509::CertificateAuthority::HTTP::SubjectParser#parse (method)">#parse</a></span>
69
+ <small>R509::CertificateAuthority::HTTP::SubjectParser</small>
78
70
  </li>
79
71
 
80
72
 
81
73
  <li class="r1 ">
82
- <span class='object_link'><a href="R509/CertificateAuthority/Http/SubjectParser.html#unescape-instance_method" title="R509::CertificateAuthority::Http::SubjectParser#unescape (method)">#unescape</a></span>
83
-
84
- <small>R509::CertificateAuthority::Http::SubjectParser</small>
85
-
74
+ <span class='object_link'><a href="R509/CertificateAuthority/HTTP/SubjectParser.html#unescape-instance_method" title="R509::CertificateAuthority::HTTP::SubjectParser#unescape (method)">#unescape</a></span>
75
+ <small>R509::CertificateAuthority::HTTP::SubjectParser</small>
86
76
  </li>
87
77
 
88
78
 
@@ -6,13 +6,13 @@
6
6
  <title>
7
7
  Top Level Namespace
8
8
 
9
- &mdash; Documentation by YARD 0.8.3
9
+ &mdash; Documentation by YARD 0.8.6.1
10
10
 
11
11
  </title>
12
12
 
13
- <link rel="stylesheet" href="css/style.css" type="text/css" media="screen" charset="utf-8" />
13
+ <link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
14
14
 
15
- <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
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
  hasFrames = window.top.frames.main ? true : false;
@@ -103,9 +103,9 @@
103
103
  </div>
104
104
 
105
105
  <div id="footer">
106
- Generated on Thu Nov 8 14:58:26 2012 by
106
+ Generated on Tue Apr 16 13:52:50 2013 by
107
107
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
108
- 0.8.3 (ruby-1.9.3).
108
+ 0.8.6.1 (ruby-1.9.3).
109
109
  </div>
110
110
 
111
111
  </body>
@@ -1,15 +1,15 @@
1
- module R509::CertificateAuthority::Http
2
- module Factory
3
- class CsrFactory
4
- def build(options)
5
- R509::Csr.new(options)
6
- end
7
- end
1
+ module R509::CertificateAuthority::HTTP
2
+ module Factory
3
+ class CSRFactory
4
+ def build(options)
5
+ R509::CSR.new(options)
6
+ end
7
+ end
8
8
 
9
- class SpkiFactory
10
- def build(options)
11
- R509::Spki.new(options)
12
- end
13
- end
9
+ class SPKIFactory
10
+ def build(options)
11
+ R509::SPKI.new(options)
12
+ end
14
13
  end
14
+ end
15
15
  end