Gets pairwise information for specific their_did.

    :param wallet_handle: wallet handler (created by open_wallet).
    :param their_did: encoded Did
    :return: pairwise_info_json: did info associated with their did

async def get_pairwise(wallet_handle: int,
                       their_did: str) -> None:
    """
    Gets pairwise information for specific their_did.

    :param wallet_handle: wallet handler (created by open_wallet).
    :param their_did: encoded Did
    :return: pairwise_info_json: did info associated with their did
    """

    logger = logging.getLogger(__name__)
    logger.debug("get_pairwise: >>> wallet_handle: %r, their_did: %r",
                 wallet_handle,
                 their_did)

    if not hasattr(get_pairwise, "cb"):
        logger.debug("get_pairwise: Creating callback")
        get_pairwise.cb = create_cb(CFUNCTYPE(None, c_int32, c_int32, c_char_p))

    c_wallet_handle = c_int32(wallet_handle)
    c_their_did = c_char_p(their_did.encode('utf-8'))

    pairwise_info_json = await do_call('indy_get_pairwise',
                                       c_wallet_handle,
                                       c_their_did,
                                       get_pairwise.cb)

    res = pairwise_info_json.decode()
    logger.debug("get_pairwise: <<< res: %r", res)
    return res