IdentityManager: In makeSignatureByCertificate, added support for KEY_TYPE_EC.