security: In FilePrivateKeyStorage, implement generateKeyPair and getPublicKey.