Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp209034pxb; Wed, 22 Sep 2021 20:30:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyi1WuHOsU4IXU9wFdbNEFJzbVa6/OKAtK75uYYc0uepx5+v22O78nBHB/NxoSA63JTSLFC X-Received: by 2002:a05:6402:299:: with SMTP id l25mr2961977edv.343.1632367808422; Wed, 22 Sep 2021 20:30:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632367808; cv=none; d=google.com; s=arc-20160816; b=FcL20/weARjbE+BgnPY211LeAjwQXzeQRJDmFs+vk7tL1H8pmlfjCp5WnnGvSIOyga o32WCMXUGC0AZTMnwMGtd0w3EARAhOumBHd0bMs3OBe0FjFsvJszXUF05YyBcRe3rBhG BiHLfVnxQ6Oj2Z3wkgDez6cRMd7Mk7jWenCf4pMtHNwzw42uhQL+ZyQLxNbRc76XewPb Qf7jkuW8lncHvYpbBQD/3vaRll4CUrrfkJnfAHKqsN4Hbphyrt2nW+Tvc9n8jI/17o2C VeYZAq+DRP0iQrSGeosTzRG8itOHYu6sz5U8lM9O8/U1eUgemIdGGIj/yAhy0w6E1VAU rumw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=HzdtBwiG+KyszeljeviJgLd9r+/d4CwoMReQHpDSOZY=; b=GbKCVCR8TfhRreIRr9/TZ2tqCoLD4knOiXSmYSzkvfo2vuzK3e/YcLNe2F8fGsIO/B 1pZXSGnIpUGwPZRWOtMONyvpjwb7dFieBqakpaOURS1JxcB07xKqPDfjb7tsiKtK9dnQ UtNByXuwNMcrU7VZ73EBS+o9mN55vaqBbVZcveF4MaYZ7IwK3HuQa3q1fQhKS1fQPlAT vUojwUY6/53RZmdmYi3k1azEUey+7STJ5TcfVOOYI247S/79l3L7FaTYWw891awGrE1t wiia4CBvStyxTOZmyom9VikisMey91ISCs7c9g6UnlI0DLA8p90Bdhchey8e1oz14SFp 3evQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 17si4809568ejx.425.2021.09.22.20.29.45; Wed, 22 Sep 2021 20:30:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239058AbhIWD24 (ORCPT + 99 others); Wed, 22 Sep 2021 23:28:56 -0400 Received: from mga11.intel.com ([192.55.52.93]:16373 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239066AbhIWD2p (ORCPT ); Wed, 22 Sep 2021 23:28:45 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10115"; a="220555930" X-IronPort-AV: E=Sophos;i="5.85,315,1624345200"; d="scan'208";a="220555930" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Sep 2021 20:27:01 -0700 X-IronPort-AV: E=Sophos;i="5.85,315,1624345200"; d="scan'208";a="534072397" Received: from jdudwadk-mobl.amr.corp.intel.com (HELO istotlan-desk.intel.com) ([10.212.205.211]) by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Sep 2021 20:27:01 -0700 From: Inga Stotland To: linux-bluetooth@vger.kernel.org Cc: brian.gix@intel.com, Inga Stotland Subject: [PATCH BlueZ 16/20] doc/mesh-api: Add ExportKeys call Date: Wed, 22 Sep 2021 20:25:59 -0700 Message-Id: <20210923032603.50536-17-inga.stotland@intel.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210923032603.50536-1-inga.stotland@intel.com> References: <20210923032603.50536-1-inga.stotland@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Add description for a new method: ExportKeys() on org.bluez.mesh.Management1 interface. This method is used by the authorized application to export information about network keys, application keys and device keys present in the local key database. --- doc/mesh-api.txt | 56 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/doc/mesh-api.txt b/doc/mesh-api.txt index ce651c801..85de6705e 100644 --- a/doc/mesh-api.txt +++ b/doc/mesh-api.txt @@ -728,6 +728,62 @@ Methods: PossibleErrors: org.bluez.mesh.Error.InvalidArguments + dict ExportKeys(void) + + This method is used by the application to export information + about network keys, application keys and device keys present + in the local key database. + + dict + A dictionary that contains information for the keys + stored in the keyring with the following keys defined: + + NetKeys: + array{struct} net_keys: + + uint16 index + Subnet index + + array{byte}[16] key + + dict: + A dictionary that contains optional + key info with the following keys + defined: + + uint8 Phase + Key Refresh phase of the subnet + + array{byte}[16] OldKey + + array{struct} AppKeys: + + uint16 index + + Application key index + + array{byte}[16] key + + dict: + A dictionary of optional + key info with the + following keys defined: + + array{byte}[16] OldKey + + DevKeys: + array{struct} dev_keys: + + Device Key information for known remote + nodes in the configured Mesh network + + uint16 unicast + + Unicast address of the node's primary + element + + array{byte}[16] key + Mesh Application Hierarchy ========================== Service unique name -- 2.31.1