signerOutputStream = new SignerOutputStream(signatureAlgorithm);
bufferedSignerOutputStream = new UnsynchronizedBufferedOutputStream(signerOutputStream);
final CanonicalizationMethodType canonicalizationMethodType =
signatureType.getSignedInfo().getCanonicalizationMethod();
InclusiveNamespaces inclusiveNamespacesType =
XMLSecurityUtils.getQNameType(
canonicalizationMethodType.getContent(),
XMLSecurityConstants.TAG_c14nExcl_InclusiveNamespaces
);
List<String> inclusiveNamespaces = inclusiveNamespacesType != null
? inclusiveNamespacesType.getPrefixList()
: null;
transformer = XMLSecurityUtils.getTransformer(
inclusiveNamespaces,
this.bufferedSignerOutputStream,
canonicalizationMethodType.getAlgorithm(),