Skip to main content

store

//d1-client-java/io.cybercrypt.d1.serviceClients/Store/store

store

[d1]\

public abstract StoreResponsestore(Array<byte>plaintext, Array<byte>associatedData)

Encrypt and store some data in the storage attached to D1.

Return​

an instance of StoreResponse.

Parameters​

d1

plaintextthe plaintext to store.
associatedDatathe attached associated data.

[d1]\

public abstract StoreResponsestore(Array<byte>plaintext, Array<byte>associatedData, List<String>groupIds)

Encrypt and store some data in the storage attached to D1.

Return​

an instance of StoreResponse.

Parameters​

d1

plaintextthe plaintext to store.
associatedDatathe attached associated data.
groupIdsadditional groups to add to the access list.