Util.getGovernanceSystemRegistry(MultitenantConstants.SUPER_TENANT_ID);
String domainValidatorInfoPath = StratosConstants.DOMAIN_VALIDATOR_INFO_PATH +
RegistryConstants.PATH_SEPARATOR +
domain + RegistryConstants.PATH_SEPARATOR +
StratosConstants.VALIDATION_KEY_RESOURCE_NAME;
if (governanceSystemRegistry.resourceExists(domainValidatorInfoPath)) {
Resource resource = governanceSystemRegistry.get(domainValidatorInfoPath);
Object contentObj = resource.getContent();
if (contentObj instanceof String) {
return (String) contentObj;
} else if (contentObj instanceof byte[]) {