Optional
listOptions: { Optional
listOptions: { Private
#manualPrivate
#manualPrivate
#manualPrivate
#privatePrivate
#privatePrivate
#publicPrivate
#publicPrivate
#queryPrivate
Readonly
#blockstorePrivate
Readonly
#modificationsPrivate
Readonly
#onPrivate
#privatePrivate
Readonly
#rngPrivate
#rootLoad a shared item.
NOTE: A share can only be received if the exchange key was registered and the receiver is in possession of the associated private key.
The data root CID from the sharer
A RSA-OAEP-256 key pair
Optional overrides
Optional
shareSpecify what shareId to use, otherwise this'll load the last share that was made to the given exchange key.
Optional
sharerSpecify what blockstore to use to load the sharer's file system.
Optional
sharerSpecify what root tree class was used for the sharer's file system.
Register an exchange key.
A name for the key (using an existing name overrides the old key)
A RSA-OAEP-256 public key in the form of a CryptoKey
or its modulus bytes
Share a private file or directory.
NOTE: A share can only be received if the exchange key was registered and the receiver is in possession of the associated private key.
Path to the private file or directory to share (with 'private' prefix)
Data root CID of the receiver
Optional overrides
Optional
receiverSpecify what blockstore to use to load the receiver's file system
Optional
receiverSpecify what root tree class was used for the receiver's file system
Generated using TypeDoc
Check if an exchange key was already registered.