This commit is contained in:
AJ ONeal 2016-08-01 14:09:07 -04:00
parent 38014bcf07
commit 67d28867e7
1 changed files with 0 additions and 21 deletions

View File

@ -6,27 +6,6 @@ function notToJson() {
return undefined;
}
/*
function importPrivateKey(privateKey) {
return forge.pki.rsa.setPrivateKey(
base64ToBn(privateKey.n)
, base64ToBn(privateKey.e)
, base64ToBn(privateKey.d)
, base64ToBn(privateKey.p)
, base64ToBn(privateKey.q)
, base64ToBn(privateKey.dp)
, base64ToBn(privateKey.dq)
, base64ToBn(privateKey.qi)
);
}
function importPublicKey(publicKey) {
return forge.pki.rsa.setPublicKey(
base64ToBn(publicKey.n),
base64ToBn(publicKey.e));
}
*/
var forgec = module.exports = {