setReaderEphemeralPublicKey

abstract fun setReaderEphemeralPublicKey(@NonNull readerEphemeralPublicKey: PublicKey)

Set the ephemeral public key provided by the verifier.

If called, this must be called before any calls to getCredentialData.

This method can only be called once per PresentationSession instance.

Parameters

readerEphemeralPublicKey

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

Throws

if the given key is invalid.