diff options
author | isaacs <i@izs.me> | 2013-10-15 15:58:58 -0700 |
---|---|---|
committer | isaacs <i@izs.me> | 2013-10-15 15:58:58 -0700 |
commit | d9b4cc323f481bf465384b2012ba5043e18fe098 (patch) | |
tree | 8c5490c168df350e172c769820a9cfa70bd5a61f /lib | |
parent | aa94450b31a28d6251df3b88fdd652ddd1e67a69 (diff) | |
download | nodejs-d9b4cc323f481bf465384b2012ba5043e18fe098.tar.gz nodejs-d9b4cc323f481bf465384b2012ba5043e18fe098.tar.bz2 nodejs-d9b4cc323f481bf465384b2012ba5043e18fe098.zip |
Revert "crypto: add SPKAC support"
This reverts commit 7f66e44dc1e90e7abda2a9ed02d7e8163e1f6358.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/crypto.js | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/lib/crypto.js b/lib/crypto.js index 4f4e7e1c8..9cfc09e3c 100644 --- a/lib/crypto.js +++ b/lib/crypto.js @@ -573,30 +573,6 @@ function pbkdf2(password, salt, iterations, keylen, callback) { } -exports.Certificate = Certificate; - -function Certificate() { - if (!(this instanceof Certificate)) - return new Certificate(); - - this._binding = new binding.Certificate(); -} - - -Certificate.prototype.verifySpkac = function(object) { - return this._binding.verifySpkac(object); -}; - - -Certificate.prototype.exportPublicKey = function(object, encoding) { - return this._binding.exportPublicKey(toBuf(object, encoding)); -}; - - -Certificate.prototype.exportChallenge = function(object, encoding) { - return this._binding.exportChallenge(toBuf(object, encoding)); -}; - exports.randomBytes = randomBytes; exports.pseudoRandomBytes = pseudoRandomBytes; |