nl::Weave::Profiles::Security::KeyExport::WeaveKeyExportDelegate

This is an abstract class.

#include <src/lib/profiles/security/WeaveKeyExport.h>

Abstract delegate class called by KeyExport engine to perform various actions related to authentication during key export.

Summary

Inheritance

Direct Known Subclasses: nl::Weave::Profiles::Security::KeyExport::WeaveStandAloneKeyExportClient

Public functions

BeginCertValidation(bool isInitiator, WeaveCertificateSet & certSet, ValidationContext & validContext)=0
virtual WEAVE_ERROR
EndCertValidation(bool isInitiator, WeaveCertificateSet & certSet, ValidationContext & validContext)=0
virtual WEAVE_ERROR
GetNodeCertSet(bool isInitiator, WeaveCertificateSet & certSet)=0
virtual WEAVE_ERROR
GetNodePrivateKey(bool isInitiator, const uint8_t *& weavePrivKey, uint16_t & weavePrivKeyLen)=0
virtual WEAVE_ERROR
HandleCertValidationResult(bool isInitiator, WeaveCertificateSet & certSet, ValidationContext & validContext, const IPPacketInfo *pktInfo, const WeaveMessageInfo *msgInfo, uint32_t requestedKeyId)=0
virtual WEAVE_ERROR
ReleaseNodeCertSet(bool isInitiator, WeaveCertificateSet & certSet)=0
virtual WEAVE_ERROR
ReleaseNodePrivateKey(bool isInitiator, const uint8_t *& weavePrivKey)=0
virtual WEAVE_ERROR
ValidateUnsignedKeyExportMessage(bool isInitiator, const IPPacketInfo *pktInfo, const WeaveMessageInfo *msgInfo, uint32_t requestedKeyId)=0
virtual WEAVE_ERROR

Public functions

BeginCertValidation

virtual WEAVE_ERROR BeginCertValidation(
  bool isInitiator,
  WeaveCertificateSet & certSet,
  ValidationContext & validContext
)=0

EndCertValidation

virtual WEAVE_ERROR EndCertValidation(
  bool isInitiator,
  WeaveCertificateSet & certSet,
  ValidationContext & validContext
)=0

GetNodeCertSet

virtual WEAVE_ERROR GetNodeCertSet(
  bool isInitiator,
  WeaveCertificateSet & certSet
)=0

GetNodePrivateKey

virtual WEAVE_ERROR GetNodePrivateKey(
  bool isInitiator,
  const uint8_t *& weavePrivKey,
  uint16_t & weavePrivKeyLen
)=0

HandleCertValidationResult

virtual WEAVE_ERROR HandleCertValidationResult(
  bool isInitiator,
  WeaveCertificateSet & certSet,
  ValidationContext & validContext,
  const IPPacketInfo *pktInfo,
  const WeaveMessageInfo *msgInfo,
  uint32_t requestedKeyId
)=0

ReleaseNodeCertSet

virtual WEAVE_ERROR ReleaseNodeCertSet(
  bool isInitiator,
  WeaveCertificateSet & certSet
)=0

ReleaseNodePrivateKey

virtual WEAVE_ERROR ReleaseNodePrivateKey(
  bool isInitiator,
  const uint8_t *& weavePrivKey
)=0

ValidateUnsignedKeyExportMessage

virtual WEAVE_ERROR ValidateUnsignedKeyExportMessage(
  bool isInitiator,
  const IPPacketInfo *pktInfo,
  const WeaveMessageInfo *msgInfo,
  uint32_t requestedKeyId
)=0