Permalink
Browse files

Move all to a lib dir.

  • Loading branch information...
1 parent f7c271c commit 9bc42109f03f73621defb2e9135c0caad178c372 @ryanramage committed May 31, 2012
View
2 docs/api/symbols/src/rsasign-1.2.js.html
@@ -26,7 +26,7 @@
<span class='line'> 19</span> </span><span class="COMM">// function sha1.hex(s) of sha1.js</span><span class="WHIT">
<span class='line'> 20</span> </span><span class="COMM">// jsbn.js</span><span class="WHIT">
<span class='line'> 21</span> </span><span class="COMM">// jsbn2.js</span><span class="WHIT">
-<span class='line'> 22</span> </span><span class="COMM">// rsa.js</span><span class="WHIT">
+<span class='line'> 22</span> </span><span class="COMM">// rsa_api.js</span><span class="WHIT">
<span class='line'> 23</span> </span><span class="COMM">// rsa2.js</span><span class="WHIT">
<span class='line'> 24</span> </span><span class="COMM">//</span><span class="WHIT">
<span class='line'> 25</span>
View
2 docs/api/symbols/src/x509-1.1.js.html
@@ -23,7 +23,7 @@
<span class='line'> 16</span>
<span class='line'> 17</span> </span><span class="COMM">// Depends:</span><span class="WHIT">
<span class='line'> 18</span> </span><span class="COMM">// base64.js</span><span class="WHIT">
-<span class='line'> 19</span> </span><span class="COMM">// rsa.js</span><span class="WHIT">
+<span class='line'> 19</span> </span><span class="COMM">// rsa_api.js</span><span class="WHIT">
<span class='line'> 20</span> </span><span class="COMM">// asn1hex.js</span><span class="WHIT">
<span class='line'> 21</span>
<span class='line'> 22</span> </span><span class="KEYW">function</span><span class="WHIT"> </span><span class="NAME">_x509_pemToBase64</span><span class="PUNC">(</span><span class="NAME">sCertPEM</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
View
2 docs/index.html
@@ -80,7 +80,7 @@
<li>jsbn2.js - BigInteger class extension</li>
<li>prng4.js - Random number generator</li>
<li>rng.js - Random number generator</li>
-<li>rsa.js - RSAKey class for RSA public key encryption.</li>
+<li>rsa_api.js - RSAKey class for RSA public key encryption.</li>
<li>rsa2.js - RSA class extension for RSA private key decryption.</li>
</ul>
</li>
View
2 THIRDPARTY_LICENSE.txt → lib/THIRDPARTY_LICENSE.txt
@@ -15,7 +15,7 @@ jsbn.js - basic BigInteger class
jsbn2.js - BigInteger class extension
prng4.js - Random number generator
rng.js - Random number generator
-rsa.js - RSAKey class for RSA public key encryption.
+rsa_api.js - RSAKey class for RSA public key encryption.
rsa2.js - RSA class extension for RSA private key decryption.
http://www-cs-students.stanford.edu/~tjw/jsbn/LICENSE
View
0 asn1hex.js → lib/asn1hex.js
File renamed without changes.
View
0 base64.js → lib/base64.js
File renamed without changes.
View
0 jsbn.js → lib/jsbn.js
File renamed without changes.
View
0 md5.js → lib/md5.js
File renamed without changes.
View
0 ripemd160.js → lib/ripemd160.js
File renamed without changes.
View
0 rsa_api.js → lib/rsa_api.js
File renamed without changes.
View
0 rsapem-1.1.js → lib/rsapem-1.1.js
File renamed without changes.
View
0 rsasign-1.2.js → lib/rsasign-1.2.js
File renamed without changes.
View
0 sha1.js → lib/sha1.js
File renamed without changes.
View
0 sha256.js → lib/sha256.js
File renamed without changes.
View
0 sha512.js → lib/sha512.js
File renamed without changes.
View
6 x509.js → lib/x509.js
@@ -5,7 +5,7 @@ if (typeof define !== 'function') {
var define = require('amdefine')(module);
}
-define(['require', './rsa', './asn1hex', './base64'], function(require) {
+define(['require', './rsa_api', './asn1hex', './base64'], function(require) {
var my = {};
//
// x509.js - X509 class to read subject public key from certificate.
@@ -26,8 +26,8 @@ define(['require', './rsa', './asn1hex', './base64'], function(require) {
// rsa.js
// asn1hex.js
-var base64 = require('./base64.js');
-var rsa = require('./rsa');
+var base64 = require('./base64');
+var rsa = require('./rsa_api');
var ASN1HEX = require('./asn1hex');
View
6 rsa.js
@@ -2,10 +2,10 @@ if (typeof define !== 'function') {
var define = require('amdefine')(module);
}
-define(function(require) {
- var rsa = require('./lib/rsa');
+define(['require', './lib/rsa_api', './lib/base64', './lib/x509', './lib/sha256'], function(require) {
+ var rsa = require('./lib/rsa_api');
var base64 = require('./lib/base64');
- var x509 = require('./lib/X509');
+ var x509 = require('./lib/x509');
var sha256 = require('./lib/sha256')
var my = {};

0 comments on commit 9bc4210

Please sign in to comment.