security: In MemoryPrivateKeyStorage, fix method name for setPublicKeyForKeyName.