All greetings!
I know english badly, so in advance I am sorry :(
Help who can, 3 weeks I fight and that does not leave. :(
It is necessary to sign the document with the digital signature (the standard way does not approach). for this purpose a module was written which signs on the basis of the certificate and a private key.
As I ...