setSendSessionEstablishment
Configure whether to send SessionEstablishment
as the first message. Only an object with the role MdocRole.MDOC_READER will want to do this.
If set to false the first message to the mdoc will not contain eReaderKey
. This is useful for situations where this key has already been conveyed out-of-band, for example via reverse engagement.
The default value for this is true
.
Parameters
sendSessionEstablishment
whether to send SessionEstablishment
as the first message.
Throws
if role is MdocRole.MDOC_READER