CargoCollectionRequest

class CargoCollectionRequest(val cargoDeliveryAuthorization: Certificate) : GatewayEncryptedPayload

Constructors

Link copied to clipboard
constructor(cargoDeliveryAuthorization: Certificate)

Types

Link copied to clipboard
object Companion

Properties

Functions

Link copied to clipboard
fun encrypt(recipientSessionKey: SessionKey, senderSessionKeyPair: SessionKeyPair, symmetricCipher: SymmetricCipher = SymmetricCipher.AES_128, hashingAlgorithm: HashingAlgorithm = HashingAlgorithm.SHA256): ByteArray
Link copied to clipboard
open override fun serializePlaintext(): ByteArray