|| WSSConstants.NS_XMLDSIG_HMACSHA512.equals(algorithm)
|| WSSConstants.NS_XMLDSIG_RSASHA256.equals(algorithm)
|| WSSConstants.NS_XMLDSIG_RSASHA384.equals(algorithm)
|| WSSConstants.NS_XMLDSIG_RSASHA512.equals(algorithm))) {
// Weakening this rule a bit to allow > SHA-1
securityContext.handleBSPRule(BSPRule.R5421);
}
BigInteger hmacOutputLength = XMLSecurityUtils.getQNameType(
signatureType.getSignedInfo().getSignatureMethod().getContent(),
WSSConstants.TAG_dsig_HMACOutputLength);