Angelo Messina Active Member Licensed User Longtime User Jul 24, 2019 #1 this time I have a problem with writing digital files with the digital signature and I asked you if you could give me some indication about how to get: <SignedInfo><CanonicalizationMethod Algorithm = "http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /> <SignatureMethod Algorithm = "http://www.w3.org/2001/04/xmldsig-more#rsa-sha256" /> <Reference URI = ""> <Transforms> <Transform Algorithm = "http://www.w3.org/2000/09/xmldsig#enveloped-signature" /> </ Transforms> <DigestMethod Algorithm = "http://www.w3.org/2001/04/xmlenc#sha256" /> <DigestValue> xxxxxx </ DigestValue> <SignedInfo> <SignatureValue> yyyyyyyy </ SignatureValue> I have to get xxxxxx and yyyyyyyyy thank you! Last edited by a moderator: Jul 25, 2019
this time I have a problem with writing digital files with the digital signature and I asked you if you could give me some indication about how to get: <SignedInfo><CanonicalizationMethod Algorithm = "http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /> <SignatureMethod Algorithm = "http://www.w3.org/2001/04/xmldsig-more#rsa-sha256" /> <Reference URI = ""> <Transforms> <Transform Algorithm = "http://www.w3.org/2000/09/xmldsig#enveloped-signature" /> </ Transforms> <DigestMethod Algorithm = "http://www.w3.org/2001/04/xmlenc#sha256" /> <DigestValue> xxxxxx </ DigestValue> <SignedInfo> <SignatureValue> yyyyyyyy </ SignatureValue> I have to get xxxxxx and yyyyyyyyy thank you!
Erel B4X founder Staff member Licensed User Longtime User Jul 25, 2019 #2 The question is not very clear. You can use MessageDigest from the Encryption library to calculate the signature: https://www.b4x.com/android/help/encryption.html#messagedigest Upvote 0
The question is not very clear. You can use MessageDigest from the Encryption library to calculate the signature: https://www.b4x.com/android/help/encryption.html#messagedigest