There are configurations options in the SAML2SignatureGenerationHandler for SIGN_METHOD and SIGN_DIGEST
https://docs.jboss.org/author/display/PLINK/SAML2SignatureGenerationHandler