Skip to content

Commit

Permalink
Add a way ask a DeviceCommissioner for its DeviceAttestationVerifier. (
Browse files Browse the repository at this point in the history
  • Loading branch information
bzbarsky-apple authored and pull[bot] committed Oct 30, 2023
1 parent 622f5a4 commit 3af4fa9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/controller/CHIPDeviceController.h
Original file line number Diff line number Diff line change
Expand Up @@ -702,6 +702,8 @@ class DLL_EXPORT DeviceCommissioner : public DeviceController,
mDeviceAttestationVerifier = deviceAttestationVerifier;
}

Credentials::DeviceAttestationVerifier * GetDeviceAttestationVerifier() const { return mDeviceAttestationVerifier; }

Optional<CommissioningParameters> GetCommissioningParameters()
{
return mDefaultCommissioner == nullptr ? NullOptional : MakeOptional(mDefaultCommissioner->GetCommissioningParameters());
Expand Down

0 comments on commit 3af4fa9

Please sign in to comment.