File tree 15 files changed +14
-13
lines changed
common/pigweed/rpc_services
ota-requestor-app/ota-requestor-common
clusters/operational-credentials-server
15 files changed +14
-13
lines changed Original file line number Diff line number Diff line change 21
21
#include < platform/CHIPDeviceConfig.h>
22
22
23
23
#include " app/server/Server.h"
24
+ #include " credentials/FabricTable.h"
24
25
#include " device_service/device_service.rpc.pb.h"
25
26
#include " platform/ConfigurationManager.h"
26
27
#include " platform/PlatformManager.h"
27
- #include " transport/FabricTable.h"
28
28
29
29
namespace chip {
30
30
namespace rpc {
Original file line number Diff line number Diff line change 21
21
#include < app-common/zap-generated/cluster-objects.h>
22
22
#include < app/CommandHandler.h>
23
23
#include < app/util/af-enums.h>
24
- #include < transport /FabricTable.h>
24
+ #include < credentials /FabricTable.h>
25
25
26
26
// An example implementation for how an application might handle receiving an AnnounceOTAProvider command. In this case, the
27
27
// AnnounceOTAProvider command will be used as a trigger to send a QueryImage command and begin the OTA process. This class also
Original file line number Diff line number Diff line change 36
36
#include < credentials/CHIPCert.h>
37
37
#include < credentials/DeviceAttestationConstructor.h>
38
38
#include < credentials/DeviceAttestationCredsProvider.h>
39
+ #include < credentials/FabricTable.h>
39
40
#include < credentials/examples/DeviceAttestationCredsExample.h>
40
41
#include < lib/core/CHIPSafeCasts.h>
41
42
#include < lib/core/PeerId.h>
44
45
#include < lib/support/logging/CHIPLogging.h>
45
46
#include < platform/CHIPDeviceLayer.h>
46
47
#include < string.h>
47
- #include < transport/FabricTable.h>
48
48
49
49
using namespace chip ;
50
50
using namespace ::chip::DeviceLayer;
Original file line number Diff line number Diff line change 32
32
#if CHIP_ENABLE_ROTATING_DEVICE_ID
33
33
#include < setup_payload/AdditionalDataPayloadGenerator.h>
34
34
#endif
35
+ #include < credentials/FabricTable.h>
35
36
#include < system/TimeSource.h>
36
- #include < transport/FabricTable.h>
37
37
38
38
#include < app/server/Server.h>
39
39
Original file line number Diff line number Diff line change 20
20
#include < app/OperationalDeviceProxy.h>
21
21
#include < app/server/AppDelegate.h>
22
22
#include < app/server/CommissioningWindowManager.h>
23
+ #include < credentials/FabricTable.h>
23
24
#include < inet/InetConfig.h>
24
25
#include < messaging/ExchangeMgr.h>
25
26
#include < platform/KeyValueStoreManager.h>
28
29
#include < protocols/secure_channel/PASESession.h>
29
30
#include < protocols/secure_channel/RendezvousParameters.h>
30
31
#include < protocols/user_directed_commissioning/UserDirectedCommissioning.h>
31
- #include < transport/FabricTable.h>
32
32
#include < transport/SessionManager.h>
33
33
#include < transport/TransportMgr.h>
34
34
#include < transport/TransportMgrBase.h>
Original file line number Diff line number Diff line change 39
39
#include < controller/OperationalCredentialsDelegate.h>
40
40
#include < controller/SetUpCodePairer.h>
41
41
#include < credentials/DeviceAttestationVerifier.h>
42
+ #include < credentials/FabricTable.h>
42
43
#include < lib/core/CHIPConfig.h>
43
44
#include < lib/core/CHIPCore.h>
44
45
#include < lib/core/CHIPPersistentStorageDelegate.h>
51
52
#include < protocols/secure_channel/MessageCounterManager.h>
52
53
#include < protocols/secure_channel/RendezvousParameters.h>
53
54
#include < protocols/user_directed_commissioning/UserDirectedCommissioning.h>
54
- #include < transport/FabricTable.h>
55
55
#include < transport/SessionManager.h>
56
56
#include < transport/TransportMgr.h>
57
57
#include < transport/raw/UDP.h>
Original file line number Diff line number Diff line change 30
30
#pragma once
31
31
32
32
#include < app/DeviceControllerInteractionModelDelegate.h>
33
+ #include < credentials/FabricTable.h>
33
34
#include < protocols/secure_channel/MessageCounterManager.h>
34
- #include < transport/FabricTable.h>
35
35
#include < transport/TransportMgr.h>
36
36
#include < transport/raw/UDP.h>
37
37
#if CONFIG_DEVICE_LAYER
Original file line number Diff line number Diff line change @@ -32,6 +32,8 @@ static_library("credentials") {
32
32
" DeviceAttestationVendorReserved.h" ,
33
33
" DeviceAttestationVerifier.cpp" ,
34
34
" DeviceAttestationVerifier.h" ,
35
+ " FabricTable.cpp" ,
36
+ " FabricTable.h" ,
35
37
" GenerateChipX509Cert.cpp" ,
36
38
" GroupDataProvider.h" ,
37
39
" examples/DeviceAttestationCredsExample.cpp" ,
Original file line number Diff line number Diff line change 19
19
* @brief Defines a table of fabrics that have provisioned the device.
20
20
*/
21
21
22
+ #include " FabricTable.h"
23
+
22
24
#include < lib/core/CHIPEncoding.h>
23
25
#include < lib/support/CHIPMem.h>
24
26
#include < lib/support/CHIPMemString.h>
25
27
#include < lib/support/SafeInt.h>
26
- #include < transport/FabricTable.h>
27
28
#if CHIP_CRYPTO_HSM
28
29
#include < crypto/hsm/CHIPCryptoPALHsm.h>
29
30
#endif
File renamed without changes.
Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ chip_test_suite("tests") {
41
41
" TestChipCert.cpp" ,
42
42
" TestDeviceAttestationConstruction.cpp" ,
43
43
" TestDeviceAttestationCredentials.cpp" ,
44
+ " TestFabricTable.cpp" ,
44
45
" TestGroupDataProvider.cpp" ,
45
46
]
46
47
Original file line number Diff line number Diff line change 26
26
27
27
#include < lib/core/CHIPCore.h>
28
28
29
- #include < transport /FabricTable.h>
29
+ #include < credentials /FabricTable.h>
30
30
31
31
#include < lib/support/CodeUtils.h>
32
32
#include < lib/support/UnitTestRegistration.h>
Original file line number Diff line number Diff line change 30
30
#if CHIP_CRYPTO_HSM
31
31
#include < crypto/hsm/CHIPCryptoPALHsm.h>
32
32
#endif
33
+ #include < credentials/FabricTable.h>
33
34
#include < lib/core/CHIPTLV.h>
34
35
#include < lib/support/Base64.h>
35
36
#include < messaging/ExchangeContext.h>
39
40
#include < protocols/secure_channel/SessionEstablishmentExchangeDispatch.h>
40
41
#include < system/SystemPacketBuffer.h>
41
42
#include < transport/CryptoContext.h>
42
- #include < transport/FabricTable.h>
43
43
#include < transport/PairingSession.h>
44
44
#include < transport/raw/MessageHeader.h>
45
45
#include < transport/raw/PeerAddress.h>
Original file line number Diff line number Diff line change @@ -22,8 +22,6 @@ static_library("transport") {
22
22
sources = [
23
23
" CryptoContext.cpp" ,
24
24
" CryptoContext.h" ,
25
- " FabricTable.cpp" ,
26
- " FabricTable.h" ,
27
25
" MessageCounter.cpp" ,
28
26
" MessageCounter.h" ,
29
27
" MessageCounterManagerInterface.h" ,
Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ chip_test_suite("tests") {
23
23
output_name = " libTransportLayerTests"
24
24
25
25
test_sources = [
26
- " TestFabricTable.cpp" ,
27
26
" TestPeerConnections.cpp" ,
28
27
" TestSecureSession.cpp" ,
29
28
" TestSessionHandle.cpp" ,
You can’t perform that action at this time.
0 commit comments