ParcelCollection

class ParcelCollection(val parcelSerialized: ByteArray, val trustedCertificates: Collection<Certificate>, val ack: suspend () -> Unit)

Collection of a single parcel.

Parameters

parcelSerialized

The serialization of the parcel

trustedCertificates

The collection of certificates regarded trusted

ack

The callback to execute when the collection is acknowledged

Constructors

Link copied to clipboard
constructor(parcelSerialized: ByteArray, trustedCertificates: Collection<Certificate>, ack: suspend () -> Unit)

Properties

Link copied to clipboard
val ack: suspend () -> Unit
Link copied to clipboard

Functions

Link copied to clipboard

Deserialize and validate the parcel being collected.