def generate(self, resource_provider, resource):
		"""Generate project (snapshot) signature

		:param resource_provider: project provider
		:type  resource_provider: dict
		:param resource: project resource
		:type  resource: ProjectResource
		"""
		provider = resource_provider["provider"]
		if provider == "github":
			return self.generateGithubRepositorySignature(resource_provider, resource)
		if provider == "bitbucket":
			return self.generateBitbucketRepositorySignature(resource_provider, resource)
		if provider == "googlecode":
			return self.generateGooglecodeRepositorySignature(resource_provider, resource)
		if provider == "fedora":
			return self.generateFedoraDistributionPackageSignature(resource_provider, resource)