Google is committed to advancing racial equity for Black communities. See how.

nl::Weave::Profiles::Security::TAKE::WeaveTAKEChallengerAuthDelegate

This is an abstract class.

Summary

Public functions

ClearTokenAuthData(uint64_t tokenId)=0
virtual WEAVE_ERROR
GetChallengerID(uint8_t *challengerID, uint8_t & challengerIDLen) const =0
virtual WEAVE_ERROR
GetNextIdentificationKey(uint64_t & tokenId, uint8_t *identificationKey, uint16_t & identificationKeyLen)=0
virtual WEAVE_ERROR
GetTokenAuthData(uint64_t tokenId, uint8_t & takeConfig, uint8_t *authKey, uint16_t & authKeyLen, uint8_t *encAuthBlob, uint16_t & encAuthBlobLen)=0
virtual WEAVE_ERROR
GetTokenPublicKey(uint64_t tokenId, OID & curveOID, EncodedECPublicKey & tokenPubKey)=0
virtual WEAVE_ERROR
RewindIdentificationKeyIterator(void)=0
virtual WEAVE_ERROR
StoreTokenAuthData(uint64_t tokenId, uint8_t takeConfig, const uint8_t *authKey, uint16_t authKeyLen, const uint8_t *encAuthBlob, uint16_t encAuthBlobLen)=0
virtual WEAVE_ERROR

Public functions

ClearTokenAuthData

virtual WEAVE_ERROR ClearTokenAuthData(
  uint64_t tokenId
)=0

GetChallengerID

virtual WEAVE_ERROR GetChallengerID(
  uint8_t *challengerID,
  uint8_t & challengerIDLen
) const =0

GetNextIdentificationKey

virtual WEAVE_ERROR GetNextIdentificationKey(
  uint64_t & tokenId,
  uint8_t *identificationKey,
  uint16_t & identificationKeyLen
)=0

GetTokenAuthData

virtual WEAVE_ERROR GetTokenAuthData(
  uint64_t tokenId,
  uint8_t & takeConfig,
  uint8_t *authKey,
  uint16_t & authKeyLen,
  uint8_t *encAuthBlob,
  uint16_t & encAuthBlobLen
)=0

GetTokenPublicKey

virtual WEAVE_ERROR GetTokenPublicKey(
  uint64_t tokenId,
  OID & curveOID,
  EncodedECPublicKey & tokenPubKey
)=0

RewindIdentificationKeyIterator

virtual WEAVE_ERROR RewindIdentificationKeyIterator(
  void
)=0

StoreTokenAuthData

virtual WEAVE_ERROR StoreTokenAuthData(
  uint64_t tokenId,
  uint8_t takeConfig,
  const uint8_t *authKey,
  uint16_t authKeyLen,
  const uint8_t *encAuthBlob,
  uint16_t encAuthBlobLen
)=0