docs: async def create_and_store_my_did(wallet_handle: int,
                                    did_json: str) -> (str, str):
      """
      Creates keys (signing and encryption keys) for a new
      DID (owned by the caller of the library).
      Identity's DID must be either explicitly provided, or taken as the first 16 bit of verkey.
      Saves the Identity DID with keys in a secured Wallet, so that it can be used to sign
      and encrypt transactions.
  
      :param wallet_handle: wallet handler (created by open_wallet).
      :param did_json: Identity information as json. Example:
          {
              "did": string, (optional;
                      if not provided and cid param is false then the first 16 bit of the verkey will be
                      used as a new DID;
                      if not provided and cid is true then the full verkey will be used as a new DID;
                      if provided, then keys will be replaced - key rotation use case)
  	        "seed": string, (optional) Seed that allows deterministic key creation (if not set random one will be created).
  	                                    Can be UTF-8, base64 or hex string.
              "crypto_type": string, (optional; if not set then ed25519 curve is used;
                        currently only 'ed25519' value is supported for this field)
              "cid": bool, (optional; if not set then false is used;)
          }
      :return: DID and verkey (for verification of signature)
      """
  
      logger = logging.getLogger(__name__)
      logger.debug("create_and_store_my_did: >>> wallet_handle: %r, did_json: %r",
                   wallet_handle,
                   did_json)
  
      if not hasattr(create_and_store_my_did, "cb"):
          logger.debug("create_wallet: Creating callback")
          create_and_store_my_did.cb = create_cb(CFUNCTYPE(None, c_int32, c_int32, c_char_p, c_char_p))
  
      c_wallet_handle = c_int32(wallet_handle)
      c_did_json = c_char_p(did_json.encode('utf-8'))
  
      did, verkey = await do_call('indy_create_and_store_my_did',
                                  c_wallet_handle,
                                  c_did_json,
                                  create_and_store_my_did.cb)
  
      res = (did.decode(), verkey.decode())
  
      logger.debug("create_and_store_my_did: <<< res: %r", res)
      return res