security: In FilePrivateKeyStorage.generateKeyPair, added support for KEY_TYPE_EC.