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 5, 2023
1 parent fc1a204 commit 2397408
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 2397408

Please sign in to comment.