setReaderEphemeralPublicKey

abstract fun setReaderEphemeralPublicKey(@NonNull readerEphemeralPublicKey: PublicKey)

Deprecated

Use PresentationSession instead.

Set the ephemeral public key provided by the reader. This must be called before encryptMessageToReader or decryptMessageFromReader can be called.

Parameters

readerEphemeralPublicKey

The ephemeral public key provided by the reader to establish a secure session.

Throws

if the given key is invalid.