Security: Separate setPublicKeyForKeyName and setPrivateKeyForKeyName