sigParts.add(new WSEncryptionPart(secToken.getId()));
}
try {
byte[] secret = utBuilder.getDerivedKey();
secToken.setSecret(secret);
<BUG>if (ent.getKey().getDerivedKeys() == DerivedKeys.RequireDerivedKeys) {

doSymmSignatureDerived(ent.getKey(), secToken, sigParts, isTokenProtection);
} else {
doSymmSignature(ent.getKey(), secToken, sigParts, isTokenProtection);
</BUG>
}

sigParts.add(new WSEncryptionPart(secToken.getId()));
}
try {
byte[] secret = utBuilder.getDerivedKey();
secToken.setSecret(secret);
if (supportingToken.getToken().getDerivedKeys() == DerivedKeys.RequireDerivedKeys) {
doSymmSignatureDerived(supportingToken.getToken(), secToken, sigParts,
isTokenProtection);
} else {
doSymmSignature(supportingToken.getToken(), secToken, sigParts, isTokenProtection);
}
