Android Question managing the signature of XML files

Angelo Messina

Active Member
Licensed User
Longtime User
I have to send data to the Italian tax agency and use xml files to sign.
I attach an example

the first is the request for a certificate


the second is activation


and the third is the transmission of the sales amounts
 
Upvote 0

Angelo Messina

Active Member
Licensed User
Longtime User
and the third is the transmission of the sales amounts

 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
again: where is the documentation which describes the signingprotocol?
Posting some examples is of NO help.

Help us helping you and post a detailed description of the needed signing (in english language).
Otherwise i am not able to help here. And probably no other too.
 
Upvote 0

Angelo Messina

Active Member
Licensed User
Longtime User
REST API Devices
API for the use of the management and transmission services of the Fees. Where the term signed file is used, reference is made to a file in xml format signed with Xml Signature conforming to a specific element of an xml schema where the Signature element contains the XML signature. The definition of the XML signature format can be found at http://www.w3.org/TR/xmldsig-core/ (http://www.w3.org/TR/xmldsig-core/). The XML signature is profiled to facilitate interoperability, in particular:
within the Signature element there is no optional Object element
within the SignedInfo element there is a single Reference element that identifies the entire document (URI = "")
only the canonicalization algorithm is used http://www.w3.org/TR/2001/RECxml-c14n-20010315 as defined in http://www.w3.org/TR/xml-c14n (http: // www.w3.org/TR/xmlc14n)
only the signature algorithm is used http://www.w3.org/2001/04/xmldsig-more#rsasha256 as defined in http://www.w3.org/TR/xmldsig-core/ (http: / /www.w3.org/TR/xmldsig-core/)
only the hash algorithm is used http://www.w3.org/2001/04/xmlenc#sha256 as defined in http://www.w3.org/TR/xmlenc-core/ (http: // www .w3.org / TR / xmlenc-core /)
the transformation to be applied during the signature generation phase is the one defined in http://www.w3.org/TR/xmldsig-core/ (http://www.w3.org/TR/xmldsig-core/) as
http://www.w3.org/2000/09/xmldsig#envelopedsignature
the KeyInfo element contains only the signature key certificate
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…