File

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

Holds information about the file.

Constructors

Link copied to clipboard
constructor(info: ServerFileInfo, publicMeta: ByteArray, privateMeta: ByteArray, size: Long?, authorPubKey: String, statusCode: 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
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