fun packMessage(wallet: Wallet, outboundMessage: OutboundMessage): Single<OutboundPackage>
Encrypts an agent message from OutboundMessage
wallet
- is the agent's wallet
outboundMessage
- is the unencrypted agent message
Return
OutboundPackage is the encrypted message for outbound transport with endpoint URI.