EnOcean Link  1.14.0.0
Middleware to Connect EnOcean easily to other Projects
eoSecureInfo Class Reference

#include <eoSecureInfo.h>

Inheritance diagram for eoSecureInfo:
Collaboration diagram for eoSecureInfo:

Public Member Functions

uint8_t Serialize (eoArchive &arch)
 Serialization Function which will be called by the eoStorageManager. More...
 

Public Attributes

uint8_t key [AES_KEY_SIZE]
 Passphrase Key.
 
uint8_t keySize
 Deprecated, is not used internally and will be Removed in the future.
 
uint8_t SLF
 Secure Level Format.
 
uint8_t teachInInfo
 Teach-In Info.
 
uint8_t subKey1 [AES_KEY_SIZE]
 CMAC Sub-Key1.
 
uint8_t subKey2 [AES_KEY_SIZE]
 CMAC Sub-Key2.
 
uint8_t psk [AES_KEY_SIZE]
 Preshared key.
 
uint32_t rollingCode
 Rolling-code.
 
SEC_RESULT securityResult
 Last Secure Error.
 
uint32_t previousRollingCode
 The Previous Rolling code, allows to compare the old rolling code and new one.
 

Detailed Description

Helper Class for the eoDeviceManager, contains&stores security Information.

Examples:
Security_example.cpp.

Member Function Documentation

◆ Serialize()

uint8_t eoSecureInfo::Serialize ( eoArchive arch)
virtual

Serialization Function which will be called by the eoStorageManager.

This function will be called by the eoArchive(inside of the eoStorageManager) and allows the class to be Serialized.

Parameters
archarchive where to Load or to Store.

Implements eoISerialize.