Device interface library for multiple platforms including Mbed.

Dependents:   DeepCover Embedded Security in IoT MaximInterface MAXREFDES155#

Embed: (wiki syntax)

« Back to documentation index

DS28C40::ComputeSecretData Class Reference

DS28C40::ComputeSecretData Class Reference

Format compute secret input data. More...

#include <DS28C40.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.
ComputeSecretDatasetRomId (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.
ComputeSecretDatasetBindingData (Page::const_span bindingData)
 Set Binding Data.
Partial Secret

Partial Secret used for customization.

Page::span partialSecret ()
 Get mutable Partial Secret.
Page::const_span partialSecret () const
 Get immutable Partial Secret.
ComputeSecretDatasetPartialSecret (Page::const_span partialSecret)
 Set Partial Secret.
Page number

Page number for Binding Data.

int pageNum () const
 Get page number.
ComputeSecretDatasetPageNum (int pageNum)
 Set page number.
MAN ID

Manufacturer ID of the device.

Core::ManId::const_span manId () const
 Get immutable MAN ID.
MaximInterfaceDevices_EXPORT
ComputeSecretData
setManId (Core::ManId::const_span manId)
 Set MAN ID.

Detailed Description

Format compute secret input data.

Definition at line 633 of file DS28C40.hpp.


Member Function Documentation

Page::span bindingData (  )

Get mutable Binding Data.

Definition at line 665 of file DS28C40.hpp.

Page::const_span bindingData (  ) const

Get immutable Binding Data.

Definition at line 668 of file DS28C40.hpp.

Core::ManId::const_span manId (  ) const

Get immutable MAN ID.

Definition at line 716 of file DS28C40.hpp.

int pageNum (  ) const

Get page number.

Definition at line 701 of file DS28C40.hpp.

Page::const_span partialSecret (  ) const

Get immutable Partial Secret.

Definition at line 686 of file DS28C40.hpp.

Page::span partialSecret (  )

Get mutable Partial Secret.

Definition at line 683 of file DS28C40.hpp.

Result::const_span result (  ) const

Formatted data result.

Definition at line 640 of file DS28C40.hpp.

Core::RomId::span romId (  )

Get mutable ROM ID.

Definition at line 647 of file DS28C40.hpp.

Core::RomId::const_span romId (  ) const

Get immutable ROM ID.

Definition at line 650 of file DS28C40.hpp.

ComputeSecretData& setBindingData ( Page::const_span  bindingData )

Set Binding Data.

Definition at line 671 of file DS28C40.hpp.

DS28C40::ComputeSecretData & setManId ( Core::ManId::const_span  manId )

Set MAN ID.

Definition at line 633 of file DS28C40.cpp.

ComputeSecretData& setPageNum ( int  pageNum )

Set page number.

Definition at line 704 of file DS28C40.hpp.

ComputeSecretData& setPartialSecret ( Page::const_span  partialSecret )

Set Partial Secret.

Definition at line 689 of file DS28C40.hpp.

ComputeSecretData& setRomId ( Core::RomId::const_span  romId )

Set ROM ID.

Definition at line 653 of file DS28C40.hpp.