aries / net.globalid.aries.utils / RxDid / createAndStoreMyPeerDid

createAndStoreMyPeerDid

@JvmStatic @JvmOverloads fun createAndStoreMyPeerDid(wallet: Wallet, myDidInformation: MyDidInformation? = null): Single<DidResult>

An utility for creating a peer Did. These are useful for P2P communications, because they are not written to a ledger but are used in the specific connection only.

Parameters

wallet - is the wallet to store the did in

myDidInformation - is the identity information data

Return
single DidResult holds the created did and verkey