def sign_statement(self, statement, node_name, key=None,
                       key_file=None, node_id=None, id_attr="",
                       passphrase=None):
        if not id_attr:
            id_attr = ID_ATTR

        if not key_file and key:
            _, key_file = make_temp("%s" % key, ".pem")

        if not key and not key_file:
            key_file = self.key_file

        if not passphrase:
            passphrase = self.key_file_passphrase

        return self.crypto.sign_statement(statement, node_name, key_file,
                                          node_id, id_attr,
                                          passphrase=passphrase)
Tests that created identifiers satisfy usage of the identifier.
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/pysaml2-2.4.0/src/saml2/sigver.py/SecurityContext.sign_statement--crossover with--dataset/ETHPy150Open google/closure-linter/closure_linter/closurizednamespacesinfo_test.py/ClosurizedNamespacesInfoTest.testGetMissingRequires_createdIdentifier