Checksums

interface Checksums

A container for a @{link RemoteFile} and the available checksums of its contents.

Functions

getFile
Link copied to clipboard
@NotNull
abstract fun getFile(): RemoteFile
Return the metadata about the target file.
getMd5
Link copied to clipboard
@Nullable
abstract fun getMd5(): ByteString
Return the MD5 digest of the file, if avaialable.
getSha1
Link copied to clipboard
@Nullable
abstract fun getSha1(): ByteString
Return the SHA-1 digest of the file, if avaialable.
getSha256
Link copied to clipboard
@Nullable
abstract fun getSha256(): ByteString
Return the SHA-256 digest of the file, if avaialable.

Inheritors

ChecksumsResponse
Link copied to clipboard