Add static method certificateNameToPublicKeyName in identity certificate
Change members of policy rule from const to non-const