Android Question Signature and Digest for XML

Angelo Messina

Active Member
Licensed User
Longtime User
Hi, what do you suggest for signing XML files, having only the certificate and the CRS issued by the revenue agency to transmit the monthly sales amounts using only B4A.

What do you advise me to do? I'm in trouble I have to deliver a job and I only need this part.

Thank you
 

Angelo Messina

Active Member
Licensed User
Longtime User
I had seen in the post the examples but they don't work, the public key part is missing and as soon as I try to insert it it causes an errorCaused by: java.lang.RuntimeException: error: 0c0890ba: ASN.1 encoding routines: asn1_check_tlen: WRONG_TAGI

don't understand what he wants I tried with DER / DEM - byte - Stringcan you explain to me how to do it? thank you so much
 
Upvote 0

Angelo Messina

Active Member
Licensed User
Longtime User
however I thank you for the help given to me, but I can't understand how to get the Signature Value using a public or private key, or in this case we use GenerateKey. I ask you for the courtesy of an example that works.
Thank you so much.
 
Upvote 0
Top