Set a Content-Type header for unencrypted data.
Encrypt the data with the app public key.
If a string is specified, it is used as the public key.
If the boolean true
is specified then the current user's app public key is used.
Optionally use a specified Gaia hub configuration
If set to true
the data is signed using ECDSA on SHA256 hashes with the user's
app private key. If a string is specified, it is used as the private key instead
of the user's app private key.
Generated using TypeDoc
Specify a valid MIME type, encryption, and whether to sign the UserSession.putFile.