mirror of
https://github.com/node-ebics/node-ebics-client.git
synced 2024-11-22 14:12:07 +00:00
17 lines
245 B
JavaScript
17 lines
245 B
JavaScript
'use strict';
|
|
|
|
const Signer = require('../Signer');
|
|
|
|
module.exports = class XMLSign {
|
|
static go(keys, xml) {
|
|
const signer = new Signer(keys, xml);
|
|
|
|
signer.digest();
|
|
signer.sign();
|
|
|
|
this.data = signer.toXML();
|
|
|
|
return this.data;
|
|
}
|
|
};
|