decryptMessageFromReader

abstract fun decryptMessageFromReader(@NonNull messageCiphertext: Array<Byte>): Array<Byte>

Deprecated

Applications should use PresentationSession and implement encryption/decryption themselves.

Decrypt a message received from the reader.

In order for this to work, setSessionTranscript and setReaderEphemeralPublicKey must have already been called.

Return

decrypted message.

Parameters

messageCiphertext

encrypted message to decrypt.

Throws

if the ciphertext couldn't be decrypted.