Cargo Collection Authorization
class CargoCollectionAuthorization(recipient: Recipient, payload: ByteArray, senderCertificate: Certificate, messageId: String? = null, creationDate: ZonedDateTime? = null, ttl: Int? = null, senderCertificateChain: Set<Certificate>? = null) : EncryptedRAMFMessage<CargoCollectionRequest>
Cargo Collection Authorization (CCA)
Constructors
Link copied to clipboard
constructor(recipient: Recipient, payload: ByteArray, senderCertificate: Certificate, messageId: String? = null, creationDate: ZonedDateTime? = null, ttl: Int? = null, senderCertificateChain: Set<Certificate>? = null)
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Serialize the message.
Link copied to clipboard
suspend fun unwrapPayload(privateKeyStore: PrivateKeyStore): PayloadUnwrapping<CargoCollectionRequest>
Decrypt and deserialize payload.
Link copied to clipboard
Validate the message.