Device interface library for multiple platforms including Mbed.
Dependents: DeepCover Embedded Security in IoT MaximInterface MAXREFDES155#
DS28E16::ComputeSecretData Class Reference
Format compute secret input data. More...
#include <DS28E16.hpp>
Public Member Functions | |
Result::const_span | result () const |
Formatted data result. | |
ROM ID | |
1-Wire ROM ID of the device. | |
Core::RomId::span | romId () |
Get mutable ROM ID. | |
Core::RomId::const_span | romId () const |
Get immutable ROM ID. | |
ComputeSecretData & | setRomId (Core::RomId::const_span romId) |
Set ROM ID. | |
Binding Data | |
Binding Data contained in the selected page. | |
Page::span | bindingData () |
Get mutable Binding Data. | |
Page::const_span | bindingData () const |
Get immutable Binding Data. | |
ComputeSecretData & | setBindingData (Page::const_span bindingData) |
Set Binding Data. | |
Constant Binding Data | |
Use constant Binding Data instead of Binding Data from the selected page. | |
bool | constantBindingData () const |
Get Constant Binding Data. | |
MaximInterfaceDevices_EXPORT ComputeSecretData & | setConstantBindingData (bool constantBindingData) |
Set Constant Binding Data. | |
Partial Secret | |
Partial Secret used for customization. | |
DoublePage::span | partialSecret () |
Get mutable Partial Secret. | |
DoublePage::const_span | partialSecret () const |
Get immutable Partial Secret. | |
ComputeSecretData & | setPartialSecret (DoublePage::const_span partialSecret) |
Set Partial Secret. | |
Binding Data page number | |
int | bindingDataPageNum () const |
Get Binding Data page number. | |
ComputeSecretData & | setBindingDataPageNum (int bindingDataPageNum) |
Set Binding Data page number. | |
MAN ID | |
Manufacturer ID of the device. | |
uint_least8_t & | manId () |
Get mutable MAN ID. | |
uint_least8_t | manId () const |
Get immutable MAN ID. | |
ComputeSecretData & | setManId (uint_least8_t manId) |
Set MAN ID. |
Detailed Description
Format compute secret input data.
Definition at line 333 of file DS28E16.hpp.
Member Function Documentation
Page::span bindingData | ( | ) |
Get mutable Binding Data.
Definition at line 367 of file DS28E16.hpp.
Page::const_span bindingData | ( | ) | const |
Get immutable Binding Data.
Definition at line 370 of file DS28E16.hpp.
int bindingDataPageNum | ( | ) | const |
Get Binding Data page number.
Definition at line 419 of file DS28E16.hpp.
bool constantBindingData | ( | ) | const |
Get Constant Binding Data.
Definition at line 386 of file DS28E16.hpp.
uint_least8_t manId | ( | ) | const |
Get immutable MAN ID.
Definition at line 440 of file DS28E16.hpp.
uint_least8_t& manId | ( | ) |
Get mutable MAN ID.
Definition at line 437 of file DS28E16.hpp.
DoublePage::span partialSecret | ( | ) |
Get mutable Partial Secret.
Definition at line 402 of file DS28E16.hpp.
DoublePage::const_span partialSecret | ( | ) | const |
Get immutable Partial Secret.
Definition at line 405 of file DS28E16.hpp.
Result::const_span result | ( | ) | const |
Formatted data result.
Definition at line 342 of file DS28E16.hpp.
Core::RomId::span romId | ( | ) |
Get mutable ROM ID.
Definition at line 349 of file DS28E16.hpp.
Core::RomId::const_span romId | ( | ) | const |
Get immutable ROM ID.
Definition at line 352 of file DS28E16.hpp.
ComputeSecretData& setBindingData | ( | Page::const_span | bindingData ) |
Set Binding Data.
Definition at line 373 of file DS28E16.hpp.
ComputeSecretData& setBindingDataPageNum | ( | int | bindingDataPageNum ) |
Set Binding Data page number.
Definition at line 424 of file DS28E16.hpp.
DS28E16::ComputeSecretData & setConstantBindingData | ( | bool | constantBindingData ) |
Set Constant Binding Data.
Definition at line 277 of file DS28E16.cpp.
ComputeSecretData& setManId | ( | uint_least8_t | manId ) |
Set MAN ID.
Definition at line 443 of file DS28E16.hpp.
ComputeSecretData& setPartialSecret | ( | DoublePage::const_span | partialSecret ) |
Set Partial Secret.
Definition at line 408 of file DS28E16.hpp.
ComputeSecretData& setRomId | ( | Core::RomId::const_span | romId ) |
Set ROM ID.
Definition at line 355 of file DS28E16.hpp.
Generated on Tue Jul 12 2022 11:13:24 by 1.7.2