def METHOD_NAME(self):
    print(ds.DefaultSignature().get_digest_alg())
    name_id = self.server.ident.transient_nameid("urn:mace:example.com:saml:roland:sp", "id12")
    ava = {"givenName": ["Derek"], "surName": ["Jeter"], "mail": ["derek@nyy.mlb.com"], "title": "The man"}
    signed_resp = self.server.create_authn_response(
        ava,
        "id12",  # in_response_to
        "http://lingon.catalogix.se:8087/",  # consumer_url
        "urn:mace:example.com:saml:roland:sp",  # sp_entity_id
        name_id=name_id,
        sign_assertion=True,
    )
    print(signed_resp)
    assert signed_resp
    sresponse = response_from_string(signed_resp)
    assert ds.SIG_RSA_SHA1 in str(sresponse), "Not correctly signed!"
    assert ds.DIGEST_SHA1 in str(sresponse), "Not correctly signed!"