def generate(self, resource_provider, resource):
provider = resource_provider["<STR_LIT>"]<EOL>if provider == "<STR_LIT>":<EOL><INDENT>return self.generateGithubRepositorySignature(resource_provider, resource)<EOL><DEDENT>if provider == "<STR_LIT>":<EOL><INDENT>return self.generateBitbucketRepositorySignature(resource_provider, resource)<EOL><DEDENT>if provider == "<STR_LIT>":<EOL><INDENT>return self.generateGooglecodeRepositorySignature(resource_provider, resource)<EOL><DEDENT>if provider == "<STR_LIT>":<EOL><INDENT>return self.generateFedoraDistributionPackageSignature(resource_provider, resource)<EOL><DEDENT>
Generate project (snapshot) signature

        :param resource_provider: project provider
        :type  resource_provider: dict
        :param resource: project resource
        :type  resource: ProjectResource