Patent ID: 8375211

Claim:
A computer implemented method for processing an extensible markup language digital signature, the computer implemented method comprising: receiving a non-canonicalized serialized byte array and a source hash value, wherein the non-canonicalized serialized byte array comprises a source extensible markup language document, wherein the source hash value is calculated using the non-canonicalized serialized byte array, a source offset that indicates a beginning of the source extensible markup language document, and a source length value that indicates a total length of one of the source extensible markup language document or a payload, and wherein the source hash value is an element in the extensible markup language digital signature used to sign a subset of the non-canonicalized serialized byte array; calculating, by a computer, a target offset and a target length value of a signed part in the non-canonicalized serialized byte array; calculating a target hash value using the non-canonicalized serialized byte array, the target offset, and the target length value; and verifying an integrity of the non-canonicalized serialized byte array by comparing the target hash value and the source hash value.