proteusDecrypt

suspend fun proteusDecrypt(message: ByteArray, sessionId: SessionId): ByteArray

Decrypt an incoming message for an existing session

Return

The decrypted payload contained within the message

Parameters

message
  • CBOR encoded, encrypted proteus message

sessionId
  • ID of the Proteus session