summaryrefslogtreecommitdiff
path: root/lib/crypto.js
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2013-10-15 15:58:58 -0700
committerisaacs <i@izs.me>2013-10-15 15:58:58 -0700
commitd9b4cc323f481bf465384b2012ba5043e18fe098 (patch)
tree8c5490c168df350e172c769820a9cfa70bd5a61f /lib/crypto.js
parentaa94450b31a28d6251df3b88fdd652ddd1e67a69 (diff)
downloadandroid-node-v8-d9b4cc323f481bf465384b2012ba5043e18fe098.tar.gz
android-node-v8-d9b4cc323f481bf465384b2012ba5043e18fe098.tar.bz2
android-node-v8-d9b4cc323f481bf465384b2012ba5043e18fe098.zip
Revert "crypto: add SPKAC support"
This reverts commit 7f66e44dc1e90e7abda2a9ed02d7e8163e1f6358.
Diffstat (limited to 'lib/crypto.js')
-rw-r--r--lib/crypto.js24
1 files changed, 0 insertions, 24 deletions
diff --git a/lib/crypto.js b/lib/crypto.js
index 4f4e7e1c80..9cfc09e3c0 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;