signatures for multiple encodings is disclosed . in some embodiments , signatures for multiple encodings includes receiving a first signature of digitally signed data , wherein the first signature is a digital signature of data included in a first document having a first document encoding ; receiving a second signature of digitally signed data , wherein the second signature is a digital signature of data included in the first document having a second document encoding , and wherein the first document encoding and the second document encoding are different document encodings ; receiving a third signature of digitally signed data , wherein the third signature is a digital signature of data included in a canonicalized version of the first document having a canonical encoding , and wherein canonicalizing the first document includes providing a different order of data within the first document based on a canonical ordering ; selecting a signature from the received first signature , the received second signature , and the received third signature , wherein the first signature , the second signature , and the third signature are associated with the first document to provide a digitally signed first document ; and verifying the digitally signed data using the selected signature .