Skip to content
This repository has been archived by the owner on Dec 20, 2023. It is now read-only.

DeviceLayer: implement CASE auth delegate #566

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kghost
Copy link
Contributor

@kghost kghost commented Apr 28, 2020

Currently, only legacy CASE auth delegate is implemented. The patch
implements the new CASE auth delegate interface for device layer.

Change-Id: Ifb6a4dcdcd29a75eca47bd84158345bb2253ebff

Currently, only legacy CASE auth delegate is implemented. The patch
implements the new CASE auth delegate interface for device layer.

Change-Id: Ifb6a4dcdcd29a75eca47bd84158345bb2253ebff
@gerickson gerickson requested a review from jaylogue April 28, 2020 14:11
@jaylogue
Copy link
Contributor

I think this needs to be coordinated with @emargolis . He undoubtedly has a commit that makes the same change.

virtual WEAVE_ERROR HandleCertValidationResult(bool isInitiator, WEAVE_ERROR& validRes, WeaveCertificateData *peerCert,
uint64_t peerNodeId, WeaveCertificateSet& certSet, ValidationContext& validContext);
virtual WEAVE_ERROR EndCertValidation(WeaveCertificateSet& certSet, ValidationContext& validContext);
#if !WEAVE_CONFIG_LEGACY_CASE_AUTH_DELEGATE
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we do go with this commit, there's no need to support both legacy and new interfaces. Just force a compile error if WEAVE_CONFIG_LEGACY_CASE_AUTH_DELEGATE is set.

Copy link
Contributor

@jaylogue jaylogue left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two items to be resolved:

  • Coordinate with Evgeni
  • Eliminate support for legacy interface

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants