Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: dsig.createSignature is not a function. #5

Open
iamnewspecies opened this issue Feb 17, 2016 · 1 comment
Open

TypeError: dsig.createSignature is not a function. #5

iamnewspecies opened this issue Feb 17, 2016 · 1 comment

Comments

@iamnewspecies
Copy link

I am using the code given in the Readme.txt. But I am getting TypeError: dsig.createSignature is not a function. What am I missing.

@deoxxa
Copy link
Owner

deoxxa commented Feb 17, 2016

Looks like the readme is out of date. You might have luck with:

var DigitalSignature = require('xml-dsig');

var dsig = new DigitalSignature();

dsig.createSignature(...);

I haven't touched this code for ages though, and I have no use for it anymore, so you might have to go digging around in the source (like I just did) to figure out any other problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants