|
FOROS PROFESIONALES WINDEV, WEBDEV y WINDEV Mobile |
| | | | | |
| digital signing for XML files using a digital certificates |
| Iniciado por Clages1, 05,nov. 2014 16:05 - No hay respuesta |
| |
| | | |
|
| |
| Publicado el 05,noviembre 2014 - 16:05 |
Hi I would like to Know how big is "sTextoXML : string with content of XML file to sign" since i can have a very big XML file..
I believe that the best option would be to use a TXT Xml file instead a String, since String has some limitation.
any body knows if i can use Txt file (wich contents is XML) ? or how many bytes in sTextoXML (string) tks Carlos Lages
This component allows digital signing for XML files using a digital certificates -First, you need import this component to project -After import, two new classes are created (CertificadosDigitais Class - Manage digital certificates | AssinaturaDigital Class - Contains the method for apply the signature on XML files) To use this component it's needed declare an object of AssinaturaDigital class and call assinarXML method. Parameters of assinarXML method: - sTextoXML : string with content of XML file to sign - sURI : URI for the signing - sNroSerieCertificado : Serial Number of digital certificate (note: if this parameter is string blank "" a window be show for user to select an certificate)
assinarXML method result it's a string of original XML content with signing tags |
| |
| |
| | | |
|
| | | | |
| | |
| | |
| |
|
|
|