class WeaveTAKETokenAuthDelegate
Defined at line 159 of file x64-shared/gen/third_party/openweave-core/src/include/Weave/Profiles/security/WeaveTAKE.h
Abstract delegate class called by TAKE Token to get
token-specific infor related to the TAKE authentication.
Public Methods
WEAVE_ERROR GetTokenMasterKey (uint8_t * tokenMasterKey)
Get the token Master key. size: kTokenMasterKeySize
WEAVE_ERROR GetIdentificationRootKey (uint8_t * identificationRootKey)
Get the Identification Root Key. size: kIdentificationRootKeySize
WEAVE_ERROR GetTokenPrivateKey (OID & curveOID, EncodedECPrivateKey & tokenPrivKey)
Get the token Private Key.
On the function call tokenPrivKeyLen input specifies size of the tokenPrivKey buffer.
Function should update this parameter to reflect actual sizes of the private key.
WEAVE_ERROR GetTAKETime (uint32_t & takeTime)
Get TAKE Time.
Function returns takeTime, which is Unix time rounded with 24 hour granularity
i.e. number of days elapsed after 1 January 1970.