File

data class File(val info: ServerFileInfo, val publicMeta: ByteArray, val privateMeta: ByteArray, val size: Long?, val authorPubKey: String, val statusCode: Long?, val schemaVersion: Long?)

Holds information about the file.

Constructors

Link copied to clipboard
constructor(info: ServerFileInfo, publicMeta: ByteArray, privateMeta: ByteArray, size: Long?, authorPubKey: String, statusCode: Long?)

Holds information about the file.

constructor(info: ServerFileInfo, publicMeta: ByteArray, privateMeta: ByteArray, size: Long?, authorPubKey: String, statusCode: Long?, schemaVersion: Long?)

Properties

Link copied to clipboard

Public key of the author of the file

Link copied to clipboard

File's information created by server

Link copied to clipboard

File's private metadata

Link copied to clipboard

File's public metadata

Link copied to clipboard

Version of the file data structure and how it is encoded/encrypted.

Link copied to clipboard
val size: Long?

File's size

Link copied to clipboard

Status code of retrieval and decryption of the file

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int