updateStore

expect fun updateStore(storeId: String, users: List<UserWithPubKey>, managers: List<UserWithPubKey>, publicMeta: ByteArray, privateMeta: ByteArray, version: Long, force: Boolean = false, forceGenerateNewKey: Boolean = false, policies: ContainerPolicy? = null)

Updates an existing Store.

Parameters

storeId

ID of the Store to update

users

list of UserWithPubKey which indicates who will have access to the updated Store

managers

list of UserWithPubKey which indicates who will have access (and management rights) to the updated Store

publicMeta

public (unencrypted) metadata

privateMeta

private (encrypted) metadata

version

current version of the updated Store

force

force update (without checking version)

Throws

thrown when instance is closed

thrown when method encounters an exception

thrown when method encounters an unknown exception

actual fun updateStore(storeId: String, users: List<UserWithPubKey>, managers: List<UserWithPubKey>, publicMeta: ByteArray, privateMeta: ByteArray, version: Long, force: Boolean, forceGenerateNewKey: Boolean, policies: ContainerPolicy?)

Updates an existing Store.

Parameters

storeId

ID of the Store to update

users

list of UserWithPubKey which indicates who will have access to the updated Store

managers

list of UserWithPubKey which indicates who will have access (and management rights) to the updated Store

publicMeta

public (unencrypted) metadata

privateMeta

private (encrypted) metadata

version

current version of the updated Store

force

force update (without checking version)

Throws

thrown when instance is closed

thrown when method encounters an exception

thrown when method encounters an unknown exception

actual external fun updateStore(storeId: String, users: List<UserWithPubKey>, managers: List<UserWithPubKey>, publicMeta: ByteArray, privateMeta: ByteArray, version: Long, force: Boolean, forceGenerateNewKey: Boolean, policies: ContainerPolicy?)

Updates an existing Store.

Parameters

storeId

ID of the Store to update

users

list of UserWithPubKey which indicates who will have access to the updated Store

managers

list of UserWithPubKey which indicates who will have access (and management rights) to the updated Store

publicMeta

public (unencrypted) metadata

privateMeta

private (encrypted) metadata

version

current version of the updated Store

force

force update (without checking version)

Throws

thrown when instance is closed

thrown when method encounters an exception

thrown when method encounters an unknown exception