flocore/lib/Key.js
Ryan X. Charles 5f6d02f5de add proper DER signature support to Key
both creating DER signature from the r and s values, and parsing a DER
signature into the r, s, and other properties.
2014-07-17 13:09:35 -07:00

10 lines
204 B
JavaScript

var Key = require('bindings')('KeyModule').Key;
var CommonKey = require('./common/Key');
for (var i in CommonKey) {
if (CommonKey.hasOwnProperty(i))
Key[i] = CommonKey[i];
}
module.exports = Key;