inclusiveNamespaces = new InclusiveNamespaces(inclusiveElement,
this._transformObject.getBaseURI());
}
Canonicalizer20010315ExclOmitComments c14n =
new Canonicalizer20010315ExclOmitComments();
if (input.isOctetStream()) {
return new XMLSignatureInput(c14n
.engineCanonicalize(input.getBytes()));
} else {
if (inclusiveNamespaces == null) {
return new XMLSignatureInput(c14n
.engineCanonicalizeXPathNodeSet(input.getNodeSet()));
} else {
return new XMLSignatureInput(c14n
.engineCanonicalizeXPathNodeSet(input
.getNodeSet(), inclusiveNamespaces
.getInclusiveNamespaces()));
}
}