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

Не удается создать XML подпись #150

Open
uvixmi opened this issue Jun 11, 2024 · 0 comments
Open

Не удается создать XML подпись #150

uvixmi opened this issue Jun 11, 2024 · 0 comments

Comments

@uvixmi
Copy link

uvixmi commented Jun 11, 2024

Подскажите, пожалуйста, в чем может быть проблема?

При попытке создания XML подписи происходит ошибка

crypto-pro_createXMLSignature.js:24 {message: 'The parameter is incorrect.\n (0x80070057)', requestid: 13478, type: 'error'}
App.js:138 Ошибка при создании XML подписи: Error: Ошибка при указании данных для подписи
at anonymous (crypto-pro_createXMLSignature.js:25:21)
at anonymous.throw ()
at Function.n (file-signature-in-react.es.js:682:1)

Реализую на React, у вас в examples только script-tag, подняв его тоже не получается подписать.
Судя по unit-тестам должна возвращаться "signature", что тоже не очень понятно. Не могу понять причину. Заранее благодарю

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

1 participant