signature.sign(dsc);
signedAssertion = assertionElement;
return assertionElement;
} catch (XWSSecurityException ex) {
throw new SAMLException(ex);
} catch (MarshalException ex) {
throw new SAMLException(ex);
} catch (NoSuchAlgorithmException ex) {
throw new SAMLException(ex);
} catch (SOAPException ex) {
throw new SAMLException(ex);
} catch (XMLSignatureException ex) {
throw new SAMLException(ex);
} catch (InvalidAlgorithmParameterException ex) {
throw new SAMLException(ex);
}
}