Digital signature from RPS to NFe. Signature

1

Digital signature from RPS to NFe. Signature.

To process the SOAP request for NFe, it is necessary to fill in some TAGs correctly.

What I'm missing is filling in the TAGs: DigestValue, SignatureValue, and X509Certificate. Certificate is already installed. Only I do not know how to get the values for these TAGs Please someone help.

Below is part of the SOAP Request for Signature with sample strings for DigestValue, SignatureValue, X509Certificate, so I need to know how to get them correctly.

z1PSJj6aq5xKAAUuyjLusPxJpko = gwxE9B5gt0jONIaC / qgXdJaOlzhA + rQnPExq / 5FGPbDp4VSeJFDnUPNbqE0e + UycEzvQb9agt1eoe0GJeRGbEVRrkC MIIH8zCCBdugAwIBAgIcmFzaWwxMjAwBgNVBAsq / yDXSuzk / i / 6qWlsroGyCEaJqoMFGV91LeaEbFRlndW0O7Ut2CmWbyTk2ElXT0ZM

    
asked by anonymous 29.05.2017 / 21:26

1 answer

0

You're probably looking at signing an XML document so it can be streamed, is not it?

Here's a link that can help you understand the implementation of your subscription function: Signing XML document with digital signatures

Whenever I tried to work with signatures, I used MSDN for guidance and understanding of all the required classes. I would advise you to check all the functions, attributes, and objects involved in developing the signing process, certificate reading, and validations that you need to use.

Here is an example of how to develop XML signature using C #: Digitally signing an XML using C #

    
29.05.2017 / 21:45