def METHOD_NAME(self):
    signed_resp = self.server.create_authn_response(
        self.ava,
        "id12",  # in_response_to
        "http://lingon.catalogix.se:8087/",  # consumer_url
        "urn:mace:example.com:saml:roland:sp",  # sp_entity_id
        name_id=self.name_id,
        sign_response=True,
        sign_assertion=True,
    )
    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!"
    valid = self.server.sec.verify_signature(
        signed_resp,
        self.server.config.cert_file,
        node_name="urn:oasis:names:tc:SAML:2.0:protocol:Response",
        node_id=sresponse.id,
    )
    assert valid
    assert ds.SIG_RSA_SHA1 in str(sresponse.assertion[0]), "Not correctly signed!"
    assert ds.DIGEST_SHA1 in str(sresponse.assertion[0]), "Not correctly signed!"
    valid = self.server.sec.verify_signature(
        signed_resp,
        self.server.config.cert_file,
        node_name="urn:oasis:names:tc:SAML:2.0:assertion:Assertion",
        node_id=sresponse.assertion[0].id,
    )
    assert valid
    self.verify_assertion(sresponse.assertion)