encryptMessageToReader

abstract fun encryptMessageToReader(@NonNull messagePlaintext: Array<Byte>): Array<Byte>

Deprecated

Applications should use PresentationSession and implement encryption/decryption themselves.

Encrypt a message for transmission to the reader.

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

Return

encrypted message.

Parameters

messagePlaintext

unencrypted message to encrypt.